Re: package serto…come installarlo???[RISOLTO]

#47174
Up
0
Down
::

Grazie Enrico!!!

sono riuscito a visualizzare il siriaco…ma ho un ultimo problemino: il file di esempio che mi genera alla fine contiene una stringa di comandi troppo lunga per scrivere in siriaco (tipo {\serto\beginR \lowersyriac{22}{J}\char160{}\uppersyriac{1}{\uppersyriac{6}{x}}r\endR}) al contrario del comando, molto più semplice, “ser.t=a’” che nella compilazione non mi riconosce…nella guida c’è scritto questo, ma non capisco cosa vuol dire…

3 The preprocessor serto.py

Since this is an early version of the package, typesetting of texts is not yet pos-
sible with standard LATEX, since the right-to-left typesetting (as for instance as in
ArabTEX) has not yet been implemented. For the time being I propose a prepro-
cessor (written in PYT HON4 ) and elatex.

3.1 Using the preprocessor

The preprocessor is called with the LATEX-file as argument:
serto.py [-e] ppfilename.tex > filename.tex
The resulting LATEX-file can be LATEXed as usually. Please make sure to have the
\usepackage{serto} included in your preamble.
The option -e is necessary if you use elatex. Since elatex is capable to
typeset texts from the right to the lext, the -e -option tells the preprocessor not to
inverse the letters on its own. In order to typeset whole paragraphs elatex is the
better solution. Usually it comes with every modern TEX-distribution.
The preprocessor recognizes two types of commands. Within a single line you can
put Syriac words between and : For example ser.t=a’
becomes <(...qui spunta la scritta in siriaco...)>.

mi dispiace scocciarti ancora ma non so proprio che fare…se dovessi imparare tutti quei comandi per scrivere in siriaco preferisco scriverlo a mano!!
Ti ringrazio per la tua estrema disponibilità!

Joseph

Il preprocessore fa esattamente questo. Il tuo file contiene i comandi con ; poi lo devi massaggiare con il preprocessore (dal terminale): se il tuo file si chiama tesi.tex, scrivi, per esempio,
`~/bin/serto.py -e tesi.tex > tesi-p.tex`
ed è il file tesi-p.tex che elaborerai con pdflatex.

Ciao
Enrico

Go to top