[NTG-context] [ update message ]

2023-05-07 Thread vm via ntg-context
running the sh install.sh script to update to the latest version i get a message: /home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option '--socket' there is probably a reason for it, context seems to compile just fine. mtx-context | current version: 2023.05.05 18:39

[NTG-context] [ error installing fresh lmtx]

2023-05-29 Thread vm via ntg-context
using linux pop!os 22.04 https://www.pragma-ade.nl/install.htm download http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip mkdir context cd context unzip context-linux-64.zip sh install.sh ... <+ /home/vm/context/tex/texmf-context/tex/context/base/mkiv/luat-sto.lua><+ /home/vm/cont

Re: [NTG-context] TiKz with LMTX

2023-06-05 Thread vm via ntg-context
On 05/06/2023 07:43, Mikael Sundqvist via ntg-context wrote: For whatever it is worth, I just tried to install tikz with mtxrun --script install-modules --install tikz and then your example in your first mail did compile here (and gave a cross, and that looks right from the source). did e

[NTG-context] [ odd spacing ]

2023-08-15 Thread vm via ntg-context
Placing identical images in a n x m grid shows extra space every two rows. Also the vertical and horizontal spaces are different. There is probably a reason for this to happen, but how to avoid it ? .Floris [MWE] \starttext \startTEXpage[offset=10mm, pagestate=start] \startcombination[nx=3

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread vm via ntg-context
thanks! On 15/08/2023 21:26, Hans Hagen via ntg-context wrote: you're missing \startcaption \stopcaption after each content section indeed, adding \startcaption\stopcaption at each line will make the spacing equal. A different approach is to use \dontleavehmode \dontleavehmode \framed[f

[NTG-context] [ export to svg ]

2023-08-19 Thread vm via ntg-context
Is there a (simple) way to export the results of a \startMPpage ... \stopMPpage directly to a svg file? My current route is to import the pdf into inkscape, group path objects by stroke color, then save the result as svg and translate that into a hpgl format for the pen plotter. I guess/hope

[NTG-context] Re: [ export to svg ]

2023-08-19 Thread vm via ntg-context
On 19/08/2023 15:05, Hans Hagen via ntg-context wrote: mutool can do that indeed. context test.tex mutool convert -F svg test.pdf thank you! .F ___ If your question is of interest to others as well, please ad

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread vm via ntg-context
On 18/09/2023 17:07, Michael Loescher wrote: \starttext \type{hello} \stoptext here too (linux pop!os 22.04) something goes unexpected: ! Control sequence expected instead of undefined. \buff_verbatim_type_normal ...chained \t!verbatim \currenttype \??type \clf_type data{\protected

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread vm via ntg-context
On 18/09/2023 17:47, Hans Hagen wrote: i uploaded again now using binaries i compiled on my machine (linux 64 and windows 32/64/arm -- maybe a good time time to drop 32 bit) works! .F ___ If your question is of

[NTG-context] [ metapost -> svg ]

2023-11-05 Thread vm via ntg-context
With the latest lmtx installed, what would be the correct cli command to generate a svg outputfile from a metapost source? .Floris ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: [ metapost -> svg ]

2023-11-07 Thread vm via ntg-context
On 07/11/2023 14:54, Lutz Haseloff wrote: mutool convert -o metapost.svg -O text=path metapost.pdf Hope it helps a little yes, mutool was the key to remember. thanks! .F ___ If your question is of interest to

[NTG-context] [ how to force hyphenation all words ]

2023-11-16 Thread vm via ntg-context
Is there a command in context to force every word in a text to hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes" Thanks .Floris ___ If your question is of interest to others as well, please add an entry t

[NTG-context] Re: QR Code

2023-12-18 Thread vm via ntg-context
On 18/12/2023 15:13, Ursula Hermann wrote: Dear  List I was interested how it works. So I started this example. \starttext \usemodule[m-zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, width=3cm] \stoptex

[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 4

[NTG-context] Re: 2024

2024-01-01 Thread vm via ntg-context
On 01/01/2024 13:28, Hans Hagen wrote: Of course it screams metapost but tex and lua are also involved. See it as compensation for the lack of an end-of-year update. The last page of the result has a bit of explanation. Beautiful indeed ! (And thank you for all the good work) Is the puzzle

[NTG-context] Re: 2024

2024-01-01 Thread vm via ntg-context
On 01/01/2024 13:28, Hans Hagen wrote: https://www.pragma-ade.nl/2023 502 Bad Gateway nginx/1.21.5 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Re: Question to a formular

2024-01-05 Thread vm via ntg-context
On 05/01/2024 14:27, Ursula Hermann wrote: This is a formular  with  factorial. 0! := 1 (n + 1)! := (n + 1) n! this looks more like a code example than a math formula Can someone help me please? \starttyping 0! := 1 (n + 1)! := (n + 1) n! \stoptyping ___

[NTG-context] [ flowing figures ]

2024-01-11 Thread vm via ntg-context
How can I wrap an externalfigure into a box that can be placed within running text? Should I wrap the externalfigure into a start/stop buffer, then place it? Some hints? .Floris ___ If your question is of interest t

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread vm via ntg-context
On 11/01/2024 19:52, Henning Hraban Ramm wrote: Here’s a preliminary schema of LMTX. What do you think? as is, it is difficult to understand where to look. what does is describe? e.g. what is the distinction between the 'source' (lua tex) and the 'resources' (fonts icc lib) and the 'fronten

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread vm via ntg-context
On 12/01/2024 00:18, Bruce Horrocks wrote: 3. I though Hans had stopped using the TeX style capitalisation now i.e. just "Context"? Maybe this is the time to change to a 'ctx' token instead of 'context' (e.g. a lot ambiguity when searching online) ctx as in cee-tee-ex or if you want it to

[NTG-context] [ \copypages ]

2024-01-17 Thread vm via ntg-context
Is there a (hidden) option that allows for changing the font color of external included pdfs \copypages[file.pdf][color=blue] does not work as intended ;-) .Floris ___ If your question is of interest to others a

[NTG-context] Re: upload

2024-01-20 Thread vm via ntg-context
On 20/01/2024 09:38, Hans Hagen via ntg-context wrote: can you try again it made a difference, no 404 ;-) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-c

[NTG-context] Re: \starttable questions

2024-01-25 Thread vm via ntg-context
On 26/01/2024 01:52, Jim wrote: I won't argue with you about readability of tables, but if I am typesetting something for someone and they want it a certain way, I don't want to get into an argument about it with them either. :-) It all depends on the level of ignorance of your client. e.g.

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

2024-01-28 Thread vm via ntg-context
while also on linux platform: mtxrun --script font --list --spec --filter="fontname=ibm*" mtxrun --script font --list --spec --filter="fontname=ple*" give correct result (as in listing the available installed ibmplex fonts) mtxrun --script font --list --spec --filter="fontname=*" mtxrun --scr

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread vm via ntg-context
On 02/03/2024 13:46, Pablo Rodriguez via ntg-context wrote: Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. same here ___ If your question is of interest to others as well, please add

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-04 Thread vm via ntg-context
On 04/03/2024 09:08, Hans Hagen via ntg-context wrote: You're missing the fact that the font has an issue. I can add a workaround, assuming that (as often) issues become features. A useful feature, if it not already exists, might be a tool to detect whether a font has issues. That can help

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

2024-04-06 Thread vm via ntg-context
\starttext \startbuffer \starttabulate[|T] \NC U+0002D \NC - \NC -- \NC --- \NC\NR \NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR \NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR \stoptabulate \stopbuffer \nohyphencollapsing \getbuffer \setupbodyfont[pagella] \getbuffer \dohyphencollapsing \getbuffer \set

[NTG-context] [ using horizontal table lines ]

2024-04-15 Thread vm via ntg-context
I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header \starttable[|r|r|r|r|r|r|r|l|r|r|r|r|][bodyfont=9pt] \NC step\NC frac\NC ival\NC \NC\Use{4}[cI]{freq (Hz)}\NC~\NC\Use{4}[cI]{wavelength (m)}\AR \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC 0

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread vm via ntg-context
On 22/04/2024 14:38, Joel via ntg-context wrote: Is this the correct way to be using the \startpostponing code (see example below)? \starttext     \input knuth \startpostponing     \placefigure{Caption\footnote{message A}}{\externalfigure[cow][width=\textwidth]} \stoppostponing \stoppostp

[NTG-context] Re: Special charakter

2024-05-18 Thread vm via ntg-context
On 18/05/2024 11:17, Thomas Meyer wrote: How can I write Łódź (on a Mac)? Just as you wrote it in your mail message? ConTeXt knows how to deal with utf-8 ___ If your question is of interest to others as well, ple

[NTG-context] Re: Special charakter

2024-05-18 Thread vm via ntg-context
On 18/05/2024 12:54, Thomas Meyer wrote: I know I can copy and paste it, like here (copied from Wikipedia), but if I don't have a template in a hurry ... Your local OS might support some kind of keyboard language typing to place accents, dots and strikings. Check your mac os manual. ___

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread vm via ntg-context
On 21/05/2024 15:54, Wolfgang Schuster wrote: \setupmarginblocks[inbetween=] \starttext \dorecurse{100}   {\bold{#1:} \samplefile{ward}%    \startmarginblock Note #1\stopmarginblock    \par} \stoptext when I compile this, i get per page with \par 1..10 -> the notes 1..11 \par 11..20 ->

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread vm via ntg-context
just noticed that if the notes need more margin space then are pages available by the text, they get lost. e.g. this mwe generates 10 pages with 100 par but only 80 notes will show up. \setupmarginblocks[inbetween=] \starttext \dorecurse{100} {\bold{#1:} \samplefile{ward}% \startmarginb

[NTG-context] Re: Number in a circle

2024-05-27 Thread vm via ntg-context
if you make width and hwight 1.4en instead of 1.5em, the characters will align with the running text. \defineframed [textcircled] [ width=1.4em, height=1.4em, location=low, corner=round, %radius=.5fw, radius=\dimexpr\framedwidth/2\relax, offset=none] \starttex

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread vm via ntg-context
in the document https://wiki.contextgarden.net/images/8/8c/xhtml.pdf near the end an essential line got truncated: \startxmlsetups xml:img \placefigure[here] [\xmlatt{#1}{src}] {\xmlatt{#1}{alt}} {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("\xmla \stopxmlsetups how should this l

[NTG-context] Re: Scale notation base on current font

2024-06-08 Thread vm via ntg-context
On 08/06/2024 13:16, seyal.zav...@gmail.com wrote: \definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand= \scale [height=0.7ex] \raise 0.2ex\hbox, ] \starttext hello \Mynote{refrence} \placenotes[Mynote] \stoptext add {} this works: \s

[NTG-context] [ remove all metadata in pdf ]

2024-06-10 Thread vm via ntg-context
Is there a parameter for context lmtx to strip all metadata from the generated pdf? Or is that a better task for exiftool afterwards? .F ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Re: table float split behavior

2024-07-08 Thread vm via ntg-context
On 08/07/2024 14:39, Bruce Horrocks wrote: \defineselector [caption] [max=2] \starttext \setupfloatsplitting [inbetween={\setupselector[caption][n=2]}] \setupselector[caption][n=1] \placetable[split] {\select{caption} {Parameters of \type{\setupsomething}. You can also use the param

[NTG-context] Re: table float split behavior

2024-07-08 Thread vm via ntg-context
On 08/07/2024 16:25, Henning Hraban Ramm wrote: Try #1, it often works where \recurselevel fails. That gives the intended numbers. Thank you ___ If your question is of interest to others as well, please add an e

[NTG-context] Re: Quotation mark in drop caps

2024-07-10 Thread vm via ntg-context
On 11/07/2024 01:55, Thangalin wrote: Any other ideas? Yes, change/edit the text to avoid the quotation marks in the first place. e.g. There are always better/simpler ways to achieve the story to be told. Trace back to the underlying idea as why these drop capitals were invented in the f

[NTG-context] [ how to remove speae before (and after) \startitemize ?

2024-08-25 Thread vm via ntg-context
Any hint as how to remove the automatic default space before and after \startitemize and have equal line spacing between all text lines? \starttext one two three \startitemize[packed] \item one \item two \item three \stopitemize four five six \stoptext

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread vm via ntg-context
this will go wrong as well: \starttext \dorecurse{15}{\ssd \input knuth {\color[red]{\pagenumber}} } \stoptext and this as well: \starttext \dorecurse{15}{\tfb \input knuth {\color[red]{\pagenumber}} % as expected } \stoptext and so does this: \setupinterlinespace[16pt] \starttext \dorecu

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread vm via ntg-context
On 10/09/2024 06:32, ai2472206...@yeah.net wrote: I changed the command, and now I get the correct page number with this command, \ but how should he do the calculation? this gives an interesting result with a colorful mix of page numbers, although it is not obvious to me as why. \setupi

[NTG-context] Re: How can a macro check how many items are in a list?

2024-11-03 Thread vm via ntg-context
and/or add the number of items to be expected: \starttexdefinition protected thisiymylist [#1] \getcommalistsize[#1] \doifelse{\commalistsize}{1} {Read the prompt below:\par} {Read {\em all} the \the\numexpr \commalistsize -1\relax\ prompts below:\par} \startitemize[n] \doloopov

[NTG-context] Re: Seeking Advice on Electron Configuration Notation in ConTeXt

2024-10-31 Thread vm via ntg-context
On 31/10/2024 18:02, Henning Hraban Ramm wrote: If you think that’s LaTeX, you shouldn’t try to write ConTeXt modules. Well if i compile it with context, most of the pdf is empty. So it was my first guess ;-) ! Undefined control sequence. \startArticle [ modules.pdf Descript

[NTG-context] Re: Spacing issue in \digits with mode=3

2024-10-26 Thread vm via ntg-context
On 26/10/2024 11:32, Kirill Davidov wrote: I don't have much of an idea as to what causes it. It doesn't seem to be an issue in mode 1, although it may be simply not as noticeable. This also affects \unit. if you replace \digits{_1.=} with \digits{_2.=} things seem to look no

[NTG-context] Re: Seeking Advice on Electron Configuration Notation in ConTeXt

2024-10-31 Thread vm via ntg-context
On 31/10/2024 16:47, Henning Hraban Ramm wrote: Find attached the uncompleted CGJ article that I made from Wolfgang’s presentation and additional hints (still need to include some more that he gave to my in German). the file is in latex, not context i assume?

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread vm via ntg-context
On 20/09/2024 04:57, Joel via ntg-context wrote: Anyway, my boss is upset she has to use a table of contents to navigate to the page she wants, and so wants me to split the file into 180 separate files, which somehow is going to be easier to look at. Honestly, she probably still won't eve

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread vm via ntg-context
On 20/09/2024 10:33, denisma...@mailbox.org wrote: indeed:> I was going to suggest pdftk which is similar to mutools. indeed: pdftk document.pdf burst will generate pg_.pdf individual pdf pg_0001,pdf pg_0002,pdf pg_0003,pdf pg_0004,pdf ... ___

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread vm via ntg-context
On 03/10/2024 10:49, juh+ntg-context--- via ntg-context wrote: I tried to put the header into the before part of setupseparatedlist, but this does not work. I also fear that I cannot do it with this module. Are there other means to build a table from csv? have you checked the handlecsv m

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread vm via ntg-context
On 03/10/2024 14:15, Wolfgang Schuster wrote: Afterwards you can use a loop to create a TeX table out of the stored Lua table. just the freshup the mind, how do you include a \setupTABLE in the lua section? like \setupTABLE[r][first][background=color, backgroundcolor=yellow] .F __

[NTG-context] Re: [ imposition schemas ]

2024-11-24 Thread vm via ntg-context
On 25/11/2024 01:55, Bruce Horrocks wrote: I see. The following will give you 20 pages per stack. To get 24 you’ll need to create \arrangedpageK and add it in following the same pattern as A-J. thanks .F ___ If

[NTG-context] [ errors imposition example ]

2024-11-24 Thread vm via ntg-context
while trying the "Getting the last page of a Booklet" example on the wiki page https://wiki.contextgarden.net/Imposition context complains: open source > level 1, order 2, name './imposition_test2.tex' ! Control sequence expected instead of undefined. \v!nextquadruple \installpagebreak

[NTG-context] [ imposition schemas ]

2024-11-20 Thread vm via ntg-context
Due to the sheer amount of possibilities combined with my current lack of full understanding how parameters work, what would be the (simple) way to layout an existing pdf containing A5 pages in to groups of booklets different from all or 4 A4 sheets each (32 pages of the pdf) e.g. the 2*2*4 do

[NTG-context] Re: [ imposition schemas ]

2024-11-24 Thread vm via ntg-context
On 24/11/2024 12:46, Bruce Horrocks wrote: Q3: I don’t know of a way to change the number of pages but how would bundles of 5 work since it is not a multiple of 4? You'd combine a number of A4 sheets (each with 4 pages) into stacks. The source for the imposition is a pdf containing A5 pages

[NTG-context] Re: [ extra line in last tabulate column ]

2024-12-24 Thread vm via ntg-context
On 24/12/2024 12:53, Hans Hagen wrote: your choice (i use it here to practice and test) There seems to be a difference in behavior too. In the example the \dorecurse places extra space before the B .Floris 8<--- \starttext \starttabulate[|c|] \HL\expandedrepeat 4 {\NC B\AR\HL} \stopt

[NTG-context] [ layout templates ]

2025-01-05 Thread vm via ntg-context
I missed the first part of the presentation on the new features in lmtx that seem to provide support for layout templates. Is it possible to define page layouts containing shapes where text can flow into? And can you connect chains of shapes / templates? e.g. define a section to start with a pa

[NTG-context] Re: [ scaling colors ]

2025-01-01 Thread vm via ntg-context
On 01/01/2025 22:25, Hans Hagen wrote: define more colors anyway, you can try to comment line 1543 in mlib-pps.lmt and then, after making a new format file, see if \startMPpage     definecolor [ name = "MyColor", r = .5, g = .25, b = .25 ] ;     fill fullsquare xyscaled (40mm, 15mm) withc

[NTG-context] Re: [ natural tables ]

2024-12-29 Thread vm via ntg-context
On 29/12/2024 16:05, Hans Hagen via ntg-context wrote: This gives a clue: \starttext \bTABLE[align={middle,lohi}] \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD[nr=2,nc=2,foregroundcolor=red] 2/3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 4 \eTD \eTR \bTR

[NTG-context] Re: [ natural tables ]

2024-12-29 Thread vm via ntg-context
On 29/12/2024 17:07, Wolfgang Schuster wrote: The manual is typeset with MkII which has the default setting "framecolor=black" for natural tables while the newer systems leave the framecolor value empty. Would it be useful to recompile all online documentation with the current version LM

[NTG-context] [ natural tables ]

2024-12-29 Thread vm via ntg-context
copying the example from page 4 in https://www.pragma-ade.nl/general/manuals/enattab.pdf 8<--- \starttext Natural Tables begin prev next quit 1 2 3 4 1 2/3 4 1 4 1 2 3 4 \bTABLE[align={middle,lohi}] \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD[nr=2,nc=2,color

[NTG-context] nesting \dorecurse ]

2024-12-24 Thread vm via ntg-context
For some reason there is a difference between placing the opening \HL before the \dorecurse and include a closing \HL in the loop, versus placing the opening \HL it in the loop and appending the closing \HL outside the \dorecurse. Is this the reason to use the new \expandedrepeat instead? .Fl

[NTG-context] Re: [ extra line in last tabulate column ]

2024-12-24 Thread vm via ntg-context
for my perception, what is the difference between \dorecurse{5}{ } and \expandedrepeat 5 { } e.g. when to use which? .Floris ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] [ drawing lines with metafun ]

2025-02-12 Thread vm via ntg-context
is it possible when using metafun, given a path to rotate the pen orientation following a different path? e.g. rotating the pen while drawing a line? and/or changing the pen width while drawing? it probably is possible, yet how? Any hints? .Floris __

[NTG-context] Re: playing with dates

2024-12-16 Thread vm via ntg-context
On 16/12/2024 21:03, Pablo Rodriguez via ntg-context wrote: Besides, I think \normalday could be way more useful if it could increment the whole date, not only the day number. does this help? https://www.lua.org/pil/22.1.html > nn = os.date("*t", os.time{year=2024, month=12+15, day=16+19

[NTG-context] Re: playing with dates

2024-12-16 Thread vm via ntg-context
On 16/12/2024 22:18, Pablo Rodriguez via ntg-context wrote: It seems that it is too complex for me (and I have already invested two afternoons in this). For some reason, not meant to be in my case, like everyday for one year 8<--- \startluacode function userdata.now(dd) local wdays = {"

[NTG-context] Re: playing with dates [oneliner]

2024-12-17 Thread vm via ntg-context
or if you want the days: Y=2025 && T="ncal${Y}.tex" && echo "\\setuppapersize[A3]\\starttext\\startTEXpage[offset=5mm]\\starttyping" >${T} && ncal ${Y} >>${T} && echo "\\stoptyping\\stopTEXpage\\stoptext" >>${T} && context ${T} ;-)

[NTG-context] Re: playing with dates

2024-12-17 Thread vm via ntg-context
On 16/12/2024 22:18, Pablo Rodriguez via ntg-context wrote: For some reason, not meant to be in my case, In your terminal, one line fits all ;-) T="cal2025.tex" && echo "\\starttext\\startTEXpage\\starttyping" >${T} && cal 2025 >>${T} && echo "\\stoptyping\\stopTEXpage\\stoptext" >>${T}

[NTG-context] [ pdf images upside down in firefox ]

2024-12-19 Thread vm via ntg-context
This is most likely an issue with firefox, but i noticed that when i create a file with z serie of images, the pdf shows correct in my local gnome document viewer (42.3) but when I vew the same file in firefox, for some unknow reasom the images are upside down. When I download the pdf, then v

[NTG-context] Re: [ pdf images upside down in firefox ]

2024-12-19 Thread vm via ntg-context
On 19/12/2024 16:09, Wolfgang Schuster wrote: Does the effect also happen when you open the figure itself with firefox? The issue manifests itself in ubuntu firefox. It might be related to the image containing camera exif data. When i strip those from the image, the pdf is show correctly

[NTG-context] [ orientation= -90 != 270 ]

2024-12-19 Thread vm via ntg-context
using the \externalfigure option orientation i noticed a difference between orientation=-90 orientation=270 whereas orientation=90 orientation=-270 are identical (as they should) \starttext \startcombination[4 * 2] {\externalfigure[top.jpg][width=40mm, orientation=0]}{0} {\externalfigure[top.j

[NTG-context] [ \startTEXpage with \strut ]

2024-12-07 Thread vm via ntg-context
Trying to get a single page of a specific size, I set the width and height of \startTEXpage only to find out that a \strut as a last command before the \stopTEXpage, will expand the height. 8< \setuppapersize [A2] \starttext \startTEXpage[offset=0mm, width=220mm, height=110mm] MWE without

[NTG-context] [ extra line in last tabulate column ]

2024-12-21 Thread vm via ntg-context
if the last column of a tabulate table is a paragraph, an extra blank line is added at the top, making the last column not align. adding data in the last (non) paragraph column, will make them top align correctly. 8<--- \starttext \starttabulate[|p|p|p|l|][width=\textwidth, split=yes,mar

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] my current lmtx seems to ignore the \definelayout what am i missing? 8<--- \set

[NTG-context] [ page setup ]

2025-01-19 Thread vm via ntg-context
What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ... all hints appreciated .Floris _

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: You can define different layouts like \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] That helps indeed, Thank you! .F _

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 21:43, Mikael Sundqvist wrote: If you are in the middle of a paragraph at the page break where the width changes, it will  not work. ok, so the \definelayout will not work for defining alternate (odd/even) narrow, (odd/even) wide pages. Is there an different route? e.g. manu

[NTG-context] [ scaling colors ]

2025-01-01 Thread vm via ntg-context
with the environment of \startMPcode you can scale a color with a factor like 0.25red and 0.5blue But this not seem to work when you define a color yourself first definecolor [ name = "MyColor", r = .5, g = .25, b = .25 ] ; fill fullsquare xyscaled (40mm, 15mm) withcolor "MyColor" ; fill fulls

[NTG-context] Re: Draw cutting line

2025-04-08 Thread vm via ntg-context
Cutting an A4 landscape in half is plain vanilla 148.5 mm, folding the sheet in two, so why would there be a need to draw a line (that you have to cut exactly in two to avoid bleeding) (just thinking) .F On 08/04/2025 12:36, Henning Hraban Ramm wrote: Am 08.04.25 um 12:18 schrieb alan.caruan

[NTG-context] Re: cutting pages for booklet

2025-02-14 Thread vm via ntg-context
On 14/02/2025 18:21, Pablo Rodriguez via ntg-context wrote: I need to cut the A3 landscape pages in half (two portrait A4 pages) in order to avoid reducing them. if you cut the A3 you'll get two A4; why not use A4 directly without a need for cutting?

[NTG-context] [ error after update ]

2025-02-24 Thread vm via ntg-context
just updated to the latest lmtx 2024.02.24 then checked: context --version and got an error: context: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by context) $ uname -a Linux vmz 6.9.3-76060903-generic #202405300957~1738770968~22.04~d5f7c84 SMP PREEMPT_DYNAMI

[NTG-context] Re: [ error after update ]

2025-02-24 Thread vm via ntg-context
my OS has 2.35 $ ldd --version ldd (Ubuntu GLIBC 2.35-0ubuntu3.9) 2.35 On 24/02/2025 15:21, vm via ntg-context wrote: just updated to the latest lmtx 2024.02.24 then checked: context --version and got an error: context: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not

[NTG-context] Re: [ error after update ]

2025-02-24 Thread vm via ntg-context
On 24/02/2025 16:44, Mikael Sundqvist wrote: The problem got resolved by downloading the installer and install again. Confusing, but... thanks. that brought lmtx back running $ context --version resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', a

[NTG-context] Re: Description Lists with labels longer than a single line

2025-02-25 Thread vm via ntg-context
On 25/02/2025 14:57, denis.ma...@unibe.ch wrote: I have a list of description (used to typeset an index) where in a few cases the label is longer than a single line. Apparantly, the label can’t span multiple lines: Or maybe there’s an easier solution? OR, maybe the descriptions are just

[NTG-context] [ eloy ]

2025-06-24 Thread vm via ntg-context
Jean-Claude ELOY ___ 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://w

[NTG-context] Re: testing tagging for UA-2

2025-07-08 Thread vm via ntg-context
8<--- The European Commission has just announced an agreement whereby English will be the official language of the European Union rather than German, which was the other possibility. As part of the negotiations, the British Government conceded that English spelling had some room for improvem

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread vm via ntg-context
the \recurselevel remains at zero, why? \setupexternalfigures[location=default] \starttext \bTABLE[split=repeat] \dorecurse{20}{\recurselevel\quad } % <-- this shows the \recurselevel \bTABLEhead \bTR \bTD[strut=no,align=middle] \dontleavehmode\externalfigure[hacker][height=4ex] \eTD \eTR \e

[NTG-context] Re: success and a query

2025-07-05 Thread vm via ntg-context
the line number of the warning in the log in one line off: csname overload > warning, protection level 3, control sequence 'Important', properties 'frozen instance protected', file './context 128.tex', line 13 01 begin example 02 %\enabledirectives[overloadmode=error] 03 04 \definehig