Changes

Jump to navigation Jump to search
add hint about Pandoc; moved macro from FAQ
* [[LaTeX Math in ConTeXt]]
 
=== Automatical converting ===
 
[https://pandoc.org Pandoc] can read LaTeX and write ConTeXt (but not the other way round).
=== Copy-Paste text between LaTeX and ConTeXt ===
* [[Latex Packages]]
=== How transcribe this LaTeX macro to ConTeXt? ===
 
(This was moved from the [[FAQ]] where it didn’t make sense.)
 
How to transcribe this macro controlling that no last line of a paragraph is shorter than the paragraph indenting?
 
<texcode>
\parfillskip=\hsize
\advance\parfillskip by -1.5\parindent
\advance\parfillskip by 0pt minus \parfillskip
\advance\parfillskip by 0pt minus -1em
</texcode>
 
Like this:
<texcode>
\installalign
{block}
{\parfillskip=\hsize
\advance\parfillskip by -1.5\parindent
\advance\parfillskip by 0pt minus \parfillskip
\advance\parfillskip by 0pt minus -1em}
 
% followed by
\setupalign[block]
</texcode>
[[Category:From LaTeX]]

Navigation menu