Re: [NTG-context] Three-deep itemize fails on LMTX

2020-05-04 Thread Wolfgang Schuster
Rik Kabel schrieb am 04.05.2020 um 23:07: List, The following example works with MkIV latest, but fails with LMTX latest (Win10 x64). The complaint is ! Missing math style, treated as \displaystyle. \starttext   \startitemize   \item     Level 1 first     \startitemize

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Wolfgang Schuster
Floris van Manen schrieb am 03.05.2020 um 18:24: I noticed that the same font test with the same lmtx versions on two different linux machines with the same ibmplex fonts installed, return a different rendering for the bold-italic. That is only one produces the italics, the other doesn't. I

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Wolfgang Schuster
Floris van Manen schrieb am 03.05.2020 um 00:20: At present the ibmplexmonothin font is seen by the mtxrun script mtxrun --script fonts --list --all --pattern=ibmplexmonothin* identifier familynamefontnamefilename subfont instances ibmplexmonothin

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

2020-05-02 Thread Wolfgang Schuster
n...@scorecrow.com schrieb am 02.05.2020 um 17:14: I'm having trouble with \definehead behaving differently depending upon whether I process a file that includes it via a \input statement versus a project structure that calls it via an environment file referenced from a component file.

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
Gerben Wierda schrieb am 01.05.2020 um 18:19: On 1 May 2020, at 16:02, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: Gerben Wierda schrieb am 01.05.2020 um 13:58: \definetypeface [optima] [ss] [sans] [optima] [default] \definetypeface [optima] [rm] [serif

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
Gerben Wierda schrieb am 01.05.2020 um 13:58: \definetypeface [optima] [ss] [sans] [optima] [default] \definetypeface [optima] [rm] [serif] [optima] [default] \definetypeface [optima] [tt] [mono] [modern] [default] \definetypeface [optima] [mm] [math] [optima] [default] \setupbodyfont [optima]

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
Gerben Wierda schrieb am 01.05.2020 um 13:15: The following code: \enabletrackers[context.trace] %\usemodule[article-basic] \starttypescript [sans] [optima]    \setups[font:fallback:sans]    \definefontsynonym [Sans]           [file:Optima.ttc(Optima Regular)]     [features=default]    

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Wolfgang Schuster
Gerben Wierda schrieb am 30.04.2020 um 22:47: In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page

Re: [NTG-context] Getting page width and height in Lua

2020-04-30 Thread Wolfgang Schuster
Jack Steyn schrieb am 30.04.2020 um 16:36: If I want to get the paper width and height to use in some Lua code, I can use: local paperwidth, paperheight = backends.pdf.codeinjections.getpagedimensions() But what if I want to get the page width and height? That is, the width and height of

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 29.04.2020 um 14:00: Dear list, for one of the documents I share with others, I need to add five pagenumber series. I’m already using realpage, userpage and subpage. I have just tried to use \definecounter, but it doesn’t work. \setuppapersize[A9]

Re: [NTG-context] \setupinteraction [ ...] do not work

2020-04-28 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 28.04.2020 um 15:39: Hi, It seemed to me that it was necessary to proceed in this way to create a link in a pdf file; it does not work. Thank you. Fabrice \setupinteraction[state=start,color=darkred] \starttext \goto{vecteur

Re: [NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread Wolfgang Schuster
jbf schrieb am 27.04.2020 um 09:14: I have the following setup currently, involving: \definefontfamily[mainface][rm][texgyrepagella][tf=file:texgyrepagella-regular.otf] \definetypeface [mainface] [rm] [serif] [pagella] [default] or see below \setupbodyfont[mainface,11pt]

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 23:30: Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 21:24: I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed]

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 24.04.2020 um 18:40: On 24. Apr 2020, at 18:19, Gerben Wierda wrote: \starttext \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, g=0.000, b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Wolfgang Schuster
Gerben Wierda schrieb am 24.04.2020 um 17:38: I have been experimenting with \startpacked..\stoppacked but it doesn’t seem to work. What is the preferred way of getting lines in a normal paragraph (actually, we’re talking about a \framed with align, so a full paragraph in a TeX \vbox) Do you

Re: [NTG-context] Negative width vrule ignored in LuaMETATeX

2020-04-24 Thread Wolfgang Schuster
SAO Ocean schrieb am 24.04.2020 um 16:42: Hi, As I'm beginning to use ConTeXt LMTX, I experimented with it a little and noticed some of my old documents different. After some examination I found the following example: \starttext a\vrule width -5pt height 0pt depth 0pt b \stoptext In LMTX, the

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Wolfgang Schuster
Gerben Wierda schrieb am 24.04.2020 um 08:48: With Arial: \definefontfamily[mainface][rm][Arial] \setupbodyfont[mainface,10pt] with Optima: \definefontfamily[mainface][rm][Optima] \setupbodyfont[mainface,10pt] It doesn’t matter if the font statements are before or after \starttext Then I

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which seems to work for your sample string, but not

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 23.04.2020 um 11:54: Hi, can I link to a file with custom file type eg. OpenDocument with \useexternaldocument? This does not work. \useexternaldocument[test][test.ods][A test document] As the PDF viewer is opened first, it does not recognize the file type. The

Re: [NTG-context] accessing prd file from component file

2020-04-22 Thread Wolfgang Schuster
Alan Bowen schrieb am 22.04.2020 um 17:38: When my component files were in the same directory as my component files, the line %! TeX root = prd_whatever allowed processing the component file from the component file. (I use TeXShop for this.) The project structure has been changed: the

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Wolfgang Schuster
Saša Janiška schrieb am 21.04.2020 um 17:35: On Tue, 21 Apr 2020 15:32:24 +0200 Wolfgang Schuster wrote: Hello Wolfgang, thank you very much for prompt reply! You have to set a font which has the required glyphs but you can also use different fonts for both scripts and combine them. I

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Wolfgang Schuster
Saša Janiška schrieb am 21.04.2020 um 15:06: Hello! I'm working on a small presentation for an upcoming video meeting and started writing some points in Markdown. After using Pandoc to convert I noticed that *.pptx file does contain everything, but if I try with ConTexT, then Devanagi and some

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

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 20.04.2020 um 11:00: Hi Wolfgang, Thank you very much ; as usual your explanations are always clear and your approach to the problem intelligent and original. I would however like to know the way in which we can use the command \frameletter except for the rounded

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 20.04.2020 um 10:23: On Mon, Apr 20, 2020 at 09:21:41AM +0200, Wolfgang Schuster wrote: Fabrice Couvreur schrieb am 19.04.2020 um 22:55: Hi, I try to reproduce the figure as faithfully as possible. I tried for the rounded corners to put the key corner = round

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 19.04.2020 um 22:55: Hi, I try to reproduce the figure as faithfully as possible. I tried for the rounded corners to put the key corner = round, but it does not work. 1. To create a new framed-instance you need \defineframe, \setupframed isn't enough to set the

Re: [NTG-context] Unexpected result when using PaperHeight and MetaFUun

2020-04-19 Thread Wolfgang Schuster
Keith McKay schrieb am 19.04.2020 um 13:15: Dear All I have problem understanding what is happening in the MWE below which is different from what I expected. I have created a shaded background using MetaFun with dimensions PaperWidth by PaperHeight which mimics \setuppapersize[A4,landscape}

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-19 Thread Wolfgang Schuster
Jeong Dal schrieb am 19.04.2020 um 07:08: Dear all, I am trying to make an animation using the animation module. But it draws 10 figures instead of creating animation. Is there anything I have to do more? You have to put each animation step in a frame environment. I recommend also to set the

Re: [NTG-context] lmtx vs mkiv

2020-04-18 Thread Wolfgang Schuster
Hans Hagen schrieb am 03.04.2020 um 11:07: Hi, One problem of mixed usage of mkiv (with luatex) and lmtx (with luametatex) is that in the later we use a different (initial) context runner. Basically all platforms are now handled the same (in mkiv there was a stub and no texlua, in unix

Re: [NTG-context] template system

2020-04-16 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.04.2020 um 19:46: Am 16.04.2020 um 16:52 schrieb Hans Hagen : (I won't bother you with the template system in context that no one knows of.) If you throw such bones, I get hungry – where’s the flesh? (Where is this in the sources? Is there any

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread Wolfgang Schuster
Gerben Wierda schrieb am 15.04.2020 um 12:19: On 14 Apr 2020, at 11:52, Taco Hoekwater wrote: On 14 Apr 2020, at 11:25, Gerben Wierda wrote: This helps for adding information to my processing. What I was also looking for is that I don’t have a test.tex anymore, just the XML file I am

Re: [NTG-context] fun with frames and tables

2020-04-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.04.2020 um 16:07: Am 13.04.2020 um 15:37 schrieb Wolfgang Schuster : Henning Hraban Ramm schrieb am 13.04.2020 um 14:07: I’m trying to get those tables side by side, but the size of the wrapping box is somehow miscalculated – if I set the width, the left

Re: [NTG-context] offset for background overlay

2020-04-13 Thread Wolfgang Schuster
mf schrieb am 13.04.2020 um 17:21: Thanks also for the explanation of backgroundoffset: it's an offset relative only to the background, and it moves in the opposite direction of the content offset of \framed. Looks like \framed[...,offset=VALUE,backgroundoffset=frame,...] is equivalent to

Re: [NTG-context] fun with frames and tables

2020-04-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.04.2020 um 14:07: Hi, after I re-setup my computer (harddisk got tired...) I’m now trying to update my old Midgard RPG character sheet (https://github.com/fiee/ConTeXt/tree/master/midgard) and run into some problems that I don’t understand while trying to

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
mf schrieb am 11.04.2020 um 23:59: Thanks Hans and Wolfgang. @Wolfgang: your solution is clearer, but unfortunately it works only for this MWE. In the real case the triangle extends over 2 rows, but the table has more than 2 rows. I tried grouping the first two rows in a

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
Hans Hagen schrieb am 11.04.2020 um 19:41: On 4/11/2020 4:15 PM, mf wrote: Hello list, this MWE is a simplified version of a real case: \startuseMPgraphic{cell:triangle}    path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth yscaled 2.5 OverlayHeight ;    draw p withcolor red ;

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

2020-04-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.04.2020 um 13:54: Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Wolfgang Schuster
Adam Reviczky schrieb am 08.04.2020 um 21:53: Thank you Hans and Wolfgang, I have updated the wiki (https://wiki.contextgarden.net/Command/date) with the new dayshort/daylong options, but I seem to get an empty value for every day after day 7, see example: \starttext

Re: [NTG-context] Using Lua files in project structure

2020-04-06 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 06.04.2020 um 15:58: Well, I'll be more specific. I attach a zip file showing a minimal example of what I achieved so far and its output (labelled "Works") and what I actually want, but does not work (labelled "Doesnotwork"). I've tried different commands and

Re: [NTG-context] startMPpage..stopMPpage written to a separate PDF?

2020-04-06 Thread Wolfgang Schuster
Gerben Wierda schrieb am 05.04.2020 um 12:27: On 5 Apr 2020, at 11:34, Hans Hagen wrote: On 4/5/2020 12:29 AM, Gerben Wierda wrote: I have a series of startMPpage—stopMPpage pairs (with MP code inbetween). These now become separate pages in a single PDF. But I need them to become separate

Re: [NTG-context] Trying to understand this ctxlua error

2020-04-05 Thread Wolfgang Schuster
Gerben Wierda schrieb am 06.04.2020 um 00:41: I got this error after I had changed some lua code: tex error       > tex error on line 272 in file archimate-lua.new: ! Undefined control sequence         warnIfVerbose( "Breaking off the processing of node %s\nNo       l...eak

Re: [NTG-context] Using Lua files in project structure

2020-04-05 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 05.04.2020 um 17:49: None of them work. Maybe I'm doing something wrong. I guess so because \loadluafile[testh.lua] and \luaenvironment testh.lua work for me. Wolfgang ___

Re: [NTG-context] Using Lua files in project structure

2020-04-05 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 05.04.2020 um 15:00: I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua libraries and bindings (defining \ctxlua and the like). For instance, I have the file foo.lua with some macros and I want to use them in my project. Something like this:

Re: [NTG-context] What was that 'rounding paths' metafun(?) function again?

2020-04-05 Thread Wolfgang Schuster
Gerben Wierda schrieb am 05.04.2020 um 12:31: I think I saw a function in MetaFun somehwre that you could give a ‘hard’ path, i.e. (0,0) -- (0,1) — (1,1) and it would become a path with nicely rounded (part of a circle) corners (still straight lines), but I can’t find it anymore. I wrote my

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-05 Thread Wolfgang Schuster
Geert Dobbels schrieb am 05.04.2020 um 00:30: Wolfgang, Below is what I think is the bare minimum to explain this question (sorry for not doing it right from the beginning...) Keep it up. As I said, with the code as it is below, the header is not repeated after the first page, but the

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Wolfgang Schuster
Geert Dobbels schrieb am 04.04.2020 um 16:46: Hello, Code below shows some behaviour I cannot explain (csv file attached): - If I run the code below as is, I get what I want, except that the header line of the table does not repeat at the top of each page. - Changing "split=yes" to

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Wolfgang Schuster
Geert Dobbels schrieb am 03.04.2020 um 11:57: Hello, The sample below has 2 problems I cannot find the solution for: I am reading a table from a CSV file and want to typeset it via \xtable. The xtable as defined below works, it splits over several pages, but the header does not repeat. I

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

2020-04-02 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 02.04.2020 um 19:29: Potentially on the same lines, placing delayed element seems currently not to work properly (or the syntax has changed?). I think these features of MkIV are very elegant and useful. I’m just wondering if they are/were temporarily not working

Re: [NTG-context] Table-bug in lmtx?

2020-03-30 Thread Wolfgang Schuster
Christian Prim schrieb am 30.03.2020 um 18:23: Hello list following MWE gives a strange error "(interwoven alignment preambles are not allowed)" when processed with lmtx: \definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)|xp(5cm)s2|lw(2.5cm)|] \starttext \starttable[fosa] \NC Cell 1

Re: [NTG-context] Nodes module for commutative diagrams etc

2020-03-29 Thread Wolfgang Schuster
Weber, Matthias schrieb am 29.03.2020 um 21:02: Dear list, I need to typeset a handful of simple commutative diagrams like the one below, and I found the nodes manual by Alan that has exactly what I want. But what is the incantation to load the module, or am I missing something else? Thanks,

Re: [NTG-context] Primes far too high in Lucida Type1

2020-03-29 Thread Wolfgang Schuster
Tim Steenvoorden schrieb am 22.03.2020 um 12:10: Hi all, I’m trying to typeset a document using Lucida Type1 fonts. Primes are put way too high. Also, kerning with punctuation characters placed after a prime are too wide. This can be seen in attached rendering of below example.  $e,\sigma

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Wolfgang Schuster
Tomas Hala schrieb am 29.03.2020 um 19:55: Hi all, I noticed the difference in behaviour of textcommand which depends on the location: for top, bottom and page the \crlf (see MWE) is applied while for the left and right not even if other values (\red, any-text) are used as expecterd. How could

Re: [NTG-context] Space around comma in math mode

2020-03-29 Thread Wolfgang Schuster
w n schrieb am 29.03.2020 um 16:10: That works, great Just curious, is this setup described on the Context Wiki, or on the mailing list ? https://wiki.contextgarden.net/Command/setupmathematics#Syntax PS. The wiki has a search function. Wolfgang

Re: [NTG-context] Space around comma in math mode

2020-03-29 Thread Wolfgang Schuster
w n schrieb am 29.03.2020 um 15:20: Hi, I am using $ context --version mtx-context     | ConTeXt Process Management 1.03 mtx-context     | mtx-context     | main context file: /opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context     | current version: 2020.01.30 14:13

Re: [NTG-context] How do I handle strings with " characters in it in METAPOST?

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 15:06: On 29 Mar 2020, at 14:35, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: Gerben Wierda schrieb am 29.03.2020 um 14:30: On 29 Mar 2020, at 12:58, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>&g

Re: [NTG-context] How do I handle strings with " characters in it in METAPOST?

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 14:30: On 29 Mar 2020, at 12:58, Wolfgang Schuster wrote: Gerben Wierda schrieb am 29.03.2020 um 12:52: I am using MetaFun (Lua code) to create METAPOST commands from an XML file. One of the issues I am running into that in METAPOST I have to handle

Re: [NTG-context] conditional for undefined references

2020-03-29 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 29.03.2020 um 13:53: Dear list, consider the following sample: \setuppapersize[A8] \starttext \ConTeXt: \in[seac] Is it defined?: \doifelse{\in[seac]}{??}{undefined}{defined} \Lua: \ctxlua{context([[{\in[seac]}]])} Is

Re: [NTG-context] I could use some ideas for a strategy to get these kind of labels in a METAPOST picture

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 10:47: On 28 Mar 2020, at 19:04, Wolfgang Schuster wrote: Gerben Wierda schrieb am 28.03.2020 um 18:58: Actually, I would already be helped with a way to convert this string: My “Büsiness" sérvice into something that can be ty

Re: [NTG-context] How do I handle strings with " characters in it in METAPOST?

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 12:52: I am using MetaFun (Lua code) to create METAPOST commands from an XML file. One of the issues I am running into that in METAPOST I have to handle strings with " characters in them and METAPOST doesn’t like those. The argument using the string Foo

Re: [NTG-context] I could use some ideas for a strategy to get these kind of labels in a METAPOST picture

2020-03-28 Thread Wolfgang Schuster
Gerben Wierda schrieb am 28.03.2020 um 18:58: Actually, I would already be helped with a way to convert this string: My “Büsiness" sérvice into something that can be typeset by ConTeXt. Using embedded lua is fine. Does enabling entities help? \setupxml [entities=yes] Wolfgang

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-28 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 25.03.2020 um 14:47: Thanks, perfect! On 25 Mar 2020, at 14:34, Wolfgang Schuster wrote: Benjamin Buchmuller schrieb am 25.03.2020 um 09:27: Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command

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

2020-03-26 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 26.03.2020 um 21:23: 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] \setupinteraction v commas

2020-03-26 Thread Wolfgang Schuster
Tomas Hala schrieb am 26.03.2020 um 16:40: Hi all, I used the following MWE for creating the metainformation in PDF: \setupinteraction [title={a, b, c}, subtitle={a, b, c}, author={a, b, c}, keyword={a, b, c}, ] \starttext blah \stoptext While the title, subtitle and author

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Wolfgang Schuster
Michael Guravage schrieb am 26.03.2020 um 15:31: Thank you Wolfgang, Now is there a way to persuade the quotation marks to protrude? You can either enable hanging punctuation for the bodyfont (which is done with \definefontfeature and \setupalign) or put the quotation mark in a box and move

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Wolfgang Schuster
Michael Guravage schrieb am 26.03.2020 um 14:29: Greetings, I would like to add a citation to a block quotation. Wolfgang proposed a solution back in May 2011. With \star-stopquotation, the left quotation mark protrudes to the

Re: [NTG-context] reference a paragraph

2020-03-25 Thread Wolfgang Schuster
Alan Braslau schrieb am 25.03.2020 um 15:09: Hello, One creates references for structure elements as, for example, \startsubject [reference=sub:mysubject] ... \stopsubject and then can refer to these using, e.g. \on{page} [sub:subject] How might one reference a *paragraph*, for

Re: [NTG-context] Distance between table rows

2020-03-25 Thread Wolfgang Schuster
Tim Steenvoorden schrieb am 25.03.2020 um 10:31: Hi all, Trying to make my life a bit easier to add distances between tabulate rows. Found the \TB macro on the wiki. But why does below code _not_ add extra space when using the freshly defined \SR command below. So between the _second_ and

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 25.03.2020 um 09:27: Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for [...]

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 19:04: On Tue, Mar 24, 2020 at 04:43:17PM +0100, Wolfgang Schuster wrote: \setbox0=\vbox{... somehow flushed text ...} wount work, i.e \wd0 or \ht0 will both result in 0. With "unflushed" text this means will work perfectly. I have no idea where

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 16:29: On Tue, Mar 24, 2020 at 03:56:18PM +0100, Wolfgang Schuster wrote: 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

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,

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