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
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
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
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
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,
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 =
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 ..