\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:section
\startsection[title={\xmlatt{#1}{id}},
beforesection={\doif{\xmlatt{#1}{id}}{\selectedtopic}
{conditional}}]
\xmlflush{#1}
\doif{\xmlatt{#1}{id}}{\selectedtopic}{conditional}
\stopsection
}]
\startsection[title={Préambule}]
\startsubsection[title={À qui s'adresse ce cours ?}]
Ce {\em cours} de philosophie s'adresse d'abord aux élèves de classe de
terminale des Lycées, motivés par le massif intimidant d'interrogations
et de réflexions que la tradition européenne désigne par {\em
=\endash~,
% midsentence=~\endash,
rightsentence=~\endash]
\define\quotedash{\emdash\endash}
%\setupbackend[export=yes]
\starttext
\startsection[title=Introduction]
Any of you able to help me get my quotation dashes into line when
automatically
inserted by the semantic commands? I'm sure
=~\endash,
rightsentence=~\endash]
\define\quotedash{\emdash\endash}
%\setupbackend[export=yes]
\starttext
\startsection[title=Introduction]
Any of you able to help me get my quotation dashes into line when
automatically
inserted by the semantic commands? I'm sure a number of you look
r={\column},
]
\setuphead[subsubsection][
after={\blank[small]},
]
\starttext
\startsection[title={Section Title}]
\startsubsection[title={Subtitle}]
\dorecurse{2}{\input knuth}
\dorecurse{2}{%
\startsubsubsection[title={Subsubtitle}]
\dorecurse{1}{\input ward}
\dorecurse{2}{\input lorem}
]},before={\blank[big]},sectionstopper=.]
\setuphead[subsection][sectionsegments=subsection]
\setuphead[subsubsection][sectionsegments=subsubsection,sectionstopper=]
\setuphead[subsubsubsection][sectionsegments=subsubsubsection]
\starttext
\startchapter[title={Chapter}]
\startsection[title={Section
on]
\setuphead[subsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsection]
\setuphead[subsubsubsubsubsubsubsection][sectionsegments=subsubsubsubsubsubsubsection]
\def\startA{\startchapter}
\def\stopA{\stopchapter}
\def\startI{\startsection}
\def\stopI{\stopsection}
\def\startS{\startsubsection}
]
\startsection[title={Beta}] \input sapolsky \stopsection
\startsection[title={Alpha}] \input sapolsky \stopsection
\stopchapter
\startchapter[title=bar]
\placelist[section][criterium=local,order=title]
\startsection[title={Alpha}] \input sapolsky
\placelist[section][criterium=local,order=title]
\startsection[title={Beta}] \input sapolsky \stopsection
\startsection[title={Alpha}] \input sapolsky \stopsection
\startsection[title={Gamma}] \input sapolsky \stopsection
\stopchapter
\stoptext
r=no]
>
> \starttext
>
> \startchapter[title=foo]
>
> \placelist[section][criterium=local,order=title]
>
> \startsection[title={Beta}] \input sapolsky \stopsection
> \startsection[title={Alpha}] \input sapolsky \stopsection
> \startsecti
section
> > headings.
> > Here's my attempt that does not work.
> here's one that does ...
>
> \setuphead[section][number=no]
>
> \starttext
>
> \startchapter[title=foo]
>
> \placelist[section][criterium=local,order=title]
>
> \startsection[title={
...
\setuphead[section][number=no]
\starttext
\startchapter[title=foo]
\placelist[section][criterium=local,order=title]
\startsection[title={Beta}] \input sapolsky \stopsection
\startsection[title={Alpha}] \input sapolsky \stopsection
\startsection[title={Gamma}] \input sapolsky
expect):
\placelist[section]
\blank
placelistofsorts (doesn't render anything. My guess was wrong)
\placelistofsorts[wahs]
Sections start here:
\startsection[title={Beta}]
Hello
\startsection[title={Alpha}]
World
\stoptext
Thank you for your time. I really appreciate it.
Kerry
ddsym[t][t][unit={\sunit{second}}, description={Time}, group={latin}]
}
% Print the List of Symbols with \placelistofsymbols
\def\placelistofsymbols{\loadsymbols\ctxlua{userdata.placelistofsymbols()}}
\starttext
\startfrontmatter
\startsubject[title=Content]
\placecontent
\stopsubject
\starts
[section]
\hfill
\llap{\userpagenumber}
\stopsetups
\startsetups[text left]
\rlap{\userpagenumber}
\hfill
\sc \getmarking[chapter]
\hfill
\llap{}
\stopsetups
\startfrontmatter
Hello
\completecontent
\stopfrontmatter
\startbodymatter
\startchapter[title=yay]
\startsection[title=wow]
\startsubsection
[section]
\hfill
\llap{\userpagenumber}
\stopsetups
\startsetups[text left]
\rlap{\userpagenumber}
\hfill
\sc \getmarking[chapter]
\hfill
\llap{}
\stopsetups
\startfrontmatter
Hello
\completecontent
\stopfrontmatter
\startbodymatter
\startchapter[title=yay]
\startsection[title=wow]
\startsubsection[title
\currentreferencenumber\emptyreference
{Foo}{Bar}}%%
}
\setuphead
[section] [number=no]
\starttext
\startsection [title=Foo, reference=sec:foo]
\samplefile{knuth}
\stopsection
\foo[sec:foo]
\stoptext
Then check the log file for “has a hidden number”.
1) How to not trigger the log
can't exclude tagged blocks but
it's possible to extend the mechanism an apply a default tag to each
block which will allow selective output.
\startsection[title=Questions]
\useblocks[question][criterium=chapter]
\stopsection
\startsection[title=Answers]
\useblocks[answer][criterium=chapter
\beginanswer
\startanswer
Normal answer
\stopanswer
\endanswer
\beginquestion[exam]
\startquestion
Exam question
\stopquestion
\endquestion
\beginanswer[exam]
\startanswer
Exam answer
\stopanswer
\endanswer
\startsection[title=Questions]
\useblocks[question][criterium=chapter]
\stopsection
]
\starttext
\section{\MyContent}
\startsection[title=\MyContent, bookmark=\MyContent]
\stopsection
\stoptext
I see that now PDF contents are prerolled by default (which I think it
is a great idea [I hope it isn’t a bug]).
But bookmarks alone (when aren’t prerolled. From strc
Hi Hans,
I have the following sample:
\def\eap{expansion}
\def\MyContent{Expanded \eap}
%~ \enabledirectives[references.bookmarks.preroll]
\setupinteraction[state=start, title={\MyContent}]
\placebookmarks[section]
\starttext
\section{\MyContent}
\startsection
Dear list,
I have the following sample:
\def\MyContent{This is expanded content}
\enabledirectives[references.bookmarks.preroll]
\setupinteraction[state=start, title={\MyContent}]
\placebookmarks[section]
\starttext
\section{\MyContent}
\startsection[title=\MyContent
On 5/22/2019 10:30 PM, Procházka Lukáš Ing. wrote:
Hello,
suppose having "Main.mkiv":
\setupbackend[export=yes]
\starttext
\startsection[title={Sec},MyPar=MyVal]
\input knuth
\stopsection
\stoptext
Some questions concerning XML export:
1. Normally, with \se
Hello,
suppose having "Main.mkiv":
\setupbackend[export=yes]
\starttext
\startsection[title={Sec},MyPar=MyVal]
\input knuth
\stopsection
\stoptext
Some questions concerning XML export:
1. Normally, with \setupbackend[export=yes], Ctx creates "Main-exp
On 5/16/19 8:45 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 16.05.2019 um 18:43:
>> [...]
>> After checking i-context, the options for the second pair of brackets are:
>>
>>KEY = VALUE
>>
>> Well, I think this is the standard case. Aren’t values inherited from
>> \setuphead? What
Pablo Rodriguez schrieb am 16.05.2019 um 18:43:
Dear list,
I have the following sample:
\setuphead[chapter]
[beforesection=\TeX,
aftersection=\TeX]
\starttext
\startchapter[title=Chapter,
beforesection=\ConTeXt,
aftersection=\ConTeXt]
On 5/16/19 6:43 PM, Pablo Rodriguez wrote:
> [...]
> What would be my approach to deal with "\xmldoif{#1}{.[@id='topic' and
> contains(@class,'hidden')]}" in beforesection?
>
> I realize that "\definehead[specialchapter][chapter]" would be a
> workaround, but I would like to find a more proper
Dear list,
I have the following sample:
\setuphead[chapter]
[beforesection=\TeX,
aftersection=\TeX]
\starttext
\startchapter[title=Chapter,
beforesection=\ConTeXt,
aftersection=\ConTeXt]
This is my chapter.
\stopchapter
\stoptext
Hi,
is there a way to split up a PDF a certain points, e.g. at every
\startsection?
(I am thinking of a way to produce both one PDF for a complete journal
issue and for each individual articles. Or should I better use an external
tool to post-process the resulting PDF?)
Best,
Denis
\project prj_cases
\startsection[title=Counseling Progress Note, reference=DATE_clientcode]
\placetable{Meeting Info}
{\bTABLE
\bTR
\bTD
\ptitle{Client Name}:~John Smith
\eTD
\bTD
\ptitle{Billing code}:~90834
\eTD
\eTR
\bTR
\bTD
\ptitle{Date}:~April 8, 2019
\eTD
\bTD
\ptitle{Start \& stop time
poffset=10pt,
> leftoffset=10pt,
> location=paragraph,
> frame=on]
>
> \startsetups [xml:setups:start]
> \starttextbackground [SetupsParameter]
> \stopsetups
>
> \startsetups [xml:setups:stop]
> \stoptextbackground
> \stopsetups
>
> \starttext
>
> \start
=paragraph,
frame=on]
\startsetups [xml:setups:start]
\starttextbackground [SetupsParameter]
\stopsetups
\startsetups [xml:setups:stop]
\stoptextbackground
\stopsetups
\starttext
\startsection[title={Short Version of the Command}]
\cmdshortsetup [setupframed]
\cmdshortsetup
, that the framed pieces break over
the page.
\usemodule[x][set-11]
\loadsetups[i-context]
\setuppapersize[A6][A6]
\setupbodyfont[pagella,rm,10pt]
\starttext
\startsection[title=hSort Version of the Command]
\shortsetup{setupframed}
\shortsetup{setupinteraction}
\stopsection
On Fri, 15 Feb 2019 13:59:46 +0100
Wolfgang Schuster wrote:
> You need (note the “start”)
>
> \startsection[title={...}]
>
> when you use \stopsection.
Ahh, I managed to try just those combination which do not work...feeling really
embarrassed. :-(
Thank you for being ki
On Fri, 15 Feb 2019 13:59:20 +0100
Henning Hraban Ramm wrote:
> You mixed up the syntax,
> it’s either \section{Testing} or \startsection[title=Testing]
Ahh, what a shame. :-(
Sincerely,
Gour
--
For him who has conquered the mind, the mind is the best of
friends; but for one who has
_syst_helpers_push_macro \endcsname
\global \advance \lastname...
l.4 \stopsection
1 \starttext
2 \section[title={Testing ConTeXt}]
You need (note the “start”)
\startsection[title={...}]
when you use \stopsection.
Wolf
t’s either \section{Testing} or \startsection[title=Testing]
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
___
If your question is of
}{Allerletzter Fehler beseitigt.}
Ende
\startsection[title={History}]
\placechange
\stopsection
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
with
\dontleavehmode\vbox{\advance\hsize-\leftskip\section{Section 1}}\par
but that is horrible code. Is there any way to get the correct effect
using \setuphead ?
\setuphead
[section]
[aligntitle=yes]
\showframe [text] [text]
\starttext
\startnarrower[left]
\startsection[title
={(},right={)}]
% How to style the footnotemark in the text?
\setupnotation[endnote] [left={(},right={)}]
\startsection[
reference=fußnoten,
title={Fußnoten}
]
\index{Fußnoten}
\input ward\footnote{Eine normale Fußnote. Mit etwas Text, damit die Seite voll
wird. \input ward}
\input
Hi Axel,
thanks a lot for this introduction.
Am 02.11.18 um 10:07 schrieb Axel Kielhorn:
> Hello!
>
> As promised I’ve uploaded my ConTeXt introduction to github.
> You can find it at
> https://github.com/AKielhorn/Context-Intro
>
> I used MkIV syntax for \startsection
> Am 02.11.2018 um 12:28 schrieb Hans Hagen :
>
> On 11/2/2018 10:07 AM, Axel Kielhorn wrote:
>> Hello!
>> As promised I’ve uploaded my ConTeXt introduction to github.
>> You can find it at
>> https://github.com/AKielhorn/Context-Intro
>> I used MkI
On 11/2/2018 10:07 AM, Axel Kielhorn wrote:
Hello!
As promised I’ve uploaded my ConTeXt introduction to github.
You can find it at
https://github.com/AKielhorn/Context-Intro
I used MkIV syntax for \startsection \stopsection but gave up on
\startparagraph \stoparagraph.
Is there a way to auto
Hello!
As promised I’ve uploaded my ConTeXt introduction to github.
You can find it at
https://github.com/AKielhorn/Context-Intro
I used MkIV syntax for \startsection \stopsection but gave up on
\startparagraph \stoparagraph.
Is there a way to auto convert that or do I have to add
][bib.buffer]
\starttext
\startsection[title=Section 1]
\cite[a]
\placelistofpublications
\stopsection
\startsection[title=Section 2]
\cite[b] \cite[a] \cite[c]
\placelistofpublications
\stopsection
\stoptext
Actual output:
Section 1
[1]
1 bib a
Section 2
[2] [1] [3]
2 bib b
1 bib
dolor sit amet, \ldots}
\startbuffer[Demo]
\startelement[Block]
\startelement[Text]
\DummyText \DummyText
\DummyText \DummyText
\stopelement
\stopelement
\stopbuffer
\starttext
\startchapter[title={One}]
\startsection[title={OneDotOne}]
\bTABLE
Answer 3
\item Answer 4
\item Answer 5
\stopitemize
\stopquestion
\endquestion
\beginanswer
\startanswer
B
\stopanswer
\endanswer
\stopbuffer
\dorecurse{30}{\getbuffer[question]}
\startsection[title=Questions]
\useblocks[question][criterium=chapter]
\page
\startsubsubsection[title=Answers
}]
\startsection[title={Un premier chapitre}]
voilà
\stopsection
\startsubsection[title={Un deuxième}]
tak jest.
\stopsubsection
\stoptitle
\stoptext
Thanks,
Damien Thiriet
___
If your question
tags that should be
> > processed,
> > so just stripping it clean will not do.
> >
> > (this is not about \section as such, I just needed an example.
> > \startsection
> > would be more modern, but it would not help fix the issue )
>
> it actually depends on
e
The subtree in ’t’ could have embedded xml tags that should be processed,
so just stripping it clean will not do.
(this is not about \section as such, I just needed an example. \startsection
would be more modern, but it would not help fix the issue )
it actually depends on what you do ... anyway
xml tags that should be processed,
so just stripping it clean will not do.
(this is not about \section as such, I just needed an example. \startsection
would be more modern, but it would not help fix the issue )
Thanks
xsegments=chapter,
>> prefix=yes]
>>\beginquestion
>> \startquestion
>> Calculate the hydrostatic pressure of the following fluid.
>> \starttabulate[|lw(6cm)|lw(3cm)|\doifmode{BL}{p|}]
>> \NC Well depth \NC 10100 ft
10100 ft\doifmode{BL}{\NC 3100 m}
\NC \NR
\NC Fluid density\NC 9.0 ppg \doifmode{BL}{\NC 1.08 kg/l}
\NC \NR
\stoptabulate
\stopquestion
\endquestion
\beginanswer
\startanswer
4726 psi\doifmode{BL}{ / 328 bar}
\stopanswer
\endanswer
\startsection[title
}{\NC 1.08 kg/l}
\NC \NR
\stoptabulate
\stopquestion
\endquestion
\beginanswer
\startanswer
4726 psi\doifmode{BL}{ / 328 bar}
\stopanswer
\endanswer
\startsection[title=Questions]
\useblocks[question]
\startsubsubsection[title=Answers]
\useblocks[answer
ps]
> > \setupbtxlist[aps][
> > %alternative=,
> > width=fit,
> > distance=.5em,
> > %distance=0pt,
> > margin=0em,
> > ]
> >
> > \starttext
> > Hallo Welt! \cite[lnkHWelt]
> >
> > \startappendices
> >
%alternative=,
> width=fit,
> distance=.5em,
> %distance=0pt,
> margin=0em,
> ]
>
> \starttext
> Hallo Welt! \cite[lnkHWelt]
>
> \startappendices
> \startsection[title={Pubs},marking={}]
> \placelistofpublications[method=dataset]
\startsection[title={Pubs},marking={}]
\placelistofpublications[method=dataset]
\stopsection
\stopappendices
\stoptext
And that's in My_file.bib:
@Misc{lnkHWelt,
Note = "zuletzt abgerufen am 5. Aug. 2018",
Url = "http://wiki.contextgarden.net;
}
What would be the mk
}
\\
Weiteres Zitat (\LINK{libA} S. 201 ff.).
\stopsubject
\startsection[title={Esgalation},marking={}]
Verweis hier: \LINK{libB}
\stopsection
\stopchapter
\stopbodymatter
% -
\startappendices
\stopparagraph leads to
spurious break elements in some circumstances, as shown in the following:
\setupbackend [export=yes,xhtml=yes]
\starttext
\startsection[title=trailing blank line]
\startparagraph
Xxx xxx xx x xx xxx xx xx
t;alternative=serried,
>title=no,
>prefix=yes,
>prefixsegments=chapter,
>way=bysection,
>right=.,
>titlestyle=bold,
>style=italic,
> width=broad,
>
> ]
>
> \defineenumeration[theorem]
>
\starttext
\startchapter[title={First Chapter}]
\startsection[title={First Section}]
\dorecurse{2}{
\starttheorem
\input ward
\stoptheorem}
\stopsection
\stopchapter
\startchapter[title={Second Chapter}]
\startsection[title={Second Section}]
\dorecurse{2}{
\starttheorem
\input ward
\s
t=Théorème,
alternative=serried,
title=no,
prefix=yes,
prefixsegments=chapter,
way=bysection,
right=.,
titlestyle=bold,
style=italic,
width=broad,
]
\defineenumeration[theorem]
\starttext
\startchapter[title={First Chapter}]
\startsection[title={Fir
[structure]
> [n, R, n, n, n]
>
> \definestructureconversionset
> [digits]
> [n, n, n, n, n]
>
> \setupheads[sectionconversionset=structure]
>
> \setuplist[chapter][style=bold,width=5mm]
>
> \starttext
>
> \starttitle[title={\bf So
\stoptitle
\startchapter[title=First chapter]
\startsection[title=Fist section]
\startsubsection[title=First subsection]
\dorecurse{10}{\fakewords{120}{120}\par}
\stopsubsection
\stopsection
\stopchapter
\startchapter[title=Second chapter]
\startsection[title=Second section]
\startsubsection[ti
={Chapter title}]
\startparagraph
Chapter introduction.
\stopparagraph
\startsection[title={Section 1 title}]
\startparagraph
Section one text.
\stopparagraph
\stopsection
\startsection[title={Section 2 title}]
\startparagraph
Section two text.
\stopparagraph
ion / \startsection
2. Argument: reference type -> default == \in
3. Argument: settings which differ from \setuphead
Many thanks, this is exactly what was needed!
Your replies and pointers are appreciated and not taken for granted.
Best wishes
Idris
Idris Samawi Hamid ادريس سماو
. \zerowidthspace.
\setupreferencestructureprefix [section] [default]
[prefixstopper={\symbol[none]}]
%\setupreferencestructureprefix [section] [default]
[prefixstopper=\zerowidthspace]
1. Argument: section name -> section == \section / \startsection
2. Argument: reference type -> d
edlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]
\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\sta
edlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]
\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\sta
][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
=+] % when I put "test" it works
\starttext
\startsection[reference=test,title={Test}]
\startplacefigure[reference=cow]
\externalfigure[cow]
\stopplacefigure
\stopsection
\in[test:cow] % ??
\stoptext
_
Am 2018-03-31 um 23:10 schrieb Hans Hagen <j.ha...@xs4all.nl>:
> On 3/31/2018 10:57 PM, Henning Hraban Ramm wrote:
>> Please consider:
>> \starttext
>> \startchapter[title=Test][author=Tufte]
>> \input tufte\par
>> Author: \structureuservariable{author}
&g
On 3/31/2018 10:57 PM, Henning Hraban Ramm wrote:
Please consider:
\starttext
\startchapter[title=Test][author=Tufte]
\input tufte\par
Author: \structureuservariable{author}
\startsection[title=Section]
\input knuth\par
Author: \structureuservariable{author} (empty!)
\stopsection
Please consider:
\starttext
\startchapter[title=Test][author=Tufte]
\input tufte\par
Author: \structureuservariable{author}
\startsection[title=Section]
\input knuth\par
Author: \structureuservariable{author} (empty!)
\stopsection
\stopchapter
\stoptext
i.e. the variable that I define
(eyeballing it, I'd say it is \topskip). Find MWE with workaround below.
Found at https://tex.stackexchange.com/questions/423817
Cheers, Henri
---
\setupwhitespace[big]
\starttext
\startsection[title=section]
\startmode[fix]
% Set default whitespace
\setupwhitespace[none
text
> > (eyeballing it, I'd say it is \topskip). Find MWE with workaround below.
> >
> > Found at https://tex.stackexchange.com/questions/423817
> >
> > Cheers, Henri
> >
> > ---
> >
> > \setupwhitespace[big]
> >
> > \starttext
://tex.stackexchange.com/questions/423817
Cheers, Henri
---
\setupwhitespace[big]
\starttext
\startsection[title=section]
\startmode[fix]
% Set default whitespace
\setupwhitespace[none]
\stopmode
\startplacefigure
[location={right},
title={just a dummy figure
---
\setupwhitespace[big]
\starttext
\startsection[title=section]
\startmode[fix]
% Set default whitespace
\setupwhitespace[none]
\stopmode
\startplacefigure
[location={right},
title={just a dummy figure}]
\externalfigure[dummy][width=.5\textwidth]
\stopplacefigure
ection,subsubsection]
[alternative=c,style=bold]
\setupcombinedlist[content]
[list={subject,section,subsection,subsubsection}]
% \placecontent % line 12
\placelist[content] % line 13
[subject,section,subsection,subsubsection]
\stop
\stoptitle
\page
\startsection[title={Section One},reference={
ection,subsection,subsubsection]
[alternative=c,style=bold]
\setupcombinedlist[content]
[list={subject,section,subsection,subsubsection}]
\placecontent
\placelist[content]
[subject,section,subsection,subsubsection]
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page
edlist[content]
[list={subject,section,subsection,subsubsection}]
\placecontent
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection
\startsection[title={Section Two},reference={}]
new page \page
\stopsection
\startsubject[title={Subject},ref
[title={Table of Contents},reference={}]
\start
\setupcombinedlist[content]
[list={subject,section,subsection,subsubsection},alternative=c,style=bold]
\setupinterlinespace[line=1.4ex]
\placecontent
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection
show it
\starttext % Approach I
\starttitle[title={Table of Contents},reference={}]
\start
\setupcombinedlist[content]
[list={subject,section,subsection,subsubsection},alternative=c,style=bold]
\setupinterlinespace[line=1.4ex]
\placecontent
\stop
\stoptitle
\page
\startsection[title={Section One
[Left][Right]
\starttext
Aaa
\page
\startsection[title={Sec}]
\start
\setupbodyfont[6pt]
\dorecurse{12}{\input knuth}
\stop
\stopsection
\stoptext
header text size on page #2 is small (6 pt) although body font change
was intended only to text inside section
On 2/8/2018 12:14 PM, Procházka Lukáš Ing. wrote:
Hello,
in the following example:
\setupheadertexts[Left][Right]
\starttext
Aaa
\page
\startsection[title={Sec}]
\start
\setupbodyfont[6pt]
\dorecurse{12}{\input knuth}
\stop
\stopsection
\stoptext
Procházka Lukáš Ing. <mailto:l...@pontex.cz>
8. Februar 2018 um 12:14
Hello,
in the following example:
\setupheadertexts[Left][Right]
\starttext
Aaa
\page
\startsection[title={Sec}]
\start
\setupbodyfont[6pt]
\dorecurse{12}{\input knuth}
\stop
\stops
Hello,
in the following example:
\setupheadertexts[Left][Right]
\starttext
Aaa
\page
\startsection[title={Sec}]
\start
\setupbodyfont[6pt]
\dorecurse{12}{\input knuth}
\stop
\stopsection
\stoptext
header text size on page #2 is small (6 pt) although
celist[section]
\startsection[title=X][test=A] \stopsection
\startsection[title=Y] \stopsection
\startsection[title=Z][test=B] \stopsection
\stoptext
Wolfgang
___
If your question is of interest to others as well, plea
On 1/14/2018 1:56 AM, Henri wrote:
Dear list,
For TeX/LaTeX users there is the neat command line tool `texdef` with
which you can show the definition of a macro. Here an example:
$ texdef -t latex section
\section:
\long macro:->\@startsection {section}{1}{\z@ }{-3.5ex \@plus -1ex
\@mi
Dear list,
For TeX/LaTeX users there is the neat command line tool `texdef` with
which you can show the definition of a macro. Here an example:
$ texdef -t latex section
\section:
\long macro:->\@startsection {section}{1}{\z@ }{-3.5ex \@plus -1ex
\@minus -.2ex}{2.3ex \@plus .2ex}{\normalf
above. It only provides syntax highlighting, a rudimentary
intentation plugin, and some keyboard shortcuts: `a -> α, etc. These depend on
IMAP helper which is distributed as part of vim-latex. If you have
vim-snippets installed, you also get some shortcuts like: sec expands to
\startsection[ti
If you want to format the TOC line you have to use command=... together with
alternative=command.
\define[3]\ChapterNumber{\line{Chapter #1: #2\hfill#3}}
\setuplist
[section]
[alternative=command,
command=\ChapterNumber]
\starttext
\completecontent
\startsection[title={blabla
ature or to make it compatible with a newer
>> > version of the backend, without needing to modify the editor code. A
>> > translation rule is e.g. start_section[title=,
>> > back_ground_color=] => @startsection(title ->
>> > {}, bg_color -> {}) which will
an add support for a new backend or update an existing
> > backend to add more feature or to make it compatible with a newer
> > version of the backend, without needing to modify the editor code. A
> > translation rule is e.g. start_section[title=,
> > back_ground_color=] => @sta
le is e.g. start_section[title=,
> back_ground_color=] => @startsection(title ->
> {}, bg_color -> {}) which will convert a start
> section command of the document format into the same command for a
> backend format.
Skribilo uses an abstract syntax internally and the di
date an existing backend to add more
> feature or to make it compatible with a newer version of the backend, without
> needing to modify the editor code. A translation rule is e.g.
> start_section[title=, back_ground_color=] =>
> @startsection(title -> {}, bg_color -> {}) which will
version of the
backend, without needing to modify the editor code. A translation rule
is e.g. start_section[title=, back_ground_color=]
=> @startsection(title -> {}, bg_color -> {})
which will convert a start section command of the document format into
the same command for a backe
end format:
[ = , = ]{} =>
@( -> , -> ){}
At this point if we have in document:
start_section[title = Introduction, back_ground_color = green]
it will be translated to @startSection(title -> Introduction,
back_ground_color -> green)
but if it has instead to be translated to @startHeader(1, Introductio
does not work on ConTeXt ver: 2017.07.27 16:17 MKIV beta
> fmt: 2017.7.28
>
> The following minimal document does not have the page break.
>
> \definelistextra[page][before=\page]
>> \starttext
>> \placecontent[criterium=all,extras={2=page}]
>> \startsec
\stopparagraph
\startsection[title=First line only]
\startparagraph
\input montgomery
\stopparagraph
\startparagraph
\input sapolsky
\stopparagraph
\stopsection
\stopchapter
\stopbuffer
201 - 300 of 686 matches
Mail list logo