Re: [NTG-context] How to calculate the height of text of a certain width?

2020-03-24 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 24.03.2020 um 12:19: Hello dear All, the following MWE works best: \definelayer[LAY] \starttext \setlayerframed[LAY] [x=0pt,y=20pt] [frame=on, width=300pt, align={right,}] % tolerant}] {\input ward } \flushlayer[LAY] \stoptext Now, it could

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] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 17:09: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 15:27: Hi When using refernece instead of column mode in start combination: Is it possible to tell context to place the reference label left or right of the picture/table etc and not below? Or do i have to use multiple columns and put reference

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

2020-03-22 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 22.03.2020 um 23:37: I got LMTX running on macOS Catalina.  I followed the directions here for versions prior to Catalina, including authorizing the mtxrun script through Security & Privacy General tab. 

Re: [NTG-context] Math font not embedded

2020-03-18 Thread Wolfgang Schuster
Hans Hagen schrieb am 18.03.2020 um 18:16: On 3/18/2020 2:35 PM, Pablo Rodriguez wrote: On 3/18/20 10:51 AM, Hans Hagen wrote: On 3/18/2020 10:44 AM, Pablo Rodriguez wrote: [...] fonts   > math: unset for global bodyfont mainface at 12pt that is weird .. question for Wolfgang: is

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

2020-03-16 Thread Wolfgang Schuster
Hans Hagen schrieb am 16.03.2020 um 18:42: On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You

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

2020-03-16 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed lineheight (e.g. \setupinterlinespace[line=14pt])

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

2020-03-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists, e.g. \setuplist[strut=no]. The problem

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,

Re: [NTG-context] ntg-context Digest, Vol 189, Issue 28

2020-03-15 Thread Wolfgang Schuster
Yves Cloutier schrieb am 15.03.2020 um 16:09: Hello Wolfgang, after a few attempts that didn't work I copy-pasted the example from the wiki: \definetyping[C][option=commands] \startC #include int main(){ return 0; /BTEX{\em unreachedCode;}/ETEX } \stopC This did not work. However

Re: [NTG-context] Source Code with Bolded Keywords

2020-03-14 Thread Wolfgang Schuster
Yves Cloutier schrieb am 14.03.2020 um 16:54: Hello, I am trying to typeset source code for a custom programming language and would like to have the keywords in bold text. I tried following the example found here regarding verbatim displays:

Re: [NTG-context] Second derivative ''

2020-03-05 Thread Wolfgang Schuster
Mikael P. Sundqvist schrieb am 05.03.2020 um 20:48: Oh, I had not. It looks better with collapsing=1, indeed. A few neq questions comes to me: Does ConTeXt not use the same prime character as in TeX/LaTeX? Or has something changed in latin modern? See the attached pdf files (derivatives.pdf

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Wolfgang Schuster
On Wed, 4 Mar 2020 19:28:49 +0100 Tomas Hala wrote: > Hi Wolfgang, > > Mon, Mar 02, 2020 ve 05:38:35PM +0100 Wolfgang Schuster napsal(a): > # On Mon, 2 Mar 2020 12:22:26 +0100 > # Tomas Hala wrote: > # > # > Hi all, > # > > # > in composed words in Czech a

Re: [NTG-context] epub and pdf not the same

2020-03-04 Thread Wolfgang Schuster
Hans van der Meer schrieb am 04.03.2020 um 13:23: On 3 Mar 2020, at 22:04, Rik Kabel > wrote: Instructions for creating the .epub from the export are contained in the log file. In the log comes:     create epub with: mtxrun --script epub --make "kookboek"

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 22:07:51 +0100 Hans van der Meer wrote: > Calling ConTeXt with: > > mtxrun --autogenerate --mode=epub --script context "$1" > > and in the tex-file called: > \starttext > \startmode[epub] > Producing EPUB\crlf > \stopmode > \startnotmode[epub] > Not producing

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 21:58:16 +0100 Hans van der Meer wrote: > I followed your advice and added the setup: > > > You need > > \setupbackend[export=yes] > > in your document. > > This, however, does not result in an .epub file but an export directory > containing an html and xhtml file (only

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 19:37:47 +0100 Hans van der Meer wrote: > > > > and then run with --mode=epub > > I am running with: > mtxrun --autogenerate --mode=epub --script context "$1" > but no epub document is generated, just the same result.pdf I get without > that mode. You need

Re: [NTG-context] Left hanging hyphen

2020-03-02 Thread Wolfgang Schuster
On Mon, 2 Mar 2020 12:22:26 +0100 Tomas Hala wrote: > Hi all, > > in composed words in Czech and Slovak languages, the hyphen must be repeated > at the beginning of the new line. How can I make it hanging at the left > margin? 1. You have to enable hanging punctuation which is missing in

Re: [NTG-context] Up-to-date documentation / tutorials. Where?

2020-02-29 Thread Wolfgang Schuster
On Sat, 29 Feb 2020 12:10:13 +0100 Gerben Wierda wrote: > Hello community, > > I have been (unsuccessfully) hunting for up-to-date tutorials/documentation > on ConTeXt/LuaTeX/METAPOST. What I find is sites that for instance end in > 2011. documentation that is from 2013, or on Pragme-ADE a

Re: [NTG-context] \setbreakpoints[compound] not working?

2020-02-25 Thread Wolfgang Schuster
On Tue, 25 Feb 2020 20:43:59 +0100 Pablo Rodriguez wrote: > Dear list, > > I cannot get this working: > > \setuppapersize[A9] > \setupbodyfont[26pt] > \setbreakpoints[compound] > \starttext > 1989/3242/CEE\\ > 2009/3926/UE\\ > \stoptext > > I mean, line isn’t

Re: [NTG-context] Shading

2020-02-25 Thread Wolfgang Schuster
On Tue, 25 Feb 2020 12:34:00 +0100 Fabrice Couvreur wrote: > Hi, > In the Metafun documentation on page 410, there is a shaded bullet "fill > fullcircle shaded cshade". > I tried to reproduce the same effect, but it is not exactly the same result. It's different because your code isn't the same

Re: [NTG-context] Chapters, sections, usw

2020-02-24 Thread Wolfgang Schuster
On Mon, 24 Feb 2020 15:41:45 +0100 Jean-Pierre Delange wrote: > Hello List, > > Coming back after monthes to a complex work in progress with ConTeXt, I > am afraid to need help with this apparently easy-to-manage question of > printed titles. > > My document has a TOC, where one can read

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread Wolfgang Schuster
On Fri, 21 Feb 2020 13:34:20 + alephzorro wrote: > Hello, > > I would like to display titles differently in TOC than they appear in text. > For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial > transformation that really needs Lua. > > I've written simple Lua macros

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Wolfgang Schuster
On Tue, 18 Feb 2020 11:39:24 -0800 Kevin Kenan wrote: > Perfect. Thank you, Wolfgang. > > Is there a way I could have discovered this answer without bothering folks on > the list? You can always try the list archive, e.g. the same problems was asked last year.

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Wolfgang Schuster
On Tue, 18 Feb 2020 11:16:58 -0800 Kevin Kenan wrote: > How can I keep the space between the heading text and the paragraph from > stretching/shrinking in a description? > > MWE that exhibits variable space between the heading (the defined word) and > the paragraph text: > > >

Re: [NTG-context] Repeat backgrounds on slides

2020-02-14 Thread Wolfgang Schuster
On Fri, 14 Feb 2020 09:10:22 +0100 "Jan U. Hasecke" wrote: > Am 13.02.20 um 20:39 schrieb Wolfgang Schuster: > > > > > This is normal behaviour for layers but you can repeat it on every page with > > > > \definelayer [bg:...] [state=re

Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Wolfgang Schuster
On Fri, 14 Feb 2020 02:21:03 +0100 Exp wrote: > Dear list, > > I want to prevent an overfull hbox caused by an inline typing by making the > alignment very tolerant, but it didn't work: > > ``` > \setupframedtext[ > width=broad, > align={verytolerant, stretch} You need a command at the

Re: [NTG-context] Repeat backgrounds on slides

2020-02-13 Thread Wolfgang Schuster
On Thu, 13 Feb 2020 09:19:10 +0100 juh wrote: > Hi all, > > I am a little bit confused as I never had this problem, although I often use > backgrounds and layers. > > \definelayer[bg:hs2020-mond] > [x=0, y=0, width=\paperwidth, height=\paperheight] > > \setlayer[bg:hs2020-mond] > [x=0mm,

Re: [NTG-context] Label in externalfigures

2020-02-12 Thread Wolfgang Schuster
On Wed, 12 Feb 2020 16:49:02 +0100 Jan-Erik Hägglöf wrote: > Dear Members! > > I have a question on how to achieve something like this. > > \IncludePicture[picture.pdf][xpos=2, ypos= 4, label=some text] What is the expected output of this command? > I know there is a similar function in the

Re: [NTG-context] Referencing formulas doesn't work?

2020-02-09 Thread Wolfgang Schuster
On Mon, 10 Feb 2020 05:58:50 +0800 Jon Wong wrote: > MWE: > > \starttext > > The famous result (and again) is given by > \placeformula[formulalabel] > \startformula > c^2 = a^2 + b^2. > \stopformula > And now we can refer to formula \ref[][formulalabel]. > > \stoptext > > There is a blank

Re: [NTG-context] Fonts from various .otf to work with \bold, \emph, \bf, \bfa ...

2020-02-08 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 07.02.2020 um 21:22: On 2/7/20 8:34 AM, cont...@vivaldi.net wrote: Hello Pablo, thank you for showing the way; unfortunately, still something is missing: Hi Lukas, I’m afraid you missed to install the fonts in ConTeXt. - the resulting file uses LMRoman instead of

Re: [NTG-context] math font

2020-02-07 Thread Wolfgang Schuster
On Fri, 7 Feb 2020 15:01:42 +0100 "Thomas A. Schmitz" wrote: > Hi all, > > in my environment file, I have defined a math font: > > \definefontfamily [thomas] [math] [XITS Math] > > and as far as I can see in the log file, this font is found: > > system >9:

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
On Thu, 6 Feb 2020 22:04:47 +0100 Pablo Rodriguez wrote: > On 2/6/20 8:17 PM, Wolfgang Schuster wrote: > > On Thu, 6 Feb 2020 19:02:08 +0100 Pablo Rodriguez wrote: > >> [...] > >> BTW, in my real-world document I use layers which are different for > >> fir

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
On Thu, 6 Feb 2020 19:02:08 +0100 Pablo Rodriguez wrote: > On 2/6/20 5:15 PM, Henning Hraban Ramm wrote: > > > >> Am 2020-02-06 um 16:28 schrieb Pablo Rodriguez : > >> > >> My question is how to get a page from the document you‘re compiling > >> repeated inside the same document. > > > > I

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
On Thu, 6 Feb 2020 16:28:04 +0100 Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \starttext > \input knuth > \page[right] > \setuplayout[page] > \externalfigure[\jobname.pdf][page=1] > \stoptext > > My question is how to get a page from

Re: [NTG-context] Official file ending?

2020-02-03 Thread Wolfgang Schuster
Hans Hagen schrieb am 03.02.2020 um 15:28: On 2/3/2020 3:07 PM, Philipp A. wrote: Hi! Most text editors have LaTeX specific syntax highlighting, so it makes sense to give your ConTeXt file a ending it can be distinguished with. Is there a blessed one?   * .ctx: Would mirror the semi-common

Re: [NTG-context] checking whether file is landscape or portrait

2020-01-28 Thread Wolfgang Schuster
On Tue, 28 Jan 2020 17:04:52 +0100 Taco Hoekwater wrote: > Hi Pablo, > > I have had lots of problems with getting the correct figure dimensions > for external images. In the end, I now use the code below. It is just > as low-level and much more inefficient than your code, but it has not >

Re: [NTG-context] checking whether file is landscape or portrait

2020-01-28 Thread Wolfgang Schuster
On Tue, 28 Jan 2020 16:51:35 +0100 Pablo Rodriguez wrote: > Dear list, > > I have to check whether an external PDF document is portrait or > landscape (in order to manipulate it in different ways). > > From what I understand of grph-inc.mkiv, I came with the following sample: > >

Re: [NTG-context] columnset issues

2020-01-27 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 27.01.2020 um 10:31: Am 2020-01-26 um 13:07 schrieb Henning Hraban Ramm : I thought I’d try columnset areas for the placement of ads: This MWE shows better what’s going on: The "area" space is reserved as requested, but its contents get placed elsewhere.

Re: [NTG-context] line numbering within frame

2020-01-25 Thread Wolfgang Schuster
On Thu, 23 Jan 2020 22:53:42 +0100 "Thomas A. Schmitz" wrote: > > On 23. Jan 2020, at 22:32, Wolfgang Schuster > > wrote: > > > > Bonus question: Why is it necessary to put \definelinenumbering before > > \framed? > > > > Wolfgang &

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Wolfgang Schuster
On Fri, 24 Jan 2020 18:57:50 +0100 Tomas Hala wrote: > > Hi Thomas, > > I compiled (TL2019) it with as well as without \setbreakpoints[compound] and > I got the same result -- in both case I see both colours. The output with LuaTeX is correct but when you use LuaMetaTeX the second color is

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Wolfgang Schuster
On Thu, 23 Jan 2020 12:45:22 +0100 Tomas Hala wrote: > Hi Thomas, > > move definitions and setups for Three and Four before the use of \framed. Bonus question: Why is it necessary to put \definelinenumbering before \framed? Wolfgang

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] 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 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 have >

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Wolfgang Schuster
Tomas Hala schrieb am 17.01.2020 um 20:32: Hi Wolfgang, two files with the difference are attached. I thought about the current beta -- it could be good way for me but unfortunately it does not suit for my students. This should fix it: \setupstartstop   [DefaultSnippet]   [before=,   

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

2020-01-17 Thread Wolfgang Schuster
Hans Hagen schrieb am 30.12.2019 um 10:19: On 12/30/2019 5:03 AM, Sam May wrote: \setuplanguage[en] [leftquotation=\quotedash~, rightquotation=~\quotedash, leftsentence=\removeunwantedspaces~\endash\space, midsentence=\removeunwantedspaces~\endash\space, %   

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Wolfgang Schuster
Tomas Hala schrieb am 17.01.2020 um 15:18: Hi all, if I compile the following (minimised) code with ConTeXt from TL2017, I receive expected result -- one framed gray box with correct width. \starttext\showframe

Re: [NTG-context] characterspacing not always working in LMTX

2020-01-14 Thread Wolfgang Schuster
Joseph schrieb am 14.01.2020 um 22:58: Hello, With LMTX (MkIV is fine) characterspacing (I use frenchpunctuation) is not applied sometimes (ie no spacing before colon for example) in some parts of the text. Unfortunately so far I cannot provide a MWE so I am wondering if there is a way to

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 this: That’s

Re: [NTG-context] Check for parity of pair tags on source file to be closed

2020-01-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 10.01.2020 um 21:32: On 1/10/20 1:46 PM, cont...@vivaldi.net wrote: Hello Pablo, thanks for your suggestion. The "check" detected "\startitemize" which stayed open on the end of the file, but did not detect "\if++" without correspondng "\fi". Hi Lukas, I don’t

Re: [NTG-context] force line spacing

2020-01-11 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 11.01.2020 um 20:11: Am 2020-01-11 um 20:05 schrieb Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>>: Henning Hraban Ramm schrieb am 11.01.2020 um 19:59: But I need to keep the line spacing, even if accents collide. E.g. \setupbodyfon

Re: [NTG-context] force line spacing

2020-01-11 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 11.01.2020 um 20:11: Am 2020-01-11 um 20:05 schrieb Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>>: Henning Hraban Ramm schrieb am 11.01.2020 um 19:59: But I need to keep the line spacing, even if accents collide. E.g. \setupbodyfon

Re: [NTG-context] force line spacing

2020-01-11 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 11.01.2020 um 19:59: But I need to keep the line spacing, even if accents collide. E.g. \setupbodyfont[rm,20pt] \setupinterlinespace[8mm] \setuplayout[ width=10cm, %grid=yes, % different, but bad either way grid=strut, ] \showgrid Wolfgang

Re: [NTG-context] uppercase section titles: no line breaking?

2020-01-11 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 11.01.2020 um 19:38: Thank you very much! I tried a \framed to no avail. \framed needs a align setting to allow line breaks. And I thought I needed my own command since I also set color and font, but style={\MyDefinedFont\WORD} actually works. Use

Re: [NTG-context] uppercase section titles: no line breaking?

2020-01-11 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 11.01.2020 um 18:53: Hi again, I’m trying to get uppercase titles with \WORD, but they aren’t broken into lines; while \WORD works in normal text. What’s the matter? ConTeXt uses a horizontal box to place the section title which doesn't matter when you use one

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Wolfgang Schuster
Jeong Dal schrieb am 29.12.2019 um 14:33: Dear Hans, I run the following code which is in page 24,25 luametafun.pdf. 1. adding \starttext and \stoptext, it works fine. No overlapping. Also, functionstyle = “math” is working nicely. 2. removing \starttext and \stoptext, then functionstyle

Re: [NTG-context] Watermark is behind \externalfigure

2019-12-27 Thread Wolfgang Schuster
Jon Wong schrieb am 27.12.2019 um 04:13: Any way to put the watermark in front? You can use the foreground to flush the content in a frame and place then your layer on top of it. \definecolor [Watermark] [s=1,a=1,t=0.5] % \defineoverlay %   [watermark] %

Re: [NTG-context] Item group parentheses

2019-12-26 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 26.12.2019 um 19:55: I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right" keys, so numbers always appear enclosed in parentheses. %What I expect: %I. This ain't

Re: [NTG-context] [LMTX] core dumped

2019-12-26 Thread Wolfgang Schuster
Floris van Manen schrieb am 25.12.2019 um 15:32: the latest version of lmtx does not run, e.g. core dumped... any hints as how to fix this locally? Delete the cache and regenerate the format file: mtxrun --script cache --erase --make Wolfgang

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-23 Thread Wolfgang Schuster
Oliver von Criegern schrieb am 18.12.2019 um 17:39: So there seems to be no solution for this? Not a solution but pagecolumns show the correct marks even with line numbering. Wolfgang ___ If your question is of

Re: [NTG-context] Using TestBackground inside Offset

2019-12-23 Thread Wolfgang Schuster
Jon Wong schrieb am 23.12.2019 um 09:13: Is it possible? Yes. I get “missing endgroup inserted” error. Without a minimal example there is no way to tell why you get this error message. As can be seen in the example below you can use textbackgrounds with the \offset command.

Re: [NTG-context] Tent style cards

2019-12-22 Thread Wolfgang Schuster
Pavneet Arora schrieb am 21.12.2019 um 23:08: Hello. I am trying to do up some tent style table place holder cards for my daughter's wedding, and have been wracking my brain for a solution for a couple of days now. Having tried many alternatives, this is the closest I have come up with. But

Re: [NTG-context] Tent style cards

2019-12-22 Thread Wolfgang Schuster
Pavneet Arora schrieb am 21.12.2019 um 23:08: Hello. I am trying to do up some tent style table place holder cards for my daughter's wedding, and have been wracking my brain for a solution for a couple of days now. Having tried many alternatives, this is the closest I have come up with. But

Re: [NTG-context] blank[\lineheight] works with LMTX, fails with MkIV

2019-12-21 Thread Wolfgang Schuster
mf schrieb am 21.12.2019 um 11:07: Il 20/12/19 20:04, Rik Kabel ha scritto: MkIV fails with tex error > tex error on line 3 in file c://Users/micro/Desktop/fail.tex: ! Missing \endcsname inserted given the following mwe: \starttext a \blank[\lineheight] z

Re: [NTG-context] Macro expansion macros not defined

2019-12-20 Thread Wolfgang Schuster
Jon Wong schrieb am 21.12.2019 um 08:16: expandtwoargsafter The four commands \expandoneargafter \expandtwoargsafter \fullexpandoneargafter \fullexpandtwoargsafter don't exist anymore because you don't need them with any of the current engines. Many other commands like \expanded

Re: [NTG-context] How to get subsubject to show numbering in TOC?

2019-12-20 Thread Wolfgang Schuster
Jon Wong schrieb am Fr., 20. Dez. 2019, 15:18: > Is it \setuplist[subsubject][headnumber=yes]? > \setuphead[...][incrementnumber=list] Wolfgang > ___ If your question is of interest to others as well, please add

Re: [NTG-context] Layer presets / size of type area

2019-12-20 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am Fr., 20. Dez. 2019, 07:50: > Hi, > I setup a layer to the size of the typearea and expect the corner presets > to place my figures into the corners, but \makeupwidth/height are smaller > than the typearea (same with \textwidth). Why? > Hraban > > > \setuplayout[ >

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Wolfgang Schuster
mf schrieb am 19.12.2019 um 18:24: Il 19/12/19 18:07, Henning Hraban Ramm ha scritto: Am 2019-12-19 um 16:41 schrieb mf : Hello list, \setuplayout[marking=on] typesets crop marks that are in grayscale black. Can I change their color, in particular into a CMYK black (0,0,0,1.0)? There’s

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Wolfgang Schuster
Willi Egger schrieb am 18.12.2019 um 19:58: Wolfgans, Hraban, thank you very much for this instruction! - In the real itemlist I have of course \startitemize (sorry for the ommission in the MWE - I misinterpreted the Wiki. There is no mentioning in the red section that n is possible. However

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Wolfgang Schuster
Willi Egger schrieb am 18.12.2019 um 19:09: Hello everybody, I just wanted to typeset a simple file with a adaptet itemization. Howewer none of the options have effect. Do I miss somehting or is itemize broken? 1. As Hraban already wrote you're missing \start|stopitamize. 2. You put the "n"

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 18.12.2019 um 15:13: On Tue, Dec 17, 2019 at 07:30:49PM +0100, Hans Hagen wrote: you need to make a MWE to show what you mean normally \hbox to {\hss\hss} is good enough for centering Here is my MWE. Think of a photo album. To make it interesting the pages should all

Re: [NTG-context] Style for captions

2019-12-18 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 18.12.2019 um 13:52: On Wed, 18 Dec 2019, Otared Kavian wrote: Hi all, In the example below, I would like to have the style of the figure's caption to be \itx, but the inline formula is set with a larger body font: is it possible to setup the caption of a float so

Re: [NTG-context] Style for captions

2019-12-18 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 18.12.2019 um 17:11: On Wed, 18 Dec 2019, Otared Kavian wrote: Thanks Aditya! That solve smy issue. However, it is a bit of magic to know that \setupinterlinespace makes also the math font small, even for inline math. The magic bit is not \setupinterlinespace but

Re: [NTG-context] changing alignment inside a paragraph

2019-12-12 Thread Wolfgang Schuster
mf schrieb am 12.12.2019 um 15:56: I wrote a better version. I still have a couple of questions. In the lines: \iffirstargument   \getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,#1] \else   \getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,] \fi i would

Re: [NTG-context] changing alignment inside a paragraph

2019-12-11 Thread Wolfgang Schuster
mf schrieb am 11.12.2019 um 15:31: This is a good-enough solution to my problem: \setupalign[stretch] \starttext \def\Text{This is the text of an index term, that is normally justified, but I'd like the page numbers to be flushed to the right from their second line} \def\Pages{34, 57,

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-10 Thread Wolfgang Schuster
Thangalin schrieb am 11.12.2019 um 02:51: Commenting out the \page_grd_command_flush_page macro seems to have reversed the effect. Any pages having columnar text that does not extend to the last line are now suppressed. How would I go about adding a conditional that checks to see whether the

Re: [NTG-context] changing alignment inside a paragraph

2019-12-10 Thread Wolfgang Schuster
mf schrieb am 10.12.2019 um 12:27: Hello list, is there a way to achieve this? \def\FlushRightFromNextLine{\relax} \setupnarrower[left=0cm,right=11cm] \setupalign[stretch] \starttext This is what I'd like to type in my source:\par \blank \type{This is the text of an index term, that is normally

Re: [NTG-context] Textbackground inside Layer?

2019-12-09 Thread Wolfgang Schuster
Jon Wong schrieb am 06.12.2019 um 04:13: \setupwhitespace[line] % A line's spacing between paragraphs. \starttext \definetextbackground[InfoText][ location=paragraph, frame=on] You can't use "location=paragraph" because the argument of the \setlayer command is a simple horizontal box

Re: [NTG-context] Blank page inserted when text reaches column's end

2019-12-09 Thread Wolfgang Schuster
Denis Maier schrieb am 09.12.2019 um 09:41: Am 09.12.2019 um 00:44 schrieb Thangalin: When text reaches the end of a column, it appears to trigger inserting a blank page. In the following code, \dorecurse{3} causes a blank page to appear but \dorecurse{2} does not. The only difference is that

Re: [NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Wolfgang Schuster
Thangalin schrieb am 06.12.2019 um 17:17: Hi there, How do I suppress the blank page in the following document while maintaining the asymmetrical multicolumn layout? The problem centres around "page=yes," whereby removing it eliminates the blank page, but then wreaks havoc on the document

Re: [NTG-context] new beta

2019-12-05 Thread Wolfgang Schuster
Otared Kavian schrieb am 06.12.2019 um 04:23: Dear Hans, The problem I described in my previous message comes indeed from \defineexpansion which is not defined. Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is the four lines: \defineexpansion [\c!step=1,

Re: [NTG-context] Place externalfigure anywhere on page

2019-12-04 Thread Wolfgang Schuster
Jon Wong schrieb am 04.12.2019 um 20:19: A real float. Is that possible? Can you give more details. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Wolfgang Schuster
Daniel Haid schrieb am 04.12.2019 um 18:55: On 12/3/19 4:24 PM, Hans Hagen wrote: which version I just found out that it is too old (2016.05.17 19:20), I will update. With the one from https://live.contextgarden.net/ it works! Thank you. With the help of your answers I have been able to

Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.12.2019 um 18:46: Could anyone confirm the issue I’m describing in Windows? I get the same results with MkIV but LMTX works. I’d love to switch to LMTX, but this isn’t an option for me. It has an issue with some fonts (I already reported). In this sample \ss and

Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.12.2019 um 16:18: Dear list, I have the following sample: \def\ThisOption{ab} \def\ThatOption{ábc} \starttext \executesystemcommand{contextjit --purgeall --arguments="OptionThis={\ThisOption},OptionThat={\ThatOption}" second.tex} Limited

Re: [NTG-context] Transparency (Metapost)

2019-12-01 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 01.12.2019 um 21:56: Hi Hans, I updated lmtx, but your code does not compile except that the output is a pdf file where it is written ERROR. Can you clear the cache. Wolfgang ___ If

Re: [NTG-context] Difference between direct use of quotation marks and \quotation

2019-11-23 Thread Wolfgang Schuster
denis.maier.li...@mailbox.org schrieb am 23.11.2019 um 00:43: Hi, is it possible to enable hanging punctuation only on the right margin? I think that's the way the microtype package does that in LaTeX, but I don't know how to replicate this behavior in ConTeXt. \setupfontprotrusion

Re: [NTG-context] Difference between direct use of quotation marks and \quotation

2019-11-22 Thread Wolfgang Schuster
Tomas Hala schrieb am 22.11.2019 um 18:55: Hi all, I have got two "same" documents which differ at the left side when the hanging punctuation has been enabled. The difference is in use of quotation marks. (It seems as a language and font independent problem.) How can I persuade macro

Re: [NTG-context] eqalign

2019-11-22 Thread Wolfgang Schuster
no...@posteo.org schrieb am 22.11.2019 um 09:04: OK, thanks for the tip! It works indeed. PS: There appears to be no mention of \startalign in the manual. Which manual? Is this going to be a stable interface? Probably: http://dl.contextgarden.net/myway/mathalign.pdf \eqalign, \eject used to

Re: [NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 19.11.2019 um 14:19: Hello All! To send variable contents from context to luacode I can put them into the function invocation or use 'tokens.getters.macro("TestA")', an interesting and very nice possibility to let luacode itself getting contents of context macros. The

Re: [NTG-context] no vertical line between columns

2019-11-15 Thread Wolfgang Schuster
Floris van Manen schrieb am 15.11.2019 um 13:57: Using the latest nov 14 version of context i get now separating line between columns. \startcolumns[n=2,rule=on] \input knuth \stopcolumns Has the syntax changed? Use separator=rule, the columns environments uses since a few months the

Re: [NTG-context] Help wanted: index with chapter and section numbers

2019-11-10 Thread Wolfgang Schuster
Otared Kavian schrieb am 10.11.2019 um 10:38: Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3,

Re: [NTG-context] ASCII mode within \footnote

2019-11-07 Thread Wolfgang Schuster
> Hello, > > thanks Aditya and Wolfgang for "deep" explanation in several last > mails. > > We are approaching the goal... > > Aditya's ocde: > > > \starttext >\startasciimode > \footnote{\type{%APPDATA%\file.txt}} >\stopasciimode > \stoptext > > > gives (in the footnote):

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 07.11.2019 um 20:08: Rik: thank you for testing and confirming. Hans, Wiping the tuc file (or others) does not solve the issue. The data-vir.lua file already contains the proposed change. Change the line to     local filename = suffix and

Re: [NTG-context] How to define the font size of the page header?

2019-11-06 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 06.11.2019 um 08:46: On 11/6/19 3:15 AM, Kerry Sainsbury wrote: Hi Folks, Sorry for the constant interruptions, but I can't find an answer in any of the many PDFs or webpages I can find. How do I define the font size of the page header? Hi Kerry, use the

Re: [NTG-context] How to define the font size of the page header?

2019-11-06 Thread Wolfgang Schuster
Kerry Sainsbury schrieb am 06.11.2019 um 03:15: Hi Folks, Sorry for the constant interruptions, but I can't find an answer in any of the many PDFs or webpages I can find. How do I define the font size of the page header? If I'm not using a custom font, I can call \switchbodyfont prior to

[NTG-context] \type ignores space between command and bracket

2019-11-05 Thread Wolfgang Schuster
Hi, in the following code example the result from \type lacks the space between \cmd and the following left bracket. \starttext \starttyping \cmd [...] \stoptyping \type{\cmd [...]} \stoptext Wolfgang ___ If

Re: [NTG-context] Issue with text running into footnotes

2019-11-04 Thread Wolfgang Schuster
Otared Kavian schrieb am 04.11.2019 um 20:30: Hi all, I have a lecture note in which a few footnotes are given, but in some cases the text runs into the footnote, and it has been impossible for me to exhibit a minimal example where the issue appears. In the link

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