Re: [NTG-context] spacing before items

2020-06-16 Thread Tomas Hala
] # # \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), #stopper=] # #  # #  # #\starttext # #  # #\startsection{First Section} # #  # #\startmdshw # # \item Choose the correct answer. # #  \startmdshw # #  \item This one

Re: [NTG-context] spacing before items

2020-06-16 Thread Wolfgang Schuster
] \setupitemgroup[mdshw][1][n] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startsection[title={...}] The first entry uses the "before" value while inner entries use "inbetween". \starttext \setupite

[NTG-context] spacing before items

2020-06-16 Thread Mike Cooper
] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startmdshw \item Choose the correct answer. \startmdshw \item This one \item This one \item This one \stopmdshw \item Choose

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Aditya Mahajan
simply think that it is misbehaving there). In your example you can add \testpage to \section to force a page break when there isn't enough space available to place the heading, this moves also the layer placement to the next page. I’m afraid this doesn’t work with my real document. I need

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
n that case (or I simply think that it is misbehaving there). > In your example you can add \testpage to \section to force a page break > when there isn't enough space available to place the heading, this moves > also the layer placement to the next page. I’m afraid this doesn’t work with my real document

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Wolfgang Schuster
it should be placed on the second page. This sample shows thie problem in a simpler way: \definelayer[whatever] [x=3em, y=3em] \setupbackgrounds[page][background=whatever] \setuphead [section] [before={\testpage[2]\blank[2*big]}] \starttext \dorecurse{18}{\section{Section

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
the second page. This sample shows thie problem in a simpler way: \definelayer[whatever] [x=3em, y=3em] \setupbackgrounds[page][background=whatever] \starttext \dorecurse{18}{\section{Section}} just a line \setlayerframed[whatever][foregroundstyle=\bf\ss] {layer on the last page?}

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Rudolf Bahr
> \setupbackgrounds[page][background=pgnumber] > \starttext > \placelist[section][alternative=d] > \dorecurse{16}{\section{Section}} > \pagenumber/\lastpagenumber > \setlayer[pgnumber] > {\comment{\pagenumber}} > \stoptext > > Could anyone confirm the iss

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
>> Could anyone confirm the issue? > > \pagenumber is only reliable headers/footer texts or page backgrounds, > for everything else you need a multi pass mechanism (save the page > number in the first run and provide it in the second). Many thanks for your reply, Wolfgang. I thought this

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Wolfgang Schuster
] \starttext \placelist[section][alternative=d] \dorecurse{16}{\section{Section}} \pagenumber/\lastpagenumber \setlayer[pgnumber] {\comment{\pagenumber}} \stoptext Could anyone confirm the issue? \pagenumber is only reliable headers/footer texts or page backgrounds

[NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \starttext \placelist[section][alternative=d

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
, introduced by \in[casus-349]). You can probably also use something like \section[\NL{Een moeilijke zaak}\EN{A complicated case}]{} \begin[NLblok]\startlinenumberingtext ... \stoplinenumbering\end[NLblok] \begin[Enblok]\startlinenumberingtext... \stoplinenumbering\end[Enblok]\stoptext I hope

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
}] \refno{casus-349}\crlf The casus-349 element is used as a label. After the text I have a list of questions for this case in a separate block for questions, introduced by \in[casus-349]). You can probably also use something like \section[\NL{Een moeilijke zaak}\EN{A complicated case}]{

Re: [NTG-context] using modeset

2020-06-11 Thread BPJ
written in English but now a separate Dutch > translation has to be created. > > > > It is important that the two manuals are setup similarly so the > section/subsection numbers and question numbers are the same in the English > manual and the Dutch manual. Note: I do not intend to

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
translation has to be created. It is important that the two manuals are setup similarly so the section/subsection numbers and question numbers are the same in the English manual and the Dutch manual. Note: I do not intend to create a manual that has the English and Dutch text at opposite sides

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
manuals are setup similarly so the section/subsection numbers and question numbers are the same in the English manual and the Dutch manual. Note: I do not intend to create a manual that has the English and Dutch text at opposite sides (as can be done using streams) I’m keen to continue using a single

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-06-10 Thread Hans Hagen
}\noindentLine above\\% to demonstrate that the lines are being stacked as normal\rotatebox{-90}{%\XeTeXupwardsmode1\\% successive lines will be stacked upwards instead of downwards\begin{minipage}{4em}% this will be the vertical length of the Mongolian section{\dcw% Font: Daicing White1 ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ

[NTG-context] About vertical typesetting in ConTeXt

2020-06-09 Thread Jairo A. del Rio
are being stacked as normal\rotatebox{-90}{%\XeTeXupwardsmode1\\% successive lines will be stacked upwards instead of downwards\begin{minipage}{4em}% this will be the vertical length of the Mongolian section{\dcw% Font: Daicing White 1 ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ\\% direct Unicode input of Manchu letters 2 ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ

[NTG-context] Bug in lmtx or wrong setup?

2020-06-09 Thread Jan U. Hasecke
Hi all, I encountered a very strange problem. I want to have section headlines expanding the whole textarea, but the following copy text of the section shall be typeset in columns. I have this setup and it works fine. \setuphead [section] [ insidesection=\startcolumns, aftersection

Re: [NTG-context] wiki update - status

2020-06-08 Thread Marcus Vinicius Mesquita
date dead links > - Layout: >- do the todo, like merging content of paper setup + paper sizes pages >- complete the flow with imposition >- rework the "Further reading section", add PDF links and so on > - Programming & DB: >- Gather "Calling

Re: [NTG-context] wiki update - status

2020-06-08 Thread Hans Hagen
  - rework the "Further reading section", add PDF links and so on - Programming & DB:   - Gather "Calling Lua from TeX" and "Calling TeX from Lua"     (section +links) in a same page - Tools:   - segregate "core tools" and "additional tools"   -

[NTG-context] wiki update - status

2020-06-07 Thread Garulfo
to be responsive "enough" for smartphone - More homogeneous style / theme - Old Content category and tag pages, update dead links - Layout: - do the todo, like merging content of paper setup + paper sizes pages - complete the flow with imposition - rework the "Further reading section&

Re: [NTG-context] Two issues with respect to sections in ConTeXt

2020-06-06 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 05.06.2020 um 05:28: First: I made the following question wrt swapping section labels and section numbers: https://tex.stackexchange.com/questions/547761/how-to-swap-section-labels-and-section-numbers-in-context What I tried to do is the following section

Re: [NTG-context] Installing Modules with ConTeXt LMTX

2020-06-06 Thread Sebastian Miele
by hand" and "ConTeXt standalone", but no >> section on ConTeXt LMTX. >> >> The section on ConTeXt standalone mentions a --modules switch to >> first-setup.sh in order to include modules. This cannot work with the >> install.sh from ConTeXt LMTX, as it does

Re: [NTG-context] Two issues with respect to sections in ConTeXt

2020-06-05 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 05.06.2020 um 05:28: First: [...] Second: The TeX command \S (section mark) seems to be insensitive to font size commands. I've tried with \setuphead[section][sectionstarter=\S] And the sign is smaller than the surrounding letters. I thought it was a matter

[NTG-context] Two issues with respect to sections in ConTeXt

2020-06-04 Thread Jairo A. del Rio
First: I made the following question wrt swapping section labels and section numbers: https://tex.stackexchange.com/questions/547761/how-to-swap-section-labels-and-section-numbers-in-context What I tried to do is the following section structure 1. Chapter (Name of chapter) 1. 2 Section (Name

Re: [NTG-context] spacing between chapters in TOC

2020-06-01 Thread jbf
:05: Hi list, I want my table of contents to look like: Chapter 1     section   5     section  10     section  15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I know how to control interline

Re: [NTG-context] spacing between chapters in TOC

2020-06-01 Thread Wolfgang Schuster
jbf schrieb am 02.06.2020 um 03:05: Hi list, I want my table of contents to look like: Chapter 1     section   5     section  10     section  15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I

[NTG-context] spacing between chapters in TOC

2020-06-01 Thread jbf
Hi list, I want my table of contents to look like: Chapter 1     section   5     section  10     section  15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I know how to control interline

Re: [NTG-context] Installing Modules with ConTeXt LMTX

2020-06-01 Thread Marco Patzer
On Mon, 01 Jun 2020 19:58:59 +0200 Sebastian Miele wrote: > I want to try the t-letter module. I have a fresh install of ConTeXt > LMTX from today. The page https://wiki.contextgarden.net/Modules has > sections "Installation by hand" and "ConTeXt standalone", but

[NTG-context] Installing Modules with ConTeXt LMTX

2020-06-01 Thread Sebastian Miele
I want to try the t-letter module. I have a fresh install of ConTeXt LMTX from today. The page https://wiki.contextgarden.net/Modules has sections "Installation by hand" and "ConTeXt standalone", but no section on ConTeXt LMTX. The section on ConTeXt standalone mention

Re: [NTG-context] 'debug' version of METAPOST draw?

2020-05-28 Thread Keith McKay
Would Chapter 11, section 11.1 Showing Paths of the MetaPost manual, be any help here? Below is a MWE of a random path of curves and straight lines. The points are shown using drawpoints. The arrow path and control lines are also shown and are better described in the Metapost manual

[NTG-context] Proper presentations with stepping

2020-05-26 Thread Thomas Welter
The presentation examples with stepping always seem to lack page and section numbers because \incrementcounter gets fired on every stepping iteration. For that I adjusted a few lines in spresent-steps.mkiv. You can see an (scientifically-styled) example presentation here: https://github.com

Re: [NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Hans Hagen
was not present. %%% Begin %%% \setuppapersize [A4] [A4] \setupinteraction [state=start] \setuplist [chapter] [ alternative=command, %interactive command=\myTOCrow, before=\myTOCbefore, after=\myTOCafter ] % #1 == Section number; #2 == text; #3 == page number \define[3]\myTOCrow

[NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Bruce Horrocks
[A4] [A4] \setupinteraction [state=start] \setuplist [chapter] [ alternative=command, %interactive command=\myTOCrow, before=\myTOCbefore, after=\myTOCafter ] % #1 == Section number; #2 == text; #3 == page number \define[3]\myTOCrow{\NC #2 \NC dummy \NC John Doe \NC #3 \NC\NR

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-20 Thread context
to each (sub)title to download appropriate manuals as .zip, so to get: " Up-to-date Documentation (title) [download-all-up-to-date-manuals-in-this-section-inc-subsections (hlink)] ... Graphics and Colors (subtitle) [download-all-graphics-and-colors-manuals-inc-subsections (hlink)] ... &

Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Hans Hagen
U+0031:1 : 4 document>1 section>1 sectioncaption>1 sectionnumber>1 backend > tags > U+0053:S => U+0074:t : 5 document>1 section>1 sectioncaption>1 sectiontitle>1 backend > tags > U+0054:T => U+0068:h : 7 document>1 section>

[NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
This is a paragraph \stopparagraph \startmycommand This is mycommand \stopmycommand \stopsection \stoptext ``` If I compile using `context --trackers=structures.tags filename`, I get ``` backend > tags > U+0031:1 => U+0031:1 : 4 document>1 section>1 s

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-17 Thread Henning Hraban Ramm
without hyperlinks >>> >>> alternative=interactive : Custom TOC with hyperlinks >> >> Thank you! Wikified: https://wiki.contextgarden.net/Command/setuplist > > Thank-you Wolfgang for the quick reply and also Hraban for beating me to it > on the Wiki - I

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
\hskip 1em >> \vtop{\hsize\dimexpr\textwidth-3em\relax#2} >> \egroup \par} >> >> % Comment out this next line to regain section hyperlinks in the ToC >> \setuplist[section][alternative=command,command=\SectionListEntry] > > alternative

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Wolfgang Schuster
[option=bookmark] \define[3]\SectionListEntry {\par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par} % Comment out this next line to regain section hyperlinks in the ToC \setuplist[section][alternative

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
etupinteraction[state=start] > \setupinteractionscreen[option=bookmark] > > \define[3]\SectionListEntry > {\par \leftaligned\bgroup > \hbox to 2em{#3}% > \hskip 1em > \vtop{\hsize\dimexpr\textwidth-3em\relax#2} > \egroup \par} > > % Comment o

[NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Bruce Horrocks
{\par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par} % Comment out this next line to regain section hyperlinks in the ToC \setuplist[section][alternative=command,command=\SectionListEntry] \starttext Table

Re: [NTG-context] Shift tabulate into margin and center

2020-05-05 Thread Tim Steenvoorden
r=0pc, > height=49pc, > footer=0pc, > bottomdistance=2.5pc, > bottom=1pc, > location=middle] > > \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)} > > \section{First} > \subsection{First first} > > \input tufte > > \setupnarrower[left=

[NTG-context] Shift tabulate into margin and center

2020-05-04 Thread Tim Steenvoorden
=middle] \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)} \section{First} \subsection{First first} \input tufte \setupnarrower[left=-9pc] \startnarrower[left] \startframedtext[frame=off,topframe=on,bottomframe=on,align=middle,width=\fullwidth] The whole frame should

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread ntg
> On 2 May 2020, at 17:08, Wolfgang Schuster > wrote: [comprehensive answer snipped] Thank-you, very helpful. > I attached a slightly modified version of your project structure to show a > different way to organize documents. What I would change is to use a better > sectio

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread Wolfgang Schuster
does this by itself in most cases but it can fail). \definebodyfontenvironment [14pt] I attached a slightly modified version of your project structure to show a different way to organize documents. What I would change is to use a better section name for each article, e.g. \Article

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2020-04-30 Thread Joey McCollum
Okay! I have not figured out how to add a new page to the wiki, but I was able to add a section to the end of the "Arabic and Hebrew" page ( https://www.contextgarden.net/Arabic_and_Hebrew) discussing the issue, providing a test, and briefly describing the fix. Joey On Thu, Apr 30, 202

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Pablo Rodriguez
pagenumber series using \definecounter? > > While I think there are better solutions to your problem (e.g. adding > the section number as prefix) you can increment a counter with each page. Many thanks for your reply, Wolfgang. The text structure is more complex. The document uses sections as

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Wolfgang Schuster
counter. Although method is page, this seems to be related to a different issue. My question is: how could I get new pagenumber series using \definecounter? While I think there are better solutions to your problem (e.g. adding the section number as prefix) you can increment a counter with each

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Henning Hraban Ramm
>> cd $HOME/dev/writing/book >> ./build -V -c -y -i jekyll-hyde -d standard-ebooks/jekyll-hyde \ >> -b robert-louis-stevenson_the-strange-case-of-dr-jekyll-and-mr-hyde >> >> This is noted at the bottom of the preamble section. >> >> Enjoy! >> &g

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Henning Hraban Ramm
d themes.zip archives, you can > build a book using: > > cd $HOME/dev/writing/book > ./build -V -c -y -i jekyll-hyde -d standard-ebooks/jekyll-hyde \ > -b robert-louis-stevenson_the-strange-case-of-dr-jekyll-and-mr-hyde > > This is noted at the bottom of the preamble section. >

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Jan-Erik Hägglöf
cd $HOME/dev/writing/book > ./build -V -c -y -i jekyll-hyde -d standard-ebooks/jekyll-hyde \ > -b robert-louis-stevenson_the-strange-case-of-dr-jekyll-and-mr-hyde > > This is noted at the bottom of the preamble section. > > Enjoy! > > On Tue, Apr

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Thangalin
-jekyll-and-mr-hyde This is noted at the bottom of the preamble section. Enjoy! On Tue, Apr 28, 2020 at 7:12 AM Jan-Erik Hägglöf wrote: > > Is there a running example ? I’m not sure how to fill in the commandline > > > > 28 apr. 2020 kl. 09:33 skrev Henning Hraban Ramm : &

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Pablo Rodriguez
ts  0 > > In fact the ToC appears on page 1, but regardless of the page it is > appearing on, is there a way I can prevent that line from being produced > as part of the ToC? I assume it would be something I need to do in the > following setup: > > \setupcombinedlist >

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Henning Hraban Ramm
t; \setupcombinedlist > [content] > [list={chapter,section,title,subject,subsection}] > \setuplist[chapter][style=normal,alternative=b, before=] > > Grateful for any help with this, Usually the unnnumbered headers aren’t part of any ToC, but since you include title, you also get the T

[NTG-context] TOC- removing Contents 0

2020-04-21 Thread jbf
of the page it is appearing on, is there a way I can prevent that line from being produced as part of the ToC? I assume it would be something I need to do in the following setup: \setupcombinedlist   [content]   [list={chapter,section,title,subject,subsection}] \setuplist[chapter][style=normal

Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Pablo Rodriguez
section and access the value of this macro with the > beforesection-key. You should ensure the content if this temporary macro > is cleared when your conditional is false. > > \setuphead >[section] >[beforesection=\getvariable{xml}{beforesection}] > > \startxmlsetups

Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 20.04.2020 um 18:55: Dear list, I have the following sample: \startbuffer[demo] first second \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|section}{xml:*} \stopxmlsetups

[NTG-context] conditional not working in \setuphead

2020-04-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] first second \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|section}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc

Re: [NTG-context] New installation setup

2020-04-19 Thread Hans Hagen
health crisis, time has slowed down anyway.) Sounds good. Is documentation part of (3) or can it be another section? It's part of (1) as it is now but of course we can have an additional one (5) for extra documentation. While I want to install "everything" on my work machine, it

Re: [NTG-context] New installation setup (was: Cannot build plain format)

2020-04-19 Thread Henning Hraban Ramm
ons etc. But then, due to the current health > crisis, time has slowed down anyway.) Sounds good. Is documentation part of (3) or can it be another section? While I want to install "everything" on my work machine, it would make sense to restrict a server installation (or a be

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
w instance which uses the counter of another instance, e.g. you create two enumerations but both of them share one counter. Another problem is that you assume counter refers to the page value while it would make more sense to link it to the section value (or float number for figures or tab

Re: [NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

2020-04-08 Thread Christoph Hintermüller
nal macros. > What i'm not able to figure are the following things: > 1) How can i set/modify the display attribute of the resulting > div.myclass section in the generated *_templates.css file. > Per default the display attribute is set to "inline" while i need > "block&q

[NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

2020-04-05 Thread Christoph Hintermüller
attribute of the resulting div.myclass section in the generated *_templates.css file. Per default the display attribute is set to "inline" while i need "block" or "flex" (not jet decided" which). 2) How can i predefine the white-space css attribute to pre-wrap

Re: [NTG-context] \placenamedfloat and \setuphead[aftersection=...] broken?

2020-04-03 Thread Benjamin Buchmuller
Thank you, Wolfgang, this works; apparently, the chapter has to be set with \startchapter … \stopchapter and footnotes after \chapter won’t be flushed unless \startchapter \footnote{something} \stopchapter. This makes sense to me. I guess, internally \head (e.g. \section, \chapter etc

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
Yes, that did the trick! Thanks! On Mon, Mar 23, 2020 at 3:15 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am 23.03.2020 um 16:50: > > It turns out that the extra whitespace before and after the section > > headers in the bo

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 23.03.2020 um 16:50: It turns out that the extra whitespace before and after the section headers in the body appears when I put \startcolumns[n=2] before the body text and \stopcolumns after it.  Here's the MWE, just slightly modified from your example: begin

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
It turns out that the extra whitespace before and after the section headers in the body appears when I put \startcolumns[n=2] before the body text and \stopcolumns after it. Here's the MWE, just slightly modified from your example: begin example \setuphead [chapter,section,subsection

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread Wolfgang Schuster
unwanted whitespace between the entries in the Table of Contents. * It has unwanted whitespace before and after section headings, despite me having "before={},after={}" in the \setuphead commands for all the levels of sections. * And it had a large unwanted white sp

[NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread T. Kurt Bond
ed whitespace before and after section headings, despite me having "before={},after={}" in the \setuphead commands for all the levels of sections. - And it had a large unwanted white space between paragraphs until I \setupwhitespace[none]. I'd prefer a little bit of white spac

Re: [NTG-context] Indenting entries in the table of contents?

2020-03-21 Thread Richard Mahoney | Indica et Buddhica
This is what I'm using at the moment: % Tables of Contents \setuplist[part][textstyle={\sl},pagestyle={\tf}] \setuplist[chapter][textstyle={\sl},pagestyle={\tf},label=yes,width=fi t,stopper=~~] \setuplist[section][width=42pt,margin=10pt,style={\tf}] \setuplist[subsection][width=42pt,margin

Re: [NTG-context] Exercise file with statements and correction

2020-03-17 Thread Fabrice Couvreur
gt;> > correction at the end of the file. I'm running out of time, does anyone >>> > have a model to share ? >>> >>> Hi Fabrice, >>> >>> I don’t have a model, but the following sample could give you a hint: >>> >>> \setupintera

Re: [NTG-context] Exercise file with statements and correction

2020-03-17 Thread Fabrice Couvreur
gt;> > correction at the end of the file. I'm running out of time, does anyone >>> > have a model to share ? >>> >>> Hi Fabrice, >>> >>> I don’t have a model, but the following sample could give you a hint: >>> >>> \setupinteraction[state=start, fo

Re: [NTG-context] Exercise file with statements and correction

2020-03-17 Thread Fabrice Couvreur
>> > have a model to share ? >> >> Hi Fabrice, >> >> I don’t have a model, but the following sample could give you a hint: >> >> \setupinteraction[state=start, focus=standard] >> \starttext >> \startbodymatter >> \chapter[lesson-1]{Lesson 1} >

Re: [NTG-context] Exercise file with statements and correction

2020-03-17 Thread Fabrice Couvreur
\setupinteraction[state=start, focus=standard] > \starttext > \startbodymatter > \chapter[lesson-1]{Lesson 1} > \section[exercises-1]{Exercises 1} > These are the exercises. > > Here you have their key (\about[key-1]). > \stopbodymatter > \startappendices

Re: [NTG-context] Exercise file with statements and correction

2020-03-17 Thread Pablo Rodriguez
ve a model to share ? Hi Fabrice, I don’t have a model, but the following sample could give you a hint: \setupinteraction[state=start, focus=standard] \starttext \startbodymatter \chapter[lesson-1]{Lesson 1} \section[exercises-1]{Exercises 1} These are the exercises. Here you hav

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.03.2020 um 20:32: Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d

[NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Pablo Rodriguez
Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d, style=\it] \section{Section 1} \section

Re: [NTG-context] Only-black emojis in LMTX

2020-03-10 Thread Henri Menke
On 3/11/20 11:35 AM, Alejo Barrio Blaya wrote: > I'm trying to get emojis working. The examples that do, are only printing > plain black emojis. Not colors, nor greyscales. > I'm using the latest beta of LMTX. See section 5.2.13 Color in the fonts manual. http://www.pragma-ade.nl/genera

Re: [NTG-context] How do I set TeXShop to use mtxrun on a .tex file?

2020-02-29 Thread Otared Kavian
Hi Gerben, There is a dedicated page for this: https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS Please have a look to the section Running LMTX from TeXShop Best regards: OK > On 29 Feb 2020, at 12:34, Gerben Wierda wrote: > > I’d like to use Te

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
}] \setupfooter[style={\itxx}] \setupheadertexts[ Cours de Philosophie][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange, 2018-2020 — Texte composé avec ConTeXt - Reproduction soumise à autorisation.] \setupsymbolset[text] \starttext \startchapter[title ={Introduction

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Fabrice Couvreur
en. 14 févr. 2020 à 16:43, Fabrice L a > écrit : > >> Hi, >> >> Le 13 févr. 2020 à 16:45, Fabrice Couvreur >> a écrit : >> >> >> How to have the color defined by {yellow!60!black} with Metapost

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-14 Thread Fabrice Couvreur
it : > Hi, > > Le 13 févr. 2020 à 16:45, Fabrice Couvreur > a écrit : > > > How to have the color defined by {yellow!60!black} with Metapost ? > > > color MyColor ; MyColor := .6[yellow,black] ; > > See metafun manual, section 1.13. >

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-14 Thread Fabrice L
Hi, > Le 13 févr. 2020 à 16:45, Fabrice Couvreur a > écrit : > How to have the color defined by {yellow!60!black} with Metapost ? color MyColor ; MyColor := .6[yellow,black] ; See metafun manual, section 1.13. > Thank you. > Fabrice Fabri

Re: [NTG-context] line numbering within frame

2020-01-25 Thread Wolfgang Schuster
amed{Framed text!} \placeframed[customframe]{Framed text!} \stoptext end example When you can combine this with the previous section which explained grouping and overwrite values within the group. After the group has ended the new values are forgotten and the instance uses what was set befor

Re: [NTG-context] another columnset issue (solved)

2020-01-19 Thread Henning Hraban Ramm
] \starttext \dorecurse{3}{ \startchapter{\fakewords{2}{5}} \dorecurse{3}{ \section{\fakewords{3}{10}} \fakewords{10}{50}\par \fakewords{10}{50}\par } \stopchapter } \stoptext ___ If your question is of interest to others

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
> Am 2020-01-20 um 05:57 schrieb Wolfgang Schuster > : >> I already learned that \setuplayout[grid=strut] makes more problems than it >> solves while fontfeature dimensions=strut is good;I should avoid frames in >> section titles (not necessarily, but it’s more co

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
On Sun, 19 Jan 2020 22:44:02 +0100 Henning Hraban Ramm wrote: > > > Am 2020-01-19 um 21:01 schrieb Wolfgang Schuster > > : > >>> > >>>> Hi, for my section titles I’m looking for the alignment parameters that > >>>> give me: > >

Re: [NTG-context] columnset issues

2020-01-19 Thread Henning Hraban Ramm
> Am 2020-01-19 um 23:38 schrieb Henning Hraban Ramm : > – Sometimes the multi-line section title is moved into the previous paragraph. > These issues get fixed with grid=yes. BTW: If you use grid=strut, the section title is always moved up into the previous paragraph, i.e. it’s alway

[NTG-context] columnset issues

2020-01-19 Thread Henning Hraban Ramm
Hi again. I use columnsets and wanted to setup my section titles to have one blank line before and none after them. If I use before={\blank[line]}, I sometimes don’t get that blank line. If I use \blank in my section command, I get it always, but also if the section starts on top of a column

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
> Am 2020-01-19 um 21:01 schrieb Wolfgang Schuster > : >>> >>>> Hi, for my section titles I’m looking for the alignment parameters that >>>> give me: >>>> - left aligned >>>> - no hyphenation (or only where I set breakpoints manu

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
On Sun, 19 Jan 2020 20:56:53 +0100 Henning Hraban Ramm wrote: > > > Am 2020-01-19 um 20:02 schrieb Wolfgang Schuster > > : > > > > On Sun, 19 Jan 2020 13:59:15 +0100 > > Henning Hraban Ramm wrote: > > > >> Hi, for my section titles I’m looking

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
> Am 2020-01-19 um 20:02 schrieb Wolfgang Schuster > : > > On Sun, 19 Jan 2020 13:59:15 +0100 > Henning Hraban Ramm wrote: > >> Hi, for my section titles I’m looking for the alignment parameters that give >> me: >> - left aligned >> - no hyphenation

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
On Sun, 19 Jan 2020 13:59:15 +0100 Henning Hraban Ramm wrote: > Hi, for my section titles I’m looking for the alignment parameters that give > me: > - left aligned > - no hyphenation (or only where I set breakpoints manually) > - no overfull hboxes > > At the moment I ha

[NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
Hi, for my section titles I’m looking for the alignment parameters that give me: - left aligned - no hyphenation (or only where I set breakpoints manually) - no overfull hboxes At the moment I have align={flushleft,extremestretch,nothyphenated} (would use also hz and hanging, if they don’t

Re: [NTG-context] Quotation dash issues with semantic markup

2020-01-17 Thread Wolfgang Schuster
~Speech should always have a dash at the start, but none at the end of a paragraph. \quotedash~Dialog asides should not duplicate dashes,~\endash\ he said.~\quotedash\ Also, this doesn't reflect the spacing mentioned in section \in[extra].  \quotedash~nor, as above, add ones at the end

[NTG-context] Impacts Project: Two-Page Spread

2020-01-14 Thread Thangalin
indicator line based on section heading numeric text value * Lua converts annotated Markdown to an inline image ConTeXt macro * Clipped background images for pixel-perfect two-page spread * Custom global counter to enumerate illustrations in TeX Annotations will be explained in Part 8 of the Typeset

Re: [NTG-context] fancy chapter setup

2020-01-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.01.2020 um 19:21: Am 2020-01-12 um 16:07 schrieb Henning Hraban Ramm : Since the structureuservariables of a section aren’t defined in that section’s "before", I would need a macro or buffer to define the contents of that epigraph page, like thi

Re: [NTG-context] fancy chapter setup

2020-01-13 Thread Henning Hraban Ramm
> Am 2020-01-12 um 16:07 schrieb Henning Hraban Ramm : > > Since the structureuservariables of a section aren’t defined in that > section’s "before", I would need a macro or buffer to define the contents of > that epigraph page, like this: > > That’s possible

<    4   5   6   7   8   9   10   11   12   13   >