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

[NTG-context] ConTeXt source from XML

2024-06-06 Thread Christoph Edenhauser
Dear Pablo, Dear Christoph, just in case it might help to your meditation. First of all, lpaths are XPath implemented with Lua in ConTeXt. XPath seems to have as it primary purpose to address the nodes of XML trees. About your sources, the real issue here is to define whether you want TEI

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

2024-06-06 Thread Gerion Entrup
Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 06.06.2024 um 12:30: > > Hi, > > > > I like to achieve something that looks like this: > > ``` > > \definedelimitedtext[extract][blockquote] > > \setupdelimitedtext > >[extract] > >

[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Aditya Mahajan
On Thu, 6 Jun 2024, Wolfgang Schuster wrote: > Aditya Mahajan schrieb am 06.06.2024 um 14:48: > > Hi, > > > > I am testing some of my old styles on latest context and find that the > > background key of \startbackground and \starttextbackground doesn't work > > (\framed is working as expected).

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Lutz Haseloff
Thanks Hans, works now as expected. Am 6. Juni 2024 16:30:56 MESZ schrieb Hans Hagen : >On 6/6/2024 12:21 PM, Lutz Haseloff wrote: >> Thanks Hraban, >> >> my Noto Serif (just downloaded) is 2.013 >> >> --script font shows kern too: >> kern cyrl dflt >>    dflt dflt >>    grek

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 5:33 PM, Pablo Rodriguez via ntg-context wrote: On 6/5/24 20:23, Christoph Edenhauser wrote: Dear Pablo, Thank you very much for your very clear, detailed and elaborate explanations.  - Over the next few days I will meditate on the ConTeXt way to handle XML and on my workflow and

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Pablo Rodriguez via ntg-context
On 6/5/24 20:23, Christoph Edenhauser wrote: > Dear Pablo, > > Thank you very much for your very clear, detailed and elaborate > explanations.  - Over the next few days I will meditate on the ConTeXt > way to handle XML and on my workflow and take a look at lpath (never > heard of it). And somehow

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

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 4:34 PM, Wolfgang Schuster wrote: Gerion Entrup schrieb am 06.06.2024 um 12:30: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext    [extract]    [leftmargin=1.5pc,     style={\italic},    

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

2024-06-06 Thread Wolfgang Schuster
Gerion Entrup schrieb am 06.06.2024 um 12:30: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Hans Hagen
On 6/6/2024 12:21 PM, Lutz Haseloff wrote: Thanks Hraban, my Noto Serif (just downloaded) is 2.013 --script font shows kern too: kern cyrl dflt    dflt dflt    grek dflt    latn dflt (^^ but not all steps are shared!) I updates that font (updating noto is a pain ..

[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 06.06.2024 um 14:48: Hi, I am testing some of my old styles on latest context and find that the background key of \startbackground and \starttextbackground doesn't work (\framed is working as expected). Here is a MWE: 1. \starttextbackground isn't based on \framed

[NTG-context] background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Aditya Mahajan
Hi, I am testing some of my old styles on latest context and find that the background key of \startbackground and \starttextbackground doesn't work (\framed is working as expected). Here is a MWE: \startuseMPgraphic{background:test} fill OverlayBox withcolor 0.75[red,white]; draw

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

2024-06-06 Thread Jim
On Thu, Jun 6, 2024 at 11:04 (+0200), Aditya Mahajan wrote: > On Wed, 5 Jun 2024, Jim wrote: >> Hi, >> I had the following structure which ended up at the bottom of a page: > This is perhaps not related to what you asked but ... >> \noindent >> {\bf Blah blah blah } >>

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

2024-06-06 Thread 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] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule

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

2024-06-06 Thread Gerion Entrup
Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright] \tfx\italic{René

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Lutz Haseloff
Thanks Hraban, my Noto Serif (just downloaded) is 2.013 --script font shows kern too: kern cyrl dflt dflt dflt grek dflt latn dflt Greetings Lutz Am 6. Juni 2024 11:12:18 MESZ schrieb Henning Hraban Ramm : >Am 06.06.24 um 09:41 schrieb Lutz Haseloff: >> Hi all,

[NTG-context] Re: setuphead in connection with the command argument

2024-06-06 Thread Gerion Entrup
Am Montag, 3. Juni 2024, 15:13:20 MESZ schrieb Hans Hagen via ntg-context: > On 6/3/2024 1:36 PM, Gerion Entrup wrote: > > Thank you. I think that I understand command vs alternative now. > > With try and error, I experienced, that the font/style of the `style` > > parameter interleave in a

[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-06 Thread Aditya Mahajan
On Wed, 5 Jun 2024, Jim wrote: > Hi, > > I had the following structure which ended up at the bottom of a page: > This is perhaps not related to what you asked but ... > \noindent > {\bf Blah blah blah } > \startitemize[intro,nowhite] Starting a paragraph with a group {...} can lead to

[NTG-context] Kerning in Noto Serif

2024-06-06 Thread 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: {\setff{oldstylenumber}VAVAVAVAVAVA 12345}\par Line 3:

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Christoph Edenhauser
Dear Pablo, Thank you very much for your very clear, detailed and elaborate explanations.  - Over the next few days I will meditate on the ConTeXt way to handle XML and on my workflow and take a look at lpath (never heard of it). And somehow I have the impression that the next few days will

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
On 6/4/24 22:09, Hans Hagen wrote: > [...] > There is a xml-mkiv-tricks.tex file in the distribution (no pdf is > seems so I need to add that one.) Hans, sorry, I forgot to reply earlier. I think this is already included in https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=53 (as

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

2024-06-05 Thread Jim
On Wed, Jun 5, 2024 at 18:04 (+0200), Henning Hraban Ramm wrote: > 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

[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] \item would fit, but was pushed to next page. Work-around or fix?

2024-06-05 Thread Jim
Hi, I had the following structure which ended up at the bottom of a page: --- \setupcaptions[number=no] \placefigure[right] {blah blah blah} {% \vskip -15pt

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Hans Hagen
On 6/5/2024 2:16 PM, Henning Hraban Ramm wrote: 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

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
On 6/5/24 12:00, Christoph Edenhauser wrote: > [...] > I realise that it is somehow difficult for me to describe what I would > like to achieve, perhaps what I have in mind is not even possible. Hi Christoph, as far as I know (and as Hraban has already mentioned), this is not possible. Either

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

2024-06-05 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 05.06.2024 um 16:03: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} You can use \definehighlight to create a custom command for a style. The case where you want a slash before the text you have

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

2024-06-05 Thread ai2472206007
I was careless. thank you ___ 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: ConTeXt source from XML

2024-06-05 Thread Christoph Edenhauser
Dear Hraban, dear List Thank you for your suggestions. I suppose, it would have been too nice if I could have left the XSLT path. Thank you very much for your patience and help, Christoph ___ If your question is of

[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] After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread ai2472206007
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 command} section} \section{\cmdii{with command} section}

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

2024-06-05 Thread Christoph Edenhauser
Dear Hand, dear list Am 04.06.24 um 22:09 schrieb Hans Hagen: On 6/4/2024 9:21 PM, Christoph Edenhauser wrote: Dear Pablo, dear list That's great, thank you very much for your suggestion. That seems to me to be a very elegant solution to the next two problems that were actually still ahead

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
On Tue, Jun 4, 2024 at 21:50 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 04.06.2024 um 21:29: >> On Tue, Jun 4, 2024 at 20:31 (+0200), Taco Hoekwater wrote: On 4 Jun 2024, at 20:16, Wolfgang Schuster wrote: Jim schrieb am 04.06.2024 um 19:48: > I did not realize

[NTG-context] Re: Number in a circle

2024-06-04 Thread Bruce Horrocks
> On 4 Jun 2024, at 19:00, Kip Warner wrote: > > On Tue, 2024-06-04 at 18:19 +0100, Bruce Horrocks wrote: >> 1) I installed Ubuntu 14.04 It comes with context pre-installed but >> it's broken. > > Hey Bruce. Just an FYI, but Trusty Tahr (14.04) is over a decade old. Typo - 24.04 (phew!) —

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Hans Hagen
On 6/4/2024 9:21 PM, Christoph Edenhauser wrote: Dear Pablo, dear list That's great, thank you very much for your suggestion. That seems to me to be a very elegant solution to the next two problems that were actually still ahead of me. And now to my initial question, which I didn't specify

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
Jim schrieb am 04.06.2024 um 21:29: On Tue, Jun 4, 2024 at 20:31 (+0200), Taco Hoekwater wrote: On 4 Jun 2024, at 20:16, Wolfgang Schuster wrote: Jim schrieb am 04.06.2024 um 19:48: I did not realize the wiki software did that. On reflection I suppose that is useful in many (most?)

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
On Tue, Jun 4, 2024 at 20:31 (+0200), Taco Hoekwater wrote: >> On 4 Jun 2024, at 20:16, Wolfgang Schuster >> wrote: >> Jim schrieb am 04.06.2024 um 19:48: >>> I did not realize the wiki software did that. On reflection I suppose that >>> is useful in many (most?) cases. But I'd argue that

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Christoph Edenhauser
Dear Pablo, dear list That's great, thank you very much for your suggestion. That seems to me to be a very elegant solution to the next two problems that were actually still ahead of me. And now to my initial question, which I didn't specify precisely enough. I have the following workflow in

[NTG-context] Re: Vanishing floats with location=split and \start ... \stopsplittext within

2024-06-04 Thread Kirill Davidov
On 6/4/24 21:22, Hans Hagen wrote: > best add a missing \stopplacecodelisting That one's on me, thank you. Unfortunately, this does not fix the main issue. Checking the MWE's logs reveals that the splitting command found nothing to split, even if there's enough text for multiple pages. My best

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
On Tue, Jun 4, 2024 at 20:14 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 04.06.2024 um 19:48: >> I did not realize the wiki software did that. On reflection I suppose that >> is useful in many (most?) cases. But I'd argue that it is not always a good >> thing, such as in this case.

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Taco Hoekwater
> On 4 Jun 2024, at 20:16, Wolfgang Schuster > wrote: > > Jim schrieb am 04.06.2024 um 19:48: > >> I did not realize the wiki software did that. On reflection I suppose that >> is useful in many (most?) cases. But I'd argue that it is not always a good >> thing, such as in this case. (If

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

2024-06-04 Thread Peter Münster
On Thu, May 30 2024, Peter Münster wrote: > Is this a bug or a feature? And if it’s a bug, will it be fixed? TIA for any hints, -- Peter ___ If your question is of interest to others as well, please add

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
Jim schrieb am 04.06.2024 um 19:48: I did not realize the wiki software did that. On reflection I suppose that is useful in many (most?) cases. But I'd argue that it is not always a good thing, such as in this case. (If nothing else, it might mislead a n00b into thinking that you should get

[NTG-context] Re: Number in a circle

2024-06-04 Thread Kip Warner
On Tue, 2024-06-04 at 18:19 +0100, Bruce Horrocks wrote: > 1) I installed Ubuntu 14.04 It comes with context pre-installed but > it's broken. Hey Bruce. Just an FYI, but Trusty Tahr (14.04) is over a decade old. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
On Tue, Jun 4, 2024 at 19:30 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 04.06.2024 um 18:01: >> Hi, >> When I run Example 1 given there, I get three bullet symbols, but no >> "column N ..." >> text. >> Note that the >> \starttext >> is *after* the \startitemize ...

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
Jim schrieb am 04.06.2024 um 18:01: Hi, When I run Example 1 given there, I get three bullet symbols, but no "column N ..." text. Note that the \starttext is *after* the \startitemize ... \stopitemize Q1: Is my ConTeXt installation broken, or is the wiki page showing output

[NTG-context] Re: Number in a circle

2024-06-04 Thread Bruce Horrocks
> On 1 Jun 2024, at 01:48, Bruce Horrocks wrote: > > I'm not sure there is a need to do any more than Adam Reviczky is already > doing. When I find a bit of time I'll install a Ubuntu 24.04 into a VM and > see what version of Context is installed, likewise Debian. TL;DR: OMG! I thought

[NTG-context] https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
Hi, When I run Example 1 given there, I get three bullet symbols, but no "column N ..." text. Note that the \starttext is *after* the \startitemize ... \stopitemize Q1: Is my ConTeXt installation broken, or is the wiki page showing output that does not correspond to the

[NTG-context] Re: Vanishing floats with location=split and \start ... \stopsplittext within

2024-06-04 Thread Hans Hagen via ntg-context
On 6/4/2024 3:57 PM, Давыдов, Кирилл Александрович wrote: Greetings, I have run into an issue whilst using \start ... \stopsplittext. I intended to use it for large code listings (using the t-vim module), however floats with location=split using that environment seem to vanish if there is

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Pablo Rodriguez via ntg-context
On 6/4/24 13:51, Christoph Edenhauser wrote: > Dear list, > > I am currently trying to get into Context and XML. I would like to do > the typographical fine-tuning in Context and not in the XML document. My > question is: Is it possible to have ConTeXt output a (preliminary) > ConTeXt file instead

[NTG-context] Vanishing floats with location=split and \start ... \stopsplittext within

2024-06-04 Thread Давыдов , Кирилл Александрович
Greetings, I have run into an issue whilst using \start ... \stopsplittext. I intended to use it for large code listings (using the t-vim module), however floats with location=split using that environment seem to vanish if there is nearly not enough text before the float to fill a page. Not only

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

2024-06-04 Thread Ben Moon via ntg-context
Hey there, I would like to place a list of bibliography according to types (article, book, in proceedings) in my document. Similar like here: https://tex.stackexchange.com/questions/112874/sectioning-bibliography-by-type-with-multiple-types-per-section Sectioning bibliography by type (with

[NTG-context] ConTeXt source from XML

2024-06-04 Thread Christoph Edenhauser
Dear list, I am currently trying to get into Context and XML. I would like to do the typographical fine-tuning in Context and not in the XML document. My question is: Is it possible to have ConTeXt output a (preliminary) ConTeXt file instead of typesetting a PDF file, for further editing?

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

2024-06-03 Thread Kip Warner
On Mon, 2024-06-03 at 17:04 +0200, Wolfgang Schuster wrote: > ai2472206...@yeah.net schrieb am 03.06.2024 um 11:35: > > you can try 'setuptext' and '\setuptexttexts' to put "draft" in > > margin.and use 'orientation' to change direction. > > > > > > \defineframed    [marginframe] > >

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

2024-06-03 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 03.06.2024 um 11:35: you can try 'setuptext' and '\setuptexttexts' to put "draft" in margin.and use 'orientation' to change direction. \defineframed[marginframe] [width=max, height=max, style=\ss,

[NTG-context] issue with signing

2024-06-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign: \inframed[background=signature,framecolor=darkred]

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Hans Hagen via ntg-context
On 6/3/2024 1:36 PM, Gerion Entrup wrote: Thank you. I think that I understand command vs alternative now. With try and error, I experienced, that the font/style of the `style` parameter interleave in a strange way. Therefore I see it as related. What i mean is: style: outer level, also sets

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Gerion Entrup
Am Montag, 3. Juni 2024, 00:05:22 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 01.06.2024 um 16:34: > > Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster: > >> Gerion Entrup schrieb am 31.05.2024 um 00:37: > >>> What, if I define multiple of them? Is the system not

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

2024-06-03 Thread ai2472206007
you can try 'setuptext' and '\setuptexttexts' to put "draft" in margin.and use 'orientation' to change direction. \defineframed[marginframe] [width=max, height=max, style=\ss, corner=08, location=lohi,frame=off]

[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] Draft vertical text in margins

2024-06-02 Thread 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. I've tried with overlays and I can't seem

[NTG-context] Re: setuphead in connection with the command argument

2024-06-02 Thread Wolfgang Schuster
Gerion Entrup schrieb am 01.06.2024 um 16:34: Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 31.05.2024 um 00:37: What, if I define multiple of them? Is the system not made for this? Multiple of what? When I define `alternative=` _and_

[NTG-context] Re: Issue with latest in math mode

2024-06-02 Thread Hans Hagen
On 6/2/2024 2:43 PM, Alex wrote: Thank you so much Wolfgang, it solved it! I guess this is new as with LMTX from last week(s) it wasn’t required. you were just lucky that you got decent math at all (actually it probbaly also needs a proper lfg file) in the latest lmts the default feature

[NTG-context] Re: Issue with latest in math mode

2024-06-02 Thread Alex
Thank you so much Wolfgang, it solved it! I guess this is new as with LMTX from last week(s) it wasn’t required. Le 2 juin 2024 à 14:38 +0200, Wolfgang Schuster , a écrit : > Alex schrieb am 02.06.2024 um 14:08: > > Hi everyone, > > > > I’m facing an error with the latest LMTX with my custom

[NTG-context] Re: Issue with latest in math mode

2024-06-02 Thread Wolfgang Schuster
Alex schrieb am 02.06.2024 um 14:08: Hi everyone, I’m facing an error with the latest LMTX with my custom font definition: Math error: parameter 'subshiftdown' with id 49 in style 0 is not set \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \starttext Hello

[NTG-context] Issue with latest in math mode

2024-06-02 Thread Alex
Hi everyone, I’m facing an error with the latest LMTX with my custom font definition: Math error: parameter 'subshiftdown' with id 49 in style 0 is not set \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \starttext Hello \startformula \Gamma_1 \stopformula

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Gerion Entrup
Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 31.05.2024 um 00:37: > > What, if I define multiple of them? Is the system not made for this? > > Multiple of what? When I define `alternative=` _and_ `command=` in the same `\setuphead`. Or

[NTG-context] Specify separator within setupbtx for custom bibliography rendering

2024-06-01 Thread Gerion Entrup
Hi, according to the section "Custom citation renderings" in the bibliography manual, I have specified an own setup for citation rendering. However, this seems only to work for single citations (of one source). I want to also specify the separator but did not get it to run. Here is a minimal

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Wolfgang Schuster
Gerion Entrup schrieb am 31.05.2024 um 00:37: Am Donnerstag, 30. Mai 2024, 22:54:47 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 30.05.2024 um 16:25: The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD

[NTG-context] Re: Number in a circle

2024-05-31 Thread Bruce Horrocks
On 31 May 2024, at 00:05, Kip Warner wrote: > > On Thu, 2024-05-30 at 23:20 +0100, Bruce Horrocks wrote: >> I'd be able to maintain a Context PPA but there already seems to be >> one: >> > > I think that's just the source used in Ubuntu. This is

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

2024-05-31 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: framed boxes top aligned howto?

2024-05-31 Thread Hans van der Meer via ntg-context
Forget this question: location=top did the trick. Should have found earlier. Rest of the day contemplating over the fact it took me so long to find out 沈 yours sincerely dr. Hans van der Meer > On 31 May 2024, at 12:13, Hans van der Meer via ntg-context > wrote: > > I have no problem of

[NTG-context] framed boxes top aligned howto?

2024-05-31 Thread Hans van der Meer via ntg-context
I have no problem of aligning two or more \framedtext boxes bottomwise on the baseline, nor centering them vertically within a \vcenter. But I do not succeed in placing them with their top aligned without the following trick: typeset them in a box, determine largestheight and then typeset again

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 23:20 +0100, Bruce Horrocks wrote: > I'd be able to maintain a Context PPA but there already seems to be > one: > I think that's just the source used in Ubuntu. This is called a "source package" in the Debian parlance:

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 23:25, Gerion Entrup wrote: > > Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks: >> >>> On 30 May 2024, at 15:15, Gerion Entrup wrote: >>> >>> Let's begin with a minimal example: >>> ``` >>> \define[2]\MyChapter{% >>> #1 #2:

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Am Donnerstag, 30. Mai 2024, 22:54:47 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 30.05.2024 um 16:25: > > The chapter format that I want to achieve in the end is nearly the one in > > the attachment (excerpt of Christian Dietrich's PhD thesis). > > When you have a complex layout

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks: > > > On 30 May 2024, at 15:15, Gerion Entrup wrote: > > > > Let's begin with a minimal example: > > ``` > > \define[2]\MyChapter{% > > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > > } > > Stop

[NTG-context] Re: Number in a circle

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 21:19, Henning Hraban Ramm wrote: > > 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

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Wolfgang Schuster
Peter Münster schrieb am 30.05.2024 um 23:22: On Thu, May 30 2024, Wolfgang Schuster wrote: The \date mechanism can only use conversions which are defined on the Lua side Ok. How please? This does not work: --8<---cut here---start->8--- \startluacode --

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

2024-05-30 Thread Rik Kabel
My apologies to all, and thank you, Wolfgang. Time to update my notes. -- Rik On 2024-05-30 16:33, Wolfgang Schuster wrote: Rik Kabel schrieb am 30.05.2024 um 19:21:  From my basic environment file, a useful reminder:     %% \mainlanguage sets language used for labels (TOC, chapters, ...)    

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Peter Münster
On Thu, May 30 2024, Wolfgang Schuster wrote: > The \date mechanism can only use conversions which are defined on the Lua side Ok. How please? This does not work: --8<---cut here---start->8--- \startluacode -- from

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 17:26 +0200, Henning Hraban Ramm wrote: > My example wasn’t complete, and so is yours. You just define that > typeface but never use it. I'm probably doing it wrong, but I still can't get it to work: \definefontfallback[SymbolFB] [file:symbola.otf]

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Wolfgang Schuster
Peter Münster schrieb am 30.05.2024 um 13:59: Hi, It seems, that you cannot use self defined conversions in \date: \defineconversion[mytest][X-\romannumerals] \starttext Self defined conversion: \convertnumber{mytest}{1} (OK)\\ Predefined conversion in date: \date[d=1][day:a] (OK)\\ Self

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Wolfgang Schuster
Gerion Entrup schrieb am 30.05.2024 um 16:25: The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD thesis). When you have a complex layout it is easier to use the \defineheadalternative command to create it. To change

  1   2   3   4   5   6   7   8   9   10   >