[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-20 Thread Wolfgang Schuster
tion marks slightly into the margin area to have a better alignment of the text alone. begin example \setupwhitespace[big] \showframe[text][text] \definefontfeature[default][default][expansion=quality,protrusion=quality] \starttext \type{alignment: default} \samplefile{lorem} \p

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Wolfgang Schuster
}] \defineframedtext[FunnyText][width=.85\textwidth, height=20mm, frame=off, background=FunnyFrame, align=flushright,location=right, after={\blank[2*big]}]%foregroundsytel amplía la palabra Apartado \def\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut \color[blue]{\tfx Apartado

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
=flushright,location=right, after={\blank[2*big]}]%foregroundsytel amplía la palabra Apartado \def\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut \color[blue]{\tfx Apartado #1}\hss}}} \setMPtext{FunnyFrame}{} % initialize the text variable \define[2]\firstHeadings

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

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

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

2024-05-01 Thread Wolfgang Schuster
on an old mkii style code base. A big difference between the \startlines environment and the format module is that the first treats each line in the input file as a separate line in the output while the format module requires begin/end tags for each line which works better for xml input

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

2024-04-30 Thread Ross Schulman
=center, page=no, after={\thinrule\blank[big]}] \definehead[topic][subject] \setuphead [topic] [ after={\hairline}] \defineitemgroup [timeline] [before=, inbetween=, width=6em] \setuplines[before=,after=,command=\strut] \definelayer[mybkgr][x=0mm,y=0mm, width

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

2024-04-26 Thread Bruce Horrocks
re is no way to "inherit" functionality. You still need to write \setupsidenote to call \setupcounter, \setupframed at the right points to achieve the right effects. What you can do is have \setupsidenote accept all options in one big long list and then pass the ones that apply to se

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
Changing location=none to location=text still left me with the bullet points appearing in a big list at the end of my chapter, but without any messages in them. On Monday, April 22, 2024 at 07:54:39 AM MDT, Joel via ntg-context wrote: A few years back, I tried using endnotes

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen
this acrobat liquid mode does to a document ... the fact that one has to apply 'ai' to a document is a bad omen and makes one wonder ... but anyway, big tech, big money, etc so ... (after visiting a typesetting museum today one again realizes that a few decades from now one will look back in a certain

[NTG-context] Re: upload

2024-04-01 Thread Otared Kavian
right but the attached file works fine in the viewers that we tested).-- We like to hear from users what other demands wrt accessibility there are. We're not interested in the (commercial) big money aspects (of pdf and tagging) nor in the politics behind it (changes over time). What are the deman

[NTG-context] Re: upload

2024-04-01 Thread Mikael Sundqvist
ring right but the attached file works fine in the viewers that > we tested). > > -- We like to hear from users what other demands wrt accessibility there > are. We're not interested in the (commercial) big money aspects (of pdf > and tagging) nor in the politics behind it (

[NTG-context] upload

2024-04-01 Thread Hans Hagen
not interested in the (commercial) big money aspects (of pdf and tagging) nor in the politics behind it (changes over time). What are the demands, so that we can see how to make it work or just work around it (as it's kind of boring to cook uyp complex features , esp compared to playing with metapost

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
} \reference[PQRendPage]{} \stopSourceTitle \page[makeup] \setnumber[userpage][1] \def\Reference{RefSt01} \startStudyTitle[reference={\Reference}, bookmark=Study01, title={}][ author=Author03, title=Study01, authorInitials=XYZ, reference={\Reference}, ] \input knuth \blank[big] \page \dorecurse{15

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

2024-03-20 Thread Hraban Ramm
on art techniques like calligraphy that I never used, and my printing technology stuff was outdated – well… The antiquarian gave me 30€ for a big pile of formerly expensive books, and he probably was generous. Since then I gained a publishing house and had to move three times, my moving helpers

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
possibilities_for_linebreaking_between_character > > ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > > and nihongo_very_strict which each implement one of the 3 cases described > > here: ht

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
; ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > and nihongo_very_strict which each implement one of the 3 cases described > here: https://www.w3.org/TR/jlreq/#addendum_a > > According the *line gap* (

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
t be useful to define three scripts nihongo_loose, nihongo_strict and > nihongo_very_strict which each implement one of the 3 cases described here: > https://www.w3.org/TR/jlreq/#addendum_a > > According the line gap (Otared uses \setupwhitespace[big], which is exceeding

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
ngo_strict and nihongo_very_strict which each implement one of the 3 cases described here: https://www.w3.org/TR/jlreq/#addendum_a According the *line gap* (Otared uses \setupwhitespace[big], which is exceeding common line gaps), I'd like to quote from https://www.w3.org/TR/jlreq/ : /It

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
ee scripts nihongo_loose, nihongo_strict and nihongo_very_strict which each implement one of the 3 cases described here: https://www.w3.org/TR/jlreq/#addendum_a According the line gap (Otared uses \setupwhitespace[big], which is exceeding common line gaps), I'd like to quote from https://www.w3.or

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared Thanks all contributors, I added this to https://wiki.contextgarden.net/Chinese_Japanese_and_Korean I guess you also should set \mainlanguage[ja], I added it, also \mainlanguage[kr

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared Thanks all contributors, I added this to https://wiki.contextgarden.net/Chinese_Japanese_and_Korean I guess you also should set

[NTG-context] Re: Japanese

2024-02-27 Thread Otared Kavian
] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared > On 27 Feb 2024, at 13:55, Jeong Dal via ntg-context > wrote: > > Dear Otared, > > I am using Korean as main language. > I used use typescript file, but recently I use \defi

[NTG-context] Re: Japanese

2024-02-26 Thread Otared Kavian
] \setupbodyfont[JapaneseFont,14pt] \setupruby[location=top,voffset=-1.6ex] \setupwhitespace[big] \starttext \ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。 お\ruby{休}{やす}みなさい^_^ \stoptext %end simple-japanese.tex Best regards: Otared > On 26 Feb 2024, at 21:32, Emanuel Han via ntg-context >

[NTG-context] Re: Japanese

2024-02-26 Thread Emanuel Han via ntg-context
Unfortunately vertical typesetting is not supported by ConTeXt. That's a big pity. If horizontal typesetting is fine, this little working example with furigana might give you some hints. Hiragino Mincho Pro should be installed by Default on MacOS. \enableregime[utf] % enable unicoded input

[NTG-context] Hyperlinks cease working after page selection

2024-02-26 Thread Michael Guravage
be greatly appreciated. \setupinteraction[state=start, color=darkblue] \setupwhitespace [big] \starttext Consult the \goto{\ConTeXt\ wiki}[url(https://wiki.contextgarden.net/)] .\par \dorecurse{5}{\samplefile{lorem}\par} \stoptext Processed as follows: context mwe.tex context --extra=select

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
; I keep bumping into this error, I have no idea what may be causing it, >>>> in a statistics book with lots of math: >>>> >>>> registered function call [250]: >>>> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to >>>>

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
file Im working on has many formulas before that, those work fine. I >> changed all the $...$ to \math{...} just in case, but with no success. >> >> Already tried remaking, regenerating, updating the distribution. >> >> Do you have any ideas to work this out? I don't know ho

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
that, those work fine. I > changed all the $...$ to \math{...} just in case, but with no success. > > Already tried remaking, regenerating, updating the distribution. > > Do you have any ideas to work this out? I don't know how to provide a MWE > for this because it's a very b

[NTG-context] Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
, but with no success. Already tried remaking, regenerating, updating the distribution. Do you have any ideas to work this out? I don't know how to provide a MWE for this because it's a very big project (statistics book). I have tried 2 versions, the system-wide one, just upgraded: mtx-context

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

2024-02-15 Thread Michael Guravage
1}{surname}\ifxmlattempty{#1}{prefix}{}\else{, \xmlatt{#1}{prefix}}\fi}\blank \xmlflush{#1} \stopframedtext \blank[big] \stopxmlsetups % Enumerate the address information \startxmlsetups xml:list:address \xmlatt{#1}{street} \xmlatt{#1}{housenumber}\crlf \xmlatt{#1}{postcode} \xmlat

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

2024-02-14 Thread Jim
t yet have any projects that big. Anyway, good luck with the project. Jim On Tue, Feb 13, 2024 at 22:22 (-), Sir Coleman via ntg-context wrote: > I'm glad to know there's a demand for this book. > Hopefully soon I'll upload a draft of it to GitLa

[NTG-context] Re: Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-14 Thread Hans Hagen
On 2/14/2024 6:10 PM, Henning Hraban Ramm wrote: Sorry, I can’t help ATM. But Hans’ latest upload includes 32bt Linux binaries again. Indeed. I have to improvise a bit as the build is only partially working so some binaries i generate myself and currently we skip luatex (no big deal as most

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-01-29 Thread Taco Hoekwater
i]="%-"..w.."s"..between from templates[i]=“% "..w..”i"..between and that fixed it. The problem here is that the “big" results contain both ttc fonts (with subfont ids, which are numbers) and non-ttc fonts (with empty subfont ids, and those are strings). T

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

2024-01-23 Thread Thomas Meyer
tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! You need a fixed space (multiple of the line distance) between the text blocks and \vfill is a variable space which isn't what you want here. TO get the desired

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

2024-01-22 Thread Wolfgang Schuster
. Maybe \startlinecorrection helps… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! You need a fixed space

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

2024-01-22 Thread Thomas Meyer
… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! Hans, how about adding \blank[fill] for a vertical fill that keeps

[NTG-context] Re: Looking for itemize help

2024-01-16 Thread Jim
On Tue, Jan 16, 2024 at 01:15 (+), Bruce Horrocks wrote: > On 15 Jan 2024, at 16:15, Jim wrote: >> I would like >> something which automagically "does the right thing". > Not pretty, but... :-) > \setupwhitespace [big] > \setuppapersize [letter] >

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Bruce Horrocks
On 15 Jan 2024, at 16:15, Jim wrote: > > I would like > something which automagically "does the right thing". Not pretty, but... :-) \setupwhitespace [big] \setuppapersize [letter] \define[1]\mystopitemize{\stopitemize\doifsamestringelse{#1}{\par}{\blank}{#1}} \startt

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
On Mon, Jan 15, 2024 at 17:39 (+0100), Wolfgang Schuster wrote: > Jim schrieb am 15.01.2024 um 01:42: >> I have >> \setupwhitespace [big] >> so that I get "a blank line" between paragraphs. >> I would like to *not* have "blank lines" before and af

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Wolfgang Schuster
Jim schrieb am 15.01.2024 um 01:42: I have \setupwhitespace [big] so that I get "a blank line" between paragraphs. I would like to *not* have "blank lines" before and after my items. For example, if there is more "paragraph text" after the last item I wo

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Jim
ut "should", but I will point out it isn't, at least on my >> computer with a recently updated context. >> Here is a non-minimal but short non-working example. >> %%% >> \setupwhitespace [big] >> \setuppapersize [letter] >> \starttext >> This is a sh

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Rogers, Michael K
> >> \startitemize[packed,joinedup] should be the right combination. > > I won't argue about "should", but I will point out it isn't, at least on my > computer with a recently updated context. > > Here is a non-minimal but short non-working example. > > %

[NTG-context] OT: special ToC

2024-01-15 Thread Henning Hraban Ramm
I came across a table of contents style that’s hardly possible with TeX: https://historians.social/@dbellingradt/111760591144801241 (image is too big for the ML) (Yes of course you can do it with manual references and MetaPost lines…) ;D

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
is a non-minimal but short non-working example. %%%%%%% \setupwhitespace [big] \setuppapersize [letter] \starttext This is a short paragraph. This is a line before a {\bf packed, joinedup} itemization. \startitemize[packed,joinedup] \item First item. \item Second item. \stopitemize

[NTG-context] Looking for itemize help

2024-01-14 Thread Jim
I have \setupwhitespace [big] so that I get "a blank line" between paragraphs. I would like to *not* have "blank lines" before and after my items. For example, if there is more "paragraph text" after the last item I wo

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Bruce Horrocks
ed the file with Inkscape and converted >> everything in curves. The PDF is even smaller now, and it proves that the >> problem was with the fonts. Saving it in Acrobat Pro didn’t help. >> BTW the "compact" settings didn’t change anything for my big songbook >> (hundred

[NTG-context] Re: font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
was with the fonts. Saving it in Acrobat Pro didn’t help. BTW the "compact" settings didn’t change anything for my big songbook (hundreds of note line PDFs with included fonts); I’m not sure about the code examples in my ConTeXt book. I found more graphics (PDFs with incl

[NTG-context] Re: font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
it in Acrobat Pro didn’t help. BTW the "compact" settings didn’t change anything for my big songbook (hundreds of note line PDFs with included fonts); I’m not sure about the code examples in my ConTeXt book

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
king point? Or maybe have a copy of the card game to hand and challenge them to find a randomly drawn card in the QR code? I don’t think I understand your intention. I wouldn’t construct a QR code out of other stuff, it would become too big. Hraban _

[NTG-context] Re: 2024

2024-01-02 Thread Fabrice L
It's not that much code but I need to add a keyword interface. It's also > something we might play with a little at this years meeting so ... > > (I added a gray scale option for tyhose without color printer.) > > Here's a big one (the xmas card): > > http://www.pragma-ade

[NTG-context] Re: 2024

2024-01-02 Thread Hans Hagen via ntg-context
for tyhose without color printer.) Here's a big one (the xmas card): http://www.pragma-ade.nl/ctx-group-2023.pdf Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
crit : >> >>> Hi, >>> >>> On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur >>> wrote: >>> > >>> > Thank you for your suggestion but in the following example the >>> operational symbol is too big as well as the number

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
> >> On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur >> wrote: >> > >> > Thank you for your suggestion but in the following example the >> operational symbol is too big as well as the number 1. >> > >> > \mapfontsize[modern][scr

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Well, actually I get the same thing . [image: test.png] Le ven. 29 déc. 2023 à 16:00, Mikael Sundqvist a écrit : > Hi, > > On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur > wrote: > > > > Thank you for your suggestion but in the following example the > operationa

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
ing example the operational > > symbol is too big as well as the number 1. > > > > \mapfontsize[modern][script] [.4] > > \mapfontsize[modern][scriptscript][.2] > > > > \setupbodyfont[modern,12pt] > > > > \startTEXpage[offset=1DK] > &

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur wrote: > > Thank you for your suggestion but in the following example the operational > symbol is too big as well as the number 1. > > \mapfontsize[modern][script] [.4] > \mapfontsize[modern][scriptscript][.2] > > \s

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Thank you for your suggestion but in the following example the operational symbol is too big as well as the number 1. \mapfontsize[modern][script] [.4] \mapfontsize[modern][scriptscript][.2] \setupbodyfont[modern,12pt] \startTEXpage[offset=1DK] \m{z_{n+1}} \stopTEXpage Le ven. 29 déc. 2023 à

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur wrote: > > Hi, > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find > that the subscript notations are a little too big : how can I improve this ? > Thanks > Fabrice > > \m{ \forall n \in N

[NTG-context] Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Hi, To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find that the subscript notations are a little too big : how can I improve this ? Thanks Fabrice \m{ \forall n \in N, z_{n+1}=\frac{i}{3}z_n

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
-context@ntg.nl Betreff: [NTG-context] Re: QR Code Am 18.12.23 um 17:05 schrieb Ursula Hermann: > Dear List > After compiling > \usemodule[m-zint] > \starttext > \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] > \barcode[alternative=qrcode, text={wie weet wa

[NTG-context] Re: QR Code

2023-12-19 Thread Ursula Hermann
Ursula Hermann: > Dear List > After compiling > \usemodule[m-zint] > \starttext > \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] > \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, > width=3cm] \stoptext > > I got , what y

[NTG-context] Re: QR Code

2023-12-18 Thread Henning Hraban Ramm
Am 18.12.23 um 17:05 schrieb Ursula Hermann: Dear List After compiling \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, width=3cm] \stoptext I got , what you see

[NTG-context] Re: QR Code

2023-12-18 Thread vm via ntg-context
On 18/12/2023 17:05, Ursula Hermann wrote: After compiling \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, width=3cm] \stoptext I got , what you see in the pdf. context

[NTG-context] Re: QR Code

2023-12-18 Thread Ursula Hermann
Dear List After compiling \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, width=3cm] \stoptext I got , what you see in the pdf. Many Thanks Uschi -Ursprüngliche

[NTG-context] Re: QR Code

2023-12-18 Thread vm via ntg-context
] \stoptext Is that the right way? just \usemodule[zint] For what it is worth, the [zint] variant does not work on my linux platform, the [m-zint] does work correctly. \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode

[NTG-context] Re: Fractions

2023-12-10 Thread Gavin via ntg-context
st, though. > > Thank you! > > I usually only need simple inline fractions like 1/n, 1/2 or 3/8 in text. > With these and \frac, the spacing below the numerator (depth) is too big, > while the denominator sticks too tightly to the fraction bar. > (Of course I use regular numbers for f

[NTG-context] Re: Fractions

2023-12-10 Thread Henning Hraban Ramm
it through to the list, though. Thank you! I usually only need simple inline fractions like 1/n, 1/2 or 3/8 in text. With these and \frac, the spacing below the numerator (depth) is too big, while the denominator sticks too tightly to the fraction bar. (Of course I use regular numbers for fractions

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
gt;> new version is about 0.5% slower, so there is a very minor downside. (I'd >> happily spend the extra matches for the minuscule amount of CPU time, but >> others may not.) > the .5% precen tis no big deal, also because this script is not that time > critical (the code cou

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Hans Hagen
matches for the minuscule amount of CPU time, but others may not.) the .5% precen tis no big deal, also because this script is not that time critical (the code could be made a bit faster anyway) so i'll add the few lines so those 14 minutes, was that N times a file or 1 time a huge file? Hans

[NTG-context] Re: It works after a few changes but ..

2023-11-23 Thread Ursula Hermann
25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic,

[NTG-context] Re: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
tomframe=on,rulethickness=1pt,width=1cm] > \margintext{\blackrule[color=black, height=0.25ex, > width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] > \setupenumerations [ before={\blank[big]}, > after={\blank[big]}, > location=serried, > width=broad

[NTG-context] Re: It works after a few changes but ..

2023-11-20 Thread Ursula Hermann
25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic,

[NTG-context] Re: It works after a few changes but ..

2023-11-18 Thread Bruce Horrocks
\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theor

[NTG-context] It works after a few changes but ..

2023-11-17 Thread Ursula Hermann
[ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic, list=all

[NTG-context] Re: named destinations in /GoToR

2023-11-13 Thread Michal Vlasák
e if ConTeXt can't find the file, the auto mode fails and you get named destinations unless in page mode (`page=page`). Whether something better can be done (and in a backwards compatible way) at the ConTeXt side I am not sure, I did

[NTG-context] Re: Large unwanted white space

2023-10-22 Thread Fabrice Couvreur
(i*u,0) shifted(t*u,0) withcolor \MPcolor{blue}; > >endfor > >endgroup > >enddef; > > > >def cross (expr n, t) = > >begingroup > >numeric u; > >u := 5mm; > >pickup pencircle scaled 5pt; > > for i=-n upto

[NTG-context] Re: Large unwanted white space

2023-10-21 Thread Hans Hagen
% big unwanted white space \starttext % \startex First exercise \startlinecorrection[blank] \startmidaligned \startcombination[1*2] {\startMPcode Suite(2,0); cross(1,1); Suite(4,4); cross(2,6

[NTG-context] Large unwanted white space

2023-10-21 Thread Fabrice Couvreur
) shifted(t*u,0) withcolor \MPcolor{blue}; endfor endgroup enddef; \stopMPcode __ %horizontal line % big unwanted white space \starttext % \startex First exercise \startlinecorrection[blank] \startmidaligned

[NTG-context] Re: regular online meetup

2023-10-15 Thread Henning Hraban Ramm
(also not the unusual “big” number of participants – the capacity is usually enough for ~150 people, they say). Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Keith McKay
h = (z0--z4--z5--z1--cycle),               direction = "left",               alternative = "linear",               colors = {"black", "lightgray"},             ] ; Le ven. 6 oct. 2023 à 08:27, Henning Hraban Ramm a écrit : While the luametafun (“Metaf

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Fabrice Couvreur
= "linear", colors = {"black", "lightgray"}, ] ; Le ven. 6 oct. 2023 à 08:27, Henning Hraban Ramm a écrit : > While the luametafun (“Metafun XL”) manual is also (meta)fun, I meant > the general metafun(-s|-p) manual, the big one (>400 p.

[NTG-context] Re: Gray gradient with Metapost

2023-10-06 Thread Henning Hraban Ramm
While the luametafun (“Metafun XL”) manual is also (meta)fun, I meant the general metafun(-s|-p) manual, the big one (>400 p. in the “print” version, >600 p. in the “screen” version). Recommended! Hraban Am 06.10.23 um 10:08 schrieb Keith McKay: Also look at the LuaMetaFun manual cha

[NTG-context] Re: XML processing beginner's question

2023-08-22 Thread Hans Hagen via ntg-context
On 8/22/2023 8:53 AM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: Hans Hagen via ntg-context Gesendet: Montag, 21. August 2023 19:09 you need a bit of imagination because basically (depends a bit on what you do) one big nested expansion is going on, as Thomas explained

[NTG-context] Re: XML processing beginner's question

2023-08-22 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen via ntg-context > Gesendet: Montag, 21. August 2023 19:09 > > you need a bit of imagination because basically (depends a bit on what you > do) one big nested expansion is going on, as Thomas explained: using setups >

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Hans Hagen via ntg-context
and then processed. But I definitely get the "do my homework for me" vibe, so this will be all from me. in addition: you need a bit of imagination because basically (depends a bit on what you do) one big nested expansion is going on, as Thomas explained: using setups which are basically macr

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
}] or \starttabulate[|p(.15\textwidth)s{nopenalties}|ps{nopenalties}|] but i admit it needs some thought ... outer level only but that is also pretty much an engine thing then (no big deal but ... needs pondering) Thanks, I guess that should be added to this page: https://wiki.contextgarden.net/Tabulate I'll

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
f asdf asdf asdf asdf sdf asdf asdf asdf > > asdf asdf > asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf > > \NC \NR > > \stoptabulate > > > > \stoptext > \startsetups[nopenalties] > \setdefaultpenalties > \stopsetups > > > % \setuptabulate[setups

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
[inner=\setups{nopenalties}] or \starttabulate[|p(.15\textwidth)s{nopenalties}|ps{nopenalties}|] but i admit it needs some thought ... outer level only but that is also pretty much an engine thing then (no big deal but ... needs pondering) Hans

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
of commands defined. \starttable[n,four][inbetween={\blank[big]}] \dorecurse{10}{ \startitem \im{\sqrt{1/x}} \stopitem \startitem \im{\sqrt{\frac{2}{x}}} \stopitem \startitem \im{\frac{3}{x}} \stopitem

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
exercici[reference=...,title=...] > >     - \placetable[][]{}{...} -->  > \startplacetable[reference=...,location=...,title=...] ... \stopplacetable > >     - Llimones \hfill 6  -->  Llim

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
,title=...]     - \placetable[][]{}{...} -->  \startplacetable[reference=...,location=...,title=...] ... \stopplacetable     - Llimones \hfill 6  -->  Llimones \filler[symbol] 6     - \bigskip  -->  \blank[

[NTG-context] Re: Why overbar is so big

2023-08-14 Thread Xavier B.
Yes. It works without lualibs-os Thanks ___ 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/listinfo/ntg-context webpage

[NTG-context] Re: Why overbar is so big

2023-08-14 Thread Hans Hagen via ntg-context
On 8/14/2023 9:13 AM, Xavier B. wrote: It does not work: \directlua{ 34require "lualibs-os" 35 >> tex.sprint(math.floor(os.resultof("git log --pretty=oneline | wc -l")+1))} What do you run directlua in LMTX? in this case, what does does lualibs-os provide? os.resultof is built

[NTG-context] Re: Why overbar is so big

2023-08-14 Thread Xavier B.
It does not work: \directlua{ 34require "lualibs-os" 35 >> tex.sprint(math.floor(os.resultof("git log --pretty=oneline | wc -l")+1))} What do you run directlua in LMTX? ___ If your question is of

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Hans Hagen
On 8/13/2023 10:39 PM, Xavier B. wrote: Running LMTX I have an error: lualibs-os not found: lua error > lua error on line 35 in file ng-pre-informacio-document.conTeXt: token call, execute: ...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module 'lualibs-os' not found:

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Xavier B.
Running LMTX I have an error: lualibs-os not found: lua error > lua error on line 35 in file ng-pre-informacio-document.conTeXt: token call, execute: ...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module 'lualibs-os' not found: no field

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Mikael Sundqvist
Hi, On Sun, Aug 13, 2023 at 9:13 AM Xavier B. wrote: > > So, > > Finally is it a bug in MKIV? It seems you fix some kind of bug in your > messages. Is it true? > > > The output with Luametatex is correct but Luatex creates a raised bar > > (and different linebreaking). > > > >

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Hans Hagen via ntg-context
On 8/13/2023 9:08 AM, Xavier B. wrote: So, Finally is it a bug in MKIV? It seems you fix some kind of bug in your messages. Is it true? Not really. It's a a bug in the fonts (that will stay if only for compaibility reasons). There is a catch in mkiv that compensates for it but only when

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Xavier B.
So, Finally is it a bug in MKIV? It seems you fix some kind of bug in your messages. Is it true? > The output with Luametatex is correct but Luatex creates a raised bar > (and different linebreaking). > > \showglyphs > > \startTEXpage[offset=1ex] > \ruledhbox{$\overline{OA}

[NTG-context] Re: Pass string into text background graphic

2023-08-12 Thread Hans Hagen via ntg-context
\definetextbackground[TextConcurrentFrame][ mp=GraphicConcurrent, frame=off, topoffset=1em, leftoffset=1em, before=\blank[2*big], after=\blank, location=paragraph, ] \startsetups concurrent:before \ConcurrentTextSet{% % Be sure to format "a.m." and other special

  1   2   3   4   5   6   7   8   9   10   >