* [NTG-context] issue with "context --pages=reference"
@ 2024-09-21 14:59 Pablo Rodriguez via ntg-context
2024-09-21 15:12 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-09-21 14:59 UTC (permalink / raw)
To: ConTeXt users; +Cc: Pablo Rodriguez
Dear list,
I have the following sample (sample.tex):
\setuppagenumbering[alternative=doublesided]
\setuphead[chapter][reference=ch\namedheadnumber{chapter}]
\starttext
\dorecurse{5}{%
\startchapter[title={Chapter \namedheadnumber{chapter}}]
\dorecurse{\randomnumber{10}{50}}
{\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",
["internal"]=4,
["realpage"]=29,
["reference"]="ch3",
["section"]=4,
},
Which is the right way to invoke "context --pages=[reference]" or what
am I missing here?
Many thanks for your help,
Pablo
___________________________________________________________________________________
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 : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: issue with "context --pages=reference"
2024-09-21 14:59 [NTG-context] issue with "context --pages=reference" Pablo Rodriguez via ntg-context
@ 2024-09-21 15:12 ` Wolfgang Schuster
2024-09-22 12:23 ` Pablo Rodriguez via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2024-09-21 15:12 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez via ntg-context
Cc: Pablo Rodriguez
Pablo Rodriguez via ntg-context schrieb am 21.09.2024 um 16:59:
> Dear list,
>
> I have the following sample (sample.tex):
>
> \setuppagenumbering[alternative=doublesided]
> \setuphead[chapter][reference=ch\namedheadnumber{chapter}]
> \starttext
> \dorecurse{5}{%
> \startchapter[title={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
___________________________________________________________________________________
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 : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: issue with "context --pages=reference"
2024-09-21 15:12 ` [NTG-context] " Wolfgang Schuster
@ 2024-09-22 12:23 ` Pablo Rodriguez via ntg-context
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-09-22 12:23 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
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 sample
Many thanks for your reply, Wolfgang.
Now it works as it should.
Many thanks for your help,
Pablo
___________________________________________________________________________________
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 : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-22 12:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-21 14:59 [NTG-context] issue with "context --pages=reference" Pablo Rodriguez via ntg-context
2024-09-21 15:12 ` [NTG-context] " Wolfgang Schuster
2024-09-22 12:23 ` Pablo Rodriguez via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).