Changes

Jump to navigation Jump to search
789 bytes added ,  09:57, 21 July 2004
no edit summary
< [[From LaTeX to ConTeXt]]

LaTeX:
<pre>
\documentclass{article}
\def\ST{\ac{ST}}
\def\Title{A \emph{Title}}
\usepackage{acronym}
\usepackage{hyperref}
\hypersetup{bookmarksopen=true,pdftitle=\Title}
\begin{document}
\section{\Title}
\section{\slshape slanted}
first usage of \ST.
\section{\ST}
\begin{acronym}
\acro{ST}{some text}
\end{acronym}
\end{document}
</pre>

ConTeXt:
<pre>
\setupoutput[pdftex]
\appendtoks \def\em{}\def\sl{}\def\Full#1{???} \to \simplifiedcommands
\def\Title{A \em Title}
\setupinteraction[state=start,title=\Title]
\setupinteractionscreen[option=bookmark]
\definesynonyms[Acro][acronymes][\Full]
\Acro{ST}{some text}
\placebookmarks[section]
\starttext
\section{\Title}
\section{\Full{ST}} % hier is still a problem...
\section{\sl slanted}
\stoptext
</pre>

Navigation menu