Glosses

It is possible to display both 2- and 3-line glosses (where the third line is a natural rendering of the second gloss line). However, it is necessary to duplicate material within environments specific to LaTeX and HTML (otherwise unwieldy images are produced by the conversion process).

Examples of how to do this follow.

2-line glosses use a tabular, with as many columns as there are words to be glossed, the second row containing the gloss of the first row.

Degelovigeheefteenkaarsinhaarhanden.
Theworshipperholdsacandleinherhands.
This is achieved as follows:

tex2html_wrap_inline1871begin{latexonly}

\ngloss{De}{The} \ngloss{gelovige}{worshipper} \ngloss{heeft}{holds}
\ngloss{een}{a} \ngloss{kaars}{candle} \ngloss{in}{in}
\ngloss{{\em haar}}{{\em her}} \ngloss{handen}{hands}
tex2html_wrap_inline1871end{latexonly}
tex2html_wrap_inline1871begin{htmlonly}
\begin{tabular}{llllllll}
De&gelovige&heeft&een&kaars&in&{\em haar}&handen.\\
The&worshipper&holds&a&candle&in&{\em her}&hands.
\end{tabular}
tex2html_wrap_inline1871end{htmlonly}

As for 3-line glosses, these again use a tabular, the first row containing the source expression, the second row containing the gloss and the third row containing the natural rendering. There are again as many columns as words to be glossed. The natural rending of the third row is expressed as a multicolumn unit.

``Professore,vorreidirlesperorivederlapresto
Professor (man),I wantto tell-her,I hopeto see-hersoon
`Professor, I want to tell you, I hope to see you soon.'
This is achieved as follows:

tex2html_wrap_inline1871begin{latexonly}

\ngloss{De}{The} \ngloss{gelovige}{worshipper} \ngloss{heeft}{holds}
\ngloss{een}{a} \ngloss{kaars}{candle} \ngloss{in}{in} \ngloss{{\em
haar}}{{\em her}} \ngloss{handen}{hands}

\ngloss{``Professore,}{\hspace*{0.4em}Professor (man),}
\ngloss{vorrei}{I want}
\ngloss{dirle,}{to tell-her,}
\ngloss{spero}{I hope}
\ngloss{riveder{\bf la}}{to see-her}
\ngloss{presto.''}{soon}\\
\hspace*{0.1em}`Professor, I want to tell you, I hope to see you soon.'
tex2html_wrap_inline1871end{latexonly}
tex2html_wrap_inline1871begin{htmlonly}
\begin{tabular}{llllll}    
``Professore,&vorrei&dirle&spero&riveder{\bf la}&presto\\ 
Professor (man),&I want&to tell-her,&I hope&to see-her&soon\\  
\multicolumn{6}{l}{`Professor, I want to tell you, I hope to see you
soon.'}
\end{tabular}
tex2html_wrap_inline1871end{htmlonly}


ceditor@tnos.ilc.pi.cnr.it