replaces preproc.txt

svn path=/trunk/; revision=1904
This commit is contained in:
allegreg
2002-01-24 17:54:25 +00:00
parent e1209cab15
commit e039450ea3

22
tools/README.preproc Normal file
View File

@@ -0,0 +1,22 @@
Usage :
$ ./preproc.pl boilerplate.fr.pxhtml (for example)
-> will generate a "final" file boilerplate.fr.xhtml
The preproc.pl script parses a .pxhtml file and generate a .xhtml.
It recognizes 2 special tags :
* <plang:langselection>
which generates the classical menu
[ Deutsch | English | Espa<70>ol | Fran<61>ais | Italiano | Portugu<67>s ]
with links only on existing translations
* <plang:internallink href="..." lnlang="..." fblang="..." name="...">
which generates a link towards an other page on the site.
lnlang (link language) and fblang (fallback language) are optional,
href and name are mandatory.
href is the page name or path, without the ".LA.html" extension
name is the string to put between <a href=""> and </a> in the .xhtml output.
(a la linuxdoc)
<GAllegre@april.org>, december 2001