



| FOSI FYI |
| Mirror image title quadding |
You can specify flush left titles for verso pages and flush right titles for recto pages with the following code: <charfill literal=" " cfid="spacefill"> <rectopg width="8.5in" nomdepth="11in"> <pageres> <savetext textid="quad1.txt" conrule="spacefill"> <savetext textid="quad2.txt" conrule="\\"> </pageres> <versopg width="8.5in" nomdepth="11in"> <pageres> <savetext textid="quad1.txt" conrule="\\"> <savetext textid="quad2.txt" conrule="spacefill"> </pageres> <e-i-c gi="title"> <charlist inherit="1" charsubsetref="block"> <suppress sup="1"> <savetext textid="title.txt" conrule="#CONTENT"> <usetext source="quad1.txt,title.txt,quad2.txt"></usetext> </charlist> </e-i-c> |
| The code, tips, and tricks here exemplify the not-available-anywhere-else code, tips, and tricks in the FOSI Quickstart Tutorials for Screen and Print FOSIs. |
| Rotated Text |
| Rotated text You can use the following TeX pass-thru in a FOSI to rotate text for print/PDF: <usetext source="%\hbox{\special{pub: rotate 45}%,66pt,\YOUR TEXT HERE\,%}%"> You can change:
In addition to a hard-coded string, you can output a text variable: <usetext source="%\hbox{\special{pub: rotate 39}%,pt,your-text.txt,%}%"></usetext> You can code suppress sup="1" and output rotated #CONTENT -- even from a table cell: <usetext source="%\hbox{\special{pub: rotate 39}%,10pt,#CONTENT,%}%"></usetext> The rotated text is displayed in Preview. In the Edit window, the test is displayed, but it is not rotated. |
| FOSI-generated HTML with XSLT post-processing |
| The exclamation point delimiter used to generate table markup can also be used to generate structured HTML markup for block elements. The result is written to an external ASCII file with usetext userule="1". The HTML is quickly generated when the document is formatted. An XSLT post process is then used to transform inline elements to the desired HTML inline elements. This approach enables custom HTML and print/PDF to be output from the same FOSI. Like any FOSI-generated external ASCII file, the HTML file is named for the element or pseudo-element with the usetext userule="1". The default .exp file name extension can be set to .htm or .html using the APTEXPORTEXT environment variable. |
| Keeping track of delimiters |
| You can use line breaks in the tagged FOSI editor or an ASCII editor to help keep track of gentable delimiters in a savetext conrule or usetext source, as shown in the following code fragment: <usetext source=' !<table><tgroup cols="1"><colspec colname="col1" colwidth="*"/><tbody><row><entry>! ,content.txt, !</entry></row></tbody></tgroup></table>! '> |
| Expert Stylesheet Consulting for Arbortext |
| World expert on applied FOSI |
| Expert FOSI Consulting Contact@FOSIexpert.com 941-312-7636 2009 |

| Essential for every Arbortext application! |
| Symbols for footnotes [excerpted from FOSI Quickstart Tutorials for Print FOSIs] Footnote elements can output symbols instead of numbers or letters, using the following FOSI code. Note that the number of symbols coded must be sufficient for the maximum number of footnotes. If the number of footnotes exceeds the number of symbols coded, the remaining footnotes will have the same symbol. <styldesc> <e-i-c gi="footnote-symbols.psu"> <charlist inherit="1"></charlist> <att> <specval attname="footnotect" attloc="#FOSI" attval="1"> <charsubset><savetext textid="footnotect.txt" conrule="\*\"></charsubset> </att> <att> <specval attname="footnotect" attloc="#FOSI" attval="2"> <charsubset><savetext textid="footnotect.txt" conrule="\†\"></charsubset> </att> <att> <specval attname="footnotect" attloc="#FOSI" attval="3"> <charsubset><savetext textid="footnotect.txt" conrule="\‡\"></charsubset> </att> <att> <specval attname="footnotect" attloc="#FOSI" attval="4"> <charsubset><savetext textid="footnotect.txt" conrule="\§\"></charsubset> </att> <att> <specval attname="footnotect" attloc="#FOSI" attval="5"> <charsubset><savetext textid="footnotect.txt" conrule="\¶\"></charsubset> </att> <att> <specval attname="footnotect" attloc="#FOSI" attval="6"> <charsubset><savetext textid="footnotect.txt" conrule="\∥\"></charsubset> </att> <att> <specval attname="footnotect" attloc="#FOSI" attval="7"> <charsubset><savetext textid="footnotect.txt" conrule="\°\"></charsubset> </att> </e-i-c> ... </styldesc> <ftndesc> <e-i-c gi="footnote"> <charlist inherit="1"> <enumerat increm="1" enumid="footnotect"> <usetext source="<footnote-symbols.psu>,</footnote-symbols.psu>" placemnt="before"></usetext> <usetext source="1pt,footnotect.txt" placemnt="before"></usetext> </charlist></e-i-c> <ftnatts> <charlist> <usetext source="footnotect.txt" placemnt="before"> </usetext> </charlist> </ftnatts> </ftndesc> |

| Learn how to reset footnotes on each page with the FOSI Quickstart Tutorials for Print FOSIs |


| Excerpts from Essential FOSI |