Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 54 by chr...@lavabit.com: Further patches http://code.google.com/p/txt2tags/issues/detail?id=54
I have a few further patches that I'm willing to contribute if there's interest: 1. XHTML attributes for tables. Append '{...@class #id !style ^language}' to a table's header row to define 'class', 'id', 'style' & 'lang' attributes. Each attribute is optional so e.g. '{...@test ^en}' will generate '<table border="1" class="TEST" lang="en">'. 2. Enable additional command line targets & define replacement macros. By adding '--define <name>' to the command line any '%!preproc(<name>): …' is enabled in addition to those of the current target (similarly for postproc). This would allow you to share specific P*Procs between xhtml, html & dbk targets for instance. Additionally, '--define <name>=<value>' will substitute all occurrences of '${<name>}' in the input document with '<value>'. This substitution happens before PreProcs. (I'm sure you can think of some uses for this.) Multiple '--define name[=value]' args may be specified. (Each must have a unique name.) Args of the form '-Dname[=value]' are also accepted. 3. Improved XML list legibility (& PostProc-ability). A small patch that generates '<li>list item.</li>' instead of '<li>list item.\n</li>'. For HTML, XHTML & DocBook too. [This could be combined with my '<p>paragraph.</p>' patch.] 4. Support for outputting multiple [X]HTML files. A small update to the patch submitted in issue 29. [The results of all these changes may be seen in action in the new HTML help for svnX here: <http://code.google.com/p/svnx/wiki/Features_1_3> .] ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list