Questions tagged [context]
ConTeXt is a TeX macro package like LaTeX and eplain. It provides a consistent, key-value driven user interface, supports all TeX engines, is tightly integrated with LuaTeX & Metapost, and supports grid-typesetting, PDF/A, PDF/X, XML/XHTML & ePub export.
17 questions from the last 30 days
0
votes
0
answers
71
views
How does \setuplist inherit from \setupframed w/r to the TOC?
Where the documentation for \setuplist reads that it inherits from \setupcounter and \setupframed how are those options to be input?
I tried just adding frame=on with the rest of the options in the ...
1
vote
0
answers
100
views
Centering a table that spans pages, and not adding a background to first row following the header?
I have a couple questions about Natural Tables to which I haven't been able to find solutions. [This example is in Lua code (.cld instead of .tex) because I was building these tables from SQLite data ...
0
votes
1
answer
58
views
Adding color to \writetolist line in the TOC
I don't know what I'm doing wrong, here, but I'd like to style the \writetolist item in the TOC to be a different color than black. I realize I can add the color to the text content itself but that ...
3
votes
1
answer
129
views
Loading and using SQLite
I'm trying to use SQLite and cannot get it to even initialize. I tried to follow the instructions at https://www.pragma-ade.nl/general/manuals/luametatex.pdf pages 701-702.
Do I need to do something ...
2
votes
1
answer
29
views
Use the cld context.setuphead() to define a section with \startsection in the ConTeXt area when using a command option?
I'm probaby doing something stupid in this example and I don't know if anyone would ever do this; but should it be okay to set up the head in the lua code and still start the sections in ConTeXt code?
...
1
vote
1
answer
69
views
How to pass arguments in the command option of setuphead to a lua function?
May I ask a couple questions about this example that is finally at least working. (I apologize for deleting this question a couple times, today, while struggling through some syntax items.)
In order ...
1
vote
0
answers
74
views
ConTeXt. Noncomposite black output for .mp figure
I use the code generated by pstoedit from an .eps image. The code below gives me a composite black in 4 colors.
What settings should I add to the .mp image for the CMYK model to ensure it is printed ...
3
votes
2
answers
98
views
Passing key-value pairs to setuphead and doif... expansion of \structureuservariable
I'm trying to pass values to the command declared in setuphead and evaluate them in the command. Following the example at https://wiki.contextgarden.net/Command/_startsection under the heading of &...
0
votes
0
answers
65
views
Adding whitespace in both the "before" and "beforesection" options of setuphead
This question comes out of the comments from this question and I didn't want to add more to it. (If the former should be deleted, I will; please let me know.)
The issues were that 1) I didn't want the ...
1
vote
0
answers
59
views
Context: positioning figures in pages with texts having different column widths
Good evening everyone,
I am facing a problem with the placement of figures in a multicolmn document. The code below shows what I have in mind regarding the layout of this document:
\setuphead[section]
...
1
vote
1
answer
33
views
ConTeXt: customize citation numbers
Good afternoon everyone,
I am trying to tweak the appearance of the citation numbers of a document. To reach the intended result, I am using the approach reported in the next code:
\startbuffer[...
2
votes
1
answer
83
views
Test if item to be written is at the top of the page?
Is it possible to test within a before option command whether or not the item to be written is at the top of the page?
For example, I tried in \setuphead before={\doiftopofpageelse{...true...}{......
1
vote
1
answer
44
views
Forcing blank vertical space at the top of a page when force option alone doesn't do it?
How can the blank space above \SectionTitle III be forced at the top of page 2 as it is on the top of page 1? I've tried using \blank[5mm,force] directly but with no change. Am I mis-using the \define ...
2
votes
1
answer
67
views
How to use the \convolution operator command provided by fontsetup with ConTeXT? (using PUA glyphs in ConTeXt)
The fontsetup package provides with a \convolution operator command to access a big star symbol from the New Computer Modern fonts. However, fontsetup works only with XeLaTeX and LuaLaTeX. How does ...
3
votes
1
answer
86
views
Can there be multiple floats in a single paragraph that do not "break" the text flow around them?
I don't know what this is called to ask the question better. I'm trying to match an old book's structure as close as possible and it has multiple small labels within the same paragraph that are ...