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@atmarama ~/prj/knjiga]$ luatex t.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 
 restricted \write18 enabled.
(./t.tex
! Undefined control sequence.
l.2 \setuppapersize
                 [A5]
? l
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
? x
No pages of output.
Transcript written on t.log.
[gour@atmarama ~/prj/knjiga]$ less t.tex
[gour@atmarama ~/prj/knjiga]$ luatex t.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 
 restricted \write18 enabled.
(./t.tex
! Undefined control sequence.
l.2 \setuppapersize
                 [A5]
? 


What is wrong?


Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to