[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
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

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Hans Hagen via ntg-context
. \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

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
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

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
[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

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
. \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

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
] \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

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
=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

[NTG-context] line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
,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

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Wolfgang Schuster
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

[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
[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

[NTG-context] Re: \par and \startlines

2024-05-01 Thread Henning Hraban Ramm
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

[NTG-context] Re: \par and \startlines

2024-05-01 Thread Wolfgang Schuster
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

[NTG-context] Hbox error with itemized list on second page

2024-04-30 Thread Ross Schulman
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

[NTG-context] Re: \par and \startlines

2024-04-30 Thread Denis Maier via ntg-context
> -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: >

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
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

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Wolfgang Schuster
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 %

[NTG-context] Re: \par and \startlines

2024-04-27 Thread Henning Hraban Ramm
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Henning Hraban Ramm
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
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,

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
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

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] \par and \startlines

2024-04-26 Thread denis.maier
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

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
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

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
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

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
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

[NTG-context] Re: Score sums and references

2023-12-13 Thread Jairo A. del Rio
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"

[NTG-context] Re: Score sums and references

2023-12-13 Thread Hans Hagen
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]}

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
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

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
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

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
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

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Henning Hraban Ramm
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

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
\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

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
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 \

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Wolfgang Schuster
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

[NTG-context] Font switching, default features, and a request

2023-08-13 Thread Hamid,Idris
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 الثَّعْلَبُ

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
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

[NTG-context] Re: Using

2023-08-04 Thread Hans Hagen
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}][]

[NTG-context] Using

2023-08-04 Thread Alex Leray
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

Re: [NTG-context] How to extend an existing macro to take optional parameters?

2023-03-14 Thread Bruce Horrocks via ntg-context
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}

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] How to extend an existing macro to take optional parameters?

2023-03-13 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Pablo Rodriguez via ntg-context
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

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Floris van Manen via ntg-context
\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

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Hans Hagen via ntg-context
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

[NTG-context] Spacing issue with \digits in math mode

2022-10-04 Thread Gavin via ntg-context
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

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
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

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
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 > > ___

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
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] >

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Wolfgang Schuster via ntg-context
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}] ...

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
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

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Henning Hraban Ramm via ntg-context
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

[NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Denis Maier via ntg-context
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

Re: [NTG-context] font fallbacks

2022-08-01 Thread Denis Maier via ntg-context
➊ 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

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
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

[NTG-context] font fallbacks

2022-07-30 Thread Henning Hraban Ramm via ntg-context
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 ""

[NTG-context] can't accent/fake characters in euler font

2022-05-19 Thread a badin via ntg-context
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

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
counterone>\plusone > ,\space > \fi > \commalistelement} Thanks. > > but ... there's also: > > \startlines > \commalistsentence[aap,noot,mies] > \commalistsentence[aap,noot] > \commalistsentence[aap] > \commalistsentence[a,b,

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Hans Hagen via ntg-context
\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

Re: [NTG-context] poetry \startlines and tab

2022-01-12 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] poetry \startlines and tab

2022-01-11 Thread jbf via ntg-context
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

Re: [NTG-context] poetry \startlines and tab

2022-01-11 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-11 Thread Hans Hagen via ntg-context
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:

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-10 Thread Aditya Mahajan via ntg-context
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

[NTG-context] poetry \startlines and tab

2022-01-10 Thread Youssef Cherem via ntg-context
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

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-09 Thread Wolfgang Schuster via ntg-context
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

[NTG-context] zint doesn’t work in "lines"

2022-01-06 Thread Henning Hraban Ramm via ntg-context
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

Re: [NTG-context] startlines with long lines that break and indent

2021-12-27 Thread juh via ntg-context
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

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Wolfgang Schuster via ntg-context
[ 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

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Rik Kabel via ntg-context
=,     inbetween={\blank[small]},     after=,    ]   \startlines   \setupindenting[-\Poemindent,yes]   \startparagraph},    after=\stopparagraph \stoplines,  ] \starttext

[NTG-context] startlines with long lines that break and indent

2021-12-26 Thread juh via ntg-context
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

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
\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

Re: [NTG-context] nil from TeX to Lua

2021-08-09 Thread Aditya Mahajan via ntg-context
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

[NTG-context] small lmtx update

2021-02-02 Thread Hans Hagen
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

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
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

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-21 Thread Rik Kabel
\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

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-21 Thread Wolfgang Schuster
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

Re: [NTG-context] removing word in filtered XML

2020-08-20 Thread Pablo Rodriguez
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

Re: [NTG-context] removing word in filtered XML

2020-08-20 Thread Hans Hagen
" 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

[NTG-context] new upload

2020-08-09 Thread Hans Hagen
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

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Marcus Vinicius Mesquita
: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à

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
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

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Hans Hagen
, 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ì

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
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 >

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
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

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Taco Hoekwater
: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

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Hans Hagen
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

[NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
\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

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Jan-Erik Hägglöf
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

Re: [NTG-context] Macros which scan subscripts/superscripts in ConTeXt

2020-06-26 Thread Hans Hagen
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

Re: [NTG-context] Macros which scan subscripts/superscripts in ConTeXt

2020-06-25 Thread Aditya Mahajan
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

[NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
(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

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Aditya Mahajan
[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

[NTG-context] sunny friday afternoon update

2020-05-08 Thread Hans Hagen
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

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
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   2   3   4   5   6   >