This document details all the new features introduced in txt2tags version 2.0. There are lots os them, read it all!
If you already use some previous version of the program, please read the Upgrade Guide first.
There are the real hotspots of the 2.0 release.
--encoding iso-8859-1).
$HOME/.txt2tagsrc in Linux and %HOME\_t2trc
in Windows.
doc/txt2tagsrc.
% my configs % always use CSS-friendly tags in HTML %!options(html): --css-suggar % change the default TOC depth for all targets %!options: --toc-level 4 % set the default encoding for all documents %!options: --encoding iso-8859-1
--no-rc command line
option
%!includeconf command is used to include configurations
from an external file into the current one.
My First Document John Doe July, 2004 %!includeconf: config.t2t Hi, this is my first document.
| --dump-config | Shows all the configuration that was found |
| --debug | Shows debug messages when converting a document |
| -v, --verbose | Shows informative messages when converting a document |
| -i, --infile | Specify the source file (.t2t) |
| --encoding | Specify the document encoding (same as %!encoding) |
| --rc | Reads the user config file (default ON) |
| --css-suggar | Makes the code CSS-friendly for HTML and XHTML |
| --no-style | Turns off --style |
| --no-toc | Turns off --toc |
| --no-toc-only | Turns off --toc-only |
| --no-enum-title | Turns off --enum-title |
| --no-mask-email | Turns off --mask-email |
| --no-encoding | Turns off --encoding |
| --no-rc | Turns off --rc |
| --no-infile | Turns off --infile |
| --no-outfile | Turns off --outfile |
| --no-css-suggar | Turns off --css-suggar |
= title =[anchor].
#anchor.
= Step Two: Install =[steptwo] blablablablabla Please, read the [Install Section #steptwo].
--verbose option
--dump-config option
$ txt2tags --help
Uso: txt2tags [OPÇÕES] [arquivo.t2t ...]
-t, --target define o formato do destino. tipos suportados:
html, xhtml, sgml, tex, man, mgp, moin, pm6, txt
-i, --infile=ARQ define ARQ como o arquivo fonte ('-' para STDIN)
-o, --outfile=ARQ define ARQ como o arquivo destino ('-' para STDOUT)
...
po/README tarball file for instructions on how to
install the translations.
po/README tarball file for instructions on how to
translate the messages to your own language!
The heading says it all.

%!guicolors setting on the
RC file:
%!guicolors: black white white black

--enum-title option
now is
.
O>OOOO
-v option, the program sends informative messages
to the screen when converting a document.
-vvv.
$ txt2tags -v -t html sample.t2t ----- Txt2tags 2.0 processing begins ----- Loading user configuration file ----- Loading source document ----- Scanning source document CONF area ----- Parsing and saving all config found (006 items) ----- We are on Command Line interface ----- Composing target Headers ----- Composing target Body ----- Composing target TOC ----- Composing target Footer ----- Saving results to the output file txt2tags wrote sample.html ----- Txt2tags finished sucessfully $
--dump-config command line option shows all the
configurations found for a .t2t file.
$ txt2tags --dump-config -t html sample.t2t
RAW config for RC file
(all) guicolors.....: ['blue', 'white', 'brown', 'yellow']
RAW config for source document
(all) encoding......: iso-8859-1
RAW config for command line
(all) infile........: sample.t2t
(all) dump-config...: ON
(all) target........: html
(all) realcmdline...: ['--dump-config', '-t', 'html', 'sample.t2t']
Full PARSED config
dump-config...: ON
encoding......: iso-8859-1
guicolors.....: blue, white, brown, yellow
infile........: sample.t2t
realcmdline...: --dump-config, -t, html, sample.t2t
sourcefile....: sample.t2t
target........: html
Active filters
$
""" can now be used to specify a raw line.
""" These **asterisks** will not turn to bold.
""" These **asterisks** will not turn to bold. Neither //this// or __this__ marks will be parsed. """
%!include command has a new type of included file: raw text.
%!include: ""raw.txt""
>>> import txt2tags >>> print txt2tags.my_version 2.0 >>>
man cp to take one.
doc
directory of the tarball, or already installed in your system if
you are a RPM or Debian user.
amssymb package.
--style now can be used to pass a package name to
\usepackage.
\clearpage to separate TOC for first page and contents.
\begin{figure} anymore.
--css-suggar, to improve the CSS use with txt2tags
(valid to XHTML also):
New little things on the tarball that will make your life better.
Now that you have read it all,