\setupinteraction[date=***] only accepts a date as input.
>
> Would it be possible that it was subtitle or title any of the options
> you used?
we can of course accept anything but because these dates end up in
d
}
\setupinteraction [date={\DraftOf}]
Hi Rik,
\setupinteraction[date=***] only accepts a date as input.
Would it be possible that it was subtitle or title any of the options
you used?
we can of course accept anything but because these dates end up in
different spots it gets hairy ... also it
Joseph Yoder}
\stopbuffer
\startchapter[title={One}]
\dorecurse{5}{\input tufte \par \input knuth}
\stopchapter
\startchapter[title={Two}]
\dorecurse{5}{\input tufte \par \input knuth}
\stopchapter
\stoptext
Wolfgang
e={\DraftOf}]
Hi Rik,
\setupinteraction[date=***] only accepts a date as input.
Would it be possible that it was subtitle or title any of the options
you used?
Just in case it helps,
Pablo
--
http://www.ousia.tk
___
I
th of them to test if everything works as expected.
Wolfgang
%D \module
%D [ file=type-imp-kurier,
%Dversion=2021.10.24,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Kurier,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={
gt;>
> >> You can use \part.
> >
> > Yes. Thanks. But that leads to additional questions:
> > - how do I get the parts to show up in the table of contents? Because I
> tried \part but it did not show up
> > - how do I let chapters number on (not restart
stions:
> - how do I get the parts to show up in the table of contents? Because I tried
> \part but it did not show up
> - how do I let chapters number on (not restart in each part, and not a x.y
> number but simply ‘2. Chapter’
> - what is a good way to create actual RHS ‘title
numbering command
\definestructureconversionset[sectionnumbers][R,n][n]
the following definition
\definestructureconversionset[appendix:sectionnumbers][R,Character][n]
> I haven’t looked at getting the part title somewhere at 1/3 of the page
> and horizontally centered yet. And the part title page shou
> I tried \part but it did not show up
> - how do I let chapters number on (not restart in each part, and not
> a x.y number but simply ‘2. Chapter’
> - what is a good way to create actual RHS ‘title’ pages for each
> chapter?
> - how do I get parts to number with Roman numer
oblem, do you have a example.
- how do I let chapters number on (not restart in each part, and not a x.y
number but simply ‘2. Chapter’
Use \defineresetset as shown below.
- what is a good way to create actual RHS ‘title’ pages for each chapter?
Use a doublesided layout.
- how do I get par
pters number on (not restart in each part, and not a x.y
number but simply ‘2. Chapter’
- what is a good way to create actual RHS ‘title’ pages for each chapter?
- how do I get parts to number with Roman numerals?
Gerben
>
> Wolfgang
>
__
with directives. The reason is that the fact
that we can set the date (and traler) is only because it permits
generating pdf files that can be compared. No date as a bad idea anyway.
\setupinteraction[title=My Title]
% \enabledirectives[backend.date=2034-06-07]
\enabledirectives[backend.date=no
the fact
> that we can set the date (and traler) is only because it permits
> generating pdf files that can be compared. No date as a bad idea anyway.
>
> \setupinteraction[title=My Title]
> % \enabledirectives[backend.date=2034-06-07]
> \enabledirectives[backend.d
with directives. The reason is that the fact
that we can set the date (and traler) is only because it permits
generating pdf files that can be compared. No date as a bad idea anyway.
\setupinteraction[title=My Title]
% \enabledirectives[backend.date=2034-06-07]
Many thanks for the new version, Hans
n is that the fact
> that we can set the date (and traler) is only because it permits
> generating pdf files that can be compared. No date as a bad idea anyway.
>
> \setupinteraction[title=My Title]
> % \enabledirectives[backend.date=2034-06-07]
> \enabledirectives[
t
> that we can set the date (and traler) is only because it permits
> generating pdf files that can be compared. No date as a bad idea anyway.
>
> \setupinteraction[title=My Title]
> % \enabledirectives[backend.date=2034-06-07]
Many thanks for the new version, Hans.
Is there a w
generating pdf files that can be compared. No date as a bad idea anyway.
\setupinteraction[title=My Title]
% \enabledirectives[backend.date=2034-06-07]
\enabledirectives[backend.date=no]
\enabledirectives[backend.trailerid=no]
\starttext
\startTEXpage
\blackrule[height=1cm,depth=0cm,width=4cm,color
d]), isn’t no simpler way to get ISO 8601 formatting
> from doc.Info.ModDate than the following one?
>
> \starttext
> \startluacode
> function document.transfer_metadata(name)
> local main_doc = lpdf.epdf.load(name)
> context.setupinteraction{ t
name)
local main_doc = lpdf.epdf.load(name)
context.setupinteraction{ title = main_doc.Info.Title }
context.setupinteraction{ date = main_doc.Info.ModDate:sub(3,6) ..
"-" .. main_doc.Info.ModDate:sub(7,8) .. "-" ..
main_doc.Info.ModDate:sub(9,10) .. "T" ..
ma
]
\stoptext
The axis labels, tick labels, and title are all incorrect. This file was
generated with Matplotlib.
If you open test.svg with Inkscape, ungroup and then save, you get a
SVG that is typeset right with LMTX.
Looking at the differences between the two SVGs, I can see that
Inkscape
\stoptext
>
>
> The axis labels, tick labels, and title are all incorrect. This file was
> generated with Matplotlib.
>
> ___
> If your question is of interest to others as well, please add an entry to
On 10/18/2021 5:15 PM, Jason Ross via ntg-context wrote:
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all incorrect. This file was
generated with Matplotlib
On 10/18/2021 6:06 PM, mf via ntg-context wrote:
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto:
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all
perly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all incorrect. This file was
generated with Matplotlib.
If you open test.svg with Inkscape, ungroup and then save, you get a
SVG that is typeset right with LMTX.
Looking at the differ
On 10/18/2021 6:06 PM, mf via ntg-context wrote:
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto:
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto:
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all incorrect. This file was
generated with Matplotlib
properly:
>
>
> \starttext
> \externalfigure[test.svg][conversion=mp]
> \stoptext
>
>
> The axis labels, tick labels, and title are all incorrect. This file was
> generated with Matplotlib.
>
> ___
>
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all incorrect. This file was
generated with Matplotlib
[location=]
\definefont
[ChapterTextStyle]
[SansBold*default sa 2.2]
\setuphead
[title]
[style=ChapterTextStyle,
align=flushright]
\setuplist
[chapter]
[style=bold,
alternative=b,
width=1em]
\setuplist
sa 2.2]
\setuphead
[title]
[style=ChapterTextStyle,
align=flushright]
\setuplist
[chapter]
[style=bold,
alternative=b,
width=1em]
\setuplist
[section]
[margin=1em,
width=1.75em]
\setuplist
[subsection
low, but example 3
> >> using lua functions for combination and externalfigure is what I
> >> wanted to use in the first place.
> >>
> >> MWE:
> >>
> >> \starttext
> >>
> >> \startluacode
> >>
> >> -- Comb
correct result with examples 1 and 2 below, but example 3
using lua functions for combination and externalfigure is what I
wanted to use in the first place.
MWE:
\starttext
\startluacode
-- Combination 1
context.startplacefigure({title = "Figure"})
context.startcombination({nx = &q
using lua functions for combination and externalfigure is what I wanted
to use in the first place.
MWE:
\starttext
\startluacode
-- Combination 1
context.startplacefigure({title = "Figure"})
context.startcombination({nx = "2", ny = "2"},
"\\external
ot;, though.
— html-test.tex —
\definefontfamily [mainface][math][stix]
\setupbodyfont[mainface,10pt]
\setupinteraction[state=start, click=yes, focus=standard, color=darkblue]
\setupbackend[export=yes] % Exporting HTML/XML
\defineregister [index]
\setupregister [index] [indi
On 10/10/21 6:51 PM, Hans Hagen via ntg-context wrote:
> On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> Being the sample file https://pdf.ousia.tk/metadata.pdf, Acrobat cannot
>> display the imported title or either the creation or modification d
er for it):
```
% Setup a minimal bibliography
\startbuffer [bib]
@book{Author1:2016,
author={Author1},
title={Work1},
note={W1},
publisher={Publisher1},
year=2016,
}
@book{Author2:2015,
author={Author2},
title={Work2},
publisher={Publisher2},
year=2015,
}
\stopbuffer
\usebtxdataset [bib.bu
wanted to use in
the first place.
MWE:
\starttext
\startluacode
-- Combination 1
context.startplacefigure({title = "Figure"})
context.startcombination({nx = "2", ny = "2"},
"\\externalfigure[cow][width=50mm]","Caption 1",
"\\externalfigure[cow]
On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\starttext
\startluacode
function document.transfer_metadata(name)
local main_doc = lpdf.epdf.load(name)
lpdf.addtoinfo("Title", lpdf.unicode(main_doc.
Dear list,
I have the following sample:
\starttext
\startluacode
function document.transfer_metadata(name)
local main_doc = lpdf.epdf.load(name)
lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title),
lpdf.string(main_doc.Info.Title))
lpdf.addtoinfo(&qu
topstyleandcolor
>> }
>> \btxcomma
>> }
>> \stoptexdefinition
>> ```
>>
>> Do I have to apply expansion control somewhere else or in some other way?
>>
>> Joey
>>
>> On Wed, Oct 6, 2021 at 2:35 PM Joey McCollum
eviation command in an \expanded command as follows:
>>
>> ```
>> \startsetups btx:sbl:cite:short
>> ...
>> \btxdoif {shorthand} {
>>
>> \expanded{\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}}}
>> }
>> ...
>> \stopse
oif {shorthand} {
>
> \expanded{\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}}}
> }
> ...
> \stopsetups
> ```
>
> It looks like passing the macro \currentbtxtag as the tag for the
> abbreviation works fine. And if I redefine the abbreviations syn
All right, I think I see what I did wrong; I just needed to enclose the
whole \abbreviation command in an \expanded command as follows:
```
\startsetups btx:sbl:cite:short
...
\btxdoif {shorthand} {
\expanded{\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title
orm. My
first thought was that I could accomplish this with something like the
following:
```
\startsetups btx:sbl:cite:short
...
\btxdoif {shorthand} {
\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}}
}
...
\stopsetups
```
But even if I invoke \placelistofabbrevi
lost,
I've repeated the code below:
```
publications.sortmethods.authortitle = {
sequence = {
{ field = "author",default = "", unknown = "" },
{ field = "title", default = "", unknown = "&q
et the buffers to make the figures:
\startbuffer[MyTikZFigure]
% TikZ code here
\stopbuffer
\startplacefigure[reference=MyFig, title={This is the figure’s caption}]
\typesetbuffer[starttikz, MyTikZFigure,stoptikz]
\stopplacefigure
Following a suggestion from Hans, I made
11:08 PM, jbf via ntg-context wrote:
In just one instance I would like the following to work differently:
\startchapter[title={Introduction\\Disability and
marginalisation},list={Introduction:\crlf Disability and marginalisation}].
That gives me:
Introduction:
Disability and marginalisa
Isability”?
Michael
On Sep 28, 2021, at 11:08 PM, jbf via ntg-context wrote:
In just one instance I would like the following to work differently:
\startchapter[title={Introduction\\Disability and
marginalisation},list={Introduction:\crlf Disability and marginalisation}].
That gives me:
Intr
Can you stick "\phantom{Introduction:}" in front of “DIsability”?
Michael
> On Sep 28, 2021, at 11:08 PM, jbf via ntg-context wrote:
>
> In just one instance I would like the following to work differently:
>
> \startchapter[title={Introduction\\Disability and
In just one instance I would like the following to work differently:
\startchapter[title={Introduction\\Disability and
marginalisation},list={Introduction:\crlf Disability and marginalisation}].
That gives me:
Introduction:
Disability and marginalisation
But I would like to have
T-Regular] [features=smallcaps]
> \definefontsynonym [Schola] [name:texgyreschola-regular] [features=smallcaps]
>
> \definefont [chapterTitle] [Squar at 18pt]
> \definefont [anotherTitle] [Schola at 18pt]
>
> \starttext
> {\chapterTitle A Chapter Title}
> \par
> {\anotherTit
\starttext
{\chapterTitle A Chapter Title}
\par
{\anotherTitle A Chapter Title}
\stoptext
Have I missed something or is it the font?
—
Bruce Horrocks
Hampshire, UK
___
If your question is of interest to others as well,
= {
sequence = {
{ field = "author",default = "", unknown = "" },
{ field = "title", default = "", unknown = "" },
{ field = "booktitle", default = "", unknown
tures and bug fixes. One issue was that SBL
should order list entries by author and title. Thankfully, there is already
an authordate sortmethod defined in publ-aut.lua (probably to support the
Chicago rendering), so I was able to use it as a template for the
following authortitle sort seq
Dear list,
I have the following sample to import metadata (title, author, subject,
keywords and dates).
\starttext
\startluacode
function document.transfer_metadata(name)
local main_doc = lpdf.epdf.load(name)
lpdf.addtocatalog("Lang", lpdf.unicode(main_doc.Ca
cuments I use
> >> \setupinteraction
> >>
> >> [
> >>
> >> author={AuthorName},
> >> title={MyTitle},
> >> subtitle={MySubtitle},
> >>
> >> ]
> >>
> >> to set the docum
On 9/15/2021 1:27 PM, kauśika cittūr via ntg-context wrote:
On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote:
Dear all,
In my documents I use
\setupinteraction
[
author={AuthorName},
title={MyTitle},
subtitle={MySubtitle},
]
to set the
On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote:
> Dear all,
>
> In my documents I use
> \setupinteraction
> [
> author={AuthorName},
> title={MyTitle},
> subtitle={MySubtitle},
> ]
> to set the document metada
Dear all,
In my documents I use
\setupinteraction
[
author={AuthorName},
title={MyTitle},
subtitle={MySubtitle},
]
to set the document metadata. I also use
\startluacode
local metadata = lpdf.getmetadata();
metadata['producer']='author
rs that?
I don’t know yet. It seems to start in the middle of a section title in the
first chapter of my book.
Oveefull boxes?
The footnotes unfortunately became only worse so far – often they’re
overprinted by the running text, even without columns or grid.
I’ll try to come up with good e
ekant via ntg-context schrieb am 10.09.2021 um 19:25:
>>> Dear List,
>>>
>>> I am trying to set up double pages at the beginning of a new part in such a
>>> way that:
>>> - on an odd/right-hand page there will be number and the title typeset in
>>>
>> hyphenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>,
>> glyph U+70 p
>> 4:10:
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>> 1
>> Is this some debugging leftover or am I supp
beginning of a new part in
such a way that:
- on an odd/right-hand page there will be number and the title
typeset in some fashion, and
- on the even/left-hand page there should be a full (printpaper)size
image.
https://www.mail-archive.com/ntg-context@ntg.nl/msg94581.html
Wolfgang
_doc.Catalog.Lang))
lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title))
lpdf.addtoinfo("Subject", lpdf.unicode(main_doc.Info.Subject))
lpdf.addtoinfo("Author", lpdf.unicode(main_doc.Info.Author))
lpdf.epdf.unload(name)
On 9/11/2021 2:35 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\starttext
\setupinteraction
[state=start,
title={\cldcontext{pdfe.open("b.pdf").Info.Title}}]
\null
\stoptext
From a document composed with \insertpages,
Dear list,
I have the following sample:
\starttext
\setupinteraction
[state=start,
title={\cldcontext{pdfe.open("b.pdf").Info.Title}}]
\null
\stoptext
From a document composed with \insertpages, I need to transfer medatada.
But I get the raw value "feff0061&quo
Christian Dekant via ntg-context schrieb am 10.09.2021 um 19:25:
Dear List,
I am trying to set up double pages at the beginning of a new part in
such a way that:
- on an odd/right-hand page there will be number and the title typeset
in some fashion, and
- on the even/left-hand page there
ation = {
name = "iso690",
categories = { },
}
local categories = specification.categories
categories.book = {
required = { "title" },
optional = {"author"},
}
return specification
Thanks for your help,
Tomáš
___
Dear List,
I am trying to set up double pages at the beginning of a new part in such a
way that:
- on an odd/right-hand page there will be number and the title typeset in
some fashion, and
- on the even/left-hand page there should be a full (printpaper)size image.
If the part title ends up on an
2 AM Hans Hagen wrote:
>
>> On 9/9/2021 12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote:
>> > Dear list,
>> >
>> > In the MWE below, ConTeXt lmtx throws an error with the message in the
>> > title:
>> >
>> > \starttext
>>
12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote:
> > Dear list,
> >
> > In the MWE below, ConTeXt lmtx throws an error with the message in the
> > title:
> >
> > \starttext
> > \startluacode
> >
> > local upperlimit = 9
> >
On 9/9/2021 12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote:
Dear list,
In the MWE below, ConTeXt lmtx throws an error with the message in the
title:
\starttext
\startluacode
local upperlimit = 9
context.starttabulate({ "|l|l|l|" })
for i=1,upperlimit do
context.NC
Dear list,
In the MWE below, ConTeXt lmtx throws an error with the message in the
title:
\starttext
\startluacode
local upperlimit = 9
context.starttabulate({ "|l|l|l|" })
for i=1,upperlimit do
context.NC()
context("word 1")
context.NC()
context("word 2"
pecting
"Figure C.1.S.1".
MWE:
\setupfloatcaption[figure][number=yes,way=bytext,prefix=yes,prefixstarter={C.},numberstarter={S.}]
\starttext
\startchapter[title={Cow}]
\startplacefigure[title={Custom caption}]
\externalfigure[cow]
\stopplacefigure
\stopchapter
\stoptext
Not sure whether prefixsta
Fabrice,
there is difference between putting something on the first page
regardless of the number of pages in your document or do something when
your document contains only a single or more pages.
When you have a header or title which is always placed on the first page
(but not on the
over}
\style[style={\switchtobodyfont[heros,14pt]\it}]{the lazy dog}
\stoptext
Thanks Wolfgang. I always get very confused when ConTeXt 'nearly' works and
this was one of those times. Your \style example is interesting and I'll bear
it in mind but at the moment I only need this for som
get very confused when ConTeXt 'nearly' works and
this was one of those times. Your \style example is interesting and I'll bear
it in mind but at the moment I only need this for some one-off title page text
rather than body text.
—
Bruce Horrocks
Hampshire, UK
__
table or \placefigure
>
> to control the Table of Figure Title appearing in:
>
> \completelistoftables and \completelistoffigures
>
>
> At the moment one can do this for the output of:
>
> \completecontent
>
> with something such as the following:
>
> \start
> >
> > I have asked this question before, but now I cannot get it working again.
> >
> https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc
> >
> > I want to set partlabels in my TOC but not in the document itself.
> >
Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02:
Hi,
I have asked this question before, but now I cannot get it working again.
https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc
I want to set partlabels in my TOC but not in the document itself
Ramm via ntg-context schrieb am 24.08.2021 um 20:31:
>>>> Hi, I’m typesetting a textbook that contains numbered and indented
>>>> exercises. They must not float.
>>>>
>>>> Which structure should I use for them? There must be an easy answer, but I
>>
ome syntax that one can use in:
>
> \placetable or \placefigure
>
> to control the Table of Figure Title appearing in:
>
> \completelistoftables and \completelistoffigures
>
>
> At the moment one can do this for the output of:
>
> \completecontent
>
>
List,
I've been wondering if there is some syntax that one can use in:
\placetable or \placefigure
to control the Table of Figure Title appearing in:
\completelistoftables and \completelistoffigures
At the moment one can do this for the output of:
\completecontent
with something su
Hi,
I have asked this question before, but now I cannot get it working again.
https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc
I want to set partlabels in my TOC but not in the document itself.
The desired output would be:
---
Contents
Chapter 1 Bodypart
at contains numbered and indented
> >> exercises. They must not float.
> >>
> >> Which structure should I use for them? There must be an easy answer, but I
> >> draw a blank.
> >
> > Use an enumeration.
>
> Thank you, but how can I define a ti
Here’s what I have now (result attached):
\define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont
#1
\defineenumeration[Übung][
text=Übung,
title=yes,
titleleft=,
titleright=,
titledistance=-1em,
titlestyle=\SectionFont,
%numberstyle=\SectionFont
m via ntg-context schrieb am 24.08.2021 um 20:31:
>>>> Hi, I’m typesetting a textbook that contains numbered and indented
>>>> exercises. They must not float.
>>>>
>>>> Which structure should I use for them? There must be an easy answer, but I
>&g
at contains numbered and indented
>>> exercises. They must not float.
>>>
>>> Which structure should I use for them? There must be an easy answer, but I
>>> draw a blank.
>>
>> Use an enumeration.
>
> Thank you, but how can I define a title/capt
not float.
Which structure should I use for them? There must be an easy answer, but I draw
a blank.
Use an enumeration.
Thank you, but how can I define a title/caption for the enumeration and its
reference?
\defineenumeration
[Exercise]
[text=Exercise,
title=yes,
titleleft
hich structure should I use for them? There must be an easy answer, but I
>> draw a blank.
>
> Use an enumeration.
Thank you, but how can I define a title/caption for the enumeration and its
reference?
Hraban
__
, % ??
]
\starttext
\startExercise[title={Something to do},reference=ex:something]
This can have several paragraphs and maybe images etc.
\stopExercise
\stoptext
Hraban
___
If your question is of interest to ot
xamples.ref.txt
> .
>
> Like you say, some parts are tricky. SBL uses "entry"-style citations by
> default and doesn't seem to make use of other common alternatives (such as
> "authoryear"). I can think of some existing alternatives that might get
> used in s
]}}]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed]
[foregroundstyle=TextStyle,align=middle]
\getvariable{headertext}{location}\\
Spécialité mathématiques\\
\getvariable{headertext}{title} n\high{\tfxx
noib3 via ntg-context schrieb am 17.08.2021 um 16:43:
I'm trying to create a new lecture environment starting from the base
section.
I'd like its title to be `Lecture : ` if a title is
provided, and `Lecture ` if it isn't. This title should also be
reported in the left fo
I'm trying to create a new lecture environment starting from the base
section.
I'd like its title to be `Lecture : ` if a title is
provided, and `Lecture ` if it isn't. This title should also be
reported in the left footer and in the table of contents.
This is the cod
def\N{\math{\mathbb{N}}\autoinsertnextspace}
\defineenumeration
[test]
[title=yes,
text={Test},
style=italic]
\starttext
\N
\starttest
\m{\forall n \in \N}
\stoptest
\stoptext
tex error > tex error on line 64 in file ./terminale_suites_2.tex:
Use of \N doesn
[test]
[title=yes,
text={Test},
style=italic]
\starttext
\N
\starttest
\m{\forall n \in \N}
\stoptest
\stoptext
tex error > tex error on line 64 in file ./terminale_suites_2.tex:
Use of \N doesn't match its definition
Soient \u, \v deux suites dé
pter, do
> > you have the fancy layout or not?
> >
> > It would make sense that the fancy chapter doesn’t appear only compiling
> > a chapter. I guess there is no \startbodymatter...\stopbodymatter
> > wrapping it.
> >
> > Another approach would be:
> >
.
Another approach would be:
[...]
Setting values for \title is a way to avoid the chapter setup for the
table of contents etc.
but there is a way to set values which are used only when you process a
component file.
To make it work one has to load the environment file after
\startcomponent
textcommand=\groupedcommand{\blank[medium]}{},
> numbercolor=darkgray,
> textstyle=ChapterTextStyle,
> numberstyle=ChapterNumberStyle,
> before=\startChapterFrame,
> after=\stopChapterFrame,
> header=high]
>
> \setuphead
> [title]
> [header=empty,
801 - 900 of 7554 matches
Mail list logo