* ’Undefined control sequence’ with basic example
@ 2016-04-29 9:05 Saša Janiška
2016-04-29 9:10 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Saša Janiška @ 2016-04-29 9:05 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ’Undefined control sequence’ with basic example
2016-04-29 9:05 ’Undefined control sequence’ with basic example Saša Janiška
@ 2016-04-29 9:10 ` Wolfgang Schuster
2016-04-29 9:21 ` Saša Janiška
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-04-29 9:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1131 bytes --]
> Saša Janiška <mailto:gour@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@atmarama ~/prj/knjiga]$ luatex t.tex
context <filename>
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2281 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-29 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 9:05 ’Undefined control sequence’ with basic example Saša Janiška
2016-04-29 9:10 ` Wolfgang Schuster
2016-04-29 9:21 ` Saša Janiška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).