On 11/1/2019 2:23 PM, cont...@vivaldi.net wrote:
Hello,
the following code doesn't compile:
\starttext
\startasciimode %@$\stopasciimode
A
\footnote{\startasciimode %@$\stopasciimode} % Try to comment this
\stoptext
When the line with \footnote is commented, compilation
Hello,
the following code doesn't compile:
\starttext
\startasciimode %@$\stopasciimode
A
\footnote{\startasciimode %@$\stopasciimode} % Try to comment
this
\stoptext
When the line with \footnote is commented, compilation works fine.
What's "evil" in \footnote{\startasci
Pablo Rodriguez schrieb am 01.11.2019 um 11:48:
2. Use the asciimode environment to make TeX's special characters normal
letters.
Is there any ascii mode equivalent for Lua?
I mean, something like "asciimode(whatever)".
You can change catcode regimes to change meaning of the special character
On 11/1/19 11:08 AM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 01.11.2019 um 10:44:
>> [...]
>> \start
>> \catcode`\#=12 % local change of character TeX category
>> \doloopif{\cA}{~=}{}{\getbuffer[main]}
>> \stop
>>
>> This \start..\stop is required to get id
Pablo Rodriguez schrieb am 01.11.2019 um 10:44:
On 11/1/19 9:13 AM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 01.11.2019 um 08:20:
[...]
I don’t know why I do get the second attachment, but not the first one.
Lua code seems to be fine (given the last command in the sample).
Could any
On 11/1/19 9:13 AM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 01.11.2019 um 08:20:
>> [...]
>> I don’t know why I do get the second attachment, but not the first one.
>> Lua code seems to be fine (given the last command in the sample).
>>
>> Could anyone explain me what I’m doing wrong?
On 11/1/2019 9:13 AM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 01.11.2019 um 08:20:
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startluacode
function document.special_attachment(reference)
year = reference:sub(7, 10
Pablo Rodriguez schrieb am 01.11.2019 um 08:20:
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startluacode
function document.special_attachment(reference)
year = reference:sub(7, 10)
attachment_url = "https://www.boe.es/
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startluacode
function document.special_attachment(reference)
year = reference:sub(7, 10)
attachment_url = "https://www.boe.es/buscar/pdf/"; ..
year .. "/" .. reference .. "-c