[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-21 Thread Hans Hagen
s the word displayed when links are hovered over. It's not that hard to get something less generic displayed but the question is what and in what detail. A lot of this stuff is not consistent over viewers and it being part of the user interface might also change over time (some viewers also int

[NTG-context] Typesetting conversion tables, ref charts, scales, rulers in ConTeXt

2024-06-20 Thread John Magolske
ile typesets some nice rulers: https://mirrors.ctan.org/macros/generic/misc/ruler.tex Aditya posted some ConTeXt on that stackexchange page: https://tex.stackexchange.com/a/15185 Checking to see if anything else might be out there. Basically, I'm looking to typeset conversion charts, scal

[NTG-context] Re: \brokenpenalties query

2024-06-20 Thread Mikael Sundqvist
, > > > > On Wed, Jun 19, 2024 at 3:40 PM Alan Bowen > <mailto:bowenala...@gmail.com>> wrote: > > > > I have in the past relied on > > \setpenalties\brokenpenalties{1}{1}\ > > to set the penalty for a page break after a hyphen.

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Hans Hagen via ntg-context
On 6/19/2024 4:06 PM, Mikael Sundqvist wrote: Hi, On Wed, Jun 19, 2024 at 3:40 PM Alan Bowen <mailto:bowenala...@gmail.com>> wrote: I have in the past relied on     \setpenalties\brokenpenalties{1}{1}\ to set the penalty for a page break after a hyphen. But

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Mikael Sundqvist
Hi, On Wed, Jun 19, 2024 at 3:40 PM Alan Bowen wrote: > I have in the past relied on > \setpenalties\brokenpenalties{1}{1}\ > to set the penalty for a page break after a hyphen. But with the latest > LMTX, when I run the file, I get the error message > Errorcount

[NTG-context] Re: context / auctex problem?

2024-06-19 Thread Jim
Hi Jürgen (and other auctex users)... On Tue, Jun 18, 2024 at 11:23 (+0200), Jürgen Hanneder via ntg-context wrote: > 1. This sounded like a good solution: > Despite the contextgarden wiki page, which says: >> ;; AUCTeX defaults to mkii; change to iv for iv and lmtx >> (Co

[NTG-context] \brokenpenalties query

2024-06-19 Thread Alan Bowen
I have in the past relied on \setpenalties\brokenpenalties{1}{1}\ to set the penalty for a page break after a hyphen. But with the latest LMTX, when I run the file, I get the error message Errorcount has to be 1 for \brokenpenalties Any advice on how to fix the file would be most

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Hans Hagen via ntg-context
dk-docs/pdfstandards/PDF32000_2008.pdf#nameddest=G11.2054251 refers to https://www.rfc-editor.org/rfc/pdfrfc/rfc3161.txt.pdf#page=20. Not sure how to get that with OpenSSL (never tried). But I may ask how to get that at their GitHub repository. ok Acrobat may be wrong in not detecting the signatur

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Pablo Rodriguez via ntg-context
as unsigned >> attribute) in the PKCS#7 (as mentioned in the PDF spec). > > dunno, can test it https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#nameddest=G11.2054251 refers to https://www.rfc-editor.org/rfc/pdfrfc/rfc3161.txt.pdf#page=20. Not sure how

[NTG-context] Re: context / auctex problem?

2024-06-18 Thread Jürgen Hanneder via ntg-context
1. This sounded like a good solution: Despite the contextgarden wiki page, which says: ;; AUCTeX defaults to mkii; change to iv for iv and lmtx (ConTeXt-Mark-version "IV") this seemed like a good idea, (custom-set-variables    '(ConTeXt-Mark-version "lmtx")

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

2024-06-18 Thread Gerion Entrup
t; > 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 files is attached as an example. > > > > The problem is to embed these PDFs into a ConT

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

2024-06-17 Thread Hans Hagen
On 6/17/2024 5:07 PM, Gerion Entrup wrote: 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 pa

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

2024-06-17 Thread Bruce Horrocks
gt;> >> 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 pre

[NTG-context] table float split behavior

2024-06-17 Thread Henning Hraban Ramm
Table floats split in odd places, independent of top/page/here location. There’s always a first part, then some not-float text, then the other parts. Even if the table would fit on two pages (with location=page), it always gets split into three. Can I influence this anyhow? Hraban

[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. On

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

2024-06-17 Thread Gerion Entrup
localheadsetup \stopsetups \defineheadalternative[chap][renderingsetup=my_chapter] \setuphead[title, chapter][ alternative=chap, after={\page[yes]}, sectionsegments=2:2, header=high, footer=high, style= ] \starttext % embedded startextr

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

2024-06-16 Thread Hans van der Meer via ntg-context
I find on my Mac the following alert when browsing > wiki.contextgarden.net <http://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 ch

[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 <http://wiki.contextgarden.net> Do you want to allow downloads on “wiki.contextgarden.net”? instead of the home page. I don't see any pr

[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 <http://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 updat

[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] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
ions.com> \usemodule[pocketdiary] %D Choose and setup the font to be used \setupbodyfont[ibmplex,ss,12pt] % Supported languages: EN,DE,NL,FR,IT,ES \mainlanguage[nl] % Switch off the page numbering \setuppagenumbering[location=] % Setup the paper size \setuppapersize[A4,portrait][A4,portrait] % A

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

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

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

2024-06-08 Thread Pablo Rodriguez via ntg-context
;\xmla As this comes from https://wiki.contextgarden.net/images/8/8c/xhtml.pdf#page=16 and it seems to be previously defined on This comes from https://wiki.contextgarden.net/images/8/8c/xhtml.pdf#page=10, I would say: \startxmlsetups xml:img \placefigure [here] [\xmlatt{#1}{src

[NTG-context] Re: ConTeXt source from XML

2024-06-07 Thread Pablo Rodriguez via ntg-context
l I can say is that I have read xml-mkiv.pdf and I know I will learn way more from this document than the huge amount of things I have already discovered reading it. >> [...] >> Having the text properly formatted and printed on paper helps a lot to >> spot errors. > > Same h

[NTG-context] ConTeXt source from XML

2024-06-06 Thread Christoph Edenhauser
perly formatted and printed on paper helps a lot to spot errors. Same here: It's the paper! (I for myself prefer for the first proof reading a page lots of white space, in monospaced font like Courier, while my proofreader wants to see the font that will be used in the end.) Thank you very muc

[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

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

[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#pa

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

[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 \externalfigure[DSC_2782][width=0.32\textwidth

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Christoph Edenhauser
an be done when processing and there are mechanisms to inject e.g. page breaks using processing instruction. Probablyh not all is documented. There is a xml-mkiv-tricks.tex file in the distribution (no pdf is

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

2024-06-04 Thread Jim
co, >> thanks very much for the link. But, ummm, what it says there seems to >> contradict what Wolfgang told me in the other response to my message. >> [[ I see Wolfgang edited the \blank wiki page to move the text in question >> to after \starttext, but I'm sure if you

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Hans Hagen
ile.xml' into a ConTeXt-file 'file.tex' instead of typesetting it as a 'file.pdf'. What do you want to tweak. HEre is the lowest level approach: test 1 test 2 test 3 But quite some can be done when processing and there are mechanisms to

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

2024-06-04 Thread Wolfgang Schuster
Hi Taco, thanks very much for the link. But, ummm, what it says there seems to contradict what Wolfgang told me in the other response to my message. [[ I see Wolfgang edited the \blank wiki page to move the text in question to after \starttext, but I'm sure if you don't believ

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

2024-06-04 Thread Jim
ttps://wiki.contextgarden.net/Help:Context Hi Taco, thanks very much for the link. But, ummm, what it says there seems to contradict what Wolfgang told me in the other response to my message. [[ I see Wolfgang edited the \blank wiki page to move the text in question to after \starttext, but

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

2024-06-04 Thread Kirill Davidov
ple pages. My best guess is that something goes awry when checking how much vertical space is available, since uncommenting the filler line leaves no space for an additional line in the page. On 6/4/2024 3:57 PM, Давыдов, Кирилл Александрович wrote: > On a related note, one can also observe that wit

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

2024-06-04 Thread Jim
\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 input? >> Q2: If the wiki page is inconsistent, is there an easy fix? >> Q3: If my installati

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

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

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

2024-06-04 Thread Hans Hagen via ntg-context
nearly not enough text before the float to fill a page. Not only that, a second float like that seems to lead to fatal errors related to an unclosed group, however the document compiles regardless. The following MWE is an example of this. I am using ConTeXt version 2024.05.27 18:16. \definefloat

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

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

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

2024-06-01 Thread Wolfgang Schuster
\headtextcontent. begin example \starttext % \setuphead[section][alternative=normal] % default alternative \section{Lorem ipsum} \samplefile{lorem} \page \setuphead[section][alternative=text] \section{Lorem ipsum} \samplefile{lorem} \page \setuphead[section][alternative=middle] \section

[NTG-context] Re: Number in a circle

2024-05-31 Thread Bruce Horrocks
istros can install from it if they know the 'magic' command line trickery. > But if you click the "Other versions of 'context' in untrusted > archives" at the bottom of the page it will show you PPAs. There > appears to be three, all of which are ancient.

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
; in the Debian parlance: https://www.debian.org/doc/debian-policy/ch-source.html But if you click the "Other versions of 'context' in untrusted archives" at the bottom of the page it will show you PPAs. There appears to be three, all of which are ancient. Just so you know,

[NTG-context] Re: Number in a circle

2024-05-30 Thread Bruce Horrocks
ake > sure everything fits together. > > ConTeXt is different in that the distribution is closely coupled to binary > versions. It would be possible to set up a PPA independent of TeX Live, I > guess. (Have binary & macros in the same package, maybe docs & fonts > separate…) Bu

[NTG-context] Re: Number in a circle

2024-05-30 Thread Thomas A. Schmitz
On 30.05.24 18:18, Kip Warner wrote: Thanks Hrabab. With respect to the latter wiki page, the project might consider adding a PPA. They're very popular among the over a hundred different Debian based distros out there. They reconcile both system requirements of proper FHS usage and file tra

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
distribution with a current version. > > You can also install an additional ConTeXt LMTX, just be careful > about your PATH. > https://wiki.contextgarden.net/Installation Thanks Hrabab. With respect to the latter wiki page, the project might consider adding a PPA. They're very po

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

2024-05-30 Thread Gerion Entrup
n Thu, May 30, 2024 at 02:15:01PM +, Gerion Entrup wrote: > > Hi, > > > > I'm trying to adapt the format of chapters in my document and have a few > > questions regarding setuphead. > > My aim is to have the chapter (title) on a separate page with an additional &

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

2024-05-30 Thread Tomáš Hála
máš -- On Thu, May 30, 2024 at 02:15:01PM +, Gerion Entrup wrote: > Hi, > > I'm trying to adapt the format of chapters in my document and have a few > questions regarding setuphead. > My aim is to have the chapter (title) on a separate page with an additional > i

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

2024-05-30 Thread Gerion Entrup
document and have a few > questions regarding setuphead. > My aim is to have the chapter (title) on a separate page with an additional > intro in different text sizes for title, subtitle and the intro. > I chose to use the "command=" argument in setuphead for that. > Howe

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

2024-05-30 Thread Gerion Entrup
Hi, I'm trying to adapt the format of chapters in my document and have a few questions regarding setuphead. My aim is to have the chapter (title) on a separate page with an additional intro in different text sizes for title, subtitle and the intro. I chose to use the "command=&qu

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

2024-05-30 Thread Rik Kabel
Bypass the place figure mechanism completely  by placing them on the page in an overlay. On May 30, 2024 04:22, Tomáš Hála wrote:Hi Charlie, I guess that \starttplacefigure[location={none},...] might help you. Or (older) \placefigure[none][,,,]{...}{...} Best, Tomáš > I have

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

2024-05-30 Thread Tomáš Hála
topplacefigure > > These are not part of the text and I don’t want them to appear in the list. > > The caption for the logo doesn’t appear in the List of Figures but the page > number does. How can I prevent these particular graphics from being li

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

2024-05-29 Thread Kip Warner
ber and footnote itself numbercommand=] % Remove elevated footnote notation at bottom of page \setupnote[footnote] [textseparator={\textcomma}, % Comma delineated before={\crlf\crlf}] % \setupfootnotes [rule=on, % Disable horizontal rule

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

2024-05-29 Thread Charles Doherty via ntg-context
Hi Mikael, > I notice that you addressed Wolfgang, but you also sent to the list. > One way could be to condition on being on a chapter page: > > \setupheadertexts > [\doifelsefirstsectionpage{chapter}{\userpagenumber}{}] > > \setupheadertexts > [\doifelse

[NTG-context] Re: Number in a circle

2024-05-28 Thread Wolfgang Schuster
=textcircle,   location=low,     offset=none] \starttext \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} \stoptext Thank you again Wolfgang. This is very helpful and works well. One question I have for you is how to set the colour of the circle to match the other text on my page

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
, > frame=off, >     background=textcircle, >   location=low, >     offset=none] > > \starttext > \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} > \stoptext Thank you again Wolfgang. This is very helpful and works well. One question I have for you i

[NTG-context] Re: page number

2024-05-26 Thread Wolfgang Schuster
Charles Doherty via ntg-context schrieb am 26.05.2024 um 11:27: Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter

[NTG-context] Re: page number

2024-05-26 Thread Mikael Sundqvist
Hi Charles, On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context wrote: > > Dear Wolfgang, > > I have a book in preparation with running heads. > > > Pagenumber marking |marking Pagenumber > > The chapter title page has empty headings. >

[NTG-context] page number

2024-05-26 Thread Charles Doherty via ntg-context
Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on

[NTG-context] Re: Suppress pagenumber

2024-05-23 Thread Wolfgang Schuster
Thomas Meyer schrieb am 23.05.2024 um 16:34: Need Help! I'm standing in front of the barn door ... How can I suppress the pagenumber only on the first page? \starttext \noheaderandfooterlines \dorecurse{10}{\samplefile{lorem}} \stoptext Wol

[NTG-context] Suppress pagenumber

2024-05-23 Thread Thomas Meyer
Need Help! I'm standing in front of the barn door ... How can I suppress the pagenumber only on the first page? Thanks in advance Thomas___ If your question is of interest to others as well, please add an ent

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

2024-05-21 Thread Luc Chabassier
bold{#1:} \samplefile{ward}% > \startmarginblock Note #1\stopmarginblock > \par} > > \stoptext I did not know about margin blocks, they are nice. But is there a way to place them next to the \startmarg

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

2024-05-21 Thread Wolfgang Schuster
page with \par 1..10 -> the notes 1..11 \par 11..20 -> the notes 12..21 \par 21..30 -> the notes 32..31 ... is this expected standard? i'd expect \par and notes synced on page. 1..10 -> 1..10 TeX was still on page 1 to collect text when it put note 11 into the buffer for t

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

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

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

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

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

2024-05-21 Thread Wolfgang Schuster
Luc Chabassier schrieb am 21.05.2024 um 15:35: Excerpts from Hans Hagen's message of May 21, 2024 11:45 am: you have to provide some mwe so that we can see what is intended; in principle much info is available one way or the other I joined a minimal working example. The lua function `userdata.s

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

2024-05-21 Thread Hans Hagen
overlays that automatically places the notes using lua. To know where the ideal placement should be (if they do not interact with each other), I use lua to insert a latelua whatsit that uses lpdf.getpos() to get the coordinate on the rendered page. However, I haven't found a way to get the page n

[NTG-context] LUA API for page numbers

2024-05-21 Thread Luc Chabassier
. To know where the ideal placement should be (if they do not interact with each other), I use lua to insert a latelua whatsit that uses lpdf.getpos() to get the coordinate on the rendered page. However, I haven't found a way to get the page number using lua, and the tex macro \pagenumb

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

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

[NTG-context] build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread garulfo
mmand{\leftaligned{#2}} %-- \define[2]\MyPageBuilder{% \page \setupbackgrounds[page][background=testA] \definelayer[testA] [x=0mm, y=0mm,width=\paperwidth, height=\paperheight] ~ \startshapetext[mymetafunpath, mymetafu

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

2024-05-18 Thread Bruce Horrocks
t; various sources of documentation : > In one small table he/she has an overview of the documentation for a given > topic, : > - the few key tutorials > - link to one "main wiki page" about the topic > - the few key manuals > - the reference for commands The fonts p

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

2024-05-17 Thread garulfo
documentation for a given topic, : - the few key tutorials - link to one "main wiki page" about the topic - the few key manuals - the reference for commands I'm not sure I've selected the few documents that are considered by the community as the key tutorials. Thanks for your

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

2024-05-17 Thread Pablo Rodriguez via ntg-context
t work, but > being a bit surprised by the margins I printed a copy of the page > and still worse... Hi Miguel, this should work (also in the sense of a minimal sample): \showframe\showgrid \defineframedtext[FunnyText] [frame=on, align=flushright,location=right] \def\FrameTi

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

2024-05-17 Thread madiazm . eoicc
I finally found showframe (so difficult to remember things...) to see and indeed the first frame is ignoring the margin-distance (apart from the issues of printed margins in paper, that I should persue too... page with frames: https://drive.google.com/file/d/1684nQRH_Cgm2P_5dW1JbODJjdscrj3tB

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

2024-05-17 Thread madiazm . eoicc
thanks Wolfgang for your advice and sorry for being so verbose, but since the margins are "included" in the problem I decided to put my layout there too. I made your suggested changes and unfortunately it doesnt work, but being a bit surprised by the margins I printed a copy of th

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

2024-05-17 Thread Wolfgang Schuster
madiazm.eo...@gmail.com schrieb am 17.05.2024 um 00:05: Hi, I used some code from the meta-fun manual to recreate a labelled frame around my sections. But the first framedtext protrudes a couple of mm into the margin. Only the first one in the page. I intentionaly added other sections and the

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

2024-05-17 Thread madiazm . eoicc
buahhh, I'm on context-on-web too, but I get this protruding... I even tried to put something before the section (letter k in the pdf) to see if the reason was being the frame the first thing on the page, but persists... ... I can't atach my pdf! here the link https://drive.googl

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

2024-05-16 Thread madiazm . eoicc
Hi, I used some code from the meta-fun manual to recreate a labelled frame around my sections. But the first framedtext protrudes a couple of mm into the margin. Only the first one in the page. I intentionaly added other sections and the frames aline to the margin ok. I tried to put something

[NTG-context] compatibility between \startshapetext and \startsection ?

2024-05-14 Thread garulfo
,stretch,normal]% \setupindenting[yes,small]% \strut% \reference[myref1]{MyRef1}Here is the first reference.\par See reference \in[myref2] on \at{page}[myref2]\par % \dorecurse{5}{ %\startsection[title={Title for section{\recurselevel}}] \darkred\input knuth \par \darkblue\input ward %\stopsection

[NTG-context] index sort order (de)

2024-05-14 Thread Henning Hraban Ramm
ere’s none for {zm,pm,zc,zm,uc} (upper like lower, ignore diacritics – basic default for German). """ \mainlanguage[de] \setupregister[index][language=de] \starttext \index{Apfel} \index{Äpfel} \index{apfel} \index{äpfel} \index{aepfel} \index{Aepfel} \index{Ápfel} \index{ápfel} \page

[NTG-context] [installation] "unzipping" gives 0K files on windows

2024-05-14 Thread yashpalgoyal1304+ntgcontext
3075584 : tex/texmf-win64/bin/luametatex.exe mtx-install | skipping tex/texmf-win64/bin/mtxrun.exe mtx-install | new : 100 % : 701766 : tex/texmf-win64/bin/mtxrun.lua ``` - ### links [context_history]: https://wiki.contextgarden.net/ConTeXt_history#ConTeXt_LMTX "lmt

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

2024-05-14 Thread Ross Schulman
Hi, sorry. The example was in an earlier message in the thread: https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/ZLVFEBU73KBBCBUQMWXZWER2CZHR6ZR2/ I fixed the problem for now by forcing a page break where it was needed. On Tue, May 14, 2024, at 6:57 AM, Wolfgang Schuster wrote

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

2024-05-14 Thread Wolfgang Schuster
Ross Schulman schrieb am 07.05.2024 um 01:33: So, unfortunately while using `\testpage` helped in the version of the resume I was working on at the time, I've encountered the error again now that some different content is making the page break at a different point, and setting `\testpag

[NTG-context] Is there a way to consolidate index reference numbers by book?

2024-05-10 Thread Joel via ntg-context
other words, it says WB 1 in front of every page number from the first workbook. Is there any way to consolidate the page numbers by book, e.g. output instead like this: WHST.1.1: 11, 231, WB1: 124, 133, WB 2: 325, 345 In other words, it list all page numbers for Workbook 1 right after WB 1: instead

[NTG-context] How to place text, but make it completely hidden from viewers?

2024-05-09 Thread Joel via ntg-context
ays where it appears, but its making the double-spaced break everywhere. Is there either (1) something can enter before this code that essentially has the effect of "backup to the previous paragraph" or (2) some other method of hiding text that makes it present on the page, but jus

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

2024-05-08 Thread Ross Schulman
ion of the resume > I was working on at the time, I've encountered the error again now that some > different content is making the page break at a different point, and setting > `\testpage` as high as 6 is not fixing the problem. Is there something else I > can/should try? &

[NTG-context] Re: more register questions!

2024-05-07 Thread Rik Kabel
amplefile{lorem}\expanded{\setregisterentry[index][entries=\recurselevel]}% \samplefile{lorem}\footnote{xxx\expanded{\setregisterentry[index][entries=\recurselevel][footnote={\rawcountervalue[footnote]}]}}%    \samplefile{lorem}} \page \placei

[NTG-context] Re: intercolumn pull quotes typesetting

2024-05-07 Thread Garulfo
Hi all, I am happy to share one way to get "pull quotes between two columns" (in a three columns layout). https://wiki.contextgarden.net/images/5/50/context_3columns_layout.pdf It's not based on Columns / ColumnSet / Page Columns. It just combines \startuseMPgraphic + build_par

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

2024-05-06 Thread Ross Schulman
So, unfortunately while using `\testpage` helped in the version of the resume I was working on at the time, I've encountered the error again now that some different content is making the page break at a different point, and setting `\testpage` as high as 6 is not fixing the problem. Is

[NTG-context] Re: transparent color

2024-05-06 Thread Wolfgang Schuster
,a=1] because I do not know the rgb values of the color that must be made transparent, only its name. How to accomplish? The Wiki page <https://wiki.contextgarden.net/Color> gives the source files for various sets of colours (built in, crayola etc) and the source has the RGB values in a

[NTG-context] Re: transparent color

2024-05-06 Thread Bruce Horrocks
ecause I do not know the rgb values of the color that must be made > transparent, only its name. > > How to accomplish? The Wiki page <https://wiki.contextgarden.net/Color> gives the source files for various sets of colours (built in, crayola etc) and the source has the RGB valu

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
flush {#1} \stopxmlsetups \startxmlsetups xml:chapter \xmlflush {#1} \page \stopxmlsetups \startxmlsetups xml:p \xmlflush {#1} \par \stopxmlsetups \startxmlsetups xml:footnote \footnote[\xmlatt{#1}{id}]{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:indexentry \xmldoiftext {#1} {anc

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