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

2024-04-27 Thread Wolfgang Schuster
om \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 e

[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-27 Thread Wolfgang Schuster
rentsidenote{example} \incrementcounter[example] \convertedcounter[example] \stop \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-con

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

2024-04-26 Thread Wolfgang Schuster
}{test}{} \samplefile{lorem} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04: On 4/26/24 18:18, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29: What is wrong in my definition above? There is nothing wrong, this is just a side effect of the scanner used with the \do

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

2024-04-26 Thread Wolfgang Schuster
Denis Maier schrieb am 26.04.2024 um 19:18: Wolfgang Schuster hat am 26.04.2024 18:24 CEST geschrieben: Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10: Pablo Rodriguez via ntg-context <mailto:ntg-context@ntg.nl>> hat am 26.04.2024 17:25 CEST geschrieben: On 4/26/24 15:33,

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

2024-04-26 Thread Wolfgang Schuster
ion.) As you've said, it looks like a bug then. The lines environment treats each line of the input as paragraph by adding \par at the end of it and adding another \par makes no difference here. BTW: ConTeXt has a module for poems which can be loaded with \usemodule[form

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
=4] xxx\par \Command[a=1,c=3] xxx\par \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl

[NTG-context] Re: what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-24 Thread Wolfgang Schuster
welcome You need     \setupbackgrounds[state=repeat] which is set when you use \showframe. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
nd chapter} \stopbodymatter \startappendices \chapter{First appendix} \stopappendices \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

[NTG-context] Re: kpfonts

2024-04-20 Thread Wolfgang Schuster
in the LMTX installation. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl

[NTG-context] Re: kpfonts

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

[NTG-context] Re: minwidth not working ?

2024-04-20 Thread Wolfgang Schuster
Denis Maier schrieb am 19.04.2024 um 22:55: Wolfgang Schuster hat am 19.04.2024 20:32 CEST geschrieben: denis.ma...@unibe.ch schrieb am 10.04.2024 um 12:47: Hi, Shouldn’t minwidth set a default minimal width for external figures? But this here does not work [...] Am I missing something

[NTG-context] Re: minwidth not working ?

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

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Wolfgang Schuster
the dimensions to get rid of that. \setupfloats[compress=no] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl

[NTG-context] Re: [ using horizontal table lines ]

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

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

2024-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2024 um 14:53: Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I d

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

2024-04-14 Thread Wolfgang Schuster
h versions of a command page you can delete all of the forgotten pages. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mail

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
mp; endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode \stoptexdefinition \starttext \setuphead [section] [command=\Mystyle] \startsection[title=Lorem ipsum] \samplefile{lorem} \stopsection \stoptext end example Wolf

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Wolfgang Schuster
le,nowhite,back}" You can set the space only for *all* floats, e.g.     \setupfloat[spacebefore=...,spaceafter=...] and not for a single float type only. Wolfgang ___ If your question is of interest to others

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Wolfgang Schuster
pagella] \getbuffer \stoptext Wolfgang \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 \setupbodyfont[pagella] \getbuffer \stoptext hy

[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
] \dorecurse{12}{\samplefile{knuth}} \stopchapter \startchapter [title=Zapf] \dorecurse{12}{\samplefile{zapf}} \stopchapter \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. I

[NTG-context] Re: Underbar

2024-03-28 Thread Wolfgang Schuster
: \setupbar[offset=-.5,dy=-.5] \setupbar[underbar][offset=-0.5] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl

[NTG-context] Re: Visually balanced columns

2024-03-27 Thread Wolfgang Schuster
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 \stoptext Wolfgang

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
nt \setuphead[chapter][header=chapterheader] \starttext \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Wolfgang Schuster
't work with sizes bigger than about 19 feet (45 Theodores as of 2023), 575 centimeters, Toves, 230 Ediths or 16383 points. Continue and I'll use the largest value I can. You should also take a look at the lowlevel register manual (lowlevel-registers.pdf) which explains how you can define

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Wolfgang Schuster
\showlayout to see the effects on the layout. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg

[NTG-context] Re: offset with \copypages

2024-03-21 Thread Wolfgang Schuster
\startlayout[page] \copypages[test-file.pdf] \stoplayout \stoptext How could I avoid this offset please? You have to change the layout for the pages where you include your images to get rid of the default margins. Wolfgang

[NTG-context] Re: command line arguments

2024-03-19 Thread Wolfgang Schuster
[\getdocumentargument{schema}]} {\setuparranging[1*8]} It does also help to look at the included extra files (e.g. mtx-context-arrange.tex) written by Hans. Wolfgang ___ If your question is of interest to others

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
} \section{The Third Section} \section{The Fourth Section} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \define[2]\MyNumberChapterCommand {#1\space\blackrule[width=1pt,height=22pt,depth=8pt]\space#2} \setuphead [chapter] [ page=no, command=\MyNumberChapterCommand, style=\bfc]

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
: \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

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
in the document? \setupmargindata[inouter][style=] or \setupmargindata[inleft][style={\switchtobodyfont[8pt]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-17 Thread Wolfgang Schuster
] He{k-}{k}{ck}en-e{k-}{k}{ck}en-ze{k-}{k}{ck}en \stopexceptions % \registerhyphenationpattern[de][c1k/k=k] % % \setuphyphenation[method=traditional] \mainlanguage[de] \starttext Heckeneckenzecken = \hyphenatedword{Heckeneckenzecken} \stoptext Wolfgang

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
% \stopfoo \startbuffer yyy \stopbuffer \startfoo xxx \typebuffer zzz \stopfoo \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Re: can we do binding correction?

2024-03-17 Thread Wolfgang Schuster
it somehow for the layout (if the printshop does the imposition)? 1. \definepageshift + \setuppageshift 2. \setuplayout[horoffset=] Also I recognized I'm not sure about the difference of the layout parameters backspace and cutspace. backspace is the inner margin and cutspace the outer Wolfgang

[NTG-context] Re: Japanese

2024-03-16 Thread Wolfgang Schuster
is doing. Maybe once things are settled, Hans and Wolfgang will have a look in the Japanese part of ConTeXt so that the user can avoid to enter the setup included in the \directlua part. There is no need for these calculations because     1. you can create named layouts (e.g. \definelayout

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
\gobblefourarguments \fi} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Wolfgang Schuster
% comment this line for [entry not flushed] \placeindex \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
* math https://www.w3.org/TR/jlreq/#fig2_7_6 and https://www.w3.org/TR/jlreq/#fig2_7_62 * tategaki (writing vertically) Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 10.03.2024 um 10:46: On 3/10/2024 9:32 AM, Pablo Rodriguez via ntg-context wrote: On 3/9/24 16:04, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: [...]     \enableexperiments[fonts.compact] Which seeems weird

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
on contains nothing except the \event command I would remove the section titles from the document itself and place them as part of the \event command. \define[1]\Event {\startsection[title={#1}] \input{knuth} \stopsection} \starttext \Event{Neon Tetras} \Event{Detective Sto

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: On 3/8/24 19:09, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: [...] LMTX gets b, c and d in slanted form. LuaTeX gets only b and c in slanted form. [...] I get b and d in italic which

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
\\ \stopTEXpage \stoptext LMTX gets b, c and d in slanted form. LuaTeX gets only b and c in slanted form. I think LMTX may have an issue here. Could anyone be so kind to confirm this? I get b and d in italic which is the expected output. Wolfgang

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

2024-03-07 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:17: On 3/6/24 19:50, Wolfgang Schuster wrote: [...] Could you write the first line in plain language? Look at the second example of the Lua code in the example below for each command (the first example is your version), the third

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

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
\expanded{\setupmetadata[author={\xmlconcat{#1}{/h2[contains(@class,'author')]}{, }}]} \stopxmlsetups Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:11: On 3/6/24 17:35, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: [...] I wonder whether this requires a minimal sample to be fixed. Yes, a minimal example would help because \setupmetadata

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

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 20:00: On 2/28/24 19:28, Wolfgang Schuster wrote: [...] \def\beforequadruplenumber#1% {\ifcase\numexpr#1+1;4\relax \number\numexpr#1+4\relax \else \number\numexpr#1+3-#1;4\relax \fi} Sorry for not having

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
helpful for me (see below). I wonder whether this requires a minimal sample to be fixed. Yes, a minimal example would help because \setupmetadata works in your previous example. Wolfgang ___ If your question

[NTG-context] Re: missing metadata in LMTX

2024-03-05 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 07:17: On 3/4/24 01:18, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. [...] I can confirm the issue and it happens

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Wolfgang Schuster
try on MkIV? """ \usesymbols[nav] \starttext \showsymbolset[nav] \stoptext """ You pass the wrong name to \showsymbolset. \usesymbols[nav] \starttext \showsymbolset[navigation 1]\page \showsymbolset[navigation 2]\page \showsymbolset[navigatio

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Wolfgang Schuster
recognize the .jpx extension? If not, can anyone suggest some ConTeXt code which allows me to tell ConTeXt to process a .jpx file as a .jp2 file? Adding \definegraphictypesynonym [jpx] [jp2] at the begin of your document should do the trick. Wolfgang

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Wolfgang Schuster
. \startxmlsetups xml:meta \globaldefs\plusone \setupinteraction [author={\xmltext{#1}{/author}}, title={\xmltext{#1}{/title}}] \globaldefs\zerocount \stopxmlsetups Wolfgang ___ If your question

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
Emanuel Han schrieb am 01.03.2024 um 16:23: Dear Wolfgang, thank you for your valuable remarks. I integrated them, see corrected attached example. Yes, correct layout examples exist. They're all showing vertical writing, but the rules and principles are exactly the same for horizontal

[NTG-context] Re: Japanese

2024-03-01 Thread Wolfgang Schuster
, the opening Brackets (I marked them with \color[red]{【} and \color[red]{{}) are taking the previous character with them to the next line. Please remove these to see that the previous character would stay on the previous line. Thanks Wolfgang for checking wether this is a bug. Can you stick to fonts

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
n't supported yet (it was possible ages ago with MkII) because nobody needed it yet. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

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

2024-02-28 Thread Wolfgang Schuster
numexpr #1 +1 \fi} \def\afterquadruplenumber#1% {\ifcase\numexpr#1;4\relax \number\numexpr#1+1\relax \else \number\numexpr#1+5-#1;4\relax \fi} Wolfgang ___ If your question is of interest

[NTG-context] Re: Issue with italics

2024-02-26 Thread Wolfgang Schuster
fonts --list --all --pattern=gfsdidot* Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg

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

2024-02-24 Thread Wolfgang Schuster
page was last updated nearly four years ago. Is anyone using updated versions of these? You can use quadruple out of the box. \setuppagenumbering[alternative={singlesided,doublesided}] \starttext \samplefile{lorem} \page[quadruple] \samplefile{lorem} \stoptext Wolfgang

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 21.02.2024 um 19:04: Am 19.02.24 um 23:15 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 19.02.2024 um 22:39: I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics

[NTG-context] Re: MetaPost lines in tables?

2024-02-19 Thread Wolfgang Schuster
OverlayBox withpen pencircle scaled 2 dashed withdots withcolor "red"; \stopuseMPgraphic \defineoverlay[dottedborder][\useMPgraphic{dottedborder}] \starttext \bTABLE[frame=off,background=dottedborder] \bTR \bTD Hello Table! \eTD \eTR \eTABLE \stoptext end example

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
ion=stretch] \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR \eTABLE \stopplacetable \samplefile{lorem} \stoptext %%% end example Wolfgang ___ If your question is of interest to others as w

[NTG-context] Re: XML processing, unwanted indentation/alignment

2024-02-15 Thread Wolfgang Schuster
ttempty{#1}{maiden_name} % \else {\tfxx(\xmlatt{#1}{maiden_name})} \fi \stoptexdefinition %%%% end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! mailli

[NTG-context] Re: Two bugs with descriptions in ConTeXt.

2024-02-13 Thread Wolfgang Schuster
mechanism to set the text offset on the left and right sides and when you combine both mechanism the values are added. In case you you have a document where a descriptions appear as part of an item I suggest to use a different alternative (e.g. serried) for the description layout. Wolfgang

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Wolfgang Schuster
ou can report bugs on this list (no need to use the more or less dead dev list) but in this case there is no bug, just different names. Wolfgang ___ If your question is of interest to others as well, please add an

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Wolfgang Schuster
. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
\completecontent[criterium=all] \stopfrontmatter \startbodymatter \startchapter[title=CHAP 1] TEXT \stopchapter \stopbodymatter \startappendices \startchapter[title=Literature] \placelistofpublications \stopchapter \stopappendices \stoptext Wolfgang

[NTG-context] Re: removing whitespace

2024-02-13 Thread Wolfgang Schuster
)})]   } ConTeXt has a Lua function to remove spaces. \starttext \cldcontext{string.nospaces("01234 56789")} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an ent

[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster
in a description or enumeration environment. \definedescription [qedtest] [closesymbol=\symbol{qed}] \starttext \startqedtest \samplefile{lorem}\qed \stopqedtest \stoptext Wolfgang ___ If your question is of interest

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
} \stoptext Using the register mechanism as you suggest seems to be the best option in this case. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Wolfgang Schuster
t{% \ctxlua{userdata.my_command('#1', [==[#2]==])}% }\else {% \ctxlua{userdata.my_command('', [==[#2]==])}% }\fi } \protect \tolerant\protected\def\mc[#1]#2% {\ctxlua{userdata.my_command("#1","#2")}} Wolfgang

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
[scope=local]{#1}} \setuphead   [section]   [alternative=text,    numbercommand=\SectionNumberCommand,    distance=0pt] \starttext \section{Lorem} \samplefile{lorem} \stoptext Wolfgang ___ If your question is

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
;" I just wanted to know if there already an option defined to achieve the desired result. \setuphead [subsection] [alternative=margin] %\setuphead [subsection] [alternative=inmargin] %\setuphead [subsection] [alt

[NTG-context] Re: Suggestions and problems of the manuals

2024-01-26 Thread Wolfgang Schuster
2. The section "Script kerning" (line 127 -- 203) in math-features.tex descibes the \mathscriptboxmode primitive which was removed in Luametatex. Wolfgang ___ If your question is of interest to others as

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
\NC\NR \NC 1795 \NC 1124 \NC\NR \NC 1880 \NC 2405 \NC\NR \NC 1995 \NC 7408 \NC\NR \stopTABLE \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Re: Caching Metafun images and VIM Syntax highlighted code

2024-01-24 Thread Wolfgang Schuster
heavy penalty on highlighting the code otherwise. You can also try to extend ConTeXt's syntax highlighter (or the scite module) to support Rust which solves the cache problem. Wolfgang ___ If your question

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 16:52: Thanks for correcting me, Wolfgang. I meant only TeX commands not plan TeX macros. As I already wrote you can use \parindent etc. in your document but unless you know what you're doing you should keep it to a minimum to avoid conflicts

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
. On the other hand commands which are provided by the engine like \parindent can be used in a ConTeXt document but higher level mechanism like \setupindenting are the better choice. Wolfgang ___ If your question

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Wolfgang Schuster
e{4}{\samplefile{lorem}} \startPlaceAtBottom {\sl\samplefile{lorem}} \stopPlaceAtBottom \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Wolfgang Schuster
rem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur massa turpis, semper quis fringilla ut, viverra nec risus. Pellentesque habitant morbi \unknown \stoptext Wolfgang ___ If your question is of interes

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 10:30: Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] but sometimes elements elements have to be forced to be on the grid, e.g. tables need to be part of a float.

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-13 Thread Wolfgang Schuster
date and somtimes miss entries or list no longer valid ones, in this case the NAME placeholder is missing. So what does the "yes " (with a trailing space) sets "grid" key to? The expected behavior is to ignore inv

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
than being reset % % \startsectionblockenvironment[bodypart] %   \resetuserpagenumber % \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{20}{\samplefile{lorem}\page} \stopfrontmatter \startbodymatter \dorecurse{20}{\samplefile{lorem}\page} \stopbodymatter \stoptext

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Wolfgang Schuster
} \blank \dontleavehmode\externalfigure[dummy][location=low,height=\lineheight] \samplefile{ward} \blank \samplefile{ward} \inlinefigure[dummy] \samplefile{ward} \blank \inlinefigure[dummy] \samplefile{ward} \stoptext Wolfgang

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster
imp-fontawesome.mkiv \definefontsynonym [FontAwesomeBrands] [file:fontawesome5brandsregular400.otf] \definefontsynonym [FontAwesomeRegular] [file:fontawesome5freeregular400.otf] \definefontsynonym [FontAwesomeSolid] [file:fontawesome5freesol

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Wolfgang Schuster
"yes" as argument but in the second case you have a linebreak before ] which adds a space to the argument which results in "yes " (with a trailing space) as argument. Wolfgang ___ If your qu

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Wolfgang Schuster
document. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https

[NTG-context] Re: Equivalent for hdots and hdotsfor

2023-12-30 Thread Wolfgang Schuster
file and a minimal example of your ConTeXt version. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Wolfgang Schuster
=on]{#1}} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
=on,bottomframe=on]{#1}} \starttext \m{\oldfact{n}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
it as soon as possible. This works here: \defineenumeration   [proof]   [closesymbol={\mathematics{\square}}] \starttext \startproof \samplefile{lorem} \stopproof \stoptext Wolfgang ___ If your question is of interest

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
work, a complete minimal example would be perfect. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Wolfgang Schuster
was mentioned a while ago     https://www.mail-archive.com/ntg-context@ntg.nl/msg106078.html and Hans provided a fix until a new binary is online     https://www.mail-archive.com/ntg-context@ntg.nl/msg106095.html Wolfgang

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-24 Thread Wolfgang Schuster
. \definecapitals[\v!cap] [\v!capital] \definecapitals[\v!Cap] [\v!Capital] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Wolfgang Schuster
here}} You probably also want \text{...} instead of \mathrm{...}. \underbrace{x+y+z}_{\unframed[toffset=1cm]{my text here}} Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Wolfgang Schuster
\starttext xxx \startH yyy \stopH zzz \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
einmal aufzuschreiben.”\blank Der Wert von y = f(x) ist unabhängig von der Wahl\par von x“ ist gleichbedeutend mit ∃y : ∀x : f(x) = y \par (Beutelspacher [10, S.54]). \blank \stopparagraph \stoptext Wolfgang

  1   2   3   4   5   6   7   8   9   10   >