Txt2tags Changelog

2004-12-30 v2.2
  - New 'lout' target
  - New --css-inside option to include the CSS file contents inside
    HTML/XHTML headers
  - New T2TCONFIG environment variable to specify RC file location
  - The strong bar (===) now is mapped to a page break in paged targets
    {thanks Sandor Markon @ .com for requesting}
  - tex: Now links are blue and clickable on PDF, using 'hyperref' package
    {thanks Rahul Bhargava for the patch}

  - Debug messages revamped: categorized with IDs, background color setting
  - The --help message was improved with metavars (i.e. --target=TYPE)
  - The "wrote file" message now shows the full path if -o was used on
    the command line
  - Module: New samples/module dir with sample Python scripts
  - Module: Better interface to use a string as a full marked file
    {thanks Cesar Gimenes @ .br for requesting}
  - Gui: Now all errors are printed *and* placed inside windows
    {thanks Guaracy Monteiro @ .br for requesting}

  - I18N: Added French translations
    {thanks Claude Hiebel @ .fr for making it}
  - I18N: Added German translations
    {thanks Manfred Schreiweis (manne) @ .de for making it}
  - I18N: Added Spanish translations
    {thanks Ielton Ferreira Carneiro Pinto @ .br for making it}
  - Docs: "Markup Demo" translated to portuguese

  - Bugfix: outfile location inside %!options now respects infile path
  - Bugfix: xhtml: now the enconding is defined on <?xml> tag, not <meta>
    {thanks Ielton Ferreira Carneiro Pinto @ .br for requesting}
  - Bugfix: tex: not escaping the underscore char '_' on image paths anymore
    {thanks Marcus Aurelius Farias @ .br for requesting}
  - Bugfix: Module: now raising exceptions on errors instead print/sys.exit
    {thanks Marcus Aurelius Farias @ .br for requesting}

2004-11-13 v2.1
  - New %%toc macro to specify the TOC position
  - New %%infile and %%outfile macros, to get file information
    {thanks Jose Inacio Coelho @ .br for requesting}
  - New %%mtime macro, for source file modification time
    {thanks Tamas Ivan @ .hu for the patch}
  - New options -q and --quiet for quiet operation (no messages)
    {thanks Hudson Reis @ .br for requesting}
  - New extras/gvim-menu.vim file for the gVim text editor
    {thanks Otavio Correa Cordeiro @ .br for making it}

  - Pre/Postproc regexes now compiled once (faster conversion!)
    {thanks Gustavo Niemeyer and Ruda Moura @ .br for pointing}
  - Now an empty item closes the current list
  - Option --toc-only now respecting --outfile (if any)
  - Tables with no "cellpadding" declaration when using --css-sugar
  - URL matcher: char "+" added on address and ";$" added for form data
  - The hyphen char "-" now can be used in anchors
    {thanks Stefano Spinucci @ .it for the patch}
  - Misspelled option --css-suggar changed to --css-sugar (both works now)
    {thanks Marcus Aurelius Farias @ .br for pointing}

  - I18N: Added Italian translations
    {thanks Stefano Spinucci @ .it for making it}
  - I18N: Added Hungarian translations
    {thanks Tamas Ivan @ .hu for making it}
  - Docs: New "Markup Demo" document, which obsoleted old RULES file
  - Docs: New "Writing Books with Txt2tags" document
  - Docs: New "Reference Card" document in portuguese
    {thanks Jose Inacio Coelho and Leslie H. Watter @ .br for making it}
  - Docs: New "FAQ" document in portuguese
    {thanks Wilson Freitas @ .br for making it}
  - Docs: User Guide revamped: new chapters and now is a PDF
  - Docs: Abuseme and sample files translated to Spanish
    {thanks Luis Cortazar @ .mx for making it}
  - Docs: Fixed typo on the program manpage
    {thanks Christof Boeckler @ .de for pointing}
    {thanks Stefano Spinucci @ .it for pointing}

  - Bugfix: Detecting when input file is empty (zero sized)
    {thanks Paulo R. Oliveira Junior @ .br for pointing}
  - Bugfix: Now deals with user malformed list: sublist before list
    {thanks Guaracy Monteiro @ .br for pointing}
  - Bugfix: Windows RC file directory now pointing to %homepath%
    {thanks Marcus Widerberg @ .se for pointing}
  - Bugfix: Maximize result window on Gui now working
    {thanks Marcus Aurelius Farias @ .br for the patch}
  - Bugfix: A macro right after the headers begins Body

2004-07-25 v2.0
  - program internationalized (i18n) and translated to Portuguese
  - new user configuration file ~/.txt2tagsrc
  - new mark """ for Raw Text Area
  - new %!includeconf command to insert external file config
  - new %!include: file command to include raw text
  - new pre-checking on Pre/Post Proc filters for regex errors
  - graphical interface color configurable via %!guicolors
  - the program is now an importable Python module
  - code changes to make pychecker happy (from 123 warnings to 10)
  - HTML and XHTML codes approved by w3c validator
  - new command line options: --dump-config, --debug, -v, --verbose,
    -i, --infile, --encoding, --rc, --css-suggar, --no-style, --no-toc,
    --no-toc-only, --no-enum-title, --no-mask-email, --no-encoding,
    --no-rc, --no-infile, --no-outfile, --no-css-suggar

  - Bugfix: fixed the program description on the documentation
    {thanks Mahesh T. Pai @ .in for pointing}
  - Bugfix: sgml: removed useless <rowsep> from table last row
    {thanks Rodrigo Sobrinho @ .br for pointing}
  - Bugfix: tex: now escaping correctly <, > and | chars
    {thanks Leo Rosa @ .br for pointing}
  - Bugfix: TOC and list errors when inverting order
    {thanks Leo Rosa @ .br for pointing}
  - new optional anchor specification for title: =title=[anchor]
    {thanks Jose Inacio Coelho @ .br for requesting}
  - new CSS sample files to help CSS beginners
    {thanks Osvaldo Santana Neto @ .br for making it}
  - new XHTML target
    {thanks Peter Valach and Christian Zuckschwerdt for the tags}
  - tex: now using --style to load \usepackage modules
    {thanks Leo Rosa @ .br for requesting}
  - User Guide images on the tarball
    {thanks Guaracy Monteiro @ .br for requesting}

  - man target improved: added support for lists, quote and tables
  - mgp target improved: image is now alignable
  - moin target improved: added support for underline, quote, table
    cell align, comment and TOC
  - tex target improved: removed amssymb from headers, not breaking
    pages anymore, mapping --style do \usepackage, using \clearpage,
    image tag not using {figure} anymore
    {thanks Leo Rosa, Leslie Harlley Watter and Sandor Markon}

  - graphical and web interfaces improved (blue theme)
  - error messages improved and prefixed by txt2tags string
  - new rules for beautifiers: glued and greedy
  - solo centered images now requires spaces on both sides
  - added & to URL filename valid chars (~michaelreaves/D&Dpreface.html)
  - user config on source code for i18n, debug and HTML lowered tags

  - old --type option changed to --target
  - old --noheaders option changed to --no-headers
  - old --enumtitle option changed to --enum-title
  - old --maskemail option changed to --mask-email
  - old --toclevel option changed to --toc-level
  - old --toconly option changed to --toc-only

  - old `pre` mark changed to ``pre``
  - old ``raw`` mark changed to ""raw""
  - old --- mark changed to ``` for Verbatim Area
  - old = term: mark changed to : term for definition list term
  - old bolditalic mark removed, use **//bold+italic//** instead

  - old %!cmdline config changed to %!target and %!options
  - old %!include: `file.txt` changed to %!include: ``file.txt``
    when including a text file
  - old %!include: 'file.html' changed to %!include: ''file.html''
    when including a tagged file

2003-11-30 v1.7
  - new %!include command to insert external files
    {thanks Guaracy Monteiro @ .br for requesting}
  - command line options errors now more descriptive
  - regex errors now detected on Pre/Post proc filters
  - program man page added to the tarball
    {thanks Jose Inacio Coelho @ .br for making it}
  - rewritten the Emacs syntax highlight file
    {thanks Leslie Harlley Watter @ .br for making it}

  - Bugfix: moin: first level lists must have a leading space
  - Bugfix: man: headers using quotes
  - Bugfix: Footer composer on Windows was dumping error
    {thanks Guaracy Monteiro @ .br for pointing}
  - Bugfix: Gui + STDOUT not showing %!postproc edits
    {thanks Guaracy Monteiro @ .br for pointing}

2003-07-23 v1.6
  - new mark + for explicit numbered titles, +like this+
    {thanks Sandor Markon @ .com for requesting}
  - new %!preproc: and %!postproc: user defined filters
    {thanks Peter Valach @ .net for requesting}
  - new %!key(target): optional format to apply a config to a target,
    as in %!encoding(html): iso-8859-1
  - removed accented letter from Author's name (newer Python complains about it)
    {thanks Ola Samuelson @ .se for pointing}
  - added separator blank line before and after titles for txt target

  - Bugfix: --toconly now respects --toclevel setting
  - Bugfix: no more double spaced lines on Windows
    {thanks Guaracy Monteiro @ .br for fixing}
  - Bugfix: man: escaping \ with \e
  - Bugfix: man: escaping lines that begin with . and '
  - Bugfix: tex: solved lots of LaTeX special chars issues: ~ ^ \
  - Bugfix: tex: the _ char is now escaped on titles
  - Bugfix: html: escaping '--' on comment lines
  - Bugfix: html: <IMG ALIGN="middle"> (not "center")
  - Bugfix: html: closing <A NAME> tag with </A>
    {thanks Guaracy Monteiro @ .br for requesting}
  - Bugfix: tex: now using \section* as the (unnumbered) title tag
    {thanks Miek Gieben @ .net for requesting}
  - Bugfix: tex: now respecting --enumtitle
    {thanks Sandor Markon @ .com for requesting}

  - Gui: now showing (and checking) %!cmdline contents (if any)
    {thanks Guaracy Monteiro @ .br for requesting}
  - Gui: refresh checkboxes when a new file is loaded
    {thanks Guaracy Monteiro @ .br for requesting}
  - Gui: accepts extra options when called via command line, example:
    txt2tags --gui -n file.t2t

2003-05-14 v1.5.1
  - just a patch for v1.5, in which the GUI was broken
    {thanks Guaracy Monteiro @ .br for pointing}

2003-05-09 v1.5
  - new %!cmdline: setting to specify a default command line
    {thanks Jose Inacio Coelho @ .br for requesting}
  - target LaTeX now supporting images
    {thanks Leslie Harlley Watter @ .br for making it}
  - new short option -n for --enumtitle
  - new short option -H for --noheaders
  - new options -o and --outfile to set the output filename
    (Note: --stdout option now is deprecated by -o-)
    {thanks Lukasz Grabun @ .pl for requesting}
  - new <!DOCTYPE> declaration on HTML target headers
    {thanks Lukasz Grabun @ .pl for requesting}
  - now the TODO file is public, included on the tarball
  - some improvements on extras/unhtml.vim file

  - Syntax: Headers are parsed as plain text, except %%date
  - Syntax: comma added as valid URL form data char
    {thanks Rodrigo Sobrinho @ .br for requesting}

  - Bugfix: masking of encoding name on tex was not working
    {thanks Leslie Harlley Watter @ .br for pointing}
  - Bugfix: \1, \2, \N special chars was not correctly escaped
    {thanks Thobias Salazar Trevisan @ .br for pointing}
  - Bugfix: '1linePre' regex was matching empty line as '--- '
    {thanks Rodrigo Sobrinho @ .br for pointing}
  - Bugfix: some targets don't support images as links
    {thanks Rodrigo Sobrinho @ .br for pointing}
  - Bugfix: URL special chars was not escaped on Sgml target
    {thanks Rodrigo Sobrinho @ .br for pointing}
  - Bugfix: marks was being parsed on TOC items on man,pm6,moin,mgp,txt
  - Bugfix: most targets don't support images as definition list term
  - Bugfix: fixed escape char \ issues (now it is masked)

2003-02-18 v1.4
  - new table smart align for the full table (left,center)
  - new table smart align for each table cell (left,center,right)
    {thanks Jose Inacio Coelho @ .br for requesting}
  - new --style option and %!style: setting for doc style (like HTML CSS)
    {thanks Maksim Ischenko @ .ua for requesting}
  - new --toclevel option to set the maximum TOC deepness
  - Syntax: now comment lines doesn't close tables
  - if no headers, now the title is left empty (no more "-NO TITLE-")

  - Bugfix: --maskemail was not working since v1.2  :/
  - Bugfix: \t,\n,\r & friends was parsed as specials inside tables
  - Bugfix: paragraph+comment+blankline+paragraph was parsed as one
    paragraph

2002-12-20 v1.3
  - new Txt2tags User Guide document
  - new mark `` for RAW strings (pass-thru txt2tags parsing)
    {thanks Leslie Harlley Watter @ .br for requesting}
  - new %!encoding: command to specify the document charset
  - new 'contrib' dir for user contributed stuff
  - improvements on SGML target: now using <toc> and <descrip>
  - added '$' and '@' chars to the URL matcher, so http://this.is/valid@$99
    {thanks Hubert Chan @ .ca for pointing}

  - Sanity: removed from code structures marked as obsoleted on v1.1
  - Sanity: removed \email{} tag from LaTeX headers. Using \url{}.
  - Sanity: \usepackage[latin1]{inputenc} is not default anymore on
    LaTeX headers. If needed, use new encoding command.

  - Bugfix: LaTeX target added on the Web Interface menu
  - Bugfix: \n, \t and other special pairs escaped under `inline mono`
  - Bugfix: TOC anchor respecting maximum TOC level
  - Bugfix: beautifiers not parsed on TOC items
  - Bugfix: special chars not double escaped on TOC items

2002-12-03 v1.2
  - new 'tex' target (for LaTeX documents)
    {thanks Leslie Harlley Watter @ .br for making it}
  - now multiple source files can be specified on the command line
    as txt2tags -t html *.t2t
    {thanks Maksim Ischenko @ .ua for the idea}
  - URL matcher was improved and now gets valid insane paths as
    http://this.com/// and http://this.com?var=abc#anchor
    {thanks Hubert Chan @ .ca for pointing}
  - added a COPYING file on the tarball, with the GPL license
  - added a handy unhtml.vim script to the extras directory, to
    convert by brute force an HTML file to a txt2tags file on Vim.
  - Bugfix: special chars escaped on link label

2002-11-06 v1.1
  - images can now point to links, as: [[img.gif] www.abc.com]
  - new foldmethod=syntax rules on the Vim syntax file
    {thanks Peter Valach @ .net for requesting}
  - now any non-table line closes a table (blank line or not)
  - begin of the major code-cleanup (aka complete rewrite)
    {thanks EVERYBODY ;) for requesting}

  - Sanity: new RULE for headers: if the very first line of the file
    is blank, this means 'this file has no header information'
  - Sanity: new comment char: % at the line beginning (no leading spaces!)
  - Sanity: marks are not parsed on title lines
    {thanks Maksim Ischenko @ .ua for pointing}
  - Sanity: // as comment mark is obsoleted, due conflicts with
    italic mark. will be removed on version 1.3
  - Sanity: TAB-made tables are marked as obsoleted, will be removed on
    version 1.3. Use the PIPE-made tables instead.
  - Sanity: removed support for filename with spaces on the image mark,
    due conflicts with named URL mark, [like this.gif]
  - new temporary option --fixme to update obsoleted structures and
    automatically fix all this Sanity changes

  - Bugfix: --noheaders now act just as 'suppress headers from output',
    and not 'treat headers as plain text'
  - Bugfix: trailing . is now part of the URL when it contains anchor
    location or form data (as #abc. and ?var=abc.)
  - Bugfix: trailing / added to the URL matcher (as www.abc.com/)
    {thanks Rubens Queiroz @ .br for requesting}
  - Bugfix: title with \ char now is correctly handled

2002-09-25 v1.0
  - new Graphical Tk Interface
  - fixed target file format on Windows and Mac platforms
  - TOC deepness now is limited to level 3
  - RULES file sync'ed with actual rules (sorry!)
    {thanks Grigory Bakunov @ .ru for requesting}
  - ChangeLog (this file) is now a txt2tags file
    {thanks Grigory Bakunov @ .ru for suggesting}
  - added underscore char _ to anchor on URL regex

  - Bugfix: Closing any open list or table at EOF
  - Bugfix: HTML anchor name have no #
    {thanks Grigory Bakunov @ .ru for pointing}

2002-08-23 v0.9
  - now txt2tags is a 100% pure python script. the bash part has gone
    so now it runs nicely on MS Windows and other python aware platforms
    {thanks Ramon Felciano @ .com for requesting}
  - new --toc and --toconly options to generate Table Of Contents
  - defined .t2t as the official txt2tags file extension
    {thanks Leslie Harlley Watter @ .br for requesting}
  - txt.vim file renamed to txt2tags.vim, and added instructions
  - now titles are underlined on target txt
    {thanks Ramon Felciano @ .com for requesting}
  - cmdline used to generate the document is inserted as a comment on it
  - tarball reorganized, adding 'extras' and 'samples' directories

  - Bugfix: when all ok, force system exit status to 0
    {thanks Marcelo Subtil Marcal @ .br for pointing}

2002-07-03 v0.8
  - new abuseme.txt complex sample file (test-suite)
  - new smart image align feature for HTML (see abuseme.t2t)
    {thanks Rubens Queiroz @ .br for requesting}
  - new --maskemail option to hide email from SPAM robots
    {thanks Rubens Queiroz @ .br for requesting}
  - table now can have border or no on HTML
  - improvements on txt.vim syntax file, now colors works on gui also
  - image mark can't accept filename with spaces (conflicts named link)

  - Bugfix: parse more than one %%date on the same line
  - Bugfix: special chars now escaped inside preformatted
  - Bugfix: closing quote mark was kinda broken

2002-06-20 v0.7
  - new Emacs syntax highlight file for txt2tags rules
    {thanks Leslie Harlley Watter @ .br for making it}
  - new mark for definition lists (<DL> on html)
  - now adding protocol to guessed link like www.abc.com
  - explicit link mark changed from ["label" url] to [label url]
    in other words, quotes are not necessary anymore
  - image mark now correctly handles filenames with space for html
  - corrected typos on sample.txt file
    {thanks Rodrigo Stulzer @ .br for pointing}
  - named links now can point to local links as file.html, #anchor
    and file.html#anchor
    {thanks Rubens Queiroz @ .br for requesting}

2002-04-10 v0.6
  - tables are now supported for sgml and moin targets
  - new --enumtitle option to enumerate all titles as 1, 1.1, 1.1.1, etc
  - added numbered list type for all targets, the mark is '+ '
  - better pre-formatted font escaping (won't parse marks)
  - URL matcher now supports ftp://user:passwd@domain.com login URLs
    and user@domain.com?subject=test&cc=me@domain.com filled emails
    {thanks Rubens Queiroz @ .br for requesting}

2002-03-22 v0.5
  - new handy Web interface to use it online (internet or intranet)
  - new --noheaders option to suppress headers information
  - now it can read the marked text from STDIN (specify - as file)
  - adapted to work on python old v1.5 also

2002-03-11 v0.4
  - new simple table support (just for HTML by now)
  - fixed lots of bugs on the man target, now it's kinda usable
  - the preformatted line mark must have a space after the dashes: '--- '
  - the preformatted line now has leading spaces
  - added the classic -h, --help, -V and --version options
  - URL matcher is smarter, supporting #local_anchors and ?form=data
    {thanks Rubens Queiroz @ .br for requesting}

2001-11-09 v0.3
  - new explicit URL/email mark with label: ["my label" http://duh.com]
    {thanks Mark Stankus @ .edu for requesting}
  - date macro now supports format string like %%date(%m/%d/%Y)
    {thanks Mark Stankus @ .edu for requesting}

2001-10-01 v0.2
  - new 'man' target
  - nice shell wrapper to deal with files/directories/options.
    in fact, the python code is now "embedded" on the sh script.
  - new --lang, --split options (for sgml2html)

2001-07-26 v0.1
  - initial release





