[NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«

2024-09-23 Thread Wolfgang Schuster
=Bundesanzeiger_BGBl&jumpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample: \setuplayout[page] \starttext \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom 22.06.2022_bgbl122s0928.pdf] \stoptext The source above distorts the page presenta

[NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«

2024-09-23 Thread Ulrike Fischer
zeiger_BGBl&jumpTo=bgbl122s0928.pdf > contains one of the documents and here is a minimal sample: > > \setuplayout[page] > \starttext > \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom > 22.06.2022_bgbl122s0928.pdf] > \stoptext > > The source above di

[NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«

2024-09-23 Thread Pablo Rodriguez via ntg-context
On 9/23/24 09:57, Thomas Meyer wrote: > Hi Pablo, > > the same here! Many thanks for your reply, Thomas. I’m afraid I also experience this with https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=OJ:L_202401788 (EU Official Journal). Even the first page displays the issue: \se

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

2024-09-23 Thread Otared Kavian
;> >> That produces 180 chapters of content. >> >> Anyway, my boss is upset she has to use a table of contents to navigate to >> the page she wants, and so wants me to split the file into 180 separate >> files, which somehow is going to be easier to look a

[NTG-context] Re: LMTX and PDF document form German »Bundesgesetzblatt«

2024-09-23 Thread Thomas Meyer
mpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample: \setuplayout[page] \starttext \externalfigure[bgbl_Bundesgesetzblatt Teil I_2022_Nr. 20 vom 22.06.2022_bgbl122s0928.pdf] \stoptext The source above distorts the page presentation with LMTX, but i

[NTG-context] LMTX and PDF document form German »Bundesgesetzblatt«

2024-09-22 Thread Pablo Rodriguez via ntg-context
Dear list, for some reason unknown to me, LMTX has problems with PDF documents comming form the German official gazzette. http://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s0928.pdf contains one of the documents and here is a minimal sample: \setuplayout[

[NTG-context] Re: Envelopes and shaded paths

2024-09-22 Thread Keith McKay
écrit : Hi, I have been playing about with envelopes to produce shaded paths as described in the new LuaMetFun manual, see page 105 therein. Using the code below I wanted to produce a shaded path, in this case a curve and then rotating it in 5 degree steps from 0 to 355 de

[NTG-context] Re: images with alt text

2024-09-22 Thread Pablo Rodriguez via ntg-context
ll be a requirement for the whole European Economic Area. This is where the Accessibility Directive should be applied. Since this may not be the single requirement, I started a new wiki page for that: https://contextgarden.net/Accessibility. Please, feel free to contribute (as ever). >> What

[NTG-context] Re: issue with "context --pages=reference"

2024-09-22 Thread Pablo Rodriguez via ntg-context
On 9/21/24 17:12, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 21.09.2024 um 16:59: >> [...] >> I get no page numbers from: >> >>context --pages=ch3 sample.tex > > Try this (without file extension): context --pages --list=ch3 s

[NTG-context] Re: your favourite ConTeXt debugging tools

2024-09-22 Thread Bruce Horrocks
scope for this email thread but I’d like to see “Debugging” added as a category on the “Basics” wiki page and some of the things under “Further Reading” moved into it, because I think it would be helpful to newcomers to have debugging feature more prominently and the Basics page seems to be t

[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-21 Thread 黄复雄
;Moduledata.vtypeset.rotate_all1") > nodes.tasks.appendaction("shipouts", "after", > "Moduledata.vtypeset.rotate_all2") -- fails here > > \stopluacode > > \starttext > > try > > \stoptext > ``` > > Compiled the mini-try.lmtx and got out

[NTG-context] Re: Envelopes and shaded paths

2024-09-21 Thread Florent Michel
(i) * 5cm), 0.5[blue,white], white); endfor; \stopMPpage Le sam. 21 sept. 2024 à 17:51, Keith McKay a écrit : > Hi, > > I have been playing about with envelopes to produce shaded paths as > described in the new LuaMetFun manual, see page 105 therein. Using the code > below I want

[NTG-context] Re: Envelopes and shaded paths

2024-09-21 Thread Florent Michel
been playing about with envelopes to produce shaded paths as > described in the new LuaMetFun manual, see page 105 therein. Using the code > below I wanted to produce a shaded path, in this case a curve and then > rotating it in 5 degree steps from 0 to 355 degrees to produce a kind o

[NTG-context] Envelopes and shaded paths

2024-09-21 Thread Keith McKay
Hi, I have been playing about with envelopes to produce shaded paths as described in the new LuaMetFun manual, see page 105 therein. Using the code below I wanted to produce a shaded path, in this case a curve and then rotating it in 5 degree steps from 0 to 355 degrees to produce a kind of

[NTG-context] Re: issue with "context --pages=reference"

2024-09-21 Thread Wolfgang Schuster
={Chapter \namedheadnumber{chapter}}] \dorecurse{\randomnumber{10}{50}} {\input zapf\par} \stopchapter} \stoptext I get no page numbers from: context --pages=ch3 sample.tex Try this (without file extension): context --pages --list=ch3 sample Wolfgang

[NTG-context] issue with "context --pages=reference"

2024-09-21 Thread Pablo Rodriguez via ntg-context
}} {\input zapf\par} \stopchapter} \stoptext I get no page numbers from: context --pages=ch3 sample.tex BTW, sample.tuc contains: { ["metadata"]=6, ["numberdata"]=10, ["references"]={ ["block"]="bodypart", ["

[NTG-context] Re: Problem with context --extra=select

2024-09-21 Thread Wolfgang Schuster
Am Sa., 21. Sept. 2024 um 13:31 Uhr schrieb Michael Guravage < gurav...@literatesolutions.com>: > Greetings, > > Regardless of the selection criteria, the select tool selects only the > first page. This feature works in my ConTeXt versions from 2024.05.17 and > 2024.08.13. I

[NTG-context] Re: Accessibility

2024-09-21 Thread Pablo Rodriguez via ntg-context
ht that they probably contained requirements that ConTeXt might need to have them implemented. In fact, it would be wise to see what is required and what may be needed in ConTeXt (starting a new wiki page for accessibility). >> [...] >> The more detailed explanation only intends to sho

[NTG-context] Problem with context --extra=select

2024-09-21 Thread Michael Guravage
Greetings, Regardless of the selection criteria, the select tool selects only the first page. This feature works in my ConTeXt versions from 2024.05.17 and 2024.08.13. I'm running the latest version, i.e. 2024.09.17. context --extra=select --selection=11:16 forexample.pdf I've at

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

2024-09-20 Thread Joel via ntg-context
0}{1}{% > >        \input chapter\recurselevel > > } > > \stoptext > > That produces 180  chapters of content. > > Anyway, my boss is upset she has to use a table of contents to navigate to > the page she wants, and so wants me to split the file into 180  separate >

[NTG-context] Re: Accessibility

2024-09-20 Thread Steffen Wolfrum
nforced (so it seems weird [at least to me] to call UE > directives “laws“). > > Incorporation into national law (sorry, this is “transposition” in > EU-ideolect [https://www.eca.europa.eu/Other > publications/EN_TERMINOLOGY_PUBLICATION/EN_TERMINOLOGY_PUBLICATION.pdf#page=56]) > wa

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

2024-09-20 Thread Bruce Horrocks
; } > > \stoptext > > That produces 180 chapters of content. > > Anyway, my boss is upset she has to use a table of contents to navigate to > the page she wants, and so wants me to split the file into 180 separate > files, which somehow is going to be easier to look at. Ho

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

2024-09-20 Thread Jim
hat produces 180  chapters of content. > Anyway, my boss is upset she has to use a table of contents to navigate to > the page she wants, and so wants me to split the file into 180  separate > files, which somehow is going to be easier to look at. Honestly, she probably > still won&#

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

2024-09-20 Thread Wolfgang Schuster
boss is upset she has to use a table of contents to navigate to the page she wants, and so wants me to split the file into 180 separate files, which somehow is going to be easier to look at. Honestly, she probably still won't ever actually look at it, but that's her requirement.

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

2024-09-20 Thread Denis Maier via ntg-context
er using a product-component based solution. You'll then be able to process each file indivdually while still having a main file around. The page numbers in the individual file will be incorrect, i.e. always start at 1, but for having a quick look that still might be nice. (Hans or Wolfgang p

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

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

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

2024-09-19 Thread Joel via ntg-context
o the page she wants, and so wants me to split the file into 180  separate files, which somehow is going to be easier to look at. Honestly, she probably still won't ever actually look at it, but that's her requirement. The problem is, I've been splitting the file by using Print -

[NTG-context] Re: upload

2024-09-18 Thread Pablo Rodriguez via ntg-context
ource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=429 I have a crappy patch that allows only direct links to embedded children (no file attachment annotations). I think it would be worth to allow /GoToE links to children and parents (using ":>:" and ":

[NTG-context] Re: Accessibility

2024-09-18 Thread Pablo Rodriguez via ntg-context
opa.eu/Other publications/EN_TERMINOLOGY_PUBLICATION/EN_TERMINOLOGY_PUBLICATION.pdf#page=56]) was due more than two years ago (28/06/2022). These legal texts shall enter into force in 28/06/2025 (according to article 31 of the said directive [https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELE

[NTG-context] Re: (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Wolfgang Schuster
. I would be thankful to know if there's a way to change the spacing. Please remove everything from your examples which isn't necessary to show the problem, in your example you can get rid of - the page layout, - the font settings, - the title page and - all settings from \

[NTG-context] appendaction in "shipouts" "after" fails in the latest version

2024-09-15 Thread 黄复雄
t;shipouts", "after", "Moduledata.vtypeset.rotate_all2") -- fails here \stopluacode \starttext try \stoptext ``` Compiled the mini-try.lmtx and got outputs in terminal: ```text D:\ah21\TEX\vertical-typesetting>cd d:\ah21\TEX\vertical-typesetting & chcp 65001 &am

[NTG-context] Re: ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-12 Thread Felix
. mode=node. I see that base is also an option in the settings sig page in context wiki, and ChatGPT told me node is the more 'complete', accurate, glyph based option that is typographically better, but takes more time to produce when used in a doc. Is thi

[NTG-context] collector advice

2024-09-11 Thread jbf
all, hence the 5cm width. Problem is that that vertical label (Taken by...) is on the right hand side of the page, and I can't seem to adjust that with various offset attempts to bring it across to the right of the pic. How do I now get it to

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

2024-09-11 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 11.09.2024 um 04:22: Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of the box. I run your

[NTG-context] Inmargin labels fail to be placed on makeup pages

2024-09-11 Thread Rik Kabel
\definemakeup  [epigraphs][pagestate=start] \definelabel   [ipe][alternative=inmargin] \definelabel   [epi][alternative=right] \starttext \epi[top]This is a numbered page.\ipe[TOP] \startmakeup[epigraphs] The thing about quotes on the internet is that you cannot confirm

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

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 11.09.2024 um 00:35: On 10 Sep 2024, at 19:47, Wolfgang Schuster wrote: You can't use page counters in running text without problems because you're working against the way how TeX constructs pages. The only reliable way are multipass solutions like the

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

2024-09-10 Thread ai2472206007
Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of the box. Regarding the part about referencing commands, I inadvertently

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

2024-09-10 Thread Bruce Horrocks
> On 10 Sep 2024, at 19:47, Wolfgang Schuster > wrote: > > You can't use page counters in running text without problems because you're > working against the way how TeX constructs pages. > > The only reliable way are multipass solutions like the pagestate

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

2024-09-10 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 10.09.2024 um 06:05: 1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number t

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

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 09.09.2024 um 23:27: On 9 Sep 2024, at 08:57, ai2472206...@yeah.net wrote: As the title suggests, how do I get the correct page numbers? There does seem to be an anomaly here. Simpler MWE: \starttext \dorecurse{15}{ \input knuth %{\ssd\color[red]{\pagenumber}} % not

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

2024-09-10 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 10.09.2024 um 06:05: 1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number t

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

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

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

2024-09-09 Thread ai2472206007
I changed the command, and now I get the correct page number with this command, \ but how should he do the calculation? \starttext \definepagestate[test][delay=yes] \dorecurse{10}{% \input knuth % {\ssd\color[red]{\setpagestate[test]\pagestaterealpage{test}{#1}}} } \stoptext Regards, --- Muyik

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

2024-09-09 Thread ai2472206007
That's true, but there seems to be a problem with all three examples, the first page number on the second page is all wrong with an output of 1. There must be some kind of mechanism that we don't know. _

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

2024-09-09 Thread ai2472206007
I used serif fonts and added color just to emphasize this page number. However, it is true that in some cases it is not possible to get the correct page correctly with these commands. ___ If your question is of

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

2024-09-09 Thread ai2472206007
1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number to determine if it's an odd or even page. T

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

2024-09-09 Thread vm via ntg-context
\dorecurse{15}{ \input knuth {\color[red]{\pagenumber}} % as expected } \stoptext (and there is probably a valid reason to it ;-) .F On 09/09/2024 23:27, Bruce Horrocks wrote: On 9 Sep 2024, at 08:57,ai2472206...@yeah.net wrote: As the title suggests, how do I get the correct page numbers

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

2024-09-09 Thread Bruce Horrocks
On 9 Sep 2024, at 08:57, ai2472206...@yeah.net wrote: > > As the title suggests, how do I get the correct page numbers? There does seem to be an anomaly here. Simpler MWE: \starttext \dorecurse{15}{ \input knuth %{\ssd\color[red]{\pagenumber}} % not as expected {\color[red]{\page

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

2024-09-09 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 09.09.2024 um 09:57: Thank to all who answered my questions before. As the title suggests, how do I get the correct page numbers? For example, in the example below, the first line on the 2nd page, but the page number showed is 1, In the meantime, I tried using

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

2024-09-09 Thread ai2472206007
Thank to all who answered my questions before. As the title suggests, how do I get the correct page numbers? For example, in the example below, the first line on the 2nd page, but the page number showed is 1, In the meantime, I tried using \definepagestate, but it didn't seem to work e

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-09-03 Thread Wolfgang Schuster
finalising a book at the moment. References need an anchor to know on which page they end up because a page is finished you don't know the answer. The following example sets three references, one and three marks the start of each paragraph but where should two end up? begin example \usem

[NTG-context] Placement of floats with an "anchor"

2024-09-03 Thread Gerion Entrup
Hi, in my document, I recently left a TODO note that said: "This floating graphic needs to be on the same page than this formula at the end." My floating graphic currently uses: \startplacefigure[title={bla}, location=top, reference=fig:bla] ... \stopplacefigure The graphic

[NTG-context] Re: BUG(?): mailing list archive formatting

2024-09-01 Thread Jim
mail-archive.com before. Is it obvious how >> one divines the "msg108280" part of that URL? > No, I assume that’s their numbering. The “homepage” so to speak is here: > <https://www.mail-archive.com/ntg-context@ntg.nl/> > and you can browse or search as desired. Hi

[NTG-context] Re: (ConTeXt LMTX) How do I fix the centering and setting up width in xtables?

2024-09-01 Thread Wolfgang Schuster
other options. Thank you for reading. Your problem the usage of "option=stretch" to add filler space in the table cells. To calculate the space which is added in each cell context takes the widest text in each column to calculate the current width of the table and when table is narrower

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-08-31 Thread Jürgen Hanneder via ntg-context
iling list On 31 Aug 2024, at 15:37, Joel via ntg-context wrote: I've found just placing \reference[]{} anywhere on a page will create extra blank spaces, In the following MWE you should get two spaces, no spaces and one space respectively. If you get spaces with some other combinat

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-08-31 Thread Bruce Horrocks
> On 31 Aug 2024, at 15:37, Joel via ntg-context wrote: > > I've found just placing \reference[]{} anywhere on a page will create extra > blank spaces, In the following MWE you should get two spaces, no spaces and one space respectively. If you get spaces with some other

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-08-31 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 31.08.2024 um 16:37: I had to place \reference[]{} in various places in my document as I need to refer to page numbers of a lot of various items in the document. There are hundreds of these. When placing them, I hadn't realized it would impact the doc

[NTG-context] Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-08-31 Thread Joel via ntg-context
I had to place \reference[]{} in various places in my document as I need to refer to page numbers of a lot of various items in the document. There are hundreds of these. When placing them, I hadn't realized it would impact the document design--I assumed such a command would be invisible. T

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread Pablo Rodriguez via ntg-context
On 8/31/24 12:24, M U via ntg-context wrote: > Pablo Rodriguez wrote: >> Hans, >> >> I wonder whether MkXL may have page registers for footnotes. >> > Perhaps a feaseble workaround: > • place a section index after the content of the page > > The cons: >

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
Pablo Rodriguez wrote: > Hans, > > I wonder whether MkXL may have page registers for footnotes. > > This would be great to have page glossaries, such as in > https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w... > (first apparatus). > > To b

[NTG-context] Re: Defining mathsymbols from unicode char

2024-08-29 Thread Wolfgang Schuster
Jethro Djan schrieb am 29.08.2024 um 21:27: Dear all, 1. I am trying to define the "pitchfork" unicode character(https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["

[NTG-context] Defining mathsymbols from unicode char

2024-08-29 Thread Jethro Djan
Dear all, 1. I am trying to define the "pitchfork" unicode character( https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["22D4] It works with some unicode characters and n

[NTG-context] registers in footnotes as page glossaries

2024-08-29 Thread Pablo Rodriguez via ntg-context
Hans, I wonder whether MkXL may have page registers for footnotes. This would be great to have page glossaries, such as in https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w.pdf#page=16 (first apparatus). To be fair, I have asked that a while ago (with MkIV). It would

[NTG-context] Re: pdf properties

2024-08-29 Thread Thomas Meyer
er  > LuaMetaTeX mtx-pdf | author    > mtx-pdf | creation date > D:20240829164734+02'00 mtx-pdf | modification date > D:20240829164734+02'00 mtx-pdf | page mode > UseNone mtx-pdf | encrypted > ye

[NTG-context] Re: pdf properties

2024-08-29 Thread Hans Hagen
date > D:20240829164734+02'00 mtx-pdf | modification date > D:20240829164734+02'00 mtx-pdf | page mode > UseNone mtx-pdf | encrypted > yes mtx-pdf | permissions > access print mtx-pdf | cropbox >

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Wolfgang Schuster
especially in the writing of the theorems with the text in italic. Imaginary impression or reality ? Which page/section of the manual you're referring to? Wolfgang ___ If your question is of interest to others as well, p

[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
on=default] \defineoverlay [BackGround] [\ifzeronum\namedheadnumber{chapter}\relax % \orelse\ifodd\namedheadnumber{chapter}\relax \externalfigure[mill][factor=min]% \else \mirror{\externalfigure[mill][factor=min]}% \fi] \setupbackgrounds[page][background=BackGround] \startte

[NTG-context] index entry with sorting and processor

2024-08-25 Thread Henning Hraban Ramm
Hi again, the page number of register entries from a glossary should have a different color: \defineprocessor[glossar][color=green] \define[1]\GlIndex{\index[glossar->]{#1}} This works, but I’d like to apply a macro to the text, and then I need to set the sort order: \define[1]\GlIn

[NTG-context] Re: Is there a short-cut to adding sub-categories for index entries?

2024-08-25 Thread Henning Hraban Ramm
. I’m wondering if there is a short-cut means to set this up, such that if I can tell the document that any time it sees “cliff-dwellings” in an index, it will also add its page numbers to under “dwellings+cliff-dwelling”? In other words, is there an easier way to add these categories, then to go

[NTG-context] Is there a short-cut to adding sub-categories for index entries?

2024-08-25 Thread Joel via ntg-context
time it sees “cliff-dwellings” in an index,it will also add its page numbers to under “dwellings+cliff-dwelling”? In other words, is there an easierway to add these categories, then to go through the entire documentand mark them? I already have a list of all the words.  For instance, in my above

[NTG-context] Re: Does ConTeXt still support ePub output?

2024-08-24 Thread Henning Hraban Ramm
files with some links to each other. Though I could manually go and create tons of HTML files for it, I notice the ConTeXt Garden does mention ePub output as a possibility, but this page was updated in 2014, and I don't see any of hte sample code working. Is ePub still a file format

[NTG-context] Does ConTeXt still support ePub output?

2024-08-24 Thread Joel via ntg-context
manually go and create tons of HTML files for it, I notice the ConTeXt Garden does mention ePub output as a possibility, but this page was updated in 2014, and I don't see any of hte sample code working. Is ePub still a file format that ConTeXt can output? Does it require a significant re

[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
amily [TimesNewRoman] [rm][Times New Roman] \definetypeface [TimesNewRoman] [mm] [math] [stixtwo] \setupbodyfont [TimesNewRoman,12pt] \mainlanguage[en-us] \setupindenting[yes,0.5in] \setupheads[indentnext=yes] % To get indentation after section numbers, use this \setuphead[par

[NTG-context] How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get any re

2024-08-22 Thread Felix
][Times New Roman] \definetypeface [TimesNewRoman] [mm] [math] [stixtwo] \setupbodyfont [TimesNewRoman,12pt] \mainlanguage[en-us] \setupindenting[yes,0.5in] \setupheads[indentnext=yes] % To get indentation after section numbers, use this \setuphead[part][ page=no, placehead=yes

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Pablo Rodriguez via ntg-context
On 8/19/24 17:11, Felix wrote: > Hello mikail, I would send a picture to be more clear with what I > want but it seems to not be possible Hi Felix, attachments to the list should be less than 100kb. If you generate your image as a PNG file, it should fit in that file size. I attach sample image

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Felix
Hello mikail, I would send a picture to be more clear with what I want but it seems to not be possible, what adding the footer=.5in code does is simply take away .5in from the bottom margin, what I mean is that The bottom margin really just becomes 1in because the footer takes up .5in from the m

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Mikael Sundqvist
Hi, I am not sure I understand what you want, but if you change footer=0in to footer=.5in and then add \setuppagenumbering [location=footer] you will get pagenumbers in the footer. If you need to tweak your layout more, it might be helpful to add \showframe to get a hint on how the page is

[NTG-context] Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Felix
hat I want; everything that is included in the preamble that affects the sizing and alignment, but I want a bottom centered page number that is vertically aligned (it doesn't have to be perfect but I think context can oroabbly do that? I'm a complete novice, sorry). Would greatly appreci

[NTG-context] Re: Breakable tcolorbox in ConTeXt

2024-08-11 Thread Florent Michel
;). It works nicely out > of > > the box (pun intended) using `\definetextbackground` and drawing the > > frame with MetaPost, using counters to keep track of whether the current > > text is at the top, middle, or bottom of the box. However, I'm having > > issues when

[NTG-context] Re: Breakable tcolorbox in ConTeXt

2024-08-11 Thread Hans Hagen via ntg-context
ly out of the box (pun intended) using `\definetextbackground` and drawing the frame with MetaPost, using counters to keep track of whether the current text is at the top, middle, or bottom of the box. However, I'm having issues when one box ends and another starts on the same page (see mo

[NTG-context] Breakable tcolorbox in ConTeXt

2024-08-11 Thread Florent Michel
counters to keep track of whether the current text is at the top, middle, or bottom of the box. However, I'm having issues when one box ends and another starts on the same page (see more details below). From what I understand, the issue is that counters seem to be updated on a page-wide basi

[NTG-context] Re: How to allow hyphenation, only for footnotes?

2024-08-10 Thread Wolfgang Schuster
\stop Is there a reason why do the alignment change within a local group? The problem is that is messing with footnotes, causing things like URLS to run off the page. How can I permit the hyphenation to appear normally, but only on the footnote text? \setupalign[verytolerant,nothyphe

[NTG-context] How to allow hyphenation, only for footnotes?

2024-08-10 Thread Joel via ntg-context
hings like URLS to run off the page. How can I permit the hyphenation to appear normally, but only on the footnote text? --Joel ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: Alignments of margin notes

2024-08-03 Thread Pablo Rodriguez via ntg-context
numbering[alternative=doublesided] >>\setuphead[title][page=yes] >> >> Is that right or am I missing something? > > When you have a singlesided document each page is a right side and it > doesn't matter whether it's an even or odd page. Many thanks for your reply, Wo

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Wolfgang Schuster
\setupmarginframed. begin example \setuppapersize[A4][A3] Sorry, Wolfgang, but I must be missing something here. Unless I add the following, inner doesn’t behave as expected (I think it is always outer without these lines): \setuppagenumbering[alternative=doublesided] \setuphead[title][page=yes] Is

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Pablo Rodriguez via ntg-context
; \setuppapersize[A4][A3] Sorry, Wolfgang, but I must be missing something here. Unless I add the following, inner doesn’t behave as expected (I think it is always outer without these lines): \setuppagenumbering[alternative=doublesided] \setuphead[title][page=yes] Is that right or am I missing som

[NTG-context] Re: Customizing chapter and page no. styles

2024-08-02 Thread Duncan Hothersall
In the Metafun manual source the setup for page numbering is: \startuseMPgraphic{circled} pickup pencircle scaled 1mm ; drawoptions(withcolor (.6+uniformdeviate.35)*white) ; fill fullcircle xscaled 1.5cm yscaled 1cm ; drawoptions(withcolor .625yellow) ; draw fullcircle xscaled 1.5cm

[NTG-context] Customizing chapter and page no. styles

2024-08-02 Thread Shiv Shankar Dayal
Hi, I was going through the Metafun manual, the print version, which comes with distribution. I see how page no. and chapters are styles. How can I customize for that kind of output in the current version of ConTeXt? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
ign, > >>>>> % align=inner, > >>>>> % align=nothyphentated, > >>>>> align={inner, nothyphentated}, > >>>>> ] > >>>> Use \setupmarginframed for the alignment. > >>>> > >>

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
text is bold now(?) - All margin nodes are on the left of the page now (this should be only the case for even pages) The location of the margin block and the style are still controlled by \setupmargindata and only the alignment has to be changed with \setupmarginframed. \setupmargindata

[NTG-context] Re: Wiki in Mobile(?) format

2024-08-01 Thread Gerion Entrup
ki.contextgarden.net" link. > > However, the mobile view is not feature complete (colors and renderings are > > missing). > > There is a link at the bottom of each wiki page. Its label is either “Mobile > view” (in your firefox) or “Desktop” (in your Qutebrowser). I am sure

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
> >>> % align=nothyphentated, > >>> align={inner, nothyphentated}, > >>> ] > >> Use \setupmarginframed for the alignment. > >> > >> \setupmarginframed > >> [inmargin] > >> [align={inner,nothyphenated}]

[NTG-context] Re: Wiki in Mobile(?) format

2024-08-01 Thread Taco Hoekwater
gs are > missing). There is a link at the bottom of each wiki page. Its label is either “Mobile view” (in your firefox) or “Desktop” (in your Qutebrowser). I am sure you can guess what clicking on it does. :) Best wishes, Taco _

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
] [align={inner,nothyphenated}] Does the align parameter of \setupmargindata has any function, then? Also, using setupmarginframed leads to other problems: - The margin text is bold now(?) - All margin nodes are on the left of the page now (this should be only the case for even pages) The

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
inner, > > % align=nothyphentated, > > align={inner, nothyphentated}, > > ] > > Use \setupmarginframed for the alignment. > > \setupmarginframed >[inmargin] >[align={inner,nothyphenated}] Does the align parameter of \setupmargindata has any function,

[NTG-context] Re: upload

2024-08-01 Thread Hans Hagen
ndamental changes My book went from 490 to 484 pages, must investigate, might just be better paragraph/page/table breaking or something like that. Or is automatical nonsense-removal now included? run old and new and then context --extra=compare old.pdf new.pdf it might be some improvement in page

[NTG-context] Re: upload

2024-08-01 Thread Henning Hraban Ramm
27;ll fix it, I dared to update, since Hans’ & Mikael’s article for the journal required the latest version. (I wonder what \startimage is about…) Being careful, I did a parallel install, but all looks good so far. My book went from 490 to 484 pages, must investigate, might just be bette

[NTG-context] Reminder: 18th ConTeXt Meeting , August 17-23.

2024-07-30 Thread Taco Hoekwater
to suggest other topics to talk about. We are busy creating the actual schedule, but a lot of the planned talks are already mentioned on the abstracts page of the website (in random order): https://meeting.contextgarden.net/2024/abstracts.shtml Dates and deadlines • August 1st 2024, registr

[NTG-context] Re: How can I force ConTeXt to display my footnote on the same page as my foot note marker?

2024-07-29 Thread Hans Hagen via ntg-context
;, but not 'CASE 2' , placing footnotes related to the previous paragraphs every few paragraphs. But when I was generating a PDF, I found that the footnote didn't always appear on the same page as its footnote number, even though the footnote had very little text. What can I

[NTG-context] Re: How to hide any content?

2024-07-29 Thread Joel via ntg-context
acros that are creating extra spaces >> between paragraphs. Note these macros shouldn’t create any content, as they >> define content that will be sent to registers and content that is used for >> page references. Its more like invisible data, perhaps the word is >> “meta

  1   2   3   4   5   6   7   8   9   10   >