--
You received this message because you are subscribed to the Google Groups "Parchment" group.
To post to this group, send email to parc...@googlegroups.com.
To unsubscribe from this group, send email to parchment+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/parchment?hl=.
To unsubscribe from this group, send email to parchment+...@googlegroups.com.
Parchment Interface by Tim Pittman begins here.
Chapter 1 - Use Option
Use Parchment interface output translates as (- Constant
PARCHMENT_HOOKS; -),
Chapter 2 - Parchment Hooks
Section 2.1 - Misc Tags
To make the parchment tag (s - some text): (-
#ifdef PARCHMENT_HOOKS;
print "[parchment:", (PrintText) {s}, "]";
#endif;
-).
Section 2.2 - Images
[if using the Parchment interface output option]
To show the image of (s - some text) on parchment: (-
#ifdef PARCHMENT_HOOKS;
print "[parchment:img src=~", (PrintText) {s}, "~]^";
#endif;
-).
To show the image of (s - some text) with the attributes (a - some
text): (-
#ifdef PARCHMENT_HOOKS;
print "[parchment:img src=~", (PrintText) {s}, "~ ", (PrintText) {a},
"]^";
#endif;
-),
To show the image of (s - some text) with width (w - a number) and
height (h - a number) on parchment: (-
#ifdef PARCHMENT_HOOKS;
print "[parchment:img src=~", (PrintText) {s}, "~ width=",
(PrintText) {w}, " height=", (PrintText) {h}, "]^";
#endif;
-).
To show the image of (s - some text) with alt text (a - some text) on
parchment: (-
#ifdef PARCHMENT_HOOKS;
print "[parchment:img src=~", (PrintText) {s}, "~ alt=~", (PrintText)
{a}, "~ title=~", (PrintText) {a}, "~]^";
#endif;
-).
To show the image of (s - some text) with class name (c - some text)
on parchment: (-
#ifdef PARCHMENT_HOOKS;
print "[parchment:img src=~", (PrintText) {s}, "~ class=~",
(PrintText) {c}, "~]^";
#endif;
-).
Section 2.3 - Span/Classes
To change to parchment class (s - some text):
(- ParchmentHookSpan({s}); -).
Include (-
[ ParchmentHookSpan name;
#ifdef PARCHMENT_HOOKS;
print "[parchment:span class=", (PrintText) name, "]";
#endif;
];
-).
Parchment Interface ends here.
[Please note that in order for hooks to be printed, you must use the
Parchment interface output Use Option. It's with this that all
parchment hooks can be disabled with a simple commenting out of one
line. This presumes that authors will release a version for Parchment,
separate from normal release (since it takes a few more steps to put
the thing into Parchment anyway)]