[NTG-context] Transparency in external PDFs does not work

2024-06-17 Thread Gerion Entrup
Hi, I'm using LaTeX-Beamer and TikZ for figure typesetting. With this combination, it is easy to combine Beamer's animation system with TikZ transparency feature. This way, the resulting PDFs contain the full graphic on every page, but parts of it are invisible for a specific page. One of these

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Gerion Entrup
Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster: > \startsetups [userdata:extract] > \startnarrower > \setupindenting[next] > \getuserdata > \hairline > \dontleavehmode\wordright{\itx\userdataparameter{author}} > \stopnarrower >

[NTG-context] Re: Math manual

2024-06-17 Thread Gerion Entrup
Am Sonntag, 16. Juni 2024, 18:59:52 MESZ schrieb skyhorse--- via ntg-context: > > Mikael Sundqvist wrote: > > > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf > > > > >

[NTG-context] line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
When discussing verses or other texts that have distinct line breaking, I need line numbering to adhere to that, even if some lines are too long and need breaking. Is that possible? In my example below the 3rd line is too long and gets line numbers 3 and 4. Same problem with source code

[NTG-context] Re: Wiki's broken

2024-06-17 Thread Taco Hoekwater
> On 14 Jun 2024, at 23:43, Taco Hoekwater wrote: > > After the weekend, I will see whether we can somehow enlarge the server (more > memory/more cpu). For now, you will occasionally get this message, sorry. I > blame the USA elections with their associated rise of online town criers >

[NTG-context] Re: expanded doif's

2024-06-16 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 16.06.2024 um 22:29: I  remember there was an incantation to work with expanded doif's etc. In this case I need \doifelsedefined{ARG} with ARG expanded. I lost the exact spelling of the command and dldn't find it in the garden. What was it? Can

[NTG-context] expanded doif's

2024-06-16 Thread Hans van der Meer via ntg-context
I remember there was an incantation to work with expanded doif's etc. In this case I need \doifelsedefined{ARG} with ARG expanded. I lost the exact spelling of the command and dldn't find it in the garden. What was it? yours sincerely dr. Hans van der Meer

[NTG-context] Re: contextwiki what is going on?

2024-06-16 Thread Hans van der Meer via ntg-context
Mysterious: loading once explicitely of the full URL https://wiki.contextgarden.net/Main_Page remedied the bookmark. One of the riddles of computing, I fear. yours sincerely dr. Hans van der Meer > On 16 Jun 2024, at 22:00, Hans van der Meer via ntg-context > wrote: > > Today I find on my

[NTG-context] Re: contextwiki what is going on?

2024-06-16 Thread Henning Hraban Ramm
Am 16.06.24 um 22:00 schrieb Hans van der Meer via ntg-context: Today I find on my Mac the following alert when browsing wiki.contextgarden.net Do you want to allow downloads on “wiki.contextgarden.net”? instead of the home page. I don't see any problems, the

[NTG-context] contextwiki what is going on?

2024-06-16 Thread Hans van der Meer via ntg-context
Today I find on my Mac the following alert when browsing wiki.contextgarden.net Do you want to allow downloads on “wiki.contextgarden.net”? instead of the home page. Since I changed nothing in my system, no preferences changes, no system update, no

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

2024-06-16 Thread Cron Daemon
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-lmt.zip context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip

[NTG-context] Re: Math manual

2024-06-16 Thread Wolfgang Schuster
skyhorse--- via ntg-context schrieb am 16.06.2024 um 18:59: Mikael Sundqvist wrote: ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf Sorry about my locational ignorance, but

[NTG-context] Re: Math manual

2024-06-16 Thread Jethro Djan
Hi, On Sun, 16 Jun 2024 at 5:13 PM, skyhorse--- via ntg-context < ntg-context@ntg.nl> wrote: > > Mikael Sundqvist wrote: > > > > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > > >

[NTG-context] Re: Math manual

2024-06-16 Thread skyhorse--- via ntg-context
Mikael Sundqvist wrote: > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf > Sorry about my locational ignorance, but where can I view this document? I only have -

[NTG-context] Faulty PDF output files after updating to version 2024.06.14

2024-06-16 Thread Ralph
Hi, while trying out the new version of ConTeXt LMTX (2024.06.14 09:18) I encountered some problems related to the PDF output files. First, I tried to print a single page of the excellent new math manual (many thanks to everyone involved in creating it, it’s great for beginners like me and

[NTG-context] Re: Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-16 Thread Bruce Horrocks
> On 15 Jun 2024, at 22:20, Michael Guravage wrote: > > Bruce, > > Yes, I remember encountering this problem. The two files you need are: > sun-MP.tex and moons-MP.tex. I don't recall where I found them so I've > attached them below. Drop them into their respective pocketdiary directories

[NTG-context] Re: Math manual

2024-06-16 Thread Hans Hagen
On 6/16/2024 12:39 PM, Fabrice Couvreur wrote: Hi, Thank you for this document which will help many people, including me. Quick question : this document seems to have been written in the Pagella font : is this correct ? Why this choice : Personal ? The most complete and nice font ? Indeed.

[NTG-context] Re: Math manual

2024-06-16 Thread Fabrice Couvreur
Hi, Thank you for this document which will help many people, including me. Quick question : this document seems to have been written in the Pagella font : is this correct ? Why this choice : Personal ? The most complete and nice font ? Fabrice Le sam. 15 juin 2024 à 17:50, Jeong Dal via

[NTG-context] \xmlinlineverbatim not inline

2024-06-16 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] text \stopbuffer \startxmlsetups xml:sample \xmlsetsetup{#1}{text}{xml:*} \stopxmlsetups \xmlregistersetup{xml:sample} \startxmlsetups xml:text block: a \xmlverbatim{#1} b\\ inline: a

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

2024-06-15 Thread Hans Hagen
On 6/16/2024 12:04 AM, Gerion Entrup wrote: Hmm, you are right, like a little frayed. 02713 and 02714 are similar. I guess, this should look like they were drawn with a brush. none of the other glyphs has that (afaiks in fontforge) ... more looks like some conversion error, also because a

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

2024-06-15 Thread Gerion Entrup
Am Samstag, 15. Juni 2024, 12:19:37 MESZ schrieb Hans Hagen: > On 6/15/2024 11:02 AM, Gerion Entrup wrote: > > Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup: > >> Hi, > >> > >> I recently tried to typeset a table with checkmarks and x marks. > >> \checkmark exists but is there

[NTG-context] Re: Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
Bruce, Yes, I remember encountering this problem. The two files you need are: sun-MP.tex and moons-MP.tex. I don't recall where I found them so I've attached them below. Drop them into their respective pocketdiary directories Solar and Moonphase and run mtxrun --generate. Your suggestion of the

[NTG-context] Re: Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Bruce Horrocks
> On 15 Jun 2024, at 17:55, Michael Guravage > wrote: > > Hi, > > I am trying to use the Pocket Diary module to create a photo calendar as > described in the Calendar Examples. The examples work fine. By default weeks > begin on Monday. Does anyone know how to specify that weeks begin on

[NTG-context] Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-15 Thread Kip Warner
Hello list, I recently upgraded my distro release to Ubuntu Noble on one of my machines. The ConTeXt packages that were previously for 2021.03.05.20230120 were upgraded to 2023.05.05.20230730. Since the upgrade I've noticed my BibTeX footnotes that previously looked like this:

[NTG-context] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
Hi, I am trying to use the Pocket Diary module to create a photo calendar as described in the Calendar Examples . The examples work fine. By default weeks begin on Monday. Does anyone know how to specify

[NTG-context] Re: Math manual

2024-06-15 Thread Jeong Dal via ntg-context
Dear Hans and Mikael, I appreciate for all the efforts to make a nicer math output and for the math manual. I hope that a few problems in math are gone away in this new version. The math writing in ConTeXt was getting better and better to this point. I’ll learn many things from this manual.

[NTG-context] Re: Math manual

2024-06-15 Thread Jethro Djan
Hi Hans and Mikael, The manual is great. Solves most of my challenges. Very handy as I am also writing a math thesis in it. Off topic but does anyone have a source for a RECENT math presentation they wrote using ConTeXt they can share? Would be very helpful. Thanks for your hard work. Jethro

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

2024-06-15 Thread Hans Hagen
On 6/15/2024 11:02 AM, Gerion Entrup wrote: Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup: Hi, I recently tried to typeset a table with checkmarks and x marks. \checkmark exists but is there a predefined x mark symbol (\xmark does not work)? In general: For LaTeX there

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread Hans Hagen via ntg-context
On 6/15/2024 10:59 AM, ralph.2...@email-postfach.info wrote: Hi, thank you all for your replies so far. I guess I’ll have to live with that for now (of course this isn’t really a problem, but a bit unpleasant to look at when you’re used to the straight lines in LaTeX). Just wanted to add that

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

2024-06-15 Thread Gerion Entrup
Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup: > Hi, > > I recently tried to typeset a table with checkmarks and x marks. > \checkmark exists but is there a predefined x mark symbol (\xmark does > not work)? > > In general: For LaTeX there exists the very helpful

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread ralph . 2718
Hi, thank you all for your replies so far. I guess I’ll have to live with that for now (of course this isn’t really a problem, but a bit unpleasant to look at when you’re used to the straight lines in LaTeX). Just wanted to add that I can see this artifacts quite clearly on a 13 inch 1080p

[NTG-context] Re: Wiki's broken

2024-06-14 Thread Taco Hoekwater
Hi, > On 14 Jun 2024, at 20:03, Andres Conrado Montoya > wrote: > > Visiting the Wiki currently renders this error when you try to search > anything: > > Internal error I did this, and on purpose. It also shows ’Sorry, the server is too busy right now’ along the top of the page. This is

[NTG-context] 1: Modifying bibliography entries using lua, 2. Sort apa pubs according to year reverse author

2024-06-14 Thread Ben Moon via ntg-context
Dear List, Here’s a beautiful example of lua checking a list of authors and conditionally formatting one: https://www.mail-archive.com/ntg-context@ntg.nl/msg88382.html I've dismally failed transferring the example to apa rendering style. Maybe someone can enlighten me. Furthermore, I’ve spent

[NTG-context] Re: Math manual

2024-06-14 Thread Otared Kavian
Hi Hans and Mikael, I just could update to the latest ConTeXt (after afew hassles with xattr on MacOS…), and went straight to find mathincontext-screen.pdf. Thank you so much for this superbe manual! It is really wonderful in all aspects! As Aditya says, there is no excuse for mathematicians

[NTG-context] Re: Math manual

2024-06-14 Thread Aditya Mahajan
On Fri, 14 Jun 2024, Mikael Sundqvist wrote: > Hans just uploaded a new version. I am not writing about the news in > that version (although there are some fun things!), but rather to > announce that the math manual is finally included. > > We have been working on and off since 2021 on math and

[NTG-context] Wiki's broken

2024-06-14 Thread Andres Conrado Montoya
Visiting the Wiki currently renders this error when you try to search anything: Internal error [59a41338e5823259c54868ec] /index.php?search=setuplist=Special%3ASearch=Go Error from line 121 of /var/www/ contextgarden.net/wiki/htdocs/extensions/ConTeXtXML/includes/ConTeXtXMLContent.php: Class

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Gerion Entrup
Am Freitag, 14. Juni 2024, 11:51:28 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 14.06.2024 um 11:01: > > Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: > >> \startsetups[question:intro] > >> \setupparagraphintro[first][\bold{Answer:} ] > >> \blank >

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Taco Hoekwater
> On 14 Jun 2024, at 11:44, Hans Hagen via ntg-context > wrote: > > On 6/14/2024 9:35 AM, Henning Hraban Ramm wrote: >> Am 13.06.24 um 23:13 schrieb Hans Hagen via ntg-context: >>> On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file

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

2024-06-14 Thread Denis Maier via ntg-context
Hi, the current update should contain a file general/manuals/xml-mkiv-tricks.pdf I couldn't find it. The math manuals are there though (thanks for all the hard work on this one!), and they date shows they have been just added. Any hints? Best, Denis -Ursprüngliche Nachricht- Von: Cron

[NTG-context] Re: Math manual

2024-06-14 Thread Alex
Excellent! Thanks for the great effort. BR, Alex Le 14 juin 2024 à 12:04 +0200, Mikael Sundqvist , a écrit : > Hi! > > Hans just uploaded a new version. I am not writing about the news in > that version (although there are some fun things!), but rather to > announce that the math manual is

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Wolfgang Schuster
Gerion Entrup schrieb am 14.06.2024 um 11:01: Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: \startsetups[question:intro] \setupparagraphintro[first][\bold{Answer:} ] \blank \stopsetups \defineenumeration[question][ alternative=top,

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Hans Hagen via ntg-context
On 6/14/2024 9:35 AM, Henning Hraban Ramm wrote: Am 13.06.24 um 23:13 schrieb Hans Hagen via ntg-context: On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems on

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Gerion Entrup
Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: > \startsetups[question:intro] >\setupparagraphintro[first][\bold{Answer:} ] >\blank > \stopsetups > > \defineenumeration[question][ > alternative=top, > text=Question, > title=yes, >

[NTG-context] Math manual

2024-06-14 Thread Mikael Sundqvist
Hi! Hans just uploaded a new version. I am not writing about the news in that version (although there are some fun things!), but rather to announce that the math manual is finally included. We have been working on and off since 2021 on math and therefore also on this document, and we finally

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

2024-06-14 Thread Cron Daemon
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-lmt.zip context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Henning Hraban Ramm
Am 13.06.24 um 23:13 schrieb Hans Hagen via ntg-context: On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems on windows on chrome-os either. Mikael S and I checked it

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Hans Hagen via ntg-context
On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems on windows on chrome-os either. Mikael S and I checked it on his linux box and one can indeed see anti aliasing when

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

2024-06-13 Thread Hans Hagen via ntg-context
On 6/13/2024 7:24 PM, Henning Hraban Ramm wrote: 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

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Bruce Horrocks
> On 13 Jun 2024, at 21:04, Otared Kavian wrote: > > Hi Ralph, > > I don’t see any pixels in the PDF file when I typeset your code snipet (on > MacOS 11.7.10). Here is what I get. > > Best regards: Otared > > I see it on both - the original and Otared's. Otared: If open yours (on MacOS

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Otared Kavian
Hi Ralph,I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get.Best regards: Otared fraction-bar-pixels.pdf Description: Adobe PDF document On 13 Jun 2024, at 13:10, Ralph wrote: Hello,

[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" else   

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-13 Thread Wolfgang Schuster
Gerion Entrup schrieb am 13.06.2024 um 13:41: Hi, is there a way to automatically prefix the text body in an enumeration? Consider this example: ``` \defineenumeration[question][ alternative=top, text=Question, title=yes, titleleft=, titleright=,

[NTG-context] Prefix the text in an enumeration.

2024-06-13 Thread Gerion Entrup
Hi, is there a way to automatically prefix the text body in an enumeration? Consider this example: ``` \defineenumeration[question][ alternative=top, text=Question, title=yes, titleleft=, titleright=, right={:}, headstyle=bold, ]

[NTG-context] How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Ralph
Hello, I’m relatively new to ConTeXt (version 2024.05.31, LMTX, standalone) and really enjoy learning it so far, but I have one little problem with the appearance of horizontal bars in math mode. It seems the way ConTeXt displayed horizontal extensible bars in math mode some time ago (as

[NTG-context] Re: comment on the wiki

2024-06-12 Thread Pablo Rodriguez via ntg-context
On 6/13/24 04:17, Max Chernoff wrote: > Hi Pablo (and others), > > On Wed, 2024-06-12 at 18:42 +0200, Pablo Rodriguez wrote: >> Is there any way in which regular wiki contributions may help in >> removing the accounts or at least all the pages generated with these >> accounts? > > I also don't

[NTG-context] Re: comment on the wiki

2024-06-12 Thread Max Chernoff
Hi Pablo (and others), On Wed, 2024-06-12 at 18:42 +0200, Pablo Rodriguez wrote: > Is there any way in which regular wiki contributions may help in > removing the accounts or at least all the pages generated with these > accounts? I also don't have deletion privileges, but I went through the

[NTG-context] comment on the wiki

2024-06-12 Thread Pablo Rodriguez via ntg-context
Dear wiki maintainers (Taco at others), I have found in the user creation log: 05:40, 7 June 2024 User account FelicaEnyeart34 was created 22:59, 26 May 2024 User account NonaAlber414387 was created 04:33, 26 May 2024 User account Tony83264596 was created 15:17, 24 May 2024 User account

[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] Re: Cite-proc Lua - Following up

2024-06-12 Thread Max Chernoff
Hi, On Tue, 2024-06-11 at 11:38 +, hdanielhix...@gmail.com wrote: > There is a LaTeX package called citation-style-language, backed by > some software called citeproc-lua. The github page for the software is > here: https://github.com/zepinglee/citeproc-lua > I'm just wondering if there is

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-11 Thread Gerion Entrup
Am Montag, 10. Juni 2024, 15:53:19 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 10.06.2024 um 13:16: > > Hi, > > > > I'd like to scale something (actually a symbol drawn in TikZ) to the exact > > high of the char 'M'. I found the scale environment for it but struggle to > > measure

[NTG-context] Cite-proc Lua - Following up

2024-06-11 Thread hdanielhixson
Hello all, I hope you are well. This is my first time posting. So if I do so erroneously, I apologize. There is a LaTeX package called citation-style-language, backed by some software called citeproc-lua. The github page for the software is here: https://github.com/zepinglee/citeproc-lua It

[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] suggestion: two templates for the wiki

2024-06-10 Thread Pablo Rodriguez via ntg-context
Dear Taco and Hraban, trying to improve the XML page from the wiki, I think it would be extremely useful to have two templates for inline code: {{xml|…}}: inline XML highlighted as for blocks. {{tex|…}}: inline TeX code highlighted as for blocks. As for the second, {{cmd|…}} includes a link

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

2024-06-10 Thread Pablo Rodriguez via ntg-context
On 6/10/24 17:49, vm via ntg-context wrote: > Is there a parameter for context lmtx to strip all metadata from the > generated pdf? > Or is that a better task for exiftool afterwards? \enabledirectives[backend.date=none] But this doesn’t remove all metadata. Title, Producer and XMP data still

[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: dimen 100.0pt not 100.0pt?

2024-06-10 Thread Hans Hagen via ntg-context
On 6/10/2024 3:46 PM, Hans van der Meer via ntg-context wrote: The I do not understand. I am testing if a dimension set can be checked against the expected value. It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result?

[NTG-context] Re: dimen 100.0pt not 100.0pt?

2024-06-10 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 10.06.2024 um 15:46: The I do not understand. I am testing if a dimension set can be checked against the expected value. It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result?

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Wolfgang Schuster
Gerion Entrup schrieb am 10.06.2024 um 13:16: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured" commands but they

[NTG-context] dimen 100.0pt not 100.0pt?

2024-06-10 Thread Hans van der Meer via ntg-context
The I do not understand. I am testing if a dimension set can be checked against the expected value. It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result? \scratchdimen=100pt\relax

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread seyal zavira
Also you can use this: assuming that you have a fixed size figure such as a pdf page: \definesymbol[Bsymbol][{\scale[width=1.6ex]{\externalfigure[myfile.pdf][page=1]}}] \define\mysym{\kern 0.2em \symbol[Bsymbol] \kern 0.3em} \starttext this is a sample\mysym text. \tfa{this is a sample\mysym

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Hans Hagen
On 6/10/2024 1:16 PM, Gerion Entrup wrote: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured" commands but they

[NTG-context] Scale content to height of the font, measure font height

2024-06-10 Thread Gerion Entrup
Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured" commands but they define a dimension and are not for doing

[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] Re: get measures as dimension in Lua

2024-06-10 Thread Hans Hagen via ntg-context
On 6/10/2024 7:08 AM, Max Chernoff wrote: Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: 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

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

2024-06-09 Thread Max Chernoff
Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: > 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

[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: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Ben Moon via ntg-context
Dear Alan, Thank you very much for your reply. Unfortunately, I don’t get this working. Also, I don’t find the documentation for flushbtxrendering. Here’s a minimal working example I’m trying: \startbtxrenderingdefinitions[mybib] \definebtx [mybib] [default=default, specification=mybib]

[NTG-context] Re: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Alan Braslau via ntg-context
Try something like: \flushbtxrendering [bibrendering] [method=dataset, sorttype=index, filter=match(category:article)] I have used the filtering mechanism to select fields, such as filter=match(year:2023). Alan On Tue, 4 Jun 2024 15:20:14 +0200 Ben Moon via

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

2024-06-08 Thread seyal . zavira
This is also important Thanks for your helpful hint. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

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

2024-06-08 Thread seyal . zavira
Thanks so much it works great. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage

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

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 17:09, seyal zavira wrote: > Thanks > > sorry for incomplete example > the code below shows the problem better: > \setupinteraction[state=start] As for the color, it is caused by \setupinteraction. You can remove it with: \setupinteraction[state=start, style=, color=,

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

2024-06-08 Thread Wolfgang Schuster
seyal zavira schrieb am 08.06.2024 um 17:09: Thanks sorry for incomplete example the code below shows the problem better: \setupinteraction[state=start] \definenote[Mynote][location=text,before={},] \setupnote[Mynote]     [location=left,      textcommand={\tfa \raise 0.2ex\hbox},     ]

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

2024-06-08 Thread seyal zavira
Thanks sorry for incomplete example the code below shows the problem better: \setupinteraction[state=start] \definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand={\tfa \raise 0.2ex\hbox}, ] \definefont[highfont][name:ibmplexsansbold*default at

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

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

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 13:16, seyal.zav...@gmail.com wrote: > Hi all, > > There's a problem when I want to define the note so that it's > displayed according to the size and font of the text: Not sure I’m getting your point. But this should show a difference in font size: \definenote[Mynote] \starttext

[NTG-context] Scale notation base on current font

2024-06-08 Thread seyal . zavira
Hi all, There's a problem when I want to define the note so that it's displayed according to the size and font of the text: this MWE change the notation size: \definenote[Mynote][location=text,before={},] \setupnote[Mynote] [location=left, textcommand=\tfb \raise 0.2ex\hbox, ]

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 09:49, Wolfgang Schuster wrote: > Denis Maier via ntg-context schrieb am 08.06.2024 um 09:14: >> [...]  >> Hi, >> I've read Thomas Schmitt's My Way as an excellent introduction in XML >> processing with ConteXt, but I can't find it anywhere anymore... Does >> anyone know what happened to

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 10:49, vm via ntg-context wrote: > in the document > https://wiki.contextgarden.net/images/8/8c/xhtml.pdf > > near the end an essential line got truncated: > [...] > how should this line continue ? > {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("\xmla As this comes from

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Thomas A. Schmitz
On 6/8/24 10:49, vm via ntg-context wrote: 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}}

[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

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Wolfgang Schuster
Denis Maier via ntg-context schrieb am 08.06.2024 um 09:14: Pablo Rodriguez via ntg-context > hat am 07.06.2024 21:41 CEST geschrieben: Again, xml-mkiv.pdf is documenting the way of handling XML in ConTeXt and it has to be written that way. It is part of our task

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Denis Maier via ntg-context
  Pablo Rodriguez via ntg-context hat am 07.06.2024 21:41 CEST geschrieben:     Again, xml-mkiv.pdf is documenting the way of handling XML in ConTeXt and it has to be written that way.

[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: ConTeXt source from XML

2024-06-07 Thread Pablo Rodriguez via ntg-context
On 6/6/24 22:53, Christoph Edenhauser wrote: >> [...] >> XPath seems to have as it primary purpose to address the nodes of XML trees. >> [...] >> If you don’t want this to happen, you have to encode them in the TEI XML >> sources. > > In my case, the connection to the original source will be lost. 

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

2024-06-07 Thread Wolfgang Schuster
Alan Braslau schrieb am 07.06.2024 um 16:21: I have *never* understood how this works and, in fact, have always done weird stuff like explicitly putting a nbps before double punctuation (:;) in my document sources. I do this as it makes the sources much more readable, preventing my text editor

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

2024-06-07 Thread Alan Braslau via ntg-context
I have *never* understood how this works and, in fact, have always done weird stuff like explicitly putting a nbps before double punctuation (:;) in my document sources. I do this as it makes the sources much more readable, preventing my text editor from ever breaking lines before the punctuation

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

2024-06-07 Thread Wolfgang Schuster
Peter Münster schrieb am 07.06.2024 um 13:31: On Thu, May 30 2024, Peter Münster wrote: \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext bla \quotation{OK} bla\\ bla «OK» bla \startquotation Not Ok: a space is missing \stopquotation \stoptext It seems, that this

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

2024-06-07 Thread Peter Münster
On Thu, May 30 2024, Peter Münster wrote: > \mainlanguage[fr] > \setcharacterspacing[frenchpunctuation] > \starttext > bla \quotation{OK} bla\\ > bla «OK» bla > \startquotation > Not Ok: a space is missing > \stopquotation > \stoptext It seems, that this workaround solves the problem:

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
Am Donnerstag, 6. Juni 2024, 13:51:53 MESZ schrieb Hans Hagen via ntg-context: > On 6/6/2024 12:30 PM, Gerion Entrup wrote: > > Hi, > > > > I like to achieve something that looks like this: > > ``` > > \definedelimitedtext[extract][blockquote] > > \setupdelimitedtext > >[extract] > >

<    1   2   3   4   5   6   7   8   9   10   >