I use M4 and make.
M4 is a venerable, standard macro language and make
is great for keeping everything in sync. It's also really easy to learn.
define(`_foo',`<H1>$1</H1>')dnl
_foo(`That was easy')dnl
Now you know how to use M4.
Okay, maybe it's not that simple...
Here's the link to the manual for Gnu's M4.
http://www.gnu.org/software/m4/manual/html_node/index.html
It's great for writing re-usable chunks (_my_header(),
_my_footer(), etc..). Not so great for complex formatting (e.g., automatically generating a table of contents from all
your different sections)
-Pileofrogs
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.