Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen
On 8/18/2018 2:41 PM, Joseph Canedo wrote: I see in pdf (created using MWE Wolfgang kindly provided and latest Context beta) page 2: Section 16 appears on page 1. Should read I think Section 16 appears on page 2. hm, not here, so question for wolfgang: can you run the test

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Joseph Canedo
I see in pdf (created using MWE Wolfgang kindly provided and latest Context beta) page 2: Section 16 appears on page 1. Should read I think Section 16 appears on page 2. Joseph De : Hans Hagen Envoyé le :samedi 18 août 2018 13:48 À : mailing list for ConTeXt users; Wolfgang Schuster; Joseph

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen
On 8/18/2018 10:11 AM, Wolfgang Schuster wrote: Here is your minimal example. \starttext \dorecurse{20}{\section[sec:#1]{Section #1}} Section \in[sec:16] appears on page \at[sec:16]. Section \in[sec:17] appears on page \at[sec:17]. \stoptext Goes ok here

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster
Here is your minimal example. \starttext \dorecurse{20}{\section[sec:#1]{Section #1}} Section \in[sec:16] appears on page \at[sec:16]. Section \in[sec:17] appears on page \at[sec:17]. \stoptext Wolfgang Joseph Canedo schrieb am 17.08.18 um 23:08: The latelua functions seems fixed

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-17 Thread Joseph Canedo
The latelua functions seems fixed with 2018-08-16 beta but in some occurrences the realpage information for some sections is wrong, being set to page before the actual page the section title appears in pdf. This seems to happen when the title of section is first at top of page. If needed I can

[NTG-context] Using \dorecheckindentation inside a group

2018-08-10 Thread Aditya Mahajan
\dorechecknextindentation \endgroup \stoptexdefinition \protect \definewhatever[whatever] \setupindenting[big,yes] \startbuffer \input ward \startwhatever \input tufte \stopwhatever \input ward \stopbuffer \starttext \section{With indentnext=yes} \setupwhatever[indentnext=yes] \getbuffer \section

Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
. Sometimes, I used “\in{word}[reference]” like “\in{equation}[eq:1]". But I have to change it to “equation (\in[eq:1])”. Thank you so much. Best regards, Dalyoung 2018. 8. 10. 오전 12:21, Wolfgang Schuster 작성: When you look at the first example in section 4.1 you can see that the parent

Re: [NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Schuster > 작성: > > When you look at the first example in section 4.1 you can see that the > parentheses are inserted by hand. > > %% > \starttext > > \placeformula > \startformula \startalign > \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] > \NC a_

Re: [NTG-context] referencing the equation

2018-08-09 Thread Wolfgang Schuster
When you look at the first example in section 4.1 you can see that the parentheses are inserted by hand. %% \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2] \stopalign \stopformula As seen from (\in[eq:1

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Aditya Mahajan
example. Because the following works in MKII (counter reset at each chapter) \setupfootnotes[way=bychapter] \starttext \dorecurse{5} {\chapter{New Chapter} \dorecurse{5}{\input ward\footnote{A quote by ward}}} \stoptext The following also works with the counter reset at each section

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-09 Thread Robert Zydenbos
eeds. Not really. My requirements are rather dull and limited. I was attracted to ConTeXt for its simplicity in changing paper formats, in changing the formats of headings (section, subsection etc.), the ease with which index entries can be formatted, and above all for its beautiful table possibil

[NTG-context] question regarding \placefloats

2018-08-08 Thread Susanne G. Loeber
Dear Reader, I have a document with figures and tables. I have tried to use the command \placefloats to create a list of all my floats as recommended on the page Floating Objects, section Flushing floats. There it states: The command \placefloats outputs all pending floats. I hoped to get

Re: [NTG-context] Footnotes in titles, 3 years old file compiles now different

2018-08-07 Thread Lutz Haseloff
ntext-mirror/commits/ >wiki : http://contextgarden.net >___ titlefootnote.pdf Description: Adobe PDF document \starttext \section{title\footnote{ftn-content}} \stoptext

[NTG-context] Footnotes in titles, 3 years old file compiles now different

2018-08-07 Thread Huseyin Özoguz
Hello together, I have a file from 2015, which contains something like this: \section{title\footnote{ftn-content}} And the compiled pdf from then show the footnote correct and with the number in order to the other footnotes. But now I have compiled it again without differences

[NTG-context] xtables setup

2018-07-29 Thread Henning Hraban Ramm
—\stopxcell\stopxrow \startxrow\startxcell 1\stopxcell\startxcell chapter\stopxcell\startxcell title\stopxcell\stopxrow \startxrow\startxcell 2\stopxcell\startxcell section\stopxcell\startxcell subject\stopxcell\stopxrow \startxrow\startxcell 3\stopxcell\startxcell subsection\stopxcell\startxcell

Re: [NTG-context] TABLE setups

2018-07-29 Thread Hans Hagen
On 7/28/2018 11:09 AM, Henning Hraban Ramm wrote: Meanwhile I had a look into the manuals folder and found the xtables manual. Section 5 about \definextable and \starttexdefinition is especially interesting. I guess I need to try both. (My ConTeXt fu is always outdated, it seems...) not much

Re: [NTG-context] TABLE setups

2018-07-28 Thread Henning Hraban Ramm
> \stopsetups > \starttext > > \bTABLE[setups=mystyle] Thank you, that was what I wanted to know. A one-line answer would have been enough ;) Sorry, I was just too busy with other TeX issues to simply try it. Meanwhile I had a look into the manuals folder and found the xtables manual. Section 5

Re: [NTG-context] Set up a theorem style

2018-07-26 Thread Fabrice Couvreur
3)}} > > \theoremstyle{theoremdd} > \newtheorem{thmd}{Theorem}[section] > > > > I'm trying to do the same thing with ConTeXt but I can not do it > completely : > > \setupenumerations[ >before={\blank}, >after={\blank}, >text=Théorème, &g

Re: [NTG-context] Set up a theorem style

2018-07-25 Thread Aditya Mahajan
after theorem head; " " = normal interword space {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}} \theoremstyle{theoremdd} \newtheorem{thmd}{Theorem}[section] I'm trying to do the same thing with ConTeXt but I can not do it completely : What are you missing? Aditya \setupen

[NTG-context] Set up a theorem style

2018-07-25 Thread Fabrice Couvreur
interword space {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}} \theoremstyle{theoremdd} \newtheorem{thmd}{Theorem}[section] I'm trying to do the same thing with ConTeXt but I can not do it completely : \setupenumerations[ before={\blank}, after={\blank}, tex

[NTG-context] SHA512 for LuaTeX-5.2

2018-07-22 Thread Pablo Rodriguez
starting at -- index 'i' in 's' into a number local function s264num (s, i) local n = 0 for i = i, i + 7 do n = n*256 + string.byte(s, i) end return n end -- -- MAIN SECTION -- -- FIRST STEP: INITIALIZE HASH VALUES --(second 32 bits of the fractional parts of the square roots

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
hapter > > Thanks for your help > Fabrice > > > ## > \usemodule[visual] > > \mainlanguage[fr] > > \setuphead[chapter][commandbefore={:\,},header=empty] > > \setuphead[subsection

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
lp Fabrice ## \usemodule[visual] \mainlanguage[fr] \setuphead[chapter][commandbefore={:\,},header=empty] \setuphead[subsection][style=bold] \setuphead[section] [distance=\zeropoint, style=bold, commandbefore={\space\endash\space}] \setup

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
phead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \starttit

Re: [NTG-context] title of index

2018-07-19 Thread Hans van der Meer
atter\startappendices typesets as “I Index”. >> How can I change and format with my custom macro the part “Index”? >> Such as using \mytitle{xyz} instead of Index? >> >> No solution found in the Context Wiki. >> >> dr. Hans van der Meer >> > >

Re: [NTG-context] title of index

2018-07-19 Thread Rik Kabel
Wiki. dr. Hans van der Meer Try \placeindex or \placeregister[index] and your own section heading. This is analagous to \completecontent and \placecontent. ___ If your question is of interest to others as well, please

Re: [NTG-context] Epub broken

2018-07-05 Thread Rik Kabel
, as: (When one section is removed, the disorder is gone, so a smaller test file will not exhibit this problem.) In a larger document, endnotes are scrambled as well, with two index marks for some and none for others. The generated .pdf (which is a throw-away when trying to produce epub) does

[NTG-context] Epub broken

2018-07-04 Thread Rik Kabel
={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

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 02 Jul 2018 07:21:19 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 2. Juli 2018 um 14:34 Hi Wolfgang, On Mon, 02 Jul 2018 00:58:44 -0600, Wolfgang Schuster wrote: Hi Idris, you can enable the display of chapter numbers

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 2. Juli 2018 um 14:34 Hi Wolfgang, On Mon, 02 Jul 2018 00:58:44 -0600, Wolfgang Schuster wrote: Hi Idris, you can enable the display of chapter numbers with the prefix-key: \setupnotation [footnote]

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Mon, 02 Jul 2018 01:08:23 -0600, Wolfgang Schuster wrote: Hi Idris, you get the correct reference numbers when you apply the conversion of the section numbers with the sectionconversionset-key, this does also mean you have to remove “conversion=R” from chapter setup

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
ce=0em, textdistance=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \sta

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Wolfgang Schuster
Hi Idris, you get the correct reference numbers when you apply the conversion of the section numbers with the sectionconversionset-key, this does also mean you have to remove “conversion=R” from chapter setup. == \defineconversionset [OLIE] [n,R,n,n,n,n] [n] \setuphead

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Wolfgang Schuster
=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \starttext \startchapter[title=

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
,conversion=R] \setuphead[subsection][alternative=text] \setuphead[subsection][distance=0em, textdistance=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
, textdistance=0.7em, sectionstopper=., criterium=local] \setupnotation[footnote][way=bychapter] \setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big

[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.

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]

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

[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,

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
esetting 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 instance \section{foo} instead of \

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

2018-06-15 Thread Rik Kabel
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=] \setupsectionblock[bodypart] [page=]

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

2018-06-06 Thread Keith McKay
title 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
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 escaped entities

Re: [NTG-context] structureuservariable

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

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

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

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 https

[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, Henri

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

2018-03-06 Thread ????????
g[#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\BookNameFram

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

2018-03-05 Thread Idris Samawi Hamid ادريس سماوي حامد
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, set and saved under the sectio

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 <pra...@wxs.nl> 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

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

2018-03-04 Thread Hans Hagen
he TOC, but style=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,subsubs

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

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
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][alternative=c,style=bold] Ok - see below. loo

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

2018-03-04 Thread Hans Hagen
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 current recommended

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

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
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

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
\directcheckedvspacing{disable}% \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 (str

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

2018-02-19 Thread Wolfgang Schuster
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.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 makempy an

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

2018-02-18 Thread Otared Kavian
:21, Jeong Dal <hak...@me.com> 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 > sequen

[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

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 an

[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 impo

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 .
[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

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 to indicate

[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've done an small

[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
ke 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[Marks]{Bookmark two}   \i

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

2018-01-25 Thread Henri
t;   \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] > \setupinteractionscreen[option

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

2018-01-25 Thread Lars
\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=yes] \starttext

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
ce=yes] \starttext   \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

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

2018-01-19 Thread Lutz Haseloff
t; >>> 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 armv8l, I could

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

2018-01-19 Thread luigi scarso
y 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

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

2018-01-18 Thread luigi scarso
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 armv8l, I could use the original > first-setup.sh wi

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

2018-01-18 Thread Lutz Haseloff
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 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 secti

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

2018-01-18 Thread Henning Hraban Ramm
Am 2018-01-18 um 21:03 schrieb Lars <axteff...@gmail.com>: > 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 che

[NTG-context] Correct usage of \placebookmarks

2018-01-18 Thread Lars
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[Marks]{Bookmark two

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

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