[NTG-context] Re: get measures as dimension in Lua

2024-06-13 Thread Henning Hraban Ramm
Am 10.06.24 um 10:58 schrieb Henning Hraban Ramm: local namespace = tokens.getters.macro("??measure") function tex.getmeasure(name,asdimen) local value = tex.getdimensionvalue(namespace..name) if asdimen then return value .. "sp

[NTG-context] Re: regular online meet-up

2024-06-12 Thread Henning Hraban Ramm
Reminder: tonight! Am 09.06.24 um 17:25 schrieb Henning Hraban Ramm: I nearly forgot: You’re invited to our regular online meet-up, this upcoming Wednesday, June 12th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt

[NTG-context] nearly on topic: BoVeX, AI alignment

2024-06-10 Thread Henning Hraban Ramm
Funny idea of replacing hyphenation with LLM-generated alternative wording, also explains a bit how TeX works: http://tom7.org/bovex/ (a SIGBOVIK submission) ;) hr ___ If your question is of interest to others as

[NTG-context] Re: get measures as dimension in Lua

2024-06-10 Thread Henning Hraban Ramm
Thank you, Max, for the effort and Hans for a core solution! Am 10.06.24 um 10:28 schrieb Hans Hagen via ntg-context: Indeed we can have:     local namespace = tokens.getters.macro("??measure")     function tex.getmeasure(name,asdimen)     local value =

[NTG-context] get measures as dimension in Lua

2024-06-09 Thread Henning Hraban Ramm
Hi, when I define a measure on the TeX side, I used to get at the value in Lua with tex.getdim, like: \definemeasure[Bleed][3mm] tex.getdimen("Bleed") But now I get "incorrect dimen name". I need it as a dimension, since I do calculations with other dimensions like "topspace". How should

[NTG-context] regular online meet-up

2024-06-09 Thread Henning Hraban Ramm
I nearly forgot: You’re invited to our regular online meet-up, this upcoming Wednesday, June 12th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like

[NTG-context] Re: ConTeXt source from XML

2024-06-07 Thread Henning Hraban Ramm
Am 07.06.24 um 21:41 schrieb Pablo Rodriguez via ntg-context: It is part of our task (the one reserved to final users) to compose a proper introduction on how to typeset XML sources with ConTeXt. Have a look at the XMl related articles in https://articles.contextgarden.net/journal/2019.html

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Henning Hraban Ramm
Am 06.06.24 um 09:41 schrieb Lutz Haseloff: Hi all, I can't get Kerning working with Noto Serif. My minimal file is: \definefontfeature[oldstylenumber][onum=yes] \definefont[testnoto][file:NotoSerif-Regular*default at 12pt] \starttext Line 1: {VAVAVAVAVAVA 12345}\par Line 2:

[NTG-context] Re: \item would fit, but was pushed to next page. Work-around or fix?

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 17:33 schrieb Jim: Hi, I had the following structure which ended up at the bottom of a page: … Q1: Is there a Right Way to force ConTeXt to put an \item on the current page? Q2: If not, does anyone wish to suggest some way to trick ConTeXt here, or to do an end-run around

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 16:03 schrieb ai2472206...@yeah.net: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} \starttext \placecontent% if i dont place toc command , ConText can render it. \chapter{anything else} \section{\cmdi{with

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 12:00 schrieb Christoph Edenhauser: My Question is, is it possible to generate a second context file2.tex with the help of this first xml-mapping file1.tex, where all the xml-nodes from the xml file are mapped to contex commands Hi, I don’t find it hard to understand, but I

[NTG-context] Re: Draft vertical text in margins

2024-06-03 Thread Henning Hraban Ramm
Am 03.06.24 um 02:45 schrieb Kip Warner: Hello list, I'd like to place the text "DRAFT" in the left and right side margins of every page, rotated 90 degrees so that the text runs vertically. It would be nice if the text was 180 degrees rotated on the right side in comparison to the left margin.

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
Am 30.05.24 um 19:25 schrieb Kip Warner: On Thu, 2024-05-30 at 18:26 +0200, Thomas A. Schmitz wrote: Is this a message "I'm volunteering to maintain such a ppa" or a message "wouldn't it be nice if someone went out of their way to make my life easier"? Just out of curiosity. Right now it's

[NTG-context] \hfrac undefined in latest

2024-05-30 Thread Henning Hraban Ramm
Hi Hans & Mikael, \hfrac is not defined anymore in latest LMTX, is this intentional? (I don’t need it, it’s just about documentation.) Hraban ___ If your question is of interest to others as well, please add an

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
Am 28.05.24 um 23:49 schrieb Kip Warner: On Tue, 2024-05-28 at 08:17 +0200, Henning Hraban Ramm wrote: Am 27.05.24 um 19:20 schrieb Kip Warner: You could just define a fallback font, like: \definefontfallback[SymbolFB]    [file:symbola.otf]    [0x00300-0x003FF,0x02100-0x02800,0x1F000

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
Am 28.05.24 um 23:50 schrieb Kip Warner: On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: fw is a new dimensio unit only available in LMTX (not in LuaTeX). Just in case it might help, Thanks Pablo. I'm using the context package for Ubuntu Mantic which is version

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Henning Hraban Ramm
Am 29.05.24 um 17:35 schrieb Charles Doherty via ntg-context: I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with: \setupcaptions[number=no] \starttplacefigure[ location={middle,high,low}, reference=fig:logo,

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Henning Hraban Ramm
Am 28.05.24 um 20:06 schrieb Hans Hagen: On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em]     \startluacode    

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Henning Hraban Ramm
Am 29.05.24 um 11:16 schrieb Henning Hraban Ramm: Am 29.05.24 um 11:05 schrieb Sylvain Hubert: I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something before

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Henning Hraban Ramm
Am 29.05.24 um 11:05 schrieb Sylvain Hubert: I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something before? After changes to the source files you must

[NTG-context] Re: Number in a circle

2024-05-28 Thread Henning Hraban Ramm
Am 27.05.24 um 19:20 schrieb Kip Warner: On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: Hi Kip, You may try characters with Unicode slots from U+2460 upto U+2469. They mean circled digits and are available in many fonts. Thanks Ryszard. Those would be perfect, except I can't get

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Henning Hraban Ramm
Am 28.05.24 um 01:24 schrieb Kip Warner: Hello list, I am using BibTeX under ConTeXt to typeset a publication. I noticed while building the publication ConTeXt raises the following non-fatal warning: ... This is BibTeX, Version 0.99d (TeX Live 2023/Debian) The top-level auxiliary

[NTG-context] index sort order (de)

2024-05-14 Thread Henning Hraban Ramm
Hi, I checked the German index sorting rules, and as far as I can tell, all of them are somewhat wrong. – de, default, or no setting (just mainlanguage de) – Duden - DIN 5007-1(:2005) - DIN 5007-2(:1996) - de-AT IMO, "Duden" is obsolete, should be the same as default; it makes no sense to

[NTG-context] Re: regular online meet-up

2024-05-08 Thread Henning Hraban Ramm
Reminder: This is tonight! Am 03.05.24 um 22:40 schrieb Henning Hraban Ramm: You’re invited to our regular online meet-up, this upcoming Wednesday, May 8th, 19:00 CEST (UTC+2!) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all

[NTG-context] Re: transparent color

2024-05-06 Thread Henning Hraban Ramm
Am 06.05.24 um 16:01 schrieb Jacob Kauffmann via ntg-context: Am 06.05.2024 um 10:41 schrieb Hans van der Meer via ntg-context : I would like to use a transparent version of an existing color. Thus \definecolor[transparentcolor][color,t=0.2,a=1] instead of

[NTG-context] Re: transparent color

2024-05-06 Thread Henning Hraban Ramm
Am 06.05.24 um 10:41 schrieb Hans van der Meer via ntg-context: I would like to use a transparent version of an existing color. Thus \definecolor[transparentcolor][color,t=0.2,a=1] instead of \definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1] because I do not know the rgb values of the

[NTG-context] Re: Switch number and enumeration text

2024-05-04 Thread Henning Hraban Ramm
Am 04.05.24 um 04:57 schrieb Jethro Djan: Dear List, I would like to get something like: 1.1 Theorem instead of Theorem 1.1. Seems simple enough but can't figure out how to switch the number and the text. I have the following MWE: \defineenumeration[theorem][   prefix=chapter,  

[NTG-context] regular online meet-up

2024-05-03 Thread Henning Hraban Ramm
You’re invited to our regular online meet-up, this upcoming Wednesday, May 8th, 19:00 CEST (UTC+2!) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like to talk about? I’m

[NTG-context] Re: more register questions!

2024-05-03 Thread Henning Hraban Ramm
Am 03.05.24 um 22:24 schrieb Thomas A. Schmitz: Hi Massi, yes, that was a very good idea! I can detect if the element occurs within a footnote by testing \xmldoiftext {#1} {ancestor::footnote} and then apply a processor to these entries. That would be a good solution for the time being.

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

2024-05-01 Thread Henning Hraban Ramm
Am 01.05.24 um 09:44 schrieb Wolfgang Schuster: but that should be sufficient, but to repeat Hraban's question: What would be the advantage of using the format module? The module provides features like     - alignment of the verse lines     - numbering of the lines (which isn't supported by

[NTG-context] Re: QR Code

2024-04-29 Thread Henning Hraban Ramm
Hi Ben, I’m not sure if this is your issue, but the zint library’s API used to change with every version, so that ConTeXt supports only the “latest” few, and probably that’s still 2.10 to 2.12. I still have 2.12 via MacPorts on MacOS 10.15, and it works. Can you try an older zint version?

[NTG-context] Re: Why Difference Between \placefloat and \definefloat

2024-04-28 Thread Henning Hraban Ramm
Where’s the float type "sidebar" defined? AFAIK it’s not a default type. And it might interfere with the actual sidebar stuff from https://source.contextgarden.net/tex/context/base/mkxl/anch-bar.mkxl, see also https://wiki.contextgarden.net/Command/setupsidebar Hraban Am 28.04.24 um 19:54

[NTG-context] Re: statistical charts module re-published

2024-04-28 Thread Henning Hraban Ramm
tatistical-charts module is now www.thala.cz/statcharts, available also via www.konvoj.cz/statcharts, and mirrored at user.mendelu.cz/thala/statcharts. Best, Tomáš On Fri, Apr 05, 2024 at 08:54:46PM +, Henning Hraban Ramm wrote: Hi, since the Ak

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

2024-04-27 Thread Henning Hraban Ramm
Am 26.04.24 um 18:24 schrieb Wolfgang Schuster: BTW: ConTeXt has a module for poems which can be loaded with \usemodule[format]. Never heard of it. Version says “ancient” ;) https://source.contextgarden.net/tex/context/modules/mkiv/m-format.mkiv What’s the advantage of all this markup over

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

2024-04-26 Thread Henning Hraban Ramm
Am 26.04.24 um 19:52 schrieb Denis Maier via ntg-context: I see. But there's no command that could be used to simulate an empty line? Did you try \vskip{…}? Hraban ___ If your question is of interest to others as

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 15:44 schrieb Thomas A. Schmitz: Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 10:46 schrieb h...@hongfeng.ch: thank you. just tried, not worked out yet. Here it is my text: ``` setuplist[height=0] \startitemize[n] \item It's impossible --- don't waste my time. \item It's possible, but not worth doing. \item I said it was a good ideal all along.

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 10:20 schrieb h...@hongfeng.ch: which parameter in `\setuplist` is used for adjusting the distance between the items of a list? Usually it’s the general line height. You can use "inbetween=\blank[3pt]" to insert extra space. (Untested) Hraban

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

2024-04-24 Thread Henning Hraban Ramm
Am 23.04.24 um 23:14 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 23.04.2024 um 21:43: Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please

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

2024-04-24 Thread Henning Hraban Ramm
Am 24.04.24 um 01:00 schrieb Bruce Horrocks: In the source there is a comment relating to location: %D Regular list entries are bound to a specific location in order to get the right %D pagenumber etc.\ associated. When pushing something inbetween (in mkiv) it ends %D up directtly in the

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

2024-04-23 Thread Henning Hraban Ramm
Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name

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

2024-04-22 Thread Henning Hraban Ramm
Am 22.04.24 um 18:30 schrieb Duncan Hothersall: Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like

[NTG-context] documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what? *

[NTG-context] [off topic] non-English programming languages: Arab and Cuneiform

2024-04-20 Thread Henning Hraban Ramm
Came across this, I guess some of you might find it interesting: https://nas.sr/%D9%82%D9%84%D8%A8/ https://github.com/MrLogarithm/emeszida ___ If your question is of interest to others as well, please add an

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Henning Hraban Ramm
Am 17.04.24 um 23:25 schrieb Garulfo: - exactly, it's not a question of proposing new documents, but of proposing another complementary way of accessing and browsing existing ones. - Actually, the wiki is (or can be) a hub for the 4 needs:   - "Reference" like

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-18 Thread Henning Hraban Ramm
Am 18.04.24 um 02:09 schrieb Joel via ntg-context: I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed on

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Henning Hraban Ramm
Am 17.04.24 um 13:57 schrieb Bruce Horrocks: - There are at least two books, and a third being written but not yet released: these fit into the Tutorials and Explanation quadrants. Which published books do you mean? I know of Alan Braslau’s book, AFAIK that will be published in French

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Henning Hraban Ramm
Am 17.04.24 um 10:36 schrieb Hans Hagen: On 4/17/2024 8:32 AM, Thomas A. Schmitz wrote: On 16. Apr 2024, at 21:56, Peter Hopcroft via ntg-context wrote: On 17/04/2024, at 7:11 AM, Henning Hraban Ramm wrote: In my poster (still WIP) I wrote: … Excellent No, I must admit I don’t

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-16 Thread Henning Hraban Ramm
Am 14.04.24 um 21:45 schrieb Peter Hopcroft via ntg-context: It would be great if the main page actually said what Context does. In my poster (still WIP) I wrote: start --- The “infamous” alternative to LaTeX While most designers use graphical tools, there are still areas where code-based

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-15 Thread Henning Hraban Ramm
I made it work with Pulsar and the pdfjs-viewer plugin: The sourcecode of the plugin is broken but easily fixable: https://github.com/allefeld/atom-pdfjs-viewer/issues/15 Then pdf->tex works with synctex from TeX live, "--synctex=repeat" and a right click in the viewer. Sigh, should I

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 22:25 schrieb Denis Maier via ntg-context: Thomas A. Schmitz > hat am 14.04.2024 22:18 CEST geschrieben: On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Henning Hraban Ramm
Hi Garulfo, I’m not against the “new order”, but I’d keep the colorful subject tiles. Different accesses are good IMO (as long as it doesn’t get to convoluted). I’d say updating, sorting, restructuring pages is more important than a new start page. Yes, please sort out reference vs.

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

2024-04-14 Thread Henning Hraban Ramm
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 didn't find an explanation in https://wiki.contextgarden.net/Command

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-14 Thread Henning Hraban Ramm
Am 13.04.24 um 22:28 schrieb Mikael Sundqvist: What will work will depend on the viewers. We noticed a few weeks ago that synctex (pdf -> editor) was not working in a few viewers (okular) while it was working in others. Could you please tell us which combinations of viewers and editors you

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:21 schrieb Hans Hagen: It fails for me as well, when "mode=columns" is used. compare with and without mode columns: \starttext     \enablemode[columns]     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have     more than one cell in a row.

[NTG-context] Re: regular online meet-up

2024-04-09 Thread Henning Hraban Ramm
reminder: this is tonight (in European perception). Am 07.04.24 um 09:37 schrieb Henning Hraban Ramm: You’re invited to our regular online meet-up, this upcoming Wednesday, April 10th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage     picture tt ; tt := lmt_outline [     kind = "fillup",     text = "\definedfont[name:texgyrepagellabold*default]foo f o o",     ] xsized 12cm ;     path bb ; bb := boundingbox tt ;     path pp ; pp := bb enlarged 2cm ;    

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 15:51 schrieb Keith McKay: Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans gave a great solution. Neither for the example in

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

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 11:17 schrieb Ulrike Fischer: Am Sun, 7 Apr 2024 09:31:30 +0200 schrieb Henning Hraban Ramm: Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it Oh

[NTG-context] regular online meet-up

2024-04-07 Thread Henning Hraban Ramm
You’re invited to our regular online meet-up, this upcoming Wednesday, April 10th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like to talk about?

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

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it Oh, as usual with PDF association… That’s not how you promote open standards. (Didn’t check, jost forwarded

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

2024-04-06 Thread Henning Hraban Ramm
Quoting a post by Philipp Kiff, https://mastodon.social/@pkiff/11221949350928: In amongst the release of PDF/UA-2 (PDF for Universal Accessibility) and the new Well-Tagged PDF (WTPDF) standard last month, some PDF professionals may have missed two other new resources that may help

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

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disable,nowhite,back}" https://wiki.contextgarden.net/Command/setupfloat

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

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on

[NTG-context] statistical charts module re-published

2024-04-05 Thread Henning Hraban Ramm
Hi, since the Akela server at Mendel University is down since a while, I got no response from Tomáš, and it would be a pity to lose this module, I re-published the statistical charts module at https://codeberg.org/fiee/context-statistical-charts I’ll also put it on modules.contextgarden.net

[NTG-context] international type design

2024-04-04 Thread Henning Hraban Ramm
Have a look at these beautiful font designs: https://esadtype.esad-amiens.fr/ Unfortunately the fonts are not available (yet). Take your time to browse the papers about intention, design process etc. I just browsed the dissertation about the (Vietnamese) "Dilinh" font and found the

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

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:54 schrieb 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

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

2024-04-01 Thread Henning Hraban Ramm
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 is Mikael because I saw the command the first time

[NTG-context] what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. I wanted to document it, but can’t find it in the sources: $ context --find=textdisplay mtx-context |

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context: On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Well, I found one, but it‘s

[NTG-context] OT: San Seriffe

2024-04-01 Thread Henning Hraban Ramm
in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
Hi Hans (et al.), find attached a slightly extended version of the "interface" script that can also generate the list of commands in cson format for Pulsar/Atom. It just creates a basic list of commands for syntax highlighting; for a complete plugin, "grammars" and "settings" are missing,

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Henning Hraban Ramm
Am 30.03.24 um 03:15 schrieb Joel via ntg-context: I have code like this:     \placefigure[here, force]{my caption}{%         \externalfigure[#1][frame=on, maxheight=1.2\textwidth, maxwidth=\textwidth]%     }% I need some images to appear in a book. I need them to keep their proper

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

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

2024-03-23 Thread Hraban Ramm
Am 23.03.24 um 19:05 schrieb Hans Hagen: On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf In German, I call these "Spaßeinheiten"

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
ng[section]}] [] > Kapitel - Aufgabe Thanks in advance Greetings Thomas Am 20.03.24 um 09:09 schrieb Hraban Ramm: Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looki

[NTG-context] Re: command line arguments

2024-03-20 Thread Hraban Ramm
Am 19.03.24 um 23:53 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 19.03.2024 um 21:41: Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages

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

2024-03-20 Thread Hraban Ramm
Hi Andrés, thank you! Am 20.03.24 um 06:07 schrieb Andres Conrado Montoya: I have found with experience that a formula to calculate the binding correction for a saddle stitch binding, not more than 4 pages in a signature (only one fold in the middle) usually is 1/2 the circumference of a

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in

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

2024-03-20 Thread Hraban Ramm
Am 19.03.24 um 23:42 schrieb Willi Egger: Generally I know for what binding correction is used, I just never tried to set it up. If I look carefully at one of our printed booklets, the printshop also didn’t. So I'd need pageshift without applying imposition (setting it up wouldn’t hurt). I

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

2024-03-19 Thread Hraban Ramm
are probably more circles than just adding thickness of paper. Willi On 18 Mar 2024, at 17:35, Hraban Ramm wrote: Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting \Schema looks

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

2024-03-19 Thread Hraban Ramm
Am 19.03.24 um 15:38 schrieb Jeroen: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document?

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
Hi Jeroen, it might make sense to use \setuphead[chapter][ conversion=R, ] \setuplabeltext[nl][chapter={Boek }] instead of ownnumber. I would use one command for number and title and put both in the same kind of frame. Probably you should use a \strut in the text or \inframed[strut=yes]

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

2024-03-18 Thread Hraban Ramm
Am 18.03.24 um 00:02 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 12:06: Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
Am 18.03.24 um 07:36 schrieb Mikael Sundqvist: Hi, On Sun, Mar 17, 2024 at 10:57 PM Hraban Ramm wrote: … and another thing that came up in my workshops and in discussions at our booth: the math manual is eagerly awaited! (My book too, but I can’t answer most questions about math.) Oh, I see

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

2024-03-18 Thread Hraban Ramm
Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work

[NTG-context] Mikael’s missing math manual

2024-03-17 Thread Hraban Ramm
… and another thing that came up in my workshops and in discussions at our booth: the math manual is eagerly awaited! (My book too, but I can’t answer most questions about math.) One participant tested some math alignment examples from an older paper by Aditya and found them working in her

[NTG-context] can we do binding correction?

2024-03-17 Thread Hraban Ramm
Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work with arranging (imposition) or can I enable it somehow for the layout (if the printshop does

[NTG-context] ck hyphenation in old German orthography

2024-03-17 Thread Hraban Ramm
Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban \mainlanguage[deo] \setuplanguage[deo][   hyphenmin=4,   lefthyphenmin=2,   righthyphenmin=2,

[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-17 Thread Hraban Ramm
Am 16.03.24 um 22:28 schrieb Marco Patzer: On Sat, 16 Mar 2024 20:33:33 + (UTC) Joel via ntg-context wrote: How do I remove the page number from the header texts? \setupheadertexts [] or \setuplayouttext [header][text] [middletext=] I’d have guessed

[NTG-context] Re: regular online meet-up

2024-03-13 Thread Henning Hraban Ramm
Reminder: This is tonight! Am 10.03.24 um 21:51 schrieb Henning Hraban Ramm: You’re invited to our regular online meet-up, this upcoming Wednesday, March 13th, 19:00 CET (UTC+1) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
Am 13.03.24 um 13:14 schrieb Jean-Pierre Delange: Hi Hraban & Seyal I can confirm that converting the *.svg file into a *.pdf file displays the colour shades correctly ... (I used Gimp to export the smile.svg file to a smile03.pdf file). Gimp is a really bad choice in this case, since it

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
Am 12.03.24 um 23:59 schrieb seyal zavira: You are correct. when i convert this svg to pdf via inkscape it works like a charm. But what is standard way of including an svg file with context if we want to inkscape render the images? \externalfigure[smile] without any other settings, but

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Henning Hraban Ramm
Am 12.03.24 um 14:53 schrieb seyal zavira: > when i want to put some SVGs in my document the svg does not render properly here is the code: > > \starttext > \startMPcode > draw lmt_svg [ > filename = "smile.svg"] > \stopMPcode > \stoptext I can

[NTG-context] Re: Creating a module for calligraphy practice templates

2024-03-12 Thread Henning Hraban Ramm
Am 12.03.24 um 08:57 schrieb Andres Conrado Montoya: Hello, list! I've been working on a module to typeset calligraphy practice templates using ConTeXt and MetaPost. You are welcome to check it out on github: https://github.com/conradolandia/pauta

[NTG-context] has the statistical charts module a new home?

2024-03-11 Thread Henning Hraban Ramm
Hi Tomáš et al., the site https://akela.mendelu.cz/~thala/statcharts/ and actually the whole server disappeared. Is there a new download location for the charts module? It would be nice if we could just host it on https://modules.contextgarden.net, then it could also get installed via the

[NTG-context] regular online meet-up

2024-03-10 Thread Henning Hraban Ramm
You’re invited to our regular online meet-up, this upcoming Wednesday, March 13th, 19:00 CET (UTC+1) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like to talk about?

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

2024-03-08 Thread Henning Hraban Ramm
Am 08.03.24 um 18:50 schrieb Pablo Rodriguez via ntg-context: Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality},

[NTG-context] Re: How can I do this?

2024-03-08 Thread Henning Hraban Ramm
Am 08.03.24 um 17:56 schrieb Otared Kavian: Hi Ursula, The reason for which you did not get the expected result is that you have « } » missing in your file, that is the closing brace after your italic command « {\it » at the end of your document. Moreover you did not have a \stoptext in your

  1   2   3   4   5   6   7   8   9   10   >