On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:
Hi,
I don't see why the table of contents does not appear. On the other
hand, the 12 chapters are present.
\startproduct[terminale-manual]
\startfrontmatter
\starttitle[title=Table des matières]
\placelist
]
[SansBold*default sa 2.2]
\setuphead
[title]
[style=ChapterTextStyle,
align=flushright]
\setuplist
[chapter]
[style=bold,
alternative=b,
width=1em]
\setuplist
[section]
[margin=1em,
width=1.75em
[roboto]
\setuphead[chapter]
[style={\switchtobodyfont[roboto,20pt]\ss}]
\starttext
\startchapter[title=Whatever is the best title]
\input tufte
\stopchapter
\startchapter[title={Just a second title}]
Some random text.
\stopchapter
\stoptext
\definefontfeature[robotofeatures
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
%D \module
%D [ file=meta-imp-kaktovik,
%Dversion=2023.04.18,
%D title=\METAPOST\ Graphics,
%D subtitle=Kaktovik Numbers,
%D author
] [ebgaramond] [default]
\stoptypescript
\setupbodyfont[robocop]
\setuphead[chapter][style=\ssbfd]
\starttext
\startchapter[title=Whatever]
\input tufte
\stopchapter
\page
\usemodule[fonts-variable]
\showfontvariations[font=file:robotoflex.ttf]
\stoptext
-pod.nl
-
meta-imp-kaktovik.pdf
Description: Adobe PDF document
%D \module
%D [ file=meta-imp-kaktovik,
%Dversion=2023.04.18,
%D title=\METAPOST\ Graphics,
%D subtitle=Kaktovik Numbers,
%D author
-mathsets
t-rst
t-ruby
t-simplefonts
t-simpleslides
t-tikz
t-title
t-transliterator
t-typearea
t-typescripts
t-vim
t-visualcounter
Some of these are probably outdated, I didn’t check.
If you know something is obsolete, please let us know or remove it
yourself, if you still know your account data
-handlecsv (newer than in dl)
t-layout
t-letter
t-lettrine
t-lilypond (not in dl, obsolete)
t-mathsets
t-rst
t-ruby
t-simplefonts
t-simpleslides
t-tikz
t-title
t-transliterator
t-typearea
t-typescripts
t-vim
t-visualcounter
Some of these are probably outdated, I didn’t check.
If you know something
4cm]},
]
\setuphead
[chapter]
[
style=\bfc,
textcolor=Couleur2,
numbercolor=CouleurContraste2,
sectionsegments=1:2,
page=yes,
align=flushleft,
]
\setuphead
[title]
[
]
\setuphead
[section]
[
style=\bfb,
textcolor=Couleur3,
numbercolor=CouleurContraste3,
]
\setuplayout
[width=12cm,
rightmargin=60mm]
\setupenumerations
[before={\blank},
after={\blank},
alternative=serried,
distance=0.5em,
title=yes,
titleleft=,
titleright=,
titlestyle=normal,
headcommand=\groupedcommand{}{.},
numbercommand=\groupedcommand
=
>
> We added the tex of the pdf below
>
> == extract from roadmap ==
>
> \usemodule[article-basic,abbreviations-logos]
>
> \setupbodyfont[concrete]
>
> \starttext
>
> \startsubject[title=Math in \CONTEXT\ roadmap]
>
> \startitemize[n]
is still experimental and can have issues that we're looking at but hard
> to nail down (huge complex cross-referencing documents). More about that
> later.
>
> ==
>
> We added the tex of the pdf below
>
> == extract from roadmap
dmap ==
\usemodule[article-basic,abbreviations-logos]
\setupbodyfont[concrete]
\starttext
\startsubject[title=Math in \CONTEXT\ roadmap]
\startitemize[n]
\startitem
After playing with math support for more than a year, we have come
to the
conclusion that it is time to move on. We have alr
the chapter
>> number only.
>>
>> How to get the numbering right?
>>
>> Kind regards
>> Willi
>>
>> The following example shows what happens:
>>
>> \useMPlibrary[dum]
>>
>> \definefloat[Afigure][Afigures][figures]
>> \def
> [placehead=yes,
>page=yes]
>
> \setuphead
> [chapter]
> [page=no]
>
> \starttext
>
> \starttitle[title=List of figures]
> \startsubject[title=Figures (predefined figureenvironment)]
> \placelistoffigures
> \stopsubject
>
> \startsub
=yes]
\setuphead
[chapter]
[page=no]
\starttext
\starttitle[title=List of figures]
\startsubject[title=Figures (predefined figureenvironment)]
\placelistoffigures
\stopsubject
\startsubject[title=Figures A]
\placelistofAfigures
\stopsubject
\startsubject
gt;> On 26 Mar 2023, at 12:51, Henning Hraban Ramm via ntg-context
>>> wrote:
>>>
>>> Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context:
>>>> Good evening!
>>>> I have a setup in which I need to send info to the TOC:
>>>> C
, at 12:51, Henning Hraban Ramm via ntg-context
wrote:
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context:
Good evening!
I have a setup in which I need to send info to the TOC:
Consider the following example:
\starttext
\starttitle[title=Contents]
\placelist[chapter][criterium=all
wrote:
>
> Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context:
>> Good evening!
>> I have a setup in which I need to send info to the TOC:
>> Consider the following example:
>> \starttext
>> \starttitle[title=Contents]
>> \placelist[chapter][cri
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context:
Good evening!
I have a setup in which I need to send info to the TOC:
Consider the following example:
\starttext
\starttitle[title=Contents]
\placelist[chapter][criterium=all]
\stoptitle
\startchapter[title=Mychapter]
\input
Willi
\setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix?
\setuphead[part][placehead=yes]
\starttext
\startpart[title=part one]
\starttitle[title=Contents]
\placelist[part,chapter][criterium=all]
\startsubject[title=Figures]
\placelistoffigures[criterium=all
Good evening!
I have a setup in which I need to send info to the TOC:
Consider the following example:
\starttext
\starttitle[title=Contents]
\placelist[chapter][criterium=all]
\stoptitle
\startchapter[title=Mychapter]
\input knuth
\startsubject[title=Subject will be in TOC
gt; \setupcaption[table][location=right,orientation=90]
>> \startplacetable
>> [location=middle,
>> reference=tab:papierformaten,
>> title={Standaardformaten}]
>> \rotate[rotation=90]{\externalfigure[Table1][type=buffer]}
>> \stopplacetable
and place it on
the right side?
My attempt:
\setupcaption[table][location=right,orientation=90]
\startplacetable
[location=middle,
reference=tab:papierformaten,
title={Standaardformaten}]
\rotate[rotation=90]{\externalfigure[Table1][type=buffer
Description: Adobe PDF document
\setupcaption[table][location=right,orientation=90]
\startplacetable
[location=middle,
reference=tab:papierformaten,
title={Standaardformaten}]
\rotate[rotation=90]{\externalfigure[Table1][type=buffer]}
\stopplacetable
Thank you
Le Système international d'unités
>
> Maybe the french title is one of the reasons for the USA not picking up on
> these units? (So let me threaten once again to kick the "in" unit out of
> context.)
>
>> I believe that this point is essential,….
Alan and I will come
On 3/14/2023 7:14 PM, Alan Braslau via ntg-context wrote:
On Tue, 14 Mar 2023 12:03:23 -0600
Gavin wrote:
I’d really like one of the acceptable forms to be the form prescribed
by Le Système international d'unités
Maybe the french title is one of the reasons for the USA not picking up
}{\resetcounter[subfigure]}
\starttext
\startplacefigure[title=Test]
\startfloatcombination[nx=1, ny=2]
\startplacesubfigure[title=Test]
\externalfigure[dummy][width=4cm,height=1cm]
\stopplacesubfigure
\startfloatcombination[nx=2, ny=1]
\startplacesubfigure
://tex.stackexchange.com/a/502903):
\useMPlibrary[dum]
\setupcombinations[alternative=text]
\definefloat[subfigure][local=yes]
\setupcaption[subfigure][numberconversion=a]
\setuplabeltext[subfigure=]
\appendvalue{stopplacefigure}{\resetcounter[subfigure]}
\starttext
\startplacefigure[title=Test
atex. Is this supposed to work?
> >
> > Here is an MWE:
> > ```
> > \definedescription[desc][headstyle=bold]
> >
> > \starttext
> > Foo
> >
> > \desc{Some title} Some text
> > \startitemize
> > \item Some item
> &
d]
>
> \starttext
> Foo
>
> \desc{Some title} Some text
> \startitemize
> \item Some item
> \stopitemize
>
> \stoptext
Use \startdesc ... \stopdesc
\definedescription[desc][headstyle=bold]
\starttext
Foo
\startdesc[title={Some title}]
Some
nd=color,
> > width=0.95\textwidth,
> > backgroundcolor=gbackground]
> >
> > However, there does not seem a possibility to define a title and it
> > seems to not work on multiple pages.
> >
> > Is there a mix
offset=5pt,
background=color,
width=0.95\textwidth,
backgroundcolor=gbackground]
However, there does not seem a possibility to define a title and it
seems to not work on multiple pages.
Is there a mix of an enumeration and framedtex
ound=color,
width=0.95\textwidth,
backgroundcolor=gbackground]
However, there does not seem a possibility to define a title and it
seems to not work on multiple pages.
Is there a mix of an enumeration and framedtext that can produce
something like in the attached picture?
Be
Hi,
I'm trying to use a description environment in conjunction with an
itemize with the latest luametatex. Is this supposed to work?
Here is an MWE:
```
\definedescription[desc][headstyle=bold]
\starttext
Foo
\desc{Some title} Some text
\startitemize
\item Some item
To explain more simply, I've put \pagereference[sample] somewhere in a
document. Intead of just printing the page number that appeared with
\at{page}[sample], I'd like to print the section or subsection title of where
that appeared.
--Joel
On Saturday, March 4, 2023 at 09:18:19 AM MST
I've set a \pagereference in a chapter, and want to print its chapter title and
page number, ex.
"You can find more information in "Fish" on p. 1" (where "Fish" is the title of
the chapter or section).
I've tried looking all through the wiki, thinking this was a ba
t; The keys location=left and location=right will also generate a page break if
> the figure does not fit.
>
> In the end, one needs to tweak a document in final form especially if it
> contains many figures, unfortunately. This is done by moving the
> \startfigure...\stopfigure. Here, the
xml:footnote
\footnote{\xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:figure
\startplacefigure[title={Test},location={force,split}]
\xmlflush{#1}
\stopplacefigure
\stopxmlsetups
\startxmlsetups xml:table-wrap
\startpostponingnotes
\xmlflush{#1}
\stoppostponingnotes
\stopxmlsetups
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:p
\xmlflush{#1}\par
\stopxmlsetups
\startxmlsetups xml:footnote
\footnote{\xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:figure
\startplacefigure[title={Test},location={force,split}]
\xmlflush{#1}
\stopplacefigure
\stopxmlsetups
In the end, one needs to tweak a document in final form especially if
it contains many figures, unfortunately. This is done by moving the
\startfigure...\stopfigure. Here, the use of buffers:
Paragraph text ...
(see \in{figure}[myfigure]).
\startbuffer[myfigure]
\startfigure[reference=myfigure,
ndicator=no] %
> \define[1]\learnedis{%
> \txt{} \getvalue{#1}
> \learnedshort{#1}
> \learnedlong{#1}
> }
> \define[1]\learned{%
> \learnedshort{#1}
> \learnedlong{\getvalue{#1}}
> }
>
> \starttext
>
> \learnedis{blah blah}
>
>
}}
> }
>
> \starttext
>
> \learnedis{blah blah}
>
> \input knuth
>
> \learnedis{some more}
>
>
> \startchapter[title=Standards]
> \placelearnedshort
> \stopchapter
>
> \stoptext
>
>
> My question is, can I have refe
Dear both,
thanks for your answers.
`doloopovermatch` didn't work for me but this below is achieving what I
wanted.
Have a good day,
Alex
%%%
\def\dosomething#1{(#1)}
\def\dosomethingtwo#1{* #1\crlf}
\starttext
\startchapter[title={Foo Bar}][
authors={Alice,Bob,Charline
On 2/24/2023 11:37 PM, Rik Kabel via ntg-context wrote:
Hi,
is it possible to pass a list in a variable? I'd like to pass a list
of authors:
\startchapter[title={Foo Bar}][authors={Alice, Bob}]
% PSEUDOCODE
% for author in \structureuservariable{authors}
% do print(author + '\crlf
{%
> \learnedshort{#1}
> \learnedlong{\getvalue{#1}}
> }
>
> \starttext
>
> \learnedis{blah blah}
>
> \input knuth
>
> \learnedis{some more}
>
>
> \startchapter[title=Standards]
> \placelearnedshort
> \stopchapter
Hi,
is it possible to pass a list in a variable? I'd like to pass a list
of authors:
\startchapter[title={Foo Bar}][authors={Alice, Bob}]
% PSEUDOCODE
% for author in \structureuservariable{authors}
% do print(author + '\crlf')
% done
\stopchapter
Search the wiki. Look for "
Hi,
is it possible to pass a list in a variable? I'd like to pass a list of
authors:
\startchapter[title={Foo Bar}][authors={Alice, Bob}]
% PSEUDOCODE
% for author in \structureuservariable{authors}
% do print(author + '\crlf')
% done
\stopchapter
Thanks
\learnedis{blah blah}
\input knuth
\learnedis{some more}
\startchapter[title=Standards]
\placelearnedshort
\stopchapter
\stoptext
My question is, can I have references to the Workbook page numbers in the
textbook? And visa-versa?
For instance, the Textbook index currently
:24, Bruce Horrocks via ntg-context a écrit :
Hi Alex,
I couldn't get it to work with \tabulate so I switched to TABLE instead. The
workaround for the horizontal mode problem is to put the chapter title into row
two of the table. Hopefully this works with your actual text. Also I'm not sure
where
Hi Alex,
I couldn't get it to work with \tabulate so I switched to TABLE instead. The
workaround for the horizontal mode problem is to put the chapter title into row
two of the table. Hopefully this works with your actual text. Also I'm not sure
where \layoutcolumnwidth is coming from so I
Hello,
I'm trying to figure out how to design a chapter page for a custom head
section with uservariables defined.
I'd like to have the chapter page start on a right page. I'd like this
page to feature the title of the chapter (here: an interview) along with
some other info like
]
\starttext
\startsection[title={Section zero}]foo\stopsection
\startsection[title={Section 1}]bar\stopsection
\stoptext
###
Sorry for the noise
you can often find hints in the test suite (many small files)
Le 16/02/23 à 17:32, Alex Leray via ntg-context a écrit :
Hello,
I'd like to have
Answering my own question… this fits my needs:
###
\defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII,
VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI]
\setuphead[section][conversion=romannumeralszero]
\starttext
\startsection[title={Section zero}]foo
\setupheadnumber[section] [-1]
\startsection[title={Section zero}]\stopsection
\startsection[title={Section one}]\stopsection
\stoptext
###
Thank you,
Alex
___
If your question is of interest to others as well, please
=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Alexandre Leray
+32 487 947 030
Avez-vous pensé à
=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Rik
=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Rik
above the
(framed) title and align the section number with the first line (it's on
the second line)
Any idea? Many thanks.
###
\showframe
\showlayout
\showgrid
\setuplayout[
grid=yes,
]
\define[2]\MySection{\framed[
location=keep,
frame=on,
width=broad,
% height=22pt
, 15. Feb. 2023, 11:59:
Hi Mikael,
here it is:
%%%
\definemakeup [title] [doublesided=empty]
Add pagestate=start to the settings.
Wolfgang
___
If your question is of interest to others as well, p
Alex Leray via ntg-context schrieb am Mi., 15. Feb.
2023, 11:59:
> Hi Mikael,
>
> here it is:
>
> %%%
> \definemakeup [title] [doublesided=empty]
>
Add pagestate=start to the settings.
Wolfgang
___
Hi Mikael,
here it is:
%%%
\definemakeup [title] [doublesided=empty]
\starttext
\input knuth
\starttitlemakeup
Title
\stoptitlemakeup
\input knuth
\stoptext
%%%
thanks
Le 15/02/23 à 11:43, Mikael Sundqvist via ntg-context a écrit :
Hi, and welcome back!
On Wed, Feb 15, 2023 at 11:42 AM
오후 9:05, Jeong Dal via ntg-context 작성:
>
> Dear all,
>
> I copied the code of defining chapter command from metafun-000.tex, and run
> it.
> But the result is different from that in MetaFun Manual.
> There is a big spaces between the number and the title which yields the
Dear all,
I copied the code of defining chapter command from metafun-000.tex, and run it.
But the result is different from that in MetaFun Manual.
There is a big spaces between the number and the title which yields the number
cannot be seen.
I commented out several lines which seems
Indeed, that works. Thank you.
Julian
On 30/1/23 20:14, Hans Hagen via ntg-context wrote:
On 1/30/2023 1:14 AM, jbf via ntg-context wrote:
Am trying to understand how best to change the title metadata in
headertext halfway through a document that has two parts:
Constitutions and Regulations
On 1/30/2023 1:14 AM, jbf via ntg-context wrote:
Am trying to understand how best to change the title metadata in
headertext halfway through a document that has two parts: Constitutions
and Regulations.
My first attempt (did not work)
\startsetups[headertext]
\startdocument
[metadata:title
Am trying to understand how best to change the title metadata in
headertext halfway through a document that has two parts: Constitutions
and Regulations.
My first attempt (did not work)
\startsetups[headertext]
\startdocument
[metadata:title={Regulations}]
\stopsetups
\setupheadertexts
Am 29.01.23 um 18:14 schrieb Joel via ntg-context:
I am creating a template for a 1-page newsletter.
At the top of every page is a huge title, below which is a block with a
brief introduction to the newsletter. The body is just 200-300 words
each issue--I edit it such that all of the content
I am creating a template for a 1-page newsletter.
At the top of every page is a huge title, below which is a block with a brief
introduction to the newsletter. The body is just 200-300 words each issue--I
edit it such that all of the content fits on just one-side, one page. Finally
Hi Pablo,
> \showframe
> \setupinteraction[state=start]
> \starttext
> \startbuffer[abc]
> def foo(x):
> if x == 0:
> bar()
> else:
> baz(x)
> foo(x - 1)
> \stopbuffer
> \comment[location=leftmargin,
> space=yes,
> buffer=abc,
> title={P
g your point with the following sample:
\showframe
\setupinteraction[state=start]
\starttext
\startbuffer[abc]
def foo(x):
if x == 0:
bar()
else:
baz(x)
foo(x - 1)
\stopbuffer
\comment[location=leftmargin,
space=yes,
buffer=abc,
title={Python code}]
{}\ty
}
\starttext
%
\setcoreidea{this works}
\input knuth
\input knuth
\input knuth
\input knuth
\setcoreidea{\getvalue{secret1}}
\startchapter[title=Core Ideas]
\placecoreidea
\stopchapter
\stoptext
f[#f+1] = reference
end
end
if #e > 0 then
lpdf.addtonames("EmbeddedFiles",pdfreference(pdfflushobject(pdfdictionary{
Names = e })))
end
if #f > 0 then -- PDF/A-2|3: all associated files must ha
collect all file description references
else
-- messy spec ... when annot not in named else twice in menu
list acrobat
f[#f+1] = reference
end
end
if #e > 0 then
lpdf.addtonames("Em
[reverse-section] [section,chapter] []
\defineprefixset [reverse-subsection] [subsection,section,chapter] []
\setuphead
[section]
[sectionset=reverse-section]
\setuphead
[subsection]
[sectionset=reverse-subsection]
\starttext
\startchapter [title={A}]
\startsection [title={B
]
[sectionset=reverse-subsection]
\starttext
\startchapter [title={A}]
\startsection [title={B}]
\startsubsection [title={C}] \stopsubsection
\startsubsection [title={D}] \stopsubsection
\startsubsection [title={E}] \stopsubsection
\stopsection
\startsection [title={F}]
\startsubsection [title={G
New Month.
>
> \dorecurse{5}{
> \startDay
> Another day.
>
> \stopDay
> }
>
> \stopMonth
> }}
>
> \starttext
>
> \startYear[ownnumber=2023,title=This]
> A new year begins.
>
> \Dummycontent
>
> \stopYear
>
> \star
}
\stopMonth
}}
\starttext
\startYear[ownnumber=2023,title=This]
A new year begins.
\Dummycontent
\stopYear
\startYear
Next year.
\Dummycontent
\stopYear
\stoptext
-
Hraban
___
If your question is of interest
tle @ level 2 : 0.0 -> \xmlflush {main::35}
pages > flushing realpage 7, userpage 7, subpage 7
pages > flushing realpage 8, userpage 8, subpage 8
structures > end of sectionblock 'whatcomesfirst'
structures > begin of sectionblock 'whatcomesfirst'
s
and footers.
I tried:
\chapter[title={A sample title}][custom_random={custom_value}]
\setupheadertexts[{Prefix: \structureuservariable{custom_random}}]
...
\stopchapter
I tried this code when trying to figure out the mechanism. The prefix
string in placed in the header, but hte custom value
and footers.
I tried:
\chapter[title={A sample title}][custom_random={custom_value}]
\setupheadertexts[{Prefix: \structureuservariable{custom_random}}]
...
\stopchapter
I tried this code when trying to figure out the mechanism. The prefix
string in placed in the header, but hte custom value
Hi,
Let me clarify my question more...
I need to attach some value to a chapter in that key. That custom prefix +
the value in the key is ment to be in the header or a footer as a matter of
fact. The case can apply to both headers and footers.
I tried:
\chapter[title={A sample title
the custom field was not expanded.
It was correctly inserted in a regular paragraph.
For example:
\startchapter
[title={A sample title}][custom_something={random_value}]
...
\stopchapter
How can I put the value of: custom_something in the header with some prefix?
\define[2]\MyChapter{No.#1
in a regular paragraph.
For example:
\startchapter
[title={A sample title}][custom_something={random_value}]
...
\stopchapter
How can I put the value of: custom_something in the header with some prefix?
All the best and thanks,
Pawel
*
\startchapter[title={ Nested }]
\input tufte
\stopchapter
\stopcomponent
\stopproduct
Unfortunately the default font is applied and EB Garamond is not picked up
from the environment.
The question is:
** How can I use such a structure to share styles and layouts kept i the
'Metadata' folder and use
= {Who, Nobody and What, Everyone},
journal = {Good Journal},
title = {The Art of Being},
year= {2017},
}
\stopbuffer
\definebtxdataset[ref]
\usebtxdataset[ref][ref.buffer]
\setupbtx[
dataset=ref,
]
\definebtxrendering
[ref]
[apa]
[
dataset=ref,
]
\usebtxdefinitions[apa
rom a PDF:
>
> \externalfigure[filename.pdf][page=5]
>
> I am making a teacher's guide for a workbook (workbook.pdf). I need to
> be able to display on the page all pages of a particular section.
>
> The teacher's guide uses the same section titles as the workbook, e.g.:
guide uses the same section titles as the workbook, e.g.:
17-A: Title
17-B: Title
In other words, there is 1:1 pairing of section titles in the teacher's
guide and the workbook.
Is there any way to tell ConTeXt to display all of the pages for a
particular section?
\externalfigure[filename.pdf
guide uses the same section titles as the workbook, e.g.:
17-A: Title
17-B: Title
In other words, there is 1:1 pairing of section titles in the teacher's
guide and the workbook.
Is there any way to tell ConTeXt to display all of the pages for a
particular section?
\externalfigure[filename.pdf
of a particular section.
The teacher's guide uses the same section titles as the workbook, e.g.:
17-A: Title
17-B: Title
In other words, there is 1:1 pairing of section titles in the teacher's guide
and the workbook.
Is there any way to tell ConTeXt to display all of the pages for a particular
section
.:
17-A: Title
17-B: Title
In other words, there is 1:1 pairing of section titles in the teacher's guide
and the workbook.
Is there any way to tell ConTeXt to display all of the pages for a particular
section?
\externalfigure[filename.pdf][section=17A]
--Joel
xlua {userdata.Critere ("structure","NoteStructure",2)}
\stopxcell
\stopxrow
\stopxtable
\stopbuffer
\stopenvironment
* The main file is divided in subjects, each one of them
being the feedback to one pupil. In a MWE fashion
\useenv
,2)}
\stopxcell
\stopxrow
\stopxtable
\stopbuffer
\stopenvironment
* The main file is divided in subjects, each one of them
being the feedback to one pupil. In a MWE fashion
\useenvironment [env_corrige]
\starttext
\startsubject[title={Astérix}]
\startluacode
El
and playing with Massi's reply; will probably be
back with more questions :-)
Anyway:
If you've filtered something out like this
local tree = xml.filter (t, "../chapter[@title='mytitle'")
always keep in mind that some expressions return a list of matches, that
can be looped ove
questions :-)
Anyway:
If you've filtered something out like this
local tree = xml.filter (t, "../chapter[@title='mytitle'")
you can then apply a command to it
lxml.command(lxml.id(tree), ".", "xml:chapter:command")
and have to define the command as
\star
__
>
\environment[template.mkiv]
\definemargindata[marginfigure][inright]
\useMPlibrary[dum]
\setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
\setvariables
[headertext]
[title={Interrogation écrite},
number={3},
day={8},
month={11},
year={2022}
Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04:
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
[...]
You can use \offset to shift the enumeration title.
\defineframed
[ExampleHeadFrame]
[location=low,
background
,
after=\blank,
background=]
\setupfloats
[freeregion=no]
\definedescription
[Definition]
[alternative=top,
text={Definition: },
title=yes,
before=\startOliver,
after=\stopOliver,
inbetween={\blank[medium]}]
\startbuffer[sampletext
.
Here’s a working example of my code:
\setupcombinedlist[content][alternative=c]
\starttext
\completecontent
\chapter[title={First chapter}]
\chapter[title={Second, longer chapter}]
\chapter[title={Third chapter}]
\stoptext
Any help is greatly appreciated.
Thanks and best wishes,
Roman
Hi!
Le 14/10/2022 à 16:24, Pablo Rodriguez via ntg-context a écrit :
Dear list,
I have the following sample:
\setuppapersize[A7]
\setupinteraction[state=start,
color=darkred,
contrastcolor=darkred,
focus=standard]
\starttext
\completecontent
\startsection[title
301 - 400 of 7188 matches
Mail list logo