ffer[buf:dict:xxx]}]
\setupsection[section][placehead=hidden,aftersection=\pagebreak]
\definelinenumbering[Poem][step=5,continue=yes]
\defineregister[Dict][pagenumber=no,indicator=no,n=2,criterium=section,before=,textcommand=\bf]
\starttext
\startsection[title=pageA]
\startlines
\startlinenumbering
.
\start \setupparagraphnumbering[state=start]
\startlines
...
\stoplines
\stop
Thank you – that works for the minimal example, but the options for
paragraph numbering are very limited, I can’t even use my own command.
And I can’t combine it with \starttyping.
\def\CodeNumber#1{\hfill\tt\bfx
thought numbering=file (or \setuplinenumbering[method=file])
would address that, but apparently not.
\start \setupparagraphnumbering[state=start]
\startlines
...
\stoplines
\stop
Thank you – that works for the minimal example, but the options for
paragraph numbering are very limited, I can’t
[method=file]) would
address that, but apparently not.
\start \setupparagraphnumbering[state=start]
\startlines
...
\stoplines
\stop
Thank you – that works for the minimal example, but the options for
paragraph numbering are very limited, I can’t even use my own command.
And I can’t combine it
.
\start \setupparagraphnumbering[state=start]
\startlines
...
\stoplines
\stop
Thank you – that works for the minimal example, but the options for
paragraph numbering are very limited, I can’t even use my own command.
And I can’t combine it with \starttyping.
\def\CodeNumber#1{\hfill\tt\bfx
]
\startlines
...
\stoplines
\stop
Thank you – that works for the minimal example, but the options for
paragraph numbering are very limited, I can’t even use my own command.
And I can’t combine it with \starttyping.
\def\CodeNumber#1{\hfill\tt\bfx\color[orange]{#1}}
% ok
\setuplinenumbering
=90mm,height=70mm]
\setuppagenumbering[location=none,state=stop]
%\setuplinenumbering[method=file]
\starttext
\startlinenumbering
\startlines
Und doch, wie viel wahnsinniger, einen Freund,
weil ers in einer Kleinigkeit versah,
die nur ein Mensch, mit dem gar nicht zu leben ist,
ihm nicht verzeihen
,state=stop]
%\setuplinenumbering[method=file]
\starttext
\startlinenumbering
\startlines
Und doch, wie viel wahnsinniger, einen Freund,
weil ers in einer Kleinigkeit versah,
die nur ein Mensch, mit dem gar nicht zu leben ist,
ihm nicht verzeihen konnte, gleich dafür
zu hassen und zu fliehen, wie den
in example
\starttext
\startlines
«quoted text»
« quoted text »
\stoplines
\setcharacterspacing[frenchpunctuation]
\startlines
«quoted text»
« quoted text »
\stoplines
\stoptext
end example
2. When you use the quotation command or environment ConTeXt adds a
space between the quotation mar
[poem][n=2,width=5cm]
\setupparagraphs[poem][each][width=5cm,distance=0pt]
\startpoem
\startlines
One one ons ksl
One wer s dft tgf
\stoplines
\nextpoem
\startlines
two gfjgfd oski kwo
two gfkdsjg dfs we
\stoplines
\stoppoem
\stoptext
end example
Wolfgang
pported by \startlines
unless you add the normal linenumbering mechanism)
- support for lines which don't fit on a single page where the
consecutive lines are indented
but the module is outdated and relies on an old mkii style code base.
A big difference between the \startlines envi
denisma...@mailbox.org schrieb am 30.04.2024 um 14:28:
-Ursprüngliche Nachricht-
Von: Wolfgang Schuster
Gesendet: Samstag, 27. April 2024 07:40
An: Denis Maier
Cc: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Re: \par and \startlines
Denis Maier schrieb am 26.04.2024 um
space+\headerheight\relax]
{\dontleavehmode{\tfd ROSS SCHULMAN}\blank[medium]
policy technologist
}
\startmarginblock
\topic{CONTACT}
\startlines
1234 Main St NW
Washington, DC 20011
\stoplines
\topic{LANGUAGES}
\startlines
English (Native Speaker)
Spanish (Conversational)
\stoplines
\top
> -Ursprüngliche Nachricht-
> Von: Wolfgang Schuster
> Gesendet: Samstag, 27. April 2024 07:40
> An: Denis Maier
> Cc: mailing list for ConTeXt users
> Betreff: Re: [NTG-context] Re: \par and \startlines
>
> Denis Maier schrieb am 26.04.2024 um 19:52:
>
ext size as default value but now you have to pass \txx as value
because by default \high already uses style=\tx. When you now combine
the default \tx from \high and the \tx from the footnote you get the
\txx size (which is used in the custom \high command).
begin example
\definehigh[fa
tx from \high and the \tx from the footnote you get the
\txx size (which is used in the custom \high command).
begin example
\definehigh[fakenotesymbol][style=\txx]
\starttext
\startlines
test\footnote{\unknown}
test\high{\tx 1}
test\fakenotesymbol{1}
\stoplines
\stoptext
%
Am 26.04.24 um 18:24 schrieb Wolfgang Schuster:
BTW: ConTeXt has a module for poems which can be loaded with
\usemodule[format].
Never heard of it. Version says “ancient” ;)
https://source.contextgarden.net/tex/context/modules/mkiv/m-format.mkiv
What’s the advantage of all this markup over si
you think?
Below is a different solution to your problem with works without
\startlines because you already mark up each individual line in the poem
which make it possible to add a linebreak in the output.
With \blank options (samepage) you can avoid pagebreaks between stanzas.
\startxmlsetup
Am 26.04.24 um 19:52 schrieb Denis Maier via ntg-context:
I see. But there's no command that could be used to simulate an empty line?
Did you try \vskip{…}?
Hraban
___
If your question is of interest to others as
On 4/26/24 19:52, Denis Maier via ntg-context wrote:
>> Wolfgang Schuster hat am 26.04.2024 19:29 CEST geschrieben:
>> The inbetween setting works because ConTeXt checks at the start of
>> each line whether it's empty (in this case the value is used) or not.
>>
>> When you add a \par you just end t
g here.
As the source is XML, I cannot just add an empty line to start a new
group of lines inside \startlines…\stoplines. I guess, there must be a
command to do that, but \par seems to have no effec
denis.ma...@unibe.ch
<mailto:denis.ma...@unibe.ch> wrote:
Hi,
I’m trying to typeset a poem from XML, but I can’t figure out how to
make the inbetween key working here.
As the source is XML, I cannot just add an empty line to start a new
group of lines inside \startlines…\stoplines. I guess,
etween key working here.
As the source is XML, I cannot just add an empty line to start a new
group of lines inside \startlines…\stoplines. I guess, there must be a
command to do that, but \par seems to have no effec
ML, but I can’t figure out how to
make the inbetween key working here.
As the source is XML, I cannot just add an empty line to start a new
group of lines inside \startlines…\stoplines. I guess, there must be a
command to do that, but \par seems to have no effect here.
How can this be done?
H
m from XML, but I can’t figure out how to
make the inbetween key working here.
As the source is XML, I cannot just add an empty line to start a new
group of lines inside \startlines…\stoplines. I guess, there must be a
command
On 4/26/24 15:33, denis.ma...@unibe.ch wrote:
> Hi,
>
> I’m trying to typeset a poem from XML, but I can’t figure out how to
> make the inbetween key working here.
>
> As the source is XML, I cannot just add an empty line to start a new
> group of lines inside \startline
Hi,
I'm trying to typeset a poem from XML, but I can't figure out how to make the
inbetween key working here.
As the source is XML, I cannot just add an empty line to start a new group of
lines inside \startlines...\stoplines. I guess, there must be a command to do
that, but \par see
startindentedtext
Command/ startitemgroup
Command/ startlabeltext
Command/ startlinenote
Command/ startlines
Command/ startmakeup
Command/ startmathalignment
Command/ startmathcases
Command/ startmathmatrix
Command/ startmixedcolumns
Command/ startnarrower
Command/ startnote
Command/ startpagecolumns
Command
additions to \numexpr (I checked and : is mentioned but ; is missing).
\starttext
\startlines
\number\numexpr 5 + 2 \relax
\number\numexpr 5 - 2 \relax
\number\numexpr 5 * 2 \relax
\number\numexpr 5 / 2 \relax
\number\numexpr 5 : 2 \relax % new!
\number\numexpr 5 ; 2 \relax % new!
\stop
d'une précision
sur Platon, avec des indications sur son nom en arabe, on aura fait le
tour de quelques difficultés qui se présentent à ceux qui voudraient
établir avec soin des documents un peu exigeants.
% \showframe
\startMyFrame[Title=Conclusion]
\setcharacterspacing[frenchpunctuation]
\startl
Cool. It works once \startlines ... \stoplines is removed. Thank you
very much!
Jairo
El mié, 13 dic 2023 a la(s) 3:40 a.m., Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 12/13/2023 4:05 AM, Jairo A. del Rio wrote:
> > Hi, dear list. Is there a proper "ConTeXt way"
integerdef\DSlmao=0
\starttext
Sum: \datasetvariable{test-1}{1}{whatever}
\startlines
+1\advance\DSlmao\plusone
+2\advance\DSlmao\plustwo
+3\advance\DSlmao\plusthree
+4\advance\DSlmao\plusfour
\stoplines
\normalexpanded{\setdataset[test-1][whatever=\the\DSlmao]}
On 12/9/2023 4:33 PM, Aditya Mahajan wrote:
On Sat, 9 Dec 2023, Wolfgang Schuster wrote:
\starttext
\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3}}: \m
On Sat, 9 Dec 2023, Wolfgang Schuster wrote:
> \starttext
>
> \startlines
> \type{\frac{1}{3}}: \m{\frac{1}{3}}
> \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
> \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
> \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
> \type{\sfrac{1}{3}}: \m{\sfrac{1
23 à 14:00, Henning Hraban Ramm a écrit :
> Am 09.12.23 um 14:43 schrieb Wolfgang Schuster:
> > anton.chig...@mail.com schrieb am 09.12.2023 um 14:15:
> > \startlines
> > \type{\frac{1}{3}}: \m{\frac{1}{3}}
> > \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
> > \type{\xxfrac
Am 09.12.23 um 14:43 schrieb Wolfgang Schuster:
anton.chig...@mail.com schrieb am 09.12.2023 um 14:15:
\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3}}: \m
\setupinterlinespace or you use a different fraction command
which uses
smaller numbers or creates inline fractions.
\starttext
\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3
fficient.
\setuppapersize[A7]
\setbreakpoints[compound]
\starttext
\startlines[style=mono]
1. Thisisthetruth:waste-not-want-not
2. Thisisthetruth:waste/not/want/not
3. Thisisthetruth:waste+not+want+not
4. Thisisthetruth:waste(not(want(not))
5. Thisisthetruth(waste)not)want)not
\
tuppapersize[A7]
\setbreakpoints[compound]
\starttext
\startlines[style=mono]
1. Thisisthetruth:waste-not-want-not
2. Thisisthetruth:waste/not/want/not
3. Thisisthetruth:waste+not+want+not
4. Thisisthetruth:waste(not(want(not))
5. Thisisthetruth(waste)not)want)not
\stoplines
\sto
Dear gang,
Consider the following example:
==
\setupdirections[bidi=global,method=one]
\startTEXpage[offset=1em,width=14in]
\definedfont[almfixed*arabic]
\switchtobodyfont[almfixed*arabic]
\switchtobodyfont[almfixed]
% \addff{arabic}
\startbuffer[]
\startlines
الثَّعْلَبُ
Thanks Hans!
Le 4/08/23 à 23:21, Hans Hagen a écrit :
On 8/4/2023 7:42 PM, Alex Leray wrote:
Hello,
I'm trying to figure out why this is not working (whereas
\startlines\stoplines works):
```
\definehead[poem][section]
\setuphead[poem][beforesection={\starttyping},
afterse
On 8/4/2023 7:42 PM, Alex Leray wrote:
Hello,
I'm trying to figure out why this is not working (whereas
\startlines\stoplines works):
```
\definehead[poem][section]
\setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}]
\starttext
\startpoem[title={Glijden}][]
Hello,
I'm trying to figure out why this is not working (whereas
\startlines\stoplines works):
```
\definehead[poem][section]
\setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}]
\starttext
\startpoem[title={Glijden}][]
Lorem ipsum dolor sit amet consectetur.
\sto
text
>
> \tolerant\def\mycommand#=#=#=#=#:[#5]%
> {\ifparameter#1\or(1:#1)\fi
> \ifparameter#2\or(2:#2)\fi
> \ifparameter#3\or(3:#3)\fi
> \ifparameter#4\or(4:#4)\fi
> \ifparameter#5\or[5:#5]\fi}
>
> \startbuffer
> \mycommand{aa}{bb}{cc}
> \mycommand{aa}
sepoint=bp,
]
\registerunitshortcut
[unit]
[C=coulomb]
\startlines
10 \unit {square meter per second}
10 \unit {square Meter per Second}
10 \unit {point}
10 \unit {Point}
10 \unit {basepoint}
10 \unit {Basepoint}
10 \unit {C}
\stoplines
\setupunit[unit][option=keep]
\startlines
10 \un
b}{cc}{dd}[ee]
\mycommand{aa}{bb}{cc}
\mycommand{aa}{bb}{cc}{dd}
\mycommand{aa}{bb}{cc}{dd}[ee]
\stopbuffer
\typebuffer
\startlines \getbuffer \stoplines
\stoptext
I'm not saying that it's the best solution, you can add \protected in
On 3/8/23 16:24, Floris van Manen via ntg-context wrote:
>> \startlines
>
> thanks!
> and it saves a lot of extra typing as well
Hi Floris,
this might also do the trick:
\starttext
\startTEXpage[offset=10mm]
een twee drie vier vijf zes zeven\\
een twee drie vier
\startlines
thanks!
and it saves a lot of extra typing as well
.F
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman
drie vier vijf zes zeven\\
een twee drie vier vijf zes zeven\\
\stopTEXpage
\stoptext
\starttext
\startlines
een twee drie vier vijf zes zeven
een twee drie vier vijf zes zeven
een twee drie vier vijf zes zeven
een twee drie vier vijf zes zeven
een twee drie vier vijf zes zeven
een
ddress]
Name
Address 1
A long line that wraps
Town
Postcode
\stopbuffer
\framed
[align=flushleft,strut=no]
{\startlines[before=,after=]
\getbuffer[address]
\stoplines}
\scale
[width=3cm]
{\framed
[align=flushleft,strut=no]
{\startlines[before=,after=]
\getbuffer[addre
igits {12,345.67e89}$
51 \setdigitmode {5} \setdigitorder{1} $\digits {12,345.67e89}$
61 \setdigitmode {6} \setdigitorder{1} $\digits {12,345.67e89}$
\stopbuffer
\typebuffer
This is typeset as:
\startlines \getbuffer \stoplines
In text, the \type{\digits} command works fine:
\setdigitmo
l now, I've used tabulate
for these kind of sidebyside texts. Usually there are not poems, just regular
paragraphs, but with poems I've realized that blanks seem not be supported in
individual table cells.
Denis
\startbuffer[lines1]
\startlines[inbetween={\blank}]
this
is
a
poem
w
anks. I'll try that. But, iirc, these had some other drawbacks I'll
> > check
> if it works for my use case.
> >
> > Is there a way to have blanks in the tabulate?
>
> \startlines[inbetween={\dontleavehmode\crlf}]
> ...
>
> Wolfgang
>
> ___
oes not quite work as tabulate does not seem to allow blanks between
> > the stanzas. See MWE below. Am I missing someting? Is there a better
> > way to achieve this?
>
> How about columnsets or paragraphs?
>
> \definecolumnset[Zwei][n=2]
> \startcolumnset[Zwei]
>
Denis Maier via ntg-context schrieb am 27.08.2022 um 09:17:
Thanks. I'll try that. But, iirc, these had some other drawbacks I'll check
if it works for my use case.
Is there a way to have blanks in the tabulate?
\startlines[inbetween={\dontleavehmode\crlf}]
...
about columnsets or paragraphs?
\definecolumnset[Zwei][n=2]
\startcolumnset[Zwei]
\startlines
Starlight, star bright,
first star I see tonight;
\stoplines
\column
\startlines
I wish I may, I wish I might
have the wish I wish tonight.
\stoplines
\stopcolumnset
\defineparagraphs[Zwei][n=2]
\setupparagraphs[Z
below. Am I missing someting? Is there a better way to
achieve this?
How about columnsets or paragraphs?
\definecolumnset[Zwei][n=2]
\startcolumnset[Zwei]
\startlines
Starlight, star bright,
first star I see tonight;
\stoplines
\column
\startlines
I wish I may, I wish I might
have the wish I wish
achieve this?
Best,
Denis
%%%
\startbuffer[lines]
\startlines[after={\blank}]
this
is
a
poem
with
two
stanzas
\stoplines
\stopbuffer
\starttext
With a blank between the stanzas:
\getbuffer[lines]
Without a blank between the stanzas:
\starttabulate[|p|p|]
\NC \getbuffer
➊ DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE
> 9 U+0FFFD � REPLACEMENT CHARACTER
> stop missing characters
> start missing characters: cambriai.ttf
> 266 U+0276C ❬ MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT
> 266 U+0276D ❭ MEDIUM RIGHT-POINTING ANGLE BRACKET ORN
IT ONE
9 U+0FFFD � REPLACEMENT CHARACTER
stop missing characters
start missing characters: cambriai.ttf
266 U+0276C ❬ MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT
266 U+0276D ❭ MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT
stop missing characters
\stopbuffer
\typebuffer[exampl
RIGHT-POINTING ANGLE BRACKET ORNAMENT
stop missing characters
\stopbuffer
\typebuffer[example]
\startlines
\getbuffer[example]
{\ss\getbuffer[example]}
\stoplines
\tex{abra}\arg{...}
\type{kadabra} \type{~~~}
\stoptext
""
Hello all,
typesetting accented characters in eulernova font does not seem
possible to me. Is it really impossible? The other math fonts
(stix/xits) do it. I'm using Context LMTX 2022.01.21 20:13
\starttext
\switchtobodyfont[eulernova]
\startlines
euler:
1 - č
2 - \ccaron
3 - \v{c}
\stop
counterone>\plusone
> ,\space
> \fi
> \commalistelement}
Thanks.
>
> but ... there's also:
>
> \startlines
> \commalistsentence[aap,noot,mies]
> \commalistsentence[aap,noot]
> \commalistsentence[aap]
> \commalistsentence[a,b,
\zerocount
\scratchcountertwo \commalistsize
\processcommacommand[\whatever]
{\advance\scratchcounterone\plusone
\ifnum\scratchcounterone=\scratchcountertwo
\space and\space
\orelse\ifnum\scratchcounterone>\plusone
,\space
\fi
\commalistelement}
but ... there's also:
\st
On 1/12/2022 1:09 AM, jbf via ntg-context wrote:
For poetry that has non-regular indentations, I simply
\definelines[poem] and set that up the way I want, obviously, with
\setuplines[poem] e.g. [before={\blank
\setupinterlinespace[line=2.5ex]},after={\blank},indenting=first].
And then, but I
Hello,
I needed to typeset some poetry and noticed that
\startlines[space=on]
Some line with tab % doesn't work, no spaces added
Some line with spaces %work
\stoplines
Is there a way to make the "tab" ren
On 1/11/2022 3:01 AM, Youssef Cherem via ntg-context wrote:
Hello,
I needed to typeset some poetry and noticed that
\startlines[space=on]
Some line with tab % doesn't work, no spaces added
Some line with spaces %work
\stoplines
Is there a way to make the "tab" render t
previous = current
end,
}
\stopluacode
\starttext
\startlines
cat: \mymacro{cat}
cat: \mymacro{cat}
mouse: \mymacro{mouse}
mouse: \mymacro{mouse}
cat: \mymacro{cat}
\stoplines
\stoptext
keep in mind that what you do is global (probably what one wants here):
\startlines
cat:
me")
else
context("Different!")
end
previous = current
end,
}
\stopluacode
\starttext
\startlines
cat: \mymacro{cat}
cat: \mymacro{cat}
mouse: \mymacro{mouse}
mouse: \mymacro{mouse}
cat: \mymacro{cat}
\stoplines
\stoptext
Adity
Hello,
I needed to typeset some poetry and noticed that
\startlines[space=on]
Some line with tab % doesn't work, no spaces added
Some line with spaces %work
\stoplines
Is there a way to make the "tab" render t
as last time
\else
it is different from last time
\fi
\let\previousmymacro\currentmymacro}
\starttext
\startlines
cat: \mymacro{cat}
cat: \mymacro{cat}
mouse: \mymacro{mouse}
mouse: \mymacro{mouse}
cat: \mymacro{cat}
\stoplines
\stoptext
Wolfgang
Hi,
while the zint module generally works well, I run into "TeX capacity
exceeded" as soon as I try a barcode within \startlines ... \stoplines:
\usemodule[zint]
\starttext
\startlines
My homepage: \barcode[alternative=qr code,text={www.fiee.net},width=2.5cm]
\stoplines
\stopte
Rik, Wolfgang – thanks a lot. So simple. I wikified it.
juh
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/n
[ before={\blank\startnarrow[default=left,left=1cm]},
after={\stopnarrow\blank},
indenting={yes,-1cm}]
\showframe[text][text]
\starttext
before
\startlines
text \dorecurse{10}{ text}
text \dorecurse{40}{ text}
text \dorecurse{10}{ text}
\stoplines
after
\stoptext
Long version
=,
inbetween={\blank[small]},
after=,
]
\startlines
\setupindenting[-\Poemindent,yes]
\startparagraph},
after=\stopparagraph
\stoplines,
]
\starttext
Hi all,
I am looking for a way to make startstoplines likes this:
This is a long line
that breaks,
the second line,
the third line.
So if a line in the poem is too long it shall break and indent.
TIA
juh
___
I
\bi and when you
want for example bold italic text you always have to use \bi even the
current text is already bold because \it produces normal italic text.
\em is a special case because it affects also italic text:
\starttext
\startlines
\tf normal {\em emphasized}
\sl slanted {\em emphasize
context("Argument is nil")
elseif str == "" then
context("Argument is empty")
else
context("Argument is %s", str)
end
end
\stopluacode
\define[1]\Macro{\ctxlua{userdat
Hi,
In the perspective of fancyfying context I made an alternative rendering
for missing glyphs (and in the process also made the visualization
italic and bold aware which is of course feature creepifying).
\replacemissingcharacters
\startbuffer
\startlines[before=,after
tc. text
\starttext
\startlines
$\mathtexttf{upright text}$
$\mathtextit{italic text}$
$\mathtextsl{slanted text}$
$\mathtextbf{bold text}$
$\mathtextbi{bolditalic text}$
$\mathtextbs{boldslanted text}$
\stoplines
\startlines
$\mathwordtf{upright word}$
$\mathwordit{italic word}$
$\mat
\protected\def to keep
always the current meaning of \foo when you print the content of \bar.
\starttext
\def\foo{foo}
\edef\bar{\foo}
\def\foo{bar}
\startlines
bar=\bar
foo=\foo
\stoplines
\blank
\protected\def\foo{foo}
\edef\bar{\foo}
\protected\def\foo{bar}
\startlines
bar=\bar
foo=\foo
of \foo when you print the content of \bar.
\starttext
\def\foo{foo}
\edef\bar{\foo}
\def\foo{bar}
\startlines
bar=\bar
foo=\foo
\stoplines
\blank
\protected\def\foo{foo}
\edef\bar{\foo}
\protected\def\foo{bar}
\startlines
bar=\bar
foo=\foo
\stoplines
\stoptext
A problem in older TeX
anks for your reply, Hans.
It is already wikified
(https://wiki.contextgarden.net/Ligatures#Replacements).
I wonder whether \replaceword could be extended to replace multiple
words and also to remove them.
\starttext
\replaceword[whatever][this or][no]
\replaceword[whatever][that][]
\sta
" word?" (and so on). I would
like to avoid having to code all combinations (of course, if this were
already available).
old stuff present for a long time ... probaly documented somewhere ...
if not than you have to wikify it ...
\starttext
\replaceword[whatever][this][that]
\replaceword[w
Hi,
I uploaded a new lmtx ... not much done due to the heat (entered reading
mode instead) but ... apart from some work in progress ... we now have
some basic bitwise operations (maybe we need some more). So far we have:
\startlines
\meaning\bitwiseset
\meaning\bitwisenot
\meaning\bitwisenil
:24][h=ae0001] % x
\definecolor[colorscheme:1:25][h=696966] % y
\definecolor[colorscheme:1:26][h=7bb3ff] % z
\definefontfeature
[MyFeaturesA] [default]
[goodies={colorfont},colorscheme=default]
\definefont[MyFontA][SerifBold*MyFeaturesA]
\starttext
\setfontcolorscheme[1]
\MyFontA
\startlines
aà
ttext
\startframedtext[middle][frame=off,width=fit]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al ciel diventa degno.
\stoplines
\stopframedtext
\stoptext
, verse no. 2, 3, 5, and 6).
Is it possible to get what I ask for with ConTeXt?
The most I managed to do is this:
\starttext
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì
h:
>
> \setuplines[indenting=three]
>
>
> Best wishes,
> Taco
>
> > On 2 Jul 2020, at 15:01, Tommaso Gordini
> wrote:
> >
> > \starttext
> >
> > \setupindenting[yes,1em]
> > \setuplines[indenting=even]
> >
> > \startlines
>
get what I ask for with ConTeXt?
The most I managed to do is this:
\starttext
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove
:01, Tommaso Gordini wrote:
>
> \starttext
>
> \setupindenting[yes,1em]
> \setuplines[indenting=even]
>
> \startlines
> Per correr miglior acque alza le vele
> omai la navicella del mio ingegno,
> che lascia dietro a sé mar sì crudele;
> e canterò di quel sec
I managed to do is this:
\starttext
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al ciel diventa degno.
\stoplines
\stoptext
but t
idth=\LWidth,height=\LHeight,
state=repeat]
\setupbackgrounds[page][background=BG,]
\setlayerframed[BG][
frame=on,
framecolor=yellow,
width=\LWidth,height=\LHeight,
align=flushleft,
]{\strut}
\setlayer[BG][
preset=rightbottom,
hoffset=3mm,
voffset=3mm]{%
\externalfigure[logo][height=0.75
ipt, #2 is subscript
{x^{\mathrm{foo}\doifsomething{#1}{,#1}}_{\mathrm{bar}\doifsomething{#2}{,#2}}}
\starttext
\startlines
$\mymacro$ $\mymacro^{\mathrm{extrasup}}$
$\mymacro_{\mathrm{extrasub}}$
$\mymacro^{\mathrm{extrasup}}_{\mathrm{extrasub}}$
$\mymacro_{\mathrm{extrasub}}^{\mathr
mathrm{bar}\doifsomething{#2}{,#2}}}
\starttext
\startlines
$\mymacro$
$\mymacro^{\mathrm{extrasup}}$
$\mymacro_{\mathrm{extrasub}}$
$\mymacro^{\mathrm{extrasup}}_{\mathrm{extrasub}}$
$\mymacro_{\mathrm{extrasub}}^{\mathrm{extrasup}}$
\stoplines
\stoptex
(can better be done global)
fonts > bodyfont '11.2pt' is defined (can better be done global)
fonts > defining > font with asked name 'IBMPlexSans-regular' is not
found using lookup 'file'
fonts > defining > unknown fo
[name]
\starttext
The values of the three dataset variables are:
\startlines
\datasetvariable{name}{hash1}{key}
\datasetvariable{name}{hash2}{key}
\datasetvariable{name}{hash3}{key}
\stoplines
Now we set the values.
\setdataset[name][hash1][key=value1]
\setdataset[name][hash2][key=value2
rmines the spacing.
One can use \mathopen etc to wrap such a character an dmake it behave
different. There is a new mechanism to overload that property in a
different way:
\startlines
$x\mathopen {!}+123+\mathclose {!}x$
$x\tomathopen ! +123+\tomathclose ! x$
$x\mathclose {!}+123+\mathopen
rt expect a number between 1 and 7 and
> result in a label for the requested day of the week but it's not meant
> to be used in \currentdate.
>
> > Still using luatex and not luametatex.
>
> To get the short names with \currentdate you have to append ":mnem" to
&g
1 - 100 of 585 matches
Mail list logo