p;utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> Virus-free.www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
>
>
> On Tue, 24 Jun 2025 at 16:50, Wolfgang
>> setting does the job. (I'll investigate at some point how to do the
>> reverse since sometimes one wants to lose a line, typically so that a
>> footnote can be squeezed in.)
>>
>>
>> Best wishes
>>
>>
>>
>> John Waś *🇪🇺 * Слава У
s the program to lengthening a paragraph, or shorten it if the
> number is negative). At the final stages of a book this is often useful
> for getting rid of unsightly gaps.
\showgrid
\starttext
\samplefile{zapf}
\page
\startalignment[normal,verytolerant,stretch,more]
\samplefile{zapf}
\s
ConTeXt equivalent for plain TeX's \loosness (which
> > allows the program to lengthening a paragraph, or shorten it if the
> > number is negative). At the final stages of a book this is often useful
> > for getting rid of unsightly gaps.
>
> \showgrid
>
>
gaps.
\showgrid
\starttext
\samplefile{zapf}
\page
\startalignment[normal,verytolerant,stretch,more]
\samplefile{zapf}
\stopalignment
\page
\startalignment[normal,verytolerant,stretch,2*more]
\samplefile{zapf}
\stopalignment
\stoptext
Wol
Am 07.03.2025 um 06:35 schrieb Denis Maier via ntg-context:
What about putting the relevant sections in a group with \begingroup
\endgroup?
The grouped version already exists with
\startalignment[]
...
\stopalignment
Wolfgang
,align=middle,location=top,frameoffset=0pt]%
{\startalignment[middle]\tfd{{#1}}\\\tfb{#2}\stopalignment}
}
\setuphead[chapter]
[%
deepnumbercommand={\switchtobodyfont[modern]},
deeptextcommand={\switchtobodyfont[modern]},
command
]%
{\startalignment[middle]\tfd{{#1}}\\\tfb{#2}\stopalignment}
}
\setuphead[chapter]
[%
deepnumbercommand={\switchtobodyfont[modern]},
deeptextcommand={\switchtobodyfont[modern]},
command=\mychapter,
header=high,
align
]
{\noindentation\startalignment[middle]\tfd{\color[lightgrey]{#1}}\\\dontleavehmode\externalfigure[divider.pdf][width=42mm]\\\tfb{#2}\stopalignment}
}
%--chapter
\setuphead[chapter]
[%
command=\mychapter,
style=\tfb,
align={middle,nothyphenated
context.
\startsetups [chapter:before]
\doifoddpageelse
{}{\noheaderandfooterlines}
\stopsetups
\define[2]\mychapter
{\noindentation\strut\framed[frame=off,width=\textwidth,align=middle,location=top,frameoffset=0pt]
{\noindentation\startalignment[middle]\tfd{\color[lightgrey]{#1
ef\StartTitlePage[#1]%
{\bgroup
...
\startalignment[right,broad]
\TitleFont\color[LightColor]\ss\bfc\setupinterlinespace[big]}
which doesn't work anymore, the correct method is to use
\startcolor[...] at the begin and \stopcolor at the end.
\def\StartTitlePage[#1]%
{\bgroup
...
\s
e the code listed above and I am wondering how I can get CJK text to be
> in a vertical form (along with Vietnamese. I know l2r as an option exists in
> startalignment, but there seems to not be a vertical equivalent for vertical
> t
the code listed above and I am wondering how I can get CJK text
> to be in a vertical form (along with Vietnamese. I know l2r as an option
> exists in startalignment, but there seems to not be a vertical equivalent
> for vertical text. How do I achieve this?
>
> there is something men
2r as an option
> exists in startalignment, but there seems to not be a vertical equivalent
> for vertical text. How do I achieve this?
>
> there is something mentioned in followingup-directions.tex
>
> i removed top to bottom directions from luametatex because it made no
> sens
On 10/6/2024 8:40 PM, Felix wrote:
https://pastebin.com/Cg8ZPDVK
I have the code listed above and I am wondering how I can get CJK text to be in
a vertical form (along with Vietnamese. I know l2r as an option exists in
startalignment, but there seems to not be a vertical equivalent for
https://pastebin.com/Cg8ZPDVK
I have the code listed above and I am wondering how I can get CJK text to be in
a vertical form (along with Vietnamese. I know l2r as an option exists in
startalignment, but there seems to not be a vertical equivalent for vertical
text. How do I achieve this
er=no]
\setuphead [section] [style=\tfa,header=none,number=no]
\setuphead [subsection][style=\tf\it,header=none,number=no]
\definestartstop[verse][before={\blank\setuplines[indenting=always]\startalignment[right]\startlines},
after={\stoplines\stopalignment\
mentvariable{date}}
\blank[line]
\stopsetups
\startdocument[title=Title,author=Author,date=Date]
\startpart[title=one]
\stoppart
\startalignment[middle]
{\sc 1. one} % there is added space as shwon when trying to emulate what I want
through regular text
\stopalignment
\startchapte
]
\stopsetups
\startdocument[title=Title,author=Author,date=Date]
\startpart[title=one]
\stoppart
\startalignment[middle]
{\sc 1. one} % there is added space as shwon when trying to emulate what I want
through regular text
\stopalignment
\startchapter[title=two]
\stopchapter
\startpart[title
Am Donnerstag, 1. August 2024, 15:36:57 MESZ schrieb Hans Hagen:
> On 8/1/2024 2:50 PM, Taco Hoekwater wrote:
> > Hi,
> >
> > Something seems wrong with the align processing inside \setupmargindata,
> > because using a macro like
> >
> > \def\Inmargin#1
On 8/1/2024 2:50 PM, Taco Hoekwater wrote:
Hi,
Something seems wrong with the align processing inside \setupmargindata,
because using a macro like
\def\Inmargin#1{\inmargin{\blank[-line]\startalignment[inner,nothyphenated]#1\stopalignment}}
works ok (the \blank[-line] is a side-effect of
Hi,
Something seems wrong with the align processing inside \setupmargindata,
because using a macro like
\def\Inmargin#1{\inmargin{\blank[-line]\startalignment[inner,nothyphenated]#1\stopalignment}}
works ok (the \blank[-line] is a side-effect of using the environment inside a
margin text
gt; \setupdelimitedtext
> >[extract]
> >[leftmargin=1.5pc,
> > style={\italic},
> > before={\setupindenting[next]},
> > after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
> > \tfx\italic{René Descartes} \stopalignment}]
> >
> >
ext
> >[extract]
> >[leftmargin=1.5pc,
> > style={\italic},
> > before={\setupindenting[next]},
> > after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
> > \tfx\italic{René Descartes} \stopalignment}]
> >
> >
={\setupindenting[next]},
after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
\tfx\italic{René Descartes} \stopalignment}]
\starttext
\startextract
Cogito ergo sum.
\stopextract
\stoptext
```
So it should setup a quotation and mentions the author.
However, here the author is hardcoded
[1ex] \startalignment[flushright]
\tfx\italic{René Descartes} \stopalignment}]
\starttext
\startextract
Cogito ergo sum.
\stopextract
\stoptext
```
So it should setup a quotation and mentions the author.
However, here the author is hardcoded within the blockquote. I would like it to
use like
] \startalignment[flushright]
\tfx\italic{René Descartes} \stopalignment}]
\starttext
\startextract
Cogito ergo sum.
\stopextract
\stoptext
```
So it should setup a quotation and mentions the author.
However, here the author is hardcoded within the blockquote. I would like it to
use like
Hi,
I like to achieve something that looks like this:
```
\definedelimitedtext[extract][blockquote]
\setupdelimitedtext
[extract]
[leftmargin=1.5pc,
style={\italic},
before={\setupindenting[next]},
after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
\tfx\italic{René
gt; produces 2.pdf (the chapter font is not 20pt).
> >
> >
> > ## Line breaks
> >
> > How can I achieve line breaks?
> > This does not work:
> > ```
> > \define[2]\MyChapter{%
> > #1 #2:\\
> > \structureuservariable{subtitle}\\
> >
\structureuservariable{subtitle}\\
> (\structureuservariable{intro})
> }
> ```
> (see 3.pdf)
>
> I also want to set everything except of the intro in a flushright environment
> but do not know how. I tried:
> ```
> \define[2]\MyChapter{%
> \startalignment[flushright]
&g
ine breaks
>
> How can I achieve line breaks?
> This does not work:
> ```
> \define[2]\MyChapter{%
> #1 #2:\\
> \structureuservariable{subtitle}\\
> (\structureuservariable{intro})
> }
> ```
> (see 3.pdf)
>
> I also want to set everything except
e{intro})
}
```
(see 3.pdf)
I also want to set everything except of the intro in a flushright environment
but do not know how. I tried:
```
\define[2]\MyChapter{%
\startalignment[flushright]
#1 #2:\\
\structureuservariable{subtitle}\\
\stopalignment
\structureuservariab
Dear Otared and Dear Hraban,
So this is my little example: works perfect, after our correspondence.
\starttext
\startalignment[normal]
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
zungen
machen Sie sich die Bedeutung der beiden Aussagen
klar.\startalignment[right]\square\stopalignment}\stoptext}
There should be a sign like this □ at the end of the proof.
Uschi
___
If your question is of inter
}
> {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
> \par
> {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
> Aus-\par
> sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
> machen Sie sich die Bedeutung der beiden Aussagen
> kla
Am 08.02.24 um 12:23 schrieb Ursula Hermann:
Dear List,
I am at Home and have the following example.:
klar.\startalignment[right]\square\stopalignment}\stoptext}
There should be a sign like this □ at the end of the proof.
What’s your problem – is the square missing? Then there’s probably
Voraussetzungen
machen Sie sich die Bedeutung der beiden Aussagen
klar.\startalignment[right]\square\stopalignment}\stoptext}
There should be a sign like this □ at the end of the proof.
Uschi
___
If your question is of
[\xmlfilter{#1}{./url('xlink:href')}]
\stopxmlsetups
\startxmlsetups xml:link
https://uv-v4.netlify.app/\#?manifest=\xmlfilter{#1}{./url('xlink:href')}
\stopxmlsetups
\startxmlsetups xml:fig
\startplacefigure[title=Test]
\s
scaled SCALE;
draw perceptrons scaled SCALE;
\stopuseMPgraphic
\startuseMPgraphic{HexGridBgGraphic}
% Define the grid background colour
color gridback;
gridback := (0.15, 0.18, 0.24);
fill unitsquare
xyscaled (OverlayWidth, OverlayHeight)
withcolor gridback;
\stopuseMP
e:
> >
> > \starttypescript [lidia]
> > \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes]
> > \stoptypescript
> > \setupbodyfont[lidia,36pt]
> > \starttext
> > \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt]
> > \startalignment[midd
,offset=0pt]
\startalignment[middle]
2{\hskip 0em}412{\hskip 0em}772 {\hskip 0em}КУЋНА {\hskip 0em}БРОЈА\\
{\vskip 2em}ИЗ {\hskip 0em}БАЗЕ {\hskip 0em}РЕПУБЛИЧКОГ {\hskip
0em}ГЕОДЕТСКОГ {\hskip 0em}ЗАВОДА\\
{\vskip 2em}У {\hskip 0em}ПРОЈЕКЦИЈИ {\hskip 0em}epsg{\hskip
0em}:{\hskip 0em}32634 {\hskip
Dear list,
I have the following file:
\starttypescript [lidia]
\definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes]
\stoptypescript
\setupbodyfont[lidia,36pt]
\starttext
\startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt]
\startalignment[middle]
2{\hskip 0em}412{\hskip 0em}772
\setupTABLE[column][12][alignmentcharacter={.},aligncharacter=yes,align=flushright]
\stopsetups
\switchtobodyfont[6pt]
\startalignment[middle]
\bTABLE[setups=maintable,option=stretch,split=repeat]
\bTABLEhead
\bTR[bottomframe=on, rulethickness=2pt,offset=0.25pt]
\bTH\bf Рб \eTH
\bTH\bf Шифра артикла \eTH
\bTH\bf Наз
n][12][alignmentcharacter={.},aligncharacter=yes,align=flushright]
\stopsetups
\switchtobodyfont[6pt]
\startalignment[middle]
\bTABLE[setups=maintable,option=stretch,split=yes,header=repeat]
\bTR[bottomframe=on, rulethickness=2pt,offset=0.25pt]
\bTD\bf Рб \eTD
\bTD\bf Шифра артикла \eTD
\bTD\bf Назив артикла \eTD
\b
ion={local,default}]
\setvariables
[assignments]
[set={\setups[assignments:set]}]
\startsetups assignments:set
\writestatus{variables}{assignments:set is being called..}
\startalignment[middle]
\bTABLE[frame=off]
\setupTABLE[c][1][align=flushleft,style=bold,distance=2cm]
\setu
he chapter
number in order to set up the conditional?
Can you show a example of your document, maybe there is a better way to
produce the desired result.
\startsetups [document:start]
\startalignment[middle]
{\ssd\documentparameter{title}}
\stopalignment
\stopsetups
\setuphea
error here on my end.
exit codes more reliable
The example I posted on 2021-12-15 still returns success when it
should fail. So regarding the exit codes I see no change here.
\enabledirectives
[logs.errors]
\starttext
%% ### semi simple group … entered at line
\startalignment [middle]
foo
MANUEL GONZALEZ SUAREZ via ntg-context schrieb am 16.12.2021 um 20:15:
Hi all:
In the example below:
[...]
\newdimen\Margin
\Margin=2cm
\newdimen\MarginRaise
\MarginRaise=56ex
[...]
\startsetups[text a]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[right]
\getmarking[chapter
]
\startsetups[text a]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[right]
\getmarking[chapter]
\stopalignment
}}
\stopsetups
\startsetups[text b]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[left]
\getmarking[section]
\stopalignment
}}
\stopsetups
rs do return success.
%% enables logging of errors same as --errors
\enabledirectives
[logs.errors]
\starttext
%% ### semi simple group … entered at line
\startalignment [middle]
foo
\stoptext
You can check in the next upload:
- The 'failure' that you saw was actually a real lua error
ors same as --errors
\enabledirectives
[logs.errors]
\starttext
%% ### semi simple group … entered at line
\startalignment [middle]
foo
\stoptext
Marco
___
If your question is of interest to others as well, please add a
lines in question?
Julian
\startstandardmakeup[top=]
\startalignment[middle]
\definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt]
\color[gray]{A JOURNEY}
\definedfont[name:baskerville-italic.ttf*default at 26pt]
\color[gray]{from the}
\definedfont[name:SemplicitaPro-Medium.ttf*defau
mple group … entered at line
\startalignment [middle]
foo
%% missing references
See \in{section}[sec:none].
%% undefined control sequence
%% \undefined
\stoptext
Marco
___
If your question is of interest to others as we
erved:
\unprotect
\unexpanded\def\startcombination
{\blank[halfline]%%
\startalignment[middle]%%
\dontleavehmode
\bgroup
\pack_combinations_push
\dodoubleempty\pack_combinations_start}
\unexpanded\def\stopcombination
{\bgroup\normalexpanded{\egroup{}\ntimes{{}{}}\c_pack_combinations_y}
preface with a quote
%%%
\startsetups SectionLHSPageSetup
\page[left]
\setupheader[state=empty]
\start
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\tf\it
\stopsetups
\definestartstop [SectionLHSPage]
[ before={\setups{SectionLHSPageSetup}},
after={\stopnarrower
gt;header=empty,
>footer=chpaterfooter,
>sectionsegments=chapter,
>before={\setups[chapter:before]},
>after={\setups[chapter:after]}]
>
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphenated]
\startalignment[flushright,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\page[right]
\stopsetups
\starttext
\startbuffer [chapter:quote]
If you think good architecture is expensive, try bad architecture\crlf
{\tf Brian Foote and
[chapter]
[page=,
header=empty,
footer=chpaterfooter,
sectionsegments=chapter,
before={\setups[chapter:before]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote
,
header=empty,
footer=chpaterfooter,
sectionsegments=chapter,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[
gt;
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \em \getbuffer[chapter:quote]
> \stopnarrower
> \stopalignment
> \resetsetups[quote:text]
>
=doublesided]
\setuppagenumbering[alternative=doublesided]
\setuphead[chapter]
[page=,
sectionsegments=chapter,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated
d of the page or column. Based on these constraints, I thought
> > that using the "samepage" and "preference" options for the first and
> second
> > line breaks would work nicely:
> >
> > ```
> > \define\SectionBreak{%
> > \blank[halfline
\blank[halfline, samepage]% non-breaking to ensure that no column
> begins with the section break symbol
> \startalignment[middle]%
> {X}% section break symbol
> \stopalignment%
> \blank[halfline, preference]% this can (and, if possible, should) be
> broken
ught
that using the "samepage" and "preference" options for the first and second
line breaks would work nicely:
```
\define\SectionBreak{%
\blank[halfline, samepage]% non-breaking to ensure that no column
begins with the section break symbol
\startalignment[middle]
% tweaked
fill t withcolor p&c; % new (and
old)
draw s withpen pencircle scaled 5pt withcolor c;
enddef;
\stopMPdefinitions
\starttext
\definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5]
\color[orange]{hello}
\sta
c;
draw s withpen pencircle scaled 5pt withcolor c;
enddef;
\stopMPdefinitions
\starttext
\definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5]
\color[orange]{hello}
\startalignment[center]
\startplacefigure
\startMPcode
Test [ prefix = "Thin", c
fmt: 2021.7.21 int:
english/english
\startMPdefinitions
presetparameters "parameters_Test"
[
]
def Test =
applyparameters "parameters_Test" "do_Test"
enddef;
def do_Test =
pushparameters "parameters_Test";
show hasparamet
>
% metafun > log > I couldn't find an '=' or ':=' after the expression
that is shown above this
% error message, so I guess I'll just ignore it and carry on.
% metafun > log >
% metapost> trace > ); boxit.a("a");
ayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]
\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora, vosotros que amáis, dejadme que os formule una
pregunta: ¿quién sufre más por ello, Arcite o Palamón? ¿El que
ve a su dama diariamente, pero
works fine as long as it stays within the general layout.
This is the code I'm referring to:
\startmakeup[standard][doublesided=yes]
\setuplayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]
\startalignment[hanging,flushleft,nothyphenated]
\placeinitial
general layout.
This is the code I'm referring to:
\startmakeup[standard][doublesided=yes]
\setuplayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]
\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora, vosotros que amáis, dejadme que os formul
. \crlf
Eerste draft versie, gepubliceerd op \date. \crlf
Dit document is getypset met \CONTEXT\ LMTX op Microsoft Windows 10.
\blank
\startalignment[flushmiddle]
Copyright \copyright\ 2021, Publisher. Alle rechten voorbehouden. \crlf
Niets uit deze uitgave mag worden verveelvoudigd, opgeslagen in
. \crlf
Eerste draft versie, gepubliceerd op \date. \crlf
Dit document is getypset met \CONTEXT\ LMTX op Microsoft Windows 10.
\blank
\startalignment[flushmiddle]
Copyright \copyright\ 2021, Publisher. Alle rechten voorbehouden. \crlf
Niets uit deze uitgave mag worden verveelvoudigd, opgeslagen in
ecise one I am facing now.
The problem, you see, is that \startalignment only offers a few key words like
flushleft, middle etc. and not what I need this time, which is a precise
indentation feature like .5cm. I suppose my real problem is not being
sufficiently au fait with how definitions work. I
jbf schrieb am 11.03.2021 um 23:22:
Thanks for trying, Bruce. That earlier question you refer to was for a
similar situation and the answer resolved that one at the time (it was
my question even then!) but not the precise one I am facing now.
The problem, you see, is that \startalignment only
lem, you see, is that \startalignment only offers a few key words
> like flushleft, middle etc. and not what I need this time, which is a precise
> indentation feature like .5cm. I suppose my real problem is not being
> sufficiently au fait with how definitions work. I just can't seem t
Thanks for trying, Bruce. That earlier question you refer to was for a
similar situation and the answer resolved that one at the time (it was
my question even then!) but not the precise one I am facing now.
The problem, you see, is that \startalignment only offers a few key
words like
On 3/1/2021 6:27 PM, Otared Kavian wrote:
Hi Hans,
Thank you for the new upload.
The teaser examples work fine, many thanks !
I have a question though: how can one center within a page a text, for example
typeset in a circular shape? I tried with \startalignment, and also with
Hi Hans,
Thank you for the new upload.
The teaser examples work fine, many thanks !
I have a question though: how can one center within a page a text, for example
typeset in a circular shape? I tried with \startalignment, and also with
\startplacefigure but none of these gives a centered
Thanks for the alternative. Also gives me further ideas, especially
regarding placement of the \startalignment
Julian
On 10/2/21 8:11 am, Hans Hagen wrote:
On 2/9/2021 9:50 PM, jbf wrote:
Resolved!
\define[1]\SectionTocEntry{%
#1\crlf% title
\startalignment[middle]\doifnot
On 2/9/2021 9:50 PM, jbf wrote:
Resolved!
\define[1]\SectionTocEntry{%
#1\crlf% title
\startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%
\stopalignment}
You need to move the \startalignment into the test (you don't want en
empt
Resolved!
\define[1]\SectionTocEntry{%
#1\crlf% title
\startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%
\stopalignment}
Julian
On 9/2/21 9:02 pm, mf wrote:
Il 09/02/21 10:49, jbf ha scritto:
I wonder if someone can assist me with the
Thank you. Ci siamo quasi, ma non del tutto! Nearly there!
The \midaligned{... } was obviously preventing the \crlf in the
\startchapter from working. Removing it altogether allowed the split to
occur but obviously not centred. So i have tried now adding the
\startalignment[middle] to the
for the essential bit (which is then called in as
textcommand=\SectionTocEntry in \setuplist[chapter], obviously):
\define[1]\SectionTocEntry{%
#1\crlf% title
\midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}%
}
try \startalignment[middle
On 11/19/2020 17:03, Hans Hagen wrote:
On 11/19/2020 9:41 PM, Wolfgang Schuster wrote:
Rik Kabel schrieb am 19.11.2020 um 21:20:
Another LMTX/MkIV difference, this time with expansion:
\define\Align{yes}
\starttext
\startalignment[\Align]
This works with MkIV but fails
On 11/19/2020 9:41 PM, Wolfgang Schuster wrote:
Rik Kabel schrieb am 19.11.2020 um 21:20:
Another LMTX/MkIV difference, this time with expansion:
\define\Align{yes}
\starttext
\startalignment[\Align]
This works with MkIV but fails with LMTX, complaining: {\tt
tex
Rik Kabel schrieb am 19.11.2020 um 21:20:
Another LMTX/MkIV difference, this time with expansion:
\define\Align{yes}
\starttext
\startalignment[\Align]
This works with MkIV but fails with LMTX, complaining: {\tt
tex error on line 3 in file G:/expand.mkvi: The file
Another LMTX/MkIV difference, this time with expansion:
\define\Align{yes}
\starttext
\startalignment[\Align]
This works with MkIV but fails with LMTX, complaining: {\tt
tex error on line 3 in file G:/expand.mkvi: The file ended
when scanning an argument
hleft,offset=0pt,frame=off,foregroundcolor=darkred]
{\WORD\tfb
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce}
\blank[big]
\startalignment[flushleft]
{\WORD\tfb
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce
is attached to
the last caption. Ideally, the footnote should be attached to the
first caption. (And, actually, I want the caption only once.)
Ok, I've found a solution:
```
\setupcaption[table][location=top]
\starttext
\startplacetable[location={none,split}]
\s
\wordright{\box\nextbox}%
> \par
>\else
> \par
> \penalty1
> \startalignment[flushright]\unhbox\nextbox\stopalignment
>\fi}\hbox}
>
> \starttext
>
>\input ward \whatever{same lin
lse
\par\penalty1
\startalignment[flushright]\unhbox\scratchbox\stopalignment
\fi}}
\unexpanded\def\wordorparagraphright#1{%
\setbox\scratchbox\hbox{#1}
\ifdim\wd\scratchbox < \hsize
\wordright{#1}
\else
\par\penalty1
\startalignment[flushright]\
oesn't now.
\unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright}
\def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup}
{\egroup\ifdim\wd\scratchbox < \hsize
\wordright{\unhbox\scratchbox}
\else
\par\penalty1
]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\starttext
\startfrontmatter
\page[even]
\startalignment[bottom,flushright]
Copyright © 2020 Author
\stopalignment
\start
\setuphead[chapter][after={}]
\completecontent
\stop
\page[odd]
\startchapter[title={Preface}]\input{knuth}\stopchapter
[.2\textheight]
\rightaligned{Bramble-Bees}
\stopstandardmakeup
\startstandardmakeup[doublesided=yes,page=yes]
\strut
\godown[.1\textheight]
\startalignment[middle]
{\bfb BRAMBLE-BEES AND OTHER}
\blank[line]
{\bfa by J. HENRI FABRE}
\stopalignment
\vfill
{%
\rotate[rotation=\ctxlua{context(math.random(-15,-1))}]{\|}%
}
\def\stapA#1{\dorecurse{#1}{\streepA}}
\def\stapB#1{\dorecurse{#1}{\streepB}}
\starttext
\startTEXpage[offset=20mm, width=297mm]
\startalignment[width]~
\dorecurse{50}{\stapA{10}\stapB{10}}
\stopalignment
\stopTEXpage
\stoptext
re[cow][width=.5\textwidth]}
\setlayer[LAY][x=\dimexpr.65\textwidth+40pt\relax,y=0pt]%
{%
\vbox
{%
\hsize=.2\textwidth
\startalignment[flushleft]
\input ward
\vskip\lineheight
\input ward
\stopalignment
}
}
\
Il 11/12/19 21:25, Wolfgang Schuster ha scritto:
\starttext
\startbuffer
This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line\par
\startalignment[flushright]
\ifdim\dimexpr\hsize-\lastlinewidth\re
mbers
\newdimen\PagesIndentation \PagesIndentation=#4
\newdimen\MSLLL \MSLLL=#6 % minimum space left on last line
\parshape 1 0pt \TextWidth #1\par
\newdimen\LLW \LLW=\lastlinewidth
\page[no]
\ifdim \dimexpr\TextWidth-\LLW-\SBPN > \MSLLL
\blank[-\the\lineheight,fixed]\fi
\startalignment[flushright,stretc
on=#4
\newdimen\MSLLL \MSLLL=#6 % minimum space left on last line
\parshape 1 0pt \TextWidth #1\par
\newdimen\LLW \LLW=\lastlinewidth
\page[no]
\ifdim \dimexpr\TextWidth-\LLW-\SBPN > \MSLLL
\blank[-\the\lineheight,fixed]\fi
\startalignment[flushright,stretch]
\ifdim \dimexpr\TextWidth-\LLW-\SBPN &g
1 - 100 of 537 matches
Mail list logo