On 4/26/24 19:50, Wolfgang Schuster wrote:
> Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04:
>> I tried this approach (I hope it isn’t wrong):
>>
>>\starttext
>>\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
>
> The \expanded mod
...groupempty commands. To have more control about this
behavior use the \tolerant modifier for \def to change it.
Many thanks for your reply, Wolfgang.
I tried this approach (I hope it isn’t wrong):
\starttext
\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
\doiftextelse{#4
control about this
> behavior use the \tolerant modifier for \def to change it.
Many thanks for your reply, Wolfgang.
I tried this approach (I hope it isn’t wrong):
\starttext
\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
\doiftextelse{#4}%
{#4}
{\doiftextelse{#3}
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29:
Dear list,
I have the following sample:
\starttext
\def\MyCommand{\doquadruplegroupempty\doMyCommand}
\def\doMyCommand#1#2#3#4{%
\iffourthargument
#4%
\orelse\ifthirdargument
#3%
\else
Dear list,
I have the following sample:
\starttext
\def\MyCommand{\doquadruplegroupempty\doMyCommand}
\def\doMyCommand#1#2#3#4{%
\iffourthargument
#4%
\orelse\ifthirdargument
#3%
\else
#2%
\fi}
\MyCommand{}{second}{third}{fourth},\\
\MyCommand
txmlsetups xml:stanza
\xmlflushlinewise{#1}\par %this has no effect
\stopxmlsetups
\startxmlsetups xml:line
\xmlflush{#1}
\stopxmlsetups
\startbuffer[test]
The
lines
are
there!
The
lines
are
there!
\stopbuffer
\starttext
This works:
\startlines
The
lines
are
there!
The
On 4/26/2024 9:54 AM, Thomas A. Schmitz wrote:
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote:
And here I am again! Both in mkiv and in mkxl, start/stopregister does
not work when there is already an index entry before. Example below!
All best
Thomas
\setuppapersize [A6]
\starttext
A
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote:
And here I am again! Both in mkiv and in mkxl, start/stopregister does
not work when there is already an index entry before. Example below!
All best
Thomas
\setuppapersize [A6]
\starttext
A\index{A} B \page
A\startregister [index] {A} B
is already an index entry before. Example below!
All best
Thomas
\setuppapersize [A6]
\starttext
A\index{A} B \page
A\startregister [index] {A} B\startregister [index] [B] {B}
\dorecurse {10} {\input tufte}
A\stopregister [index] {A} B\stopregister [index] [B]
\page
ag,
variant = "short", righttext = righttext})
context("]")
end
\stopluacode
\startsetups btx:aps:cite:special
\btxcitereference
\ctxlua{render_cite([==[\currentbtxdataset]==], [==[\currentbtxtag]==],
[==[\currentbtxrighttext]==])}
\stopsetups
\setupbtx[ap
ot in mkxl.
All best
Thomas
\setuppapersize [A6]
\starttext
A\index{A} B\startregister [index] [B] {B}
\dorecurse {10} {\input tufte}
A\index{A} B\stopregister [index] [B]
\page
\placeregister[index]
\stoptext
I’m using it like
\startregister[index][bibliografie]{Bibliog
e [A6]
\starttext
A\index{A} B\startregister [index] [B] {B}
\dorecurse {10} {\input tufte}
A\index{A} B\stopregister [index] [B]
\page
\placeregister[index]
\stoptext
___
If your question is of int
ertsidenotemark{\SMsidenoteconversion}% mark in text
\SidenoteContent[#1]{\setscript[hanzi]\setup[\SMsidenotealign]%
\convertsidenotemark{\SMsidenoteconversion}% mark with
note
#2
}}
\protect
\starttext
天地玄黄,宇宙洪荒。日月盈昃,辰宿列张。寒来暑往,秋收冬\sidenote[align=flushleft] {天地玄黄,宇
fill fullsquare xscaled r yscaled e shifted (r/2, h/2) withcolor darkred;
\stopuseMPgraphic
\defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}]
\setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}]
\starttext
\dorecurse{10}{\input tufte\page}
\stoptext
Any clue is w
On 4/24/24 02:15, Joel via ntg-context wrote:
> [...] Any idea how I can get current footnote value?
Hi Joel,
current footnote value can be accessed with \rawcountervalue[footnote],
such as in:
\starttext
\dorecurse{25}
{\ \footnote{Footnote \recurselevel}:
\rawcounterva
alue?
--Joel
On Monday, April 22, 2024 at 07:22:24 AM MDT, vm via ntg-context
wrote:
On 22/04/2024 14:38, Joel via ntg-context wrote:
> Is this the correct way to be using the \startpostponing code (see
> example below)?
>
> \starttext
> \input knuth
&g
l you want.
\setuplabeltext
[en]
[chapter=Chapter ,
appendix=Appendix ,
hraban=Hraban ]
%\setuplist[chapter][label=hraban,width=3cm]
\setuplist[chapter][label=yes,width=3cm]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{First chapter}
\chapter{Seco
[bibrendering][aps][dataset=main, numbering=short]
\setupbtxlist[aps][
alternative=b,
distance=.5em,
]
\setupbtx[aps:cite][alternative=short]
\starttext
Knuth developed \TeX \cite[knuth1]
Several persons said something \cite[someother].
\placelistofpublications[bibrendering]
\stoptext
```
The
tupbtx[sbl]
\setupnote[footnote][location=none]
\starttext
\input knuth
\cite[clark1989]
\placenotes[footnote]
\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter
\stopte
he bibliography part doesn’t work for me at all.
>
> But notes may be placed as their location is text (and you add a real
> footnote).
>
> This works fine:
>
> \setupnote[footnote][location=text]
>
> \starttext
> \input knuth
> \footnote{Footn
message ends up being empty.
>
> Why is it appearing empty? Is there a fix?
Hi Joel,
the bibliography part doesn’t work for me at all.
But notes may be placed as their location is text (and you add a real
footnote).
This works fine:
\setupnote[footnote][location=text]
\starttext
\setupbtx[dataset=default]
\usebtxdefinitions[sbl]
\setupbtx[sbl]
\setupnote[footnote][location=none]
\starttext
\input knuth
\cite[clark1989]
\placenotes[footnote]
\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter
\stopte
On 22/04/2024 14:38, Joel via ntg-context wrote:
Is this the correct way to be using the \startpostponing code (see
example below)?
\starttext
\input knuth
\startpostponing
\placefigure{Caption\footnote{message
A}}{\externalfigure[cow][width=\textwidth]}
\stoppostponing
I've managed to get a minimum working example. If you check, you'll see the
5th footnote inside a placefigure doesn't render anywhere:
\starttext
\input knuth
\placefigure{Caption\footnote{message
A}}{\externalfigure[cow][width=\textwidth]}
\input knuth
\plac
Denis
%%%
\setupexternalfigures
[location={local,global,default}]
\setupfloats[compress=no]
\setupfloat[figure][default=top]
\starttext
\input knuth
\placefigure{Cow 1}{\externalfigure[cow][
width=.5\textwidth,
]}
\placefigure{Cow 2}{\externalfigur
ontext?
> > I love kpfonts.
>
> \setupbodyfont[kpfonts]
>
> \starttext
> \samplefile{lorem}
> \stoptext
>
> Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
color darkred;
\stopuseMPgraphic
\defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}]
\setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}]
\starttext
\dorecurse{10}{\input tufte\page}
\stoptext
Any clue is warmly we
Xavier B. schrieb am 20.04.2024 um 13:51:
Hi,
Just a courious: is there kpfonts available for context?
I love kpfonts.
\setupbodyfont[kpfonts]
\starttext
\samplefile{lorem}
\stoptext
Wolfgang
___
If your
not work
==
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf
,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf]
\externalfigure[cow.pdf][width=\textwidth]
\stoptext
==
Am I missing something here?
There are no minwidth/minheight values for \externalfigure.
Wolfgang
cal,global,default}]
\starttext
\placefigure{A Cow}{\externalfigure[cow][
height=.5\textheight,
]}
\placefigure{A Cow}{\externalfigure[cow][
height=.3\textheight,
%height=.4\textheight,
]}
\placefigure{A Co
\showframe
\starttext
\doloopoverlist{none, width, height, maxwidth, maxheight}
{\externalfigure[cow.pdf][\recursestring=.125\textwidth]}
\page
\doloopoverlist{none, width, height, minwidth, minheight}
{\externalfigure[cow.pdf][\recursestring=.33\textwidth]}
\stoptext
Just to
width set a default minimal width for external figures? But
this here does not work
==
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\starttext
\externalfigure[co
externalfigures
[location={local,global,default}]
\starttext
\placefigure{A Cow}{\externalfigure[cow][
height=.5\textheight,
]}
\placefigure{A Cow}{\externalfigure[cow][
height=.3\textheight,
%heigh
Hi,
How could I prevent a column break after the second section title please?
Minimal example:
\starttext
\startcolumns[n=2]
\section{title 1}
\dorecurse{22}{bla\par}
\section{title 2} % Here starts a new column.
\startitemize
\dorecurse{15}{\item bla}
\stopitemize
\stopcolumns
.crossref,
> > publications.details, publications.cite, publications.strings]
> >
> > \usebtxdataset[main][testdata.buffer]
> > \usebtxdefinitions[aps]
> > \setupbtx[dataset=main]
> > \definebtxrendering[bibrendering][aps][dataset=main]
> >
> > % this
te, publications.strings]
>
> \usebtxdataset[main][testdata.buffer]
> \usebtxdefinitions[aps]
> \setupbtx[dataset=main]
> \definebtxrendering[bibrendering][aps][dataset=main]
>
> % this seems to have no effect?
> \setupbtx[alternative=short]
>
> \starttext
>
> Knut
]
% this seems to have no effect?
\setupbtx[alternative=short]
\starttext
Knuth developed \TeX \cite[knuth1].
Several persons said something \cite[someother].
\placelistofpublications[bibrendering]
\stoptext
```
It should be rendered as:
```
Knuth developed TeX [>Knu79].
Several persons said
econd
line appears above the fourth column.
\starttext
\starttable[||]
%\DL \DC \DL \DC \DC \DR
\DL[red] \DC \DL[red] \DC \DR
\VL 01 \VL 02 \VL 03 \VL 04 \VL 05 \VL\SR
\stoptable
\stoptext
Wol
text]
[\setups{Test}][]
[\setups{Test}][]
\setuppagenumbering[location=footer]
\starttext
\startDatum[title={secA}]%
\dorecurse{50}{aaa }
\pagebreak
\dorecurse{50}{aaa }
\stopDatum
\startDatum[title={secB}]%
\dorecurse{630}{bbb }
\stopDatum
\startDatum[title={secC}]%
\dorecurse{
ense of some setting.
>
> For wiki contributors, it might make sense to combine the markup pages – in
> many pages e.g. is used where would make more
> sense; often \starttext … \stoptext is not necessary and just blows up
> examples; markup is generally somewhat chaotic (e.g. ,
too often I don’t
understand enough of the sources to make sense of some setting.
For wiki contributors, it might make sense to combine the markup pages –
in many pages e.g. is used where would
make more sense; often \starttext … \stoptext is not necessary and just
blows up examples; markup is
On 4/10/2024 7:49 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\starttext
\startluacode
function document.print_the_thing(str)
context(str)
end
\stopluacode
\unexpanded\def\PrintTheThing#1{%
\ctxlua{document.print_the_thing
Dear list,
I have the following sample:
\starttext
\startluacode
function document.print_the_thing(str)
context(str)
end
\stopluacode
\unexpanded\def\PrintTheThing#1{%
\ctxlua{document.print_the_thing([[\luaescapestring{#1}]])}}
\PrintTheThing{a \em b {c}}
\stoptext
I
Am 10.04.24 um 14:21 schrieb Hans Hagen:
It fails for me as well, when "mode=columns" is used.
compare with and without mode columns:
\starttext
\enablemode[columns]
As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below}
we can have
more than one cel
: 2024.04.01 08:59.
>>>
>>> Could some one confirm this?
>> It fails for me as well, when "mode=columns" is used.
> compare with and without mode columns:
>
> \starttext
>
>\enablemode[columns]
>
>As we see \doifelsemode {columns} {i
, when "mode=columns" is used.
compare with and without mode columns:
\starttext
\enablemode[columns]
As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below}
we can have
more than one cell in a row.
\startplacetable[mode=columns,refere
Hi,
another graphics/floats question: consider the following example
%
\setupexternalfigures
[location={local,global,default}]
\starttext
\placefigure{A Cow}{\externalfigure[cow][
height=.5\textheight
Hi,
Shouldn't minwidth set a default minimal width for external figures? But this
here does not work
==
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\star
\stopMPpage
>
> so a single path option (no picture)
>
> Hans
>
>
> Thank you so much for the sample examples
> it would be great to also make text select able in output pdf
> the third example currently does not wor
rs (red, blue)
> > ;
> > \stopMPpage
> >
> > so a single path option (no picture)
> >
> > Hans
> >
> >
> > Thank you so much for the sample examples
> > it would be great to also make text select able in
or i within tt : pathpart i && endfor cycle
withshademethod "linear"
withshadedirection up
withshadecolors (red, blue) ;
\stopMPcode
\egroup
\boxyoffset\scratchboxtwo-\dp\scratchboxone
\box\scratchboxtwo
\stoptexdefinition
\starttext
\setuphead
[section]
[
de
withshademethod "linear"
withshadedirection up
withshadecolors (red, blue) ;
\stopMPcode
}
\definehead[Myhead][section]
\setuphead[Myhead][
style=\Mystyle,
]
\startMyhead[title=sample] a sample text \stopMyhead
\stoptext
and the code below works but does not colo
s paths which implies no search but you
can do this (Keith and/or Hraban will explain and/or wikify it)
\starttext
\startbuffer[MyText]
\definedfont[name:texgyrepagellabold*default]foo f o o%
\stopbuffer
\startbuffer[MyText]
\framed[align=normal,frame=off]{\input{tufte}}%
\stopbuf
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR
\stoptabulate
\stopbuffer
\nohyphencollapsing
\getbuffer
\setupbodyfont[pagella]
\getbuffer
\dohyphencollapsing
\getbuffer
ase it could be the wrong symbol in the document, there are
many dashes in unicode which look similar in the input and output files.
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒
]
\starttext
\input{knuth}
\startlinecorrection
\placefigure[left, none]
[]{}\externalfigure[cow.pdf][width=40mm]
\input{knuth}
\stoplinecorrection
\stoptext
Thomas
Am 06.04.24 um 13:43 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 06.04.2024 um 12:56:
Am 06.04.24 um 12:48 schrieb Thomas
document, there are
many dashes in unicode which look similar in the input and output files.
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR
\stoptabulate
\stopbuffer
\getbuffer
r or before the dash, since I don't
> like it to stick to some letters like "o").
Just consider that you should add an horizontal box (or pair both space
and hyphen), otherwise you may get a line break between character and
hyphen (instead of the hair space):
\starttext
\
[alanindex]\relax}%
\thinspace --\thinspace
\pagestaterealpage{alanpage}{\number\numexpr\incrementedcounter[alanindex]\relax}}
\setuplist[chapter][pagecommand=\ChapterListPage]
\setuplist[chapter][pagecommand=\ChapterListPage]
\showgrid
\starttext
\completecontent
\startchapter [title=Knuth
eating a custom list and use \writetolist immediately
> before each \stopchapter command?
>
> \definelist[LastPages][criterium=all]
> \starttext
> \completecontent
> \page
> \completelist[LastPages]
> \page
> \dorecurse{10}{
> \startchapter[title={This is my ch
mmand?
\definelist[LastPages][criterium=all]
\starttext
\completecontent
\page
\completelist[LastPages]
\page
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\writetolist[LastPages]{3.}{\namedstructurevariable{ch
> pages > flushing realpage 1, userpage 1, subpage 1
> close source> level 1, order 3, name './test.tex'
> backend > xmp > using file
> '/opt/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
> mtx-context |
level 1, order 3, name './test.tex'
backend > xmp > using file
'/opt/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
mtx-context | fatal error: return code: 1
Test file:
\starttext
\sc test
\stoptext
Is this a bug, or some misconf
similar
effect as \starttextdisplay.
\usemodule[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage
[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stopplacefigure
\fakewords
]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stopplacefigure
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20
end
--
local commoncommands = { }
local commonenvironments = { }
for k, v in next, collected do
local c = v.commands
local e = v.environments
if k == "en" then
for k, v in next, c do
commoncommands[k] = true
this command can be used by people who want to transform the
output PDF into an audio file, because for instance the following
\usemodule[math-goodriddance]
\goodriddancemath
\starttext
\startformula
\int_{0}^{\pi} \sin(x)\dd x = 2.
\stopformula
\stoptext
gives
integral from 0 to 𝜋 , of sin of
transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance]\goodriddancemath\starttext\startformula\int_{0}^{\pi} \sin(x)\dd x = 2.\stopformula\stoptextgives
integral from 0 to 𝜋 , of sin of 𝑥 d 𝑥 equals 2
as one can see in
f
Description: Adobe PDF document
% language=us
% todo: no comma
\usemodule[scite]
\usemodule[article-basic]
\usemodule[abbreviations-logos]
\usemodule[math-goodriddance]
\setuplayout[tight]
\starttext
\subject{Good riddance}
We're done with math. After years of active development, Mi
Hello everybody,
I have a text, where a couple of lines are typeset with \underbar. — To me this
underbar is a fraction to near the text. So I wanted to use \setupbar[…] to
change the offset. Unfortunately nothing happens whatever I try.
MWE:
\setupbar[offset=-.5,dy=-.5]
\starttext
Hello
in lmtx.
I tried to disable gridfitting for startcolumns, but it produces a
completely distorted output.
The pagecolumns environment supports bottom aligned content.
\setupwhitespace[medium]
\setupalign[depth]
\starttext
\startpagecolumns
\dorecurse{20}{\samplefile{jojomayer}\par}
\stoppagecolumns
\starttext
Me\par
\blackrule[color=black, height=0.10ex, width=13.50cm]\dontleavehmode
\inoutermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \par
Me
Many thanks for your help.
Uschi Hermann
___
If
der=empty" in the following example.
%%%% begin example
\showframe
\starttext
\setuphead[chapter][header=high]
\chapter{Lorem Ipsum}
\dorecurse{10}{\samplefile{lorem}}
\setuphead[chapter][header=empty]
\chapter{Lorem Ipsum}
\dorecurse{10}{\samplefile{lorem}}
\stoptext
end example
]
[renderingsetup=list:startendpages]
\startsetups[list:startendpages]
{\ToCEntry}
\vglue1pc
\stopsetups
\starttext
{\tfa\bf Contents}
\blank[line, fixed]
\WORD{Sources}
\blank[halfline, fixed]
\placelist[SourceTitle][criterium=all]
\blank[line, fixed]
\WORD{Studies}
\blank[halfline, fixed]
\placelist
ur problem. You need the bin folder of context in your path variable. Can
> you send the output of `echo $PATH`? Does it work if you invoke it with a
> full path?
>
> El lun, 25 mar 2024 a las 18:14, escribió:
>
> Hello,
>
> I have installed ConTeXt on my Raspberr
, how?
When you use "header=high" you can't have a header because the block for
it no longer exists, compare the results for "header=high" and
"header=empty" in the following example.
begin example
\showframe
\starttext
\setuphead[chapter][header=high]
your path variable. Can you send the
output of `echo $PATH`? Does it work if you invoke it with a full path?
El lun, 25 mar 2024 a las 18:14, mailto:h...@hongfeng.ch)>
escribió:
Hello,
I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to typeset
this simple file:
```
\starttext
F
with a full
path?
El lun, 25 mar 2024 a las 18:14, escribió:
> Hello,
>
> I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to
> typeset this simple file:
>
> ```
> \starttext
>
> First tex file to make, hello, world!
>
> \stoptext
> ```
>
Hello,
I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to typeset
this simple file:
```
\starttext
First tex file to make, hello, world!
\stoptext
```
but the test failed:
```
$context hello-world.tex
mtxrun | forcing cache reload
resolvers | resolving | configuration files
}
\xmlinlineprettyprinttext{#1}{none}
\stopxmlsetups
\definefontfamily[mainface][tt][TeX Gyre Cursor]
[features={default}]
\setupbodyfont[mainface]
\starttext
\xmlprocessbuffer{main}{demo}{}
\stoptext
Current LMTX (2024.03.11 09:34) is giving different results for double
hyphens with
,width=4cm]
\inrightmargin{\blackrule\\{3.2.2}}\par \dontleavehmode \blackrule
\showframe
\starttext
Me
\stoptext
Von: Pablo Rodriguez via ntg-context
Gesendet: Freitag, 15. März 2024 20:00:35
An: ntg-context@ntg.nl
Cc: Pablo Rodriguez
Betreff: [NTG-context] Re
[sectionnumber] \space - \space \getmarking[section]
\stopsetups
\setupheadertexts[\setup{doc:header}]
\starttext
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\startsection[title={This is my section}]
This
ing:
\startsetups[doc:header]
\getmarking[chapternumber] \space - \space \getmarking[chapter]
\space :: \space
\getmarking[sectionnumber] \space - \space \getmarking[section]
\stopsetups
\setupheadertexts[\setup{doc:header}]
\starttext
\dorecurse{10}{
\startchapter[title={This is my cha
Peter Münster schrieb am 21.03.2024 um 15:04:
Hi,
When inserting pages with \copypages, the included pages are slightly
shifted to the left and to the bottom.
Minimal example:
% test-file.tex:
\setuplayout[page]
\starttext
\input tufte
\vfill
\input tufte
\stoptext
% test.tex:
\starttext
Hi,
When inserting pages with \copypages, the included pages are slightly
shifted to the left and to the bottom.
Minimal example:
% test-file.tex:
\setuplayout[page]
\starttext
\input tufte
\vfill
\input tufte
\stoptext
% test.tex:
\starttext
\copypages[test-file.pdf]
\stoptext
How could I
]
\starttext
\xmlprocessbuffer{main}{demo}{}
\type{a --b c}
\stoptext
Using current latest (from 2024.03.11 09:34), LMTX transforms "--" in
"–" (en-dash) only with \xmlinlineprettyprinttext (LuaTeX writes the
en-dash in the three cases).
This issue has been driving me
[alternative=doublesided,location=,]
\setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}]
\setupfootertexts[][pagenumber][pagenumber][]
\setuphead[chapter][header=high]
\starttext
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is
r[Fakepage]
\strut
\blank
\bold{[\Schema]}
\vfill
This is page \recurselevel
\vfill
\stopbuffer
\starttext
\dorecurse{\Pages}{\getbuffer[Fakepage]\page}
\stoptext
___
If your question is of interest to
. The Third Section
...
2. The Fourth Section
...
\setuphead
[chapter]
[sectionstopper=.]
\setuphead
[section]
[sectionsegments=section,
sectionstopper=.]
\starttext
\chapter{The First Chapter}
\section{The First Section}
\section{The Second Section}
\chapter{The Second Chapter
:
\setupmargindata[inmargin][style={\tf}]
It does for me but but unless you want a certain style it is better to
use a empty argument for the style key.
\starttext
\inmargin{Bold?}\samplefile{lorem}
\setupmargindata[inmargin][style=]
\inmargin{Bold?}\samplefile{lorem}
\stoptext
Wolfgang
;
>
> \starttexdefinition MyNumberChapterCommand #1
> \inframed[frame=off,rightframe=on,framecolor=black,
> rulethickness=1px,height=30pt]{#1\enspace}
> \stoptexdefinition
>
> \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,
> page=no]
&
olor=black,
rulethickness=1px,height=30pt]{#1\enspace}
\stoptexdefinition
\setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,
page=no]
\starttext
\startchapter
[title={Algemene Beginselen},
ownnumber={Boek I}]
\samplefile{tufte}
\stopchapter
\startchapter
[title={Organi
tyle={\bfc},numbercommand=\MyNumberChapterCommand,
page=no]
\starttext
\startchapter
[title={Algemene Beginselen},
ownnumber={Boek I}]
\samplefile{tufte}
\stopchapter
\startchapter
[title={Organisatorische Structuren},
ownnumber={Boek II}]
\samplefile{tufte}
\stopchapter
\mainlanguage[deo]
\setuplanguage[deo][
hyphenmin=4,
lefthyphenmin=2,
righthyphenmin=2,
]
\starttext
\hyphenatedfile{aesop-de}
\startcolumns
Funktioniert die Trennung? Heckeneckenzecken
\samplefile{aesop-de}
\stopcolumns
\stoptext
Just as a start, the languages manual provides more
][
hyphenmin=4,
lefthyphenmin=2,
righthyphenmin=2,
]
\starttext
\hyphenatedfile{aesop-de}
\startcolumns
Funktioniert die Trennung? Heckeneckenzecken
\samplefile{aesop-de}
\stopcolumns
\stoptext
Just as a start, the languages manual provides more details about
hyphenation.
\startexceptions[de
Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38:
Dear list,
I have the following sample (which was on the way of showing another issue):
\starttext
a
\starttyping
b
\stoptyping
c
\startfootnote
a
\starttyping
b
\stoptyping
c
\stopfootnote
Dear list,
I have the following sample (which was on the way of showing another issue):
\starttext
a
\starttyping
b
\stoptyping
c
\startfootnote
a
\starttyping
b
\stoptyping
c
\stopfootnote
\stoptext
Current latest (from 2024.03.11 09:34) breaks compilation with both
,
]
\starttext
\hyphenatedfile{aesop-de}
\startcolumns
Funktioniert die Trennung? Heckeneckenzecken
\samplefile{aesop-de}
\stopcolumns
\stoptext
___
If your question is of interest to others as well, please add an
401 - 500 of 3068 matches
Mail list logo