[NTG-context] \setupreferencestructureprefix and numberconversionset

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
, textdistance=0.7em, sectionstopper=., criterium=local] \definestructureconversionset[OLIE][n,R,n,n,n,n][n] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
[none]) you can also use a unicode character without width, e.g. \zerowidthspace. \setupreferencestructureprefix [section] [default] [prefixstopper={\symbol[none]}] %\setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] 1. Argument: section name -> section == \sect

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Wolfgang Schuster
. \zerowidthspace. \setupreferencestructureprefix [section] [default] [prefixstopper={\symbol[none]}] %\setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] 1. Argument: section name -> section == \section / \startsection 2. Argument: reference type -> d

[NTG-context] referencing and stoppers

2018-06-29 Thread Idris Samawi Hamid ادريس سماوي حامد
ward See \in{Sections}[reference3] and \in{Section}[reference4]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={Second}] \startsubsection[title={},reference={reference3}] \input ward \stopsubsection \startsubsection

Re: [NTG-context] Align TOC section numbers flushright

2018-06-26 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 14:20:03 -0600, Wolfgang Schuster wrote: If one turns on \showframe, one sees that the width value does not prevent crossing the left side of the textblock (a good thing). OTOH, getting the TOC numerals to lineup with the left side is a matter of trial and error. [width=1.

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 21:42 On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedl

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist to change the numeralign setting, you need also a distance value.

[NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Trying to get the sectioning numerals in the left margin of the TOC to be fushright; by default they are flushleft; see attached and below: === \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternati

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
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

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Wolfgang Schuster
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

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section

Re: [NTG-context] Confusing level change message, why?

2018-06-17 Thread Hans Hagen
If there is no fault or typesetting problem indicated by the message, I wonder why it is reported. Again, if there is no problem, I can add it to my log filtering routines, but I want to see it if there is something I should do to eliminate it. it's just part of the check .. if you use for i

[NTG-context] Confusing level change message, why?

2018-06-15 Thread Rik Kabel
. What is the meaning of the message, and how can it be removed (short of disabling pdf bookmarks)? \setupinteraction[state=start] \placebookmarks[chapter, section, subsection, subsubsection]    [chapter,section] \setupsectionblock[frontpart][page=] \setupsect

Re: [NTG-context] First example in xml-mkiv.pdf

2018-06-06 Thread Keith McKay
le a paragraph of text another paragraph of text Another title a paragraph of text another paragraph of text The TeX file is cut and pasted from pages 5 and 6 of xml-mkiv.pdf: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:dem

Re: [NTG-context] First example in xml-mkiv.pdf

2018-06-06 Thread Hans Hagen
pasted from pages 5 and 6 of xml-mkiv.pdf: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \sto

[NTG-context] First example in xml-mkiv.pdf

2018-06-05 Thread Keith McKay
df: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlset

[NTG-context] referenceprefix=+ not working

2018-05-22 Thread Henri Menke
Dear list, the option referenceprefix=+ for setuphead seems to not work. https://tex.stackexchange.com/questions/432844 It works however if you put an explicit prefix. See MWE below. Reproducible on TL2018 and latest beta. Cheers, Henri --- \setuphead [section] [referenceprefix

[NTG-context] Wrong section space after placefigure with newcolumnsets

2018-04-05 Thread Charles Vejnar
Hi, I am placing figures in a columnset. The next header (section, subsection...) following the figure has always missing vertical space. See the normal space after "One subsection" and "Four subsection" but reduced space after "Two subsection" and "Thre

Re: [NTG-context] define xml entity

2018-04-03 Thread Hans Hagen
oils down to ... \xmlsetentity{one} {...} \xmltexentity{sim} {...} or defining them in the preamble section of the xml file itself. Entities are tricky. When they are used as abstraction you often want them roundtrip while otherwise you might want them expanded. YOu can have double esc

Re: [NTG-context] structureuservariable

2018-03-31 Thread Henning Hraban Ramm
Am 2018-03-31 um 23:10 schrieb Hans Hagen : > 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

Re: [NTG-context] structureuservariable

2018-03-31 Thread Hans Hagen
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

[NTG-context] structureuservariable

2018-03-31 Thread Henning Hraban Ramm
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 in

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Hans Hagen
On 3/29/2018 11:17 PM, Henri Menke wrote: On Thu, 2018-03-29 at 13:20 +0200, Hans Hagen wrote: On 3/29/2018 12:50 PM, Henri Menke wrote: Dear devs, When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Henri Menke
On Thu, 2018-03-29 at 13:20 +0200, Hans Hagen wrote: > On 3/29/2018 12:50 PM, Henri Menke wrote: > > > > Dear devs, > > > > When a figure is wrapped in a paragraph and that paragraph is the first > > in a section, ConTeXt adds spurious vertical space above the te

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Hans Hagen
On 3/29/2018 12:50 PM, Henri Menke wrote: Dear devs, When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text (eyeballing it, I'd say it is \topskip). Find MWE with workaround below. Found at

[NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Henri Menke
Dear devs, When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text (eyeballing it, I'd say it is \topskip). Find MWE with workaround below. Found at https://tex.stackexchange.com/questions/423817 Cheers,

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
arking[#1]} \def\RightHeader{\HeaderFrame{\HeadStr{section}\hfill\PageFrame\hbox to -\LineWidth{}}} \def\LeftHeader{\HeaderFrame{\hbox to -\LineWidth{}\PageFrame\hfill\HeadStr{chapter}}} \def\FooterFrame#1{% \framed[width={\headerwidth}, frame=off, offset=0pt]{#1}} \def\BookNam

[NTG-context] ANNOUNCEMENT: Notepad++ for ConTeXt - Version 0.98

2018-03-05 Thread Idris Samawi Hamid ادريس سماوي حامد
y to know the syntax of that documentation, where the ConTeXt XML command files are taken as reference. Another component introduced in the plugin is the user's macro window, enabled with Ctrl+'-'. The idea is to offer to the user a way to quickly insert one's most used macros,

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen wrote: A working minimal example follows. Is this the recommended practice? Can it be streamlined further? : \placecontent \placelist[content] [subject,section,subsection,subsubsection] Hm, toggling lines 12-13 below: Line 13 makes the

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
=bold doesn't work.  In approach II) style=bold works, but the subject heading doesn't show up.  For each approach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
s, but the subject heading doesn't show up. For each approach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] Ok - see below.

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
oach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] looks bad this: \setupinterlinespace[line=1.4ex] Between I) and II), which is the curr

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
% but don't 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 \startsectio

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-20 Thread Wolfgang Schuster
Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com> 19. Februar 2018 um 21:28 This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (strc-ren.mkiv). Wolfgang Hans

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen
\input ward \stoptext Wolfgang \noindentation doesn't have the side effects of \noindent This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (strc-ren.

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster
esn't have the side effects of \noindent This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (strc-ren.mkiv). Wolfgang ___

Re: [NTG-context] about makempy (metapost outlines)

2018-02-19 Thread Jeong Dal
Dear Otared, I am sorry that the sample code is not fully loaded. Although Hans said that we don’t need ‘makempy’, I copied the whole code again for the sake of test. \setuphead[section][style={\effect[outer]}] is working well. For korean, use \setupbodyfont[unfonts] as Hans said. Thank you

Re: [NTG-context] about makempy (metapost outlines)

2018-02-19 Thread Hans Hagen
\stoptext You're not handling a section head or so so \getheadtitle is meaningless out of that context. How about \setuphead[section][style={\effect[outer]}] which is normally ok for outlines and has been around for ages. (btw, the mp outlin emechanism has changed and doesn't use

Re: [NTG-context] about makempy (metapost outlines)

2018-02-18 Thread Otared Kavian
:21, Jeong Dal wrote: > > > Hi, > > During the search Euler font, I found a manual “creating metapost outlines”. > It is what I looking for at the last year. > > I tried an example for section head, but it issued an undefined control > sequence message. > > Ple

[NTG-context] about makempy (metapost outlines)

2018-02-18 Thread Jeong Dal
Hi, During the search Euler font, I found a manual “creating metapost outlines”. It is what I looking for at the last year. I tried an example for section head, but it issued an undefined control sequence message. Please tell me what is wrong and how to change. I copied the sample code and

Re: [NTG-context] Substitution for ". . ."

2018-02-16 Thread Wolfgang Schuster
Procházka Lukáš Ing. <mailto:l...@pontex.cz> 16. Februar 2018 um 17:13 Hello, suppose having code: \starttext \section[sec]{This is a very long and important and unshortenable section title} See \about[sec]. \stoptext It produces: " 1 This is a very long and im

[NTG-context] Substitution for ". . ."

2018-02-16 Thread Procházka Lukáš Ing .
Hello, suppose having code: \starttext \section[sec]{This is a very long and important and unshortenable section title} See \about[sec]. \stoptext It produces: " 1 This is a very long and important and unshortenable section title See “This is a very long and importan

Re: [NTG-context] avoiding space on top of a page

2018-02-11 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 11. Februar 2018 um 16:00 Ahoi, I configured my section titles to have a line of space (\blank[big]) before and after the title. But if the section starts on a new page, the title should start in the first line. I couldn’t find the

[NTG-context] avoiding space on top of a page

2018-02-11 Thread Henning Hraban Ramm
Ahoi, I configured my section titles to have a line of space (\blank[big]) before and after the title. But if the section starts on a new page, the title should start in the first line. I couldn’t find the right combination of \blank options... \setuplayout[grid=yes] \setuphead[section

Re: [NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Procházka Lukáš Ing .
\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 "Sec" - thus the text &

Re: [NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Hans Hagen
header text size on page #2 is small (6 pt) although body font change was intended only to text inside section "Sec" - thus the text "\input knuth" is surrounded by \start ... \stop. How to change the bodyfont size of the running text only (ad-hoc in the middle of th

Re: [NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Wolfgang Schuster
ection \stoptext header text size on page #2 is small (6 pt) although body font change was intended only to text inside section "Sec" - thus the text "\input knuth" is surrounded by \start ... \stop. How to change the bodyfont size of the running text only (ad-hoc in

[NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Procházka Lukáš Ing .
body font change was intended only to text inside section "Sec" - thus the text "\input knuth" is surrounded by \start ... \stop. How to change the bodyfont size of the running text only (ad-hoc in the middle of the document), without changing header text size? Best regards, L

Re: [NTG-context] Presentation sections identified by color and mark

2018-02-04 Thread Hans Hagen
On 2/3/2018 10:02 PM, jmm...@us.es wrote: Hi, I'm starting a presentation with ConTeXt. I'd like to visually differentiate each section, so I've come up with two complementary approaches to do that: * Use a different color palette for each section, and * Mark the progress bar

[NTG-context] Presentation sections identified by color and mark

2018-02-03 Thread jmmora
Hi, I'm starting a presentation with ConTeXt. I'd like to visually differentiate each section, so I've come up with two complementary approaches to do that: * Use a different color palette for each section, and * Mark the progress bar to indicate the start of each section. I&#

[NTG-context] (again) references to sections in registers

2018-01-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \chapter{Chapter} \section{Section} \index{one} \subsection{Subsection} \index{two} \placeindex \stoptext How can I do the following? - "one" is referred in the ind

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-26 Thread Lars
arks in that case. I first have to add a blank predefined header like chapter or section anywhere in the text: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][force=yes] \starttext   \bookmark[Marks]{Bookmark one}  

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Henri
>    >   \bookmark[Marks]{Bookmark two} >   \input knuth >    > \stoptext > Yet CTX doesn't create bookmarks in that case. I first have to add a blank > predefined header like chapter or section anywhere in the text: > \setupinteraction[state=start] > \setupinteracti

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Lars
nput knuth \stoptext Yet CTX doesn't create bookmarks in that case. I first have to add a blank predefined header like chapter or section anywhere in the text: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][force=y

Re: [NTG-context] structureuservariable in ToC

2018-01-24 Thread Wolfgang Schuster
fine[3]\SectionListCommand {\doiftextelse{\structurelistuservariable{test}}{YES}{NO}% \endgraf} % \define[3]\SectionListCommand % {\doifsomethingelse{\rawstructurelistuservariable{test}}{YES}{NO}% %\endgraf} \setuplist[section][alternative=command,command=\SectionListCommand] \starttext \pla

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-23 Thread Lars
\bookmark[Marks]{Bookmark one}   \input tufte   \page   \bookmark[Marks]{Bookmark two}   \input knuth \stoptext Yet CTX doesn't create bookmarks in that case. I first have to add a blank predefined header like chapter or section anywhere in the text: \setupinteraction[state=start] \setupin

Re: [NTG-context] Three problems with ConTeXt standalone for armhf

2018-01-19 Thread Lutz Haseloff
myself anymore. It compiles >>> luajittex but not luatex. >>> >>> My call to build.sh is: sh ./build.sh --jit --parallel 1>compile.log >>> 2>error.log >>> >>> I append the error.log. >>> >>> 3. In first-setup.sh is an

Re: [NTG-context] Three problems with ConTeXt standalone for armhf

2018-01-19 Thread luigi scarso
pile.log >> 2>error.log >> >> I append the error.log. >> >> 3. In first-setup.sh is an entry for armv7l. On my system, "uname -m" shows >> armv8l. >> After every download of the script, I have to edit it. >> If someone adds a section for arm

Re: [NTG-context] Three problems with ConTeXt standalone for armhf

2018-01-18 Thread luigi scarso
armv7l. On my system, "uname -m" shows > armv8l. > After every download of the script, I have to edit it. > If someone adds a section for armv8l, I could use the original > first-setup.sh without changing armv7l to armv8l. > > > Greetings Lutz looking into it now --

[NTG-context] Three problems with ConTeXt standalone for armhf

2018-01-18 Thread Lutz Haseloff
t not luatex. My call to build.sh is: sh ./build.sh --jit --parallel 1>compile.log 2>error.log I append the error.log. 3. In first-setup.sh is an entry for armv7l. On my system, "uname -m" shows armv8l. After every download of the script, I have to edit it. If someone adds a

Re: [NTG-context] Correct usage of \placebookmarks

2018-01-18 Thread Henning Hraban Ramm
Am 2018-01-18 um 21:03 schrieb Lars : > Yet CTX doesn't create bookmarks in that case. I first have to add a blank > predefined header like chapter or section anywhere in the text: Sometimes \enabledirectives[references.bookmarks.preroll] helps. Didn’t check with your exam

[NTG-context] Correct usage of \placebookmarks

2018-01-18 Thread Lars
to add a blank predefined header like chapter or section anywhere in the text: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][force=yes] \starttext   \bookmark[Marks]{Bookmark one}   \input tufte   \page   \bookmark[Mark

Re: [NTG-context] Labels and Enumerations

2018-01-15 Thread Hans Hagen
[ff]This fails.\par}     whatever \in{two}[dd] and \in{two}[ee] and \in{two}[ff] and why     is this section not three paragraph?     \blank     here \why[gg]\input ward \why[hh] \input ward     here as well?\footnote{\why[ii]This works!\par

Re: [NTG-context] Labels and Enumerations

2018-01-14 Thread Rik Kabel
}[aa] and \in{two}[bb] and \in{two}[cc]     \blank     here \two[dd]\input ward \two[ee]\input ward     here as well?\footnote{\two[ff]This fails.\par}     whatever \in{two}[dd] and \in{two}[ee] and \in{two}[ff] and why     is this section not three

Re: [NTG-context] Command line tool for macro definitions

2018-01-14 Thread Hans Hagen
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

[NTG-context] Command line tool for macro definitions

2018-01-13 Thread Henri
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

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Jeong Dal
ter=\blank] \starttext \chapter{Spaces} \section{Space 1} \startDefinition[def:first] Let $X$ be a uncountable set. Let $\infty$ is a fixed point of $X$. Let $\mathcal T$ be the family of subsets $G$ such that either (i) $\infty \notin G$ or (ii) $\infty \in G \text{ and } G^c$ is f

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Hans Hagen
ckgroundcolor=dGreen]},%height=1.3em, %title=no, prefix=yes, prefixsegments=chapter, way=bychapter, before={\blank[big]}, after=\blank] \starttext \chapter{Spaces} \section{Space 1} \startDefinition[def:first] Let $X$ be a uncountable set. Let $\i

[NTG-context] referencing the customized enumeration with framed title

2018-01-11 Thread Jeong Dal
\starttext \chapter{Spaces} \section{Space 1} \startDefinition[def:first] Let $X$ be a uncountable set. Let $\infty$ is a fixed point of $X$. Let $\mathcal T$ be the family of subsets $G$ such that either (i) $\infty \notin G$ or (ii) $\infty \in G \text{ and } G^c$ is finite. The space $(X,

Re: [NTG-context] TOC and appendices

2018-01-08 Thread Procházka Lukáš Ing .
Hello, thanks for inspiration in the matter of scoping. It seems rather than the problem was that conversion has been undefined in place of TOC, not that I've been using \section without \chapter. When I've defined the conversion before \starttext, all seems work OK, see: \e

Re: [NTG-context] TOC and appendices

2018-01-07 Thread Lars
e subtitles only. Try it with main tile chapter before your section, then you'll see yourself: \starttext \placecontent \startbodymatter \section{Sec1} In sec 1 \stopbodymatter \startappendices %\definestructureconversionset[T][][A] %\setupheads[sectionconver

Re: [NTG-context] TOC and appendices

2018-01-07 Thread Lars
Hi there, it's because you're trying to place subtitles only. Try it with main tile chapter before your section, then you'll see yourself: \starttext \placecontent \startbodymatter \section{Sec1} In sec 1 \stopbodymatter \

[NTG-context] TOC and appendices

2018-01-06 Thread Procházka Lukáš Ing .
ections of appendices in TOC are numbered by NUMBERS, not by letters. In the example, section "Sec A" is numbered well as "A SecA in the document", whilst in TOC it is marked as "1 SecA". So - how to tell TOC to use the same numbers (sectionconversionset?) to

[NTG-context] registers with section and line number references

2018-01-02 Thread Pablo Rodriguez
Dear list, Happy New Year to all list members. I have the following sample: \starttext \startlinenumbering \chapter{One} \index{Zapf}\input zapf \section{Two} \index{Knuth}\input knuth \subsection{Three} \index{Tufte}\input tufte \stoplinenumbering \blank

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
{part}] %  solution 2: \setuphead   [part]   [page=no,    placehead=hidden] \appendtoks    \synchronizehead{part}% \to \everybeforepagebody %  solution 3 (new in beta): \setuphead   [part]   [placehead=section] This will delay the flush till the next section head gets place. It's still no

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
] [page=no, placehead=hidden] \appendtoks \synchronizehead{part}% \to \everybeforepagebody % solution 3 (new in beta): \setuphead [part] [placehead=section] This will delay the flush till the next section head gets place. It's still not 100% predictable but it might work out ok in

[NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
\synchronizehead{part}% \to \everybeforepagebody % solution 3 (new in beta): \setuphead [part] [placehead=section] This will delay the flush till the next section head gets place. It's still not 100% predictable but it might work out ok in most cases.

Re: [NTG-context] Header after a chapter title

2017-12-16 Thread Alexey Kryukov
On Thu, 14 Dec 2017 12:29:21 +0300 Alexey Kryukov wrote: > Now you can see that the "header=empty" setting is ignored for the > first section (one immediately following the chapter head). So, how > can I get rid of the header in this case? Answering my own question: I should h

[NTG-context] Header after a chapter title

2017-12-14 Thread Alexey Kryukov
er on the pages where a section starts). The following example is simplified (I actually have a 'command' option for chapters): \setuphead[chapter][ after={\page[empty,odd]}, page=odd, header=empty, ] \setuphead[section][ page=yes, header=empty, ] \starttext \startbodymat

Re: [NTG-context] \setuplist with numbercommand renders wrongly

2017-12-11 Thread Henri
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

[NTG-context] \setuplist with numbercommand renders wrongly

2017-12-10 Thread SteamedFish
]\ChapterNumber{chapter #1:\space\space\space\space\space\space #2} \setuplist[section][numbercommand=\ChapterNumber] \starttext \completecontent \section{blabla} blabla \section{blabla} blabla \section{blabla} blabla \stoptext I use ConTeXt standalone with Mac OS X mtx-context | ConTeXt Process

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-07 Thread William Adams
e 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 t

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-07 Thread William Adams
; > 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 -&g

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-07 Thread Roger Mason
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 different output engines process th

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-07 Thread Floris van Manen
kend 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 > convert a

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-06 Thread Jonas Baggett
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 convert a start section command of the document format into the same command for a backen

Re: [NTG-context] Adjust rendering of BibTeX entries

2017-11-23 Thread Alan Braslau
add the > period and automatically add the st, nd, rd, th to a edition > number? > > 4. Say, I would revert back to AMS-style but using superscripts rather > than the [#Number] default. How can I loose the square brackets > in the reference section? > > Thank you very m

[NTG-context] Adjust rendering of BibTeX entries

2017-11-23 Thread Dr . Thomas Möbius
I add the period and automatically add the st, nd, rd, th to a edition number? 4. Say, I would revert back to AMS-style but using superscripts rather than the [#Number] default. How can I loose the square brackets in the reference section? Thank you very much in advance. Thomas e

[NTG-context] register with section references (instead of pages)

2017-11-08 Thread Pablo Rodriguez
Dear list, I have this sample: \starttext \chapter{One} \index{one} \section{Two} \index{two} \subsection{Three} \index{three} \placeregister[index] \stoptext Is there any way to get section numbers in the index references instead of page numbers? I have

Re: [NTG-context] Extend is indented after section (2nd try)

2017-11-03 Thread Pablo Rodriguez
On 11/03/2017 05:54 PM, T. Kurt Bond wrote: > When I'm using an exdent after a section command, the first line of the > exdented paragraph is indented, instead of exdented.  Here's an example: > [...] > The paragraph after "Heading 2" is indented.  If I dele

[NTG-context] Question about index

2017-11-03 Thread MANUEL GONZALEZ SUAREZ
Dear friends. I want to ask you a question, although I do not know if it has been resolved on the mailing list. I think I have formulated it already, but I do not remember well. Can I make an index (of words or passages, authors, etc.), that refer to chapter, section, subsection, instead of

[NTG-context] Extend is indented after section (2nd try)

2017-11-03 Thread T. Kurt Bond
[This is a second try at sending this message, after I got the not that I'm on the mailing list now.] Hello, When I'm using an exdent after a section command, the first line of the exdented paragraph is indented, instead of exdented. Here&#x

[NTG-context] Wiki pages on Unicode blocks

2017-10-25 Thread N. Raghavendra
Based on what I have learnt from the replies to my queries in the last few days, I have added the following Wiki pages on Unicode blocks in ConTeXt: http://wiki.contextgarden.net/Unicode_blocks_in_ConTeXt http://wiki.contextgarden.net/List_of_Unicode_blocks I will be adding a section of

[NTG-context] Problem with Wiki skin

2017-10-24 Thread N. Raghavendra
I have created an account in the Wiki, and accidentally chose the `Erudite' skin in the Appearance section of the Preferences page. Since then, every page has been displayed as an empty page. I am working in Linux, with Firefox. I disabled the style (View -> page style -> no style),

Re: [NTG-context] Default setups

2017-10-23 Thread Wolfgang Schuster
N. Raghavendra <mailto:nyraghu27...@gmail.com> 20. Oktober 2017 um 15:05 Is there a command which prints to the log file the default values of the keys in the setups that are used in a document? For example, when I define a new document division with \definehead [mysection] [section]

Re: [NTG-context] Default setups

2017-10-23 Thread luigi scarso
On Fri, Oct 20, 2017 at 3:05 PM, N. Raghavendra wrote: > Is there a command which prints to the log file the default values of > the keys in the setups that are used in a document? > > For example, when I define a new document division with > > \definehead [mysection] [section]

Re: [NTG-context] Default setups

2017-10-23 Thread Pablo Rodriguez
On 10/20/2017 03:05 PM, N. Raghavendra wrote: > Is there a command which prints to the log file the default values of > the keys in the setups that are used in a document? > > For example, when I define a new document division with > > \definehead [mysection] [section] [style=

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
e colums > > Sorry, but overflowing is normal here, the formula has too many data to > fit in that column width. > > I would discourage the use of columns to create the booklet. > > My advice would be to compose the standard text and then impose the pages: > > \startte

Re: [NTG-context] Missing Chapter Numbers

2017-10-22 Thread Pablo Rodriguez
On 10/22/2017 08:59 PM, Thangalin wrote: > The following code does not hide the headings: > [..] > The following code also does not hide the headings: > [...] > However, adding "section" makes the sub- and subsubsections hide as expected: > [...] Hi Thangalin, I’m af

<    8   9   10   11   12   13   14   15   16   17   >