Sorry. What I meant is: when you use
context.setuphead({'chapter'}, {title="Some text"})
at the Lua end, {'chapter'} and {title="Some text"} (notice "Some text" is
a string, not a function) are Lua tables. TeX will print "Some text", but
it won't work for context.delayed as it is another table (m
Dear List,
I'm experimenting with a new syntax for ConTeXt and would appreciate it a
lot if you could give some opinions/advice on it.
https://github.com/champignoom/luax
Details in the README. Basically it's lua code faking tex, while remaining
a decent programming language, and saving keystrok
> as tables like those in setuphead({somehead}, {somesettings}) are actual
Lua tables and follow Lua, not TeX, rules
But there are lua apis that support delayed TeX like
`context.chapter(context.delayed'text')`.
Whether or not the function is stored in a table should be theoretically
irrelevant.
I
On the Lua side, you'll have to pass strings so your example works, as
tables like those in setuphead({somehead}, {somesettings}) are actual Lua
tables and follow Lua, not TeX, rules (see e.g. Lua reference in
https://www.lua.org/manual/5.4/ or, better, CLD manual in
http://www.pragma-ade.nl/genera
Dear List,
I'm trying to mirror the context command
`\setuphead[chapter][before=hello]`
into lua with delayed typesetting of 'hello', but
`\ctxlua{context.setuphead({'chapter'}, {before=context.delayed'hello'})}`
does not have any effect. Could anyone help me on this? Thanks!
Best,
Sylvain
__
Hello,
I am trying to run mtxrun in a batch process and read the available
documentation here -
https://wiki.contextgarden.net/Running_ConTeXt_without_a_shell
My usecase is being able to create PDF docs based on the input data that
comes in a JSON format (in a continuous batch process). In ConTeX
On 10/31/2020 3:50 AM, Jairo A. del Rio wrote:
Hi, Hans. The last release is considerably faster for smaller documents
(for larger documents differences seem to be neglectable). Thank you for
such an improvement. However, something is wrong with one manual:
luametatex manual won't compile:
Comp
Thank you, Wolfgang, for your prompt and helpful solution!
Although I didn't make it clear in the minimal working example, I am using this
for ordinary dialog. For the record (and for anyone searching the mailing list
in the future), to get that to work right, I had to put in one more thing int
t...@projectivespace.com schrieb am 02.11.2020 um 18:26:
I'm trying to get quotation marks at the beginning of each new paragraph in
quotations (in ConTeXt Mk IV), as is the convention in English. Here's a
minimal working example of what I have tried:
\setupdelimitedtext[quotation][repeat=yes, m
I'm trying to get quotation marks at the beginning of each new paragraph in
quotations (in ConTeXt Mk IV), as is the convention in English. Here's a
minimal working example of what I have tried:
\setupdelimitedtext[quotation][repeat=yes, middle="]
\starttext
\quotation{\input knuth
}
\stoptext
Ho
Otared, Jano, thank you for your answers – what finally helped was putting the
image and the index entries in a vbox together.
Hraban
___
If your question is of interest to others as well, please add an entry to the
11 matches
Mail list logo