Open main menu

Changes

only half of the answer
< [[From LaTeX to ConTeXt]]
===In LaTeX:===<pretexcode>
\documentclass[frenchb]{article}% in french texts, : ; ? and ! are active
\usepackage[latin9]{inputenc}
\hsize8cm\noindent\lstinline{hööah:aloh/aa?lha llol!loh%lloh#allhal\lohhll;ohohal~loll ohalölo}
\end{document}
</pretexcode>
===In ConTeXt=== <texcode>\mainlanguage[fr]\framed [width=8cm, align=flushleft]{%\starttyping[lines=hyphenated]hööah: Perhaps with aloh/aa?lha llol!loh%lloh#allhal\lohhll;ohohal~loll ohalölo\stoptyping}</texcode> <ttcontext>%\mainlanguage[fr]\framed [width=8cm, align=flushleft]{%\starttyping[lines=hyphenated]hööah:aloh/aa?lha llol!loh%lloh#allhal\hyphenatedfilelohhll;ohohal~loll ohalölo\stoptyping}</ttcontext>? To the one who wrote this question: the ConTeXt example above shows how to hyphenate verbatim text (you can't really notice that from the example), but not how to hyphenate French verbatim with active characters. You have to ask on the mailing list for that if you are still interested.