% This is the txt2tags site main configuration file.
% All the pages use these configs.
% Some self-explanatory options (I guess)
%!target : html
%!encoding: iso-8859-1
% The style is on a nice CSS file. The SITEPATH here is a wildcard
% that will be expanded later (with %!postproc), so i can always
% refer to this file, no matter how deep the HTML is under folders.
%!style : SITEPATH/site.css
% The --css-sugar is a nice option when you use CSS for formatting.
% It adds
tags on the HTML code: header, toc and body,
% making it easy to format each document area. It also removes some
% little formatting information that txt2tags adds, leaving the code
% clear for all your CSS trips.
%!options : --css-sugar
% A commonly used trick to add a little HTML code directly on the
% sources. It changes {{br}} to
, {{/i}} to and so on...
%!postproc: {{(.*?)}} <\1>
% Remember the SITEPATH wildcard? Here it is expanded to the current
% folder (dot). Other files may redefine it to .. or ../.. depending
% how deep they are.
%!postproc: SITEPATH .
% Trick to add the author meta tag right after the tag.
%!postproc: '(?i)()' '\1\n
'
% Trick to use a remote image (footer)
%!postproc: 'SFlogo.png"' 'http://sflogo.sourceforge.net/sflogo.php?group_id=32237&type=1" width="88" height="31"'
% Trick to add the TITLE/ALT attribute to an image
%!postproc: '(?i)(src="[^"]*t2tpowered.png")' '\1 title="O>OOOO"'
%!postproc: '(?i)(src="[^"]*donate.png".*?) ALT=""' '\1 alt="DONATE"'
% Trick to add the TITLE attribute to a link
%!postproc: '(?i)
(.*?)' '
\2'
% A nice database of links. I just refer to them like {URLT2T} on the
% sources and the link is inserted when converting. Very handy to
% unpollute the sources and makes easy when a link changes.
%
% Thing of filters as a search & replace feature.
% preproc: replaces the text before the conversion (changes sources)
% postproc: replaces after the conversion (changes generated code)
%!preproc: {URLT2T} http://txt2tags.sourceforge.net
%!preproc: {URLT2TPT} http://txt2tags.sourceforge.net/pt/
%!preproc: {URLONLINE} http://txt2tags.sourceforge.net/online.php
%!preproc: {URLONLINEPT} http://txt2tags.sourceforge.net/pt/online.php
%!preproc: {URLSF} http://www.sourceforge.net
%!preproc: {URLBLOG} http://txt2tags.wordpress.com
%!preproc: {URLDONATE} http://sourceforge.net/donate/index.php?user_id=1345338
%%!preproc: {URLDOWNLOAD} http://sourceforge.net/project/showfiles.php?group_id=32237
%!preproc: {URLDOWNLOAD} http://prdownloads.sourceforge.net/txt2tags/txt2tags-2.4.tgz?download
%!preproc: {URLRSSDOWNLOAD} http://sourceforge.net/export/rss2_projfiles.php?group_id=32237
%!preproc: {URLFEED} http://txt2tags.wordpress.com/feed/
%!preproc: {URLPDA} http://txt2tags-pda.sourceforge.net
%!preproc: {URLPDAPT} http://txt2tags-pda.sourceforge.net/pt/
%!preproc: {URLWIN} http://txt2tags-win.sourceforge.net
%!preproc: {URLWINPT} http://txt2tags-win.sourceforge.net/index.html.pt-br
%!preproc: {URLDEBIAN} http://packages.debian.org/txt2tags
%!preproc: {URLGENTOO} http://gentoo-portage.com/app-text/txt2tags
%!preproc: {URLNETBSD} http://pkgsrc.se/wip/txt2tags
%!preproc: {URLUBUNTU} http://packages.ubuntu.com/txt2tags
%!preproc: {URLKATEPT} http://br.geocities.com/juliano_dorneles/t2t/
%!preproc: {URLKATE} http://br.geocities.com/juliano_dorneles/t2t/txt2tags.xml
%!preproc: {URLT2TMAKEPT} http://txt2tags-win.sourceforge.net/t2tmake/t2tmake.html
%!preproc: {URLVIMCOMPPT} http://www.aboutwilson.net/thevims/txt2tags.html
%!preproc: {URLGVIMMENU} http://www.vim.org/scripts/script.php?script_id=1097
%!preproc: {URLMAILING} http://lists.sourceforge.net/lists/listinfo/txt2tags-list
%!preproc: {URLMAILINGPT} http://br.groups.yahoo.com/group/txt2tags-br/
%!preproc: {URLFAQPT} http://www.aboutwilson.net/txt2tags/faq.html
%!preproc: {URLORKUT} http://www.orkut.com/Community.aspx?cmm=87935
%!preproc: {URLWRITINGBOOK} http://txt2tags.sourceforge.net/writing-book.html
%!preproc: {URLPOTFILE} http://txt2tags.sourceforge.net/po/txt2tags.pot
%!preproc: {URLHTMLVALIDATOR} http://validator.w3.org/check?uri=referer
%!preproc: {URLCSSVALIDATOR} http://jigsaw.w3.org/css-validator/check/referer
%!preproc: {DOCFEATURES} features.html
%!preproc: {DOCMARKUP} markup.html
%!preproc: {DOCRULES} rules.html
%!preproc: {DOCSAMPLE} sample.html
%!preproc: {DOCABUSEME} abuseme.html
%!preproc: {DOCMAN} manpage.html
%!preproc: {DOCBOOK} writing-book.html
%!preproc: {DOCUSERGUIDE} userguide/
%!preproc: {DOCRELEASES} releases.html
%!preproc: {DOCQUICKREF} txt2tags-quickref.pdf
%!preproc: {DOCMARKUPSRC} markup.zip
%!preproc: {DOCRULESSRC} rules.t2t
%!preproc: {DOCSAMPLESRC} sample.t2t
%!preproc: {DOCMANSRC} manpage.t2t
%!preproc: {DOCBOOKSRC} writing-book.t2t
%!preproc: {DOCUSERGUIDESRC} userguide/userguide.t2t
%!preproc: {DOCQUICKREFSRCSXW} txt2tags-quickref.sxw
%!preproc: {DOCFEATURESPT} pt/sobre.html
%!preproc: {DOCMARKUPPT} pt/markup-pt.html
%!preproc: {DOCSAMPLEPT} pt/sample-pt.html
%!preproc: {DOCSAMPLEPTSRC} pt/sample-pt.t2t
%!preproc: {DOCABUSEMEPT} pt/abuseme-pt.html
%!preproc: {DOCMANPT} pt/manpage-pt.html
%!preproc: {DOCBOOKPT} pt/writing-book-pt.html
%!preproc: {DOCUSERGUIDEPT} pt/guia-usuario.html
%!preproc: {DOCQUICKREFPT} pt/txt2tags-quickref-pt.pdf
%!preproc: {DOCQUICKREFPTUSER} pt/txt2tags-ref-jic-leslie.pdf
%!preproc: {PO_PT} po/pt_BR.po
%!preproc: {DOCMARKUPFR} fr/markup-fr.html
%!preproc: {DOCSAMPLEFR} fr/sample-fr.html
%!preproc: {DOCMANFR} fr/manpage-fr.html
%!preproc: {DOCBOOKFR} fr/writing-book-fr.html
%!preproc: {DOCQUICKREFFR} fr/txt2tags-quickref-fr.pdf
%!preproc: {DOCUSERGUIDEFR} fr/userguide-fr.pdf
%!preproc: {PO_FR} po/fr.po
%!preproc: {DOCMARKUPES} es/markup-es.html
%!preproc: {DOCSAMPLEES} es/sample-es.html
%!preproc: {DOCABUSEMEES} es/abuseme-es.html
%!preproc: {DOCQUICKREFES} es/txt2tags-quickref-es.pdf
%!preproc: {DOCUSERGUIDEES} es/userguide-es.pdf
%!preproc: {DOCMANES} es/manpage-es.html
%!preproc: {DOCBOOKES} es/writing-book-es.html
%!preproc: {PO_ES} po/es.po
%!preproc: {DOCMARKUPCA} ca/markup-ca.html
%!preproc: {DOCSAMPLECA} ca/sample-ca.html
%!preproc: {DOCMANCA} ca/manpage-ca.html
%!preproc: {DOCQUICKREFCA} ca/txt2tags-quickref-ca.pdf
%!preproc: {DOCSAMPLEHU} hu/sample-hu.html
%!preproc: {DOCMARKUPHU} hu/markup-hu.html
%!preproc: {DOCQUICKREFHU} hu/txt2tags-quickref-hu.pdf
%!preproc: {PO_HU} po/hu.po
%!preproc: {DOCMARKUPDE} de/markup-de.html
%!preproc: {DOCSAMPLEDE} de/sample-de.html
%!preproc: {DOCMANDE} de/manpage-de.html
%!preproc: {DOCQUICKREFDE} de/txt2tags-quickref-de.pdf
%!preproc: {DOCUSERGUIDEDE} de/userguide-de.pdf
%!preproc: {URLQUICKREFDEUSER} http://www.jamesie.de/txt2tags/txt2tags-refcard.pdf
%!preproc: {DOCBOOKDE} de/writing-book-de.html
%!preproc: {PO_DE} po/de.po
%!preproc: {DOCSAMPLEZH} zh/sample-zh.html
%!preproc: {DOCMARKUPZH} zh/markup-zh.html
%!preproc: {DOCMANZH} zh/manpage-zh.html
%!preproc: {DOCQUICKREFZH} zh/txt2tags-quickref-zh.pdf
%!preproc: {PO_ZH} po/zh_CN.po
%!preproc: {DOCMARKUPLU} de_LU/markup-de_LU.html
%!preproc: {DOCMANIT} it/manpage-it.html
%!preproc: {PO_IT} po/it.po
%!preproc: {DOCSAMPLEEO} eo/sample-eo.html
%!preproc: {DOCMARKUPEO} eo/markup-eo.html
%!preproc: {DOCSAMPLEFI} fi/sample-fi.html
%!preproc: {PO_FI} po/fi.po
%!preproc: {DOCMARKUPCS} cs/markup-cs.html
%!preproc: {DOCSAMPLECS} cs/sample-cs.html
%!preproc: {DOCQUICKREFCS} cs/txt2tags-quickref-cs.pdf
%!preproc: {DOCSAMPLESV} sv/sample-sv.html
% Shortcuts for remote images (Note: postproc, no {})
%!postproc: URLIMGVALIDXHTML http://www.w3.org/Icons/valid-xhtml10.png
%!postproc: URLIMGVALIDHTML http://www.w3.org/Icons/valid-html40.png
%!postproc: URLIMGVALIDCSS http://www.w3.org/Icons/valid-css.png