[NTG-context] ’Undefined control sequence’ with basic example

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri Apr 29 11:10:32 CEST 2016


> Saša Janiška <mailto:gour at atmarama.com>
> 29. April 2016 um 11:05
> Hello,
>
> I had to prepare some text for my mother by extracting some portions
> from her book (done in LyX/LaTeX) and now wanted to use it as example to
> see the quality of job done by LuaTeX…
>
> However, converting LyX —> LaTeX —> Pandoc –> ConTeXt failed and I tried
> with the simple example
> (http://wiki.contextgarden.net/Command/startsection):
>
> % mode=mkiv
> \setuppapersize[A5]
> \starttext
>
> \startsection[
> reference=sec:One,
> title={Section One},
> ]
>
> For a subsection, see \in{subsection}[sec:Two:Sec].
>
> \stopsection
>
> \startsection[
> reference=sec:Two,
> title={Section Two},
> ]
> [a_variable={some value}]
>
> a_variable=\quote{\structureuservariable{a_variable}}.
>
> \startsubsection[
> reference=sec:Two:Sec,
> title={Here’s a subsection},
> ]
>
> In this subsection there’s some text\ldots
>
> \stopsubsection
> \stopsection
> \stoptext
>
> but running it under Debian (Sid) gives:
>
> [gour at atmarama ~/prj/knjiga]$ luatex t.tex
context <filename>

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160429/fb62e10c/attachment.html>


More information about the ntg-context mailing list