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.
2,283 questions
0
votes
0
answers
22
views
Does ConTeXt compress space between paragraphs to better fit page?
If the title of this post is true, what is this called and how can a minimum distance be set?
I used \setupwhitespace[quarterline] globally and have a few definitions that add a bit more space before ...
3
votes
1
answer
64
views
Can the section title be moved to the outer margin on all pages, or suppressed from the body but still linked to the headers?
I'm trying to re-typeset on 8.5 by 11 paper an old book that was printed on smaller paper, such that the author did not need to have section titles within the text body but used the right-hand header. ...
2
votes
2
answers
90
views
How to get a vertically centered horizontal line within text, like a custom emdash?
I'm very likely overlooking the obvious, of course, and was hesitant to ask such a basic question; but would you please direct me to a command(s) that can generate a horizontal line, as in this ...
1
vote
1
answer
86
views
Increase word spacing for body font of document
To increase the space between words (before trying ConTeXt), I was doing the equivalent of:
\definecommand Wspc 1.4
\setupbodyfont[libertinus,12pt,serif,regular]
{\switchtobodyfont[libertinus] \...
3
votes
1
answer
76
views
Aligning text to drop caps with different distance for each line
It appears that \setupinitial and \placeinitial are the method used to generate drop caps. May I ask a couple general questions, please.
In the first example with the "I", how can the ...
2
votes
1
answer
51
views
How to use \showfontexpansion and \noexpansion?
When using LaTeX, to keep Libertinus font looking crisp, I used the microtype package with expansion and shrink "turned off". \usepackage[expansion=false,shrink=0]{microtype}
Now, attempting ...
1
vote
1
answer
31
views
Installing ConTeXt from Pragma ADE site -- install versus downloads zip
I apologize for asking what might be a very stupid question but ... is there a difference between installing ConTeXt from the install page and download page of the Pragma ADE site?
I used the method ...
3
votes
2
answers
104
views
Different middle header on odd/even pages?
I've seen examples in a couple manuals and the contextgarden wiki site for \setupheaders how text for middle, left, and right can be set with two statements--first the middle, and then the combined ...
2
votes
1
answer
54
views
Trying to get page dimensions to fit paper including printer's bleed margins
I'm trying to get my printout to match my page settings in ConTeXt. My printer sets margins of 0.17 inches and I cannot set them to 0. So, I reduced the leftedge, rightedge, backspace, topspace, top, ...
1
vote
0
answers
66
views
In \setuplayout why aren't the width pieces totalling as simple arithmetic?
I suspect I'm overlooking the obvious, but would you please explain why the width pieces do not add in this simple example?
That is, in the A not so short introduction to ConTeXt text, it states that \...
2
votes
0
answers
72
views
ConTeXt: Correctly classifying arguments with CLD
I have the following MWE:
\startluacode
local function startenv(keyword, keyval)
if keyword[1]:find("=", 1, true) then
local cadena = utilities.parsers.array_to_string(keyword, &...
2
votes
1
answer
43
views
ConTeXt: Fixed width on float
I have something like the following.
\definefloat[figure:text][figure]
[default=here,
frame=on,
offset=1em]
\setupcaption[figure:text]
[location={bottom, right},
width=0.4\textwidth,
...
3
votes
1
answer
64
views
Manage page layout in r2l text direction
How can page layout be managed correctly in an r2l text direction? Which mechanism is used? Does the backspace option become a cutspace? What about left, right, etc.? I would like a detailed ...
2
votes
1
answer
74
views
A \BufA[<i>]{<text>} command which reveals all entries up to <i>=<num> when I increment the <num>. [ConTeXt]
I am making a video in ConTeXt which reveals text slowly, so readers can follow along more easily.
Currently, I need to make a new buffer for every change. I would like to just write one, and follow ...
3
votes
1
answer
81
views
Use of plural abbreviations in ConTeXt
Is there a way to define and call plural forms of acronyms? For example, let's suppose that we define an acronym with the code below:
\definesynonyms[abbreviation][abbreviations][\infull]
\...