1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
|
Txt2tags Changelog
2005-06-17 v2.3
- New rule to allow COLSPAN in table cells (for HTML, XHTML)
{thanks Elias Dorneles da Silveira Junior @ .br for requesting}
- New --dump-source option to show source file with t2t includes expanded
{thanks Peter Valach @ .net for requesting}
- New --config-file and -C options to include an external config file
{thanks Tristan Chabredier (wwp) @ .fr for requesting}
- New turn off options: --no-infile, --no-dump-config, --no-dump-source
- New 'test' folder with the program test-suite
- tex: FitV changed to FitH in hyperref package PDF settings
{thanks Guaracy Monteiro @ .br for requesting}
- Docs: New "Markup Rules" document, obsoleting old RULES and Abuse Me docs
- Docs: All documentation translated to French
{thanks Claude Hiebel @ .fr for making them}
- Docs: Sample file translated to Hungarian
{thanks Adam Schmideg @ .net for making it}
- Docs: Sample file and Markup Demo translated to Chinese
{thanks Zoom Quiet @ .cn for making it}
- Docs: Little fixes at the program man page and pt_BR.po potfile
{thanks Jose Avila @ .br for pointing}
- Bugfix: Option --css-inside now working for xhtml target also
- Bugfix: Macros names are case insensitive again (it was broken on v2.1)
- Bugfix: Not dumping traceback when input file is empty
- Bugfix: Now identifying invalid filter replacement (as \1 with no group)
- Bugfix: Outfile buffer \n's expanded *before* postproc filters
- Bugfix: Detection when %!includeconf is including itself (loop)
- Bugfix: Module: Improved support, samples/module/* updated
- Bugfix: Module: finish_him() has not module-aware
{thanks Ulysses Almeida @ .br for pointing}
- Bugfix: Module: Using %%mtime was dumping error
{thanks Ulysses Almeida @ .br for the patch}
2004-12-30 v2.2
- New 'lout' target
{thanks Tamas Ivan @ .hu for requesting}
- 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 and --split options (for sgml2html)
2001-07-26 v0.1
- Initial release
|