On Apr 25, 2020, at 2:34 PM, Wolfgang Schuster
wrote:
>
> \starttext
>
> \startitemize[n]
> \item A
> \txt{k} B
> \noitem
> \item C
> \stopitemize
>
> \stoptext
>
> Wolfgang
Nice…so many options. :)
-kk___
If
Kevin Kenan schrieb am 25.04.2020 um 23:30:
Ah…thanks for the pointer to \definecoversion. Looks promising.
I had also tried:
\defineitemgroup[Steps]
\setupitemgroup[Steps][each][n,packed]
\starttext
\startSteps
\item A
\sym{k} B\incrementnumber[itemgroup:Steps]
\item C
\stopSteps
\stoptext
W
Ah…thanks for the pointer to \definecoversion. Looks promising.
I had also tried:
\defineitemgroup[Steps]
\setupitemgroup[Steps][each][n,packed]
\starttext
\startSteps
\item A
\sym{k} B\incrementnumber[itemgroup:Steps]
\item C
\stopSteps
\stoptext
Which is similar to your \txt solution and inc
Kevin Kenan schrieb am 25.04.2020 um 21:24:
I’m trying to create a conditional that changes the symbol used for certain
item numbers. Here’s my code that doesn’t work.
\define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces}
\defineitemgroup[Steps]
\setupitemgroup[Steps][each][n,packed]
\s
I’m trying to create a conditional that changes the symbol used for certain
item numbers. Here’s my code that doesn’t work.
\define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces}
\defineitemgroup[Steps]
\setupitemgroup[Steps][each][n,packed]
\setupitemgroup[Steps][each][left=\StepsCommand]
After much searching, my probably laughable attempt consists of combining
the answer to the question at
https://tex.stackexchange.com/questions/433110/setting-page-attributes-of-every-page-in-a-generated-context-file
with
what I can see in the source at
https://source.contextgarden.net/tex/context/
On 25-04-2020 16:56, Hans Hagen wrote:
>>
>> Where am I missing the point?
> the syntax ...
>
> context.externalfigure( { "my_pdf.pdf" }, { page = blz } )
so simple :-)
Thanks!
.F
pEpkey.asc
Description: application/pgp-keys
__
On 4/25/2020 4:17 PM, Floris van Manen wrote:
I'm trying to extract pages from an existing pdf using lua.
But this approach to extract pages 11 and 30 does not work:
\starttext
\startluacode
for i, blz in ipairs({11, 30}) do
context.startTEXpage()
context.externalfigure("my_pdf.pdf", page=
I'm trying to extract pages from an existing pdf using lua.
But this approach to extract pages 11 and 30 does not work:
\starttext
\startluacode
for i, blz in ipairs({11, 30}) do
context.startTEXpage()
context.externalfigure("my_pdf.pdf", page=blz)
context.stopTEXpage()
end
\stopluacode
\sto
Hi,
I am having trouble setting the PDF boxes to my desired dimensions. Suppose
I have \setuppapersize[*a*][*b*]. I want CropBox = MediaBox = *b*. So far,
so good: I can just use cropoffset=0mm in \setuplayout. But I want TrimBox
= *a*. However, as far as I can see, I can't achieve this using trim
On a hunch, I found a solution. I added \\ instead of \par at the end and goit
exactly what I wanted.
\enabletrackers[context.trace]
\starttext
%\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
g=0.000,
%b=0.000]{\switchtobodyfont[11.0pt]\setupinterlinespace[11.5
11 matches
Mail list logo