Changes

Jump to navigation Jump to search
m
→‎Copy-Paste text between LaTeX and ConTeXt: Improve style and spelling a wee bit. Get rid of the Howto template, as question is answered.
=== Copy-Paste text between LaTeX and ConTeXt ===
It is sometimes useful to have the same source for a latex LaTeX document and context a ConTeXt presentation (or context a ConTeXt document and latex a LaTeX presentation). However, the commands used by both are very different. Can someone describe some definations definitions in context ConTeXt that implement the core functionality of latex LaTeX commands like \section et al, \textbf et al, \bfseries et al and \begin \end pairs?{{Howto}}
''<code>\section</code> works the same way as in LaTeX, for mathematics take a look into [[LaTeX Math in ConTeXt]], use <code>\bf</code> instead of <code>\textbf</code> for both LaTeX and ConTeXt (or <code><nowiki>\def\textbf#1{{\bf #1}}</nowiki></code>) and as a general rule: use as many plain TeX macros as possible instead of LaTeX-specific macros. <code>\begin ... \end</code> only works for math as far as I know. See also other documents listed above or ask on the mailing list.''
Also, many of the macros on the [[LaTeX Math in ConTeXt]] page are equally useful in ConTeXt formulas.
-->
 
A Vietnamese version of <i>LaTeX in proper ConTeXt</i> is available at [http://vnoss.org/docs/LaTeX2ConTeXt-vi.pdf VnOSS].

Navigation menu