Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Wolfgang Schuster
Jeong Dal schrieb am 21.09.2020 um 20:54: Dear Aditya, Jairo, Wolfgang, and Otared, Thank you for the replies and explanations. I also read the blog. In this case, using '##1’ is an easy way. For more complex table, I may use luacode. I forgot the obvious \expanded solution: \starttext

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Wolfgang Schuster
Denis Maier schrieb am 21.09.2020 um 16:38: Hi, I'm a bit confused, but this here won't compile: = \startbuffer[test] Test \stopbuffer \startxmlsetups xml:test     \xmlsetsetup{#1}{*}{-}     \xmlsetsetup{#1}{article}{xml:*}    

Re: [NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Wolfgang Schuster
Otared Kavian schrieb am 21.09.2020 um 15:30: Hi, I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 21.09.2020 um 16:35: On Mon, 21 Sep 2020, Jeong Dal wrote: Hi, I tried to make a table using \dorecurse or \doloop as in the example. There is no error but \recurselevel is not increased, all are 0 in the first example and only two rows are created with the

Re: [NTG-context] lmtx update

2020-09-17 Thread Wolfgang Schuster
Eduardo Bohoyo schrieb am 17.09.2020 um 10:14: Thank you for this illustrative example, Wolfgang. So, what \forgetparagraphfreezing does is to reverse the order that lmtx currently imposes by default, right? In other words, \forgetparagraphfreezing, recovers the default behaviour of MkIV.

Re: [NTG-context] lmtx update

2020-09-16 Thread Wolfgang Schuster
ebohoyod schrieb am 16.09.2020 um 17:52: Hi, It seems that the Lettrine module is one of those affected: https://tex.stackexchange.com/questions/562534/does-context-fail-in-the-lmtx-environment-with-the-lettrine-module?noredirect=1#comment1418902_562534 But, honestly, first, I don't know

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 15.09.2020 um 04:38: Hi, list. I've adapted the following example from the mailing list. My aim is to use endnotes for each chapter: \mainlanguage[es] \definehead[footnotetitle][title] \startsetups[chapter:after] \ifcase\rawcountervalue[footnote]\relax      \else  

Re: [NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-15 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 15.09.2020 um 21:19: On Tue, 15 Sep 2020, Wolfgang Schuster wrote: You have to add \resetbreakpoints to the vim/filter module. Thanks. I had: \doifnotinset{\v!hyphenated}{\externalfilterparameter\c!option} {\language\minusone}% which I changed

Re: [NTG-context] Problem with fonts in Lua

2020-09-15 Thread Wolfgang Schuster
MANUEL GONZALEZ SUAREZ schrieb am 15.09.2020 um 12:00: Hi all: I have this minimal example (thanks to Pablo and Charles): \mainlanguage [es] \definefallbackfamily [mainface] [rm] [New Athena Unicode] [preset = range: greek, force = yes] % \definefallbackfamily [mainface] [rm] [Old Standard]

Re: [NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-15 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 15.09.2020 um 05:30: The following MWE gives an error with LMTX 2020.09.05 \usemodule[vim] \definevimtyping[MATLABCODE][syntax=matlab] \starttext \startMATLABCODE saveas(gcf(), "output/same-sigma.png") \stopMATLABCODE \stoptext The error message is: callback

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 11.09.2020 um 16:12: I tried using "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]" and the PLAYING CARD ACE OF SPADES still didn't show up in the output. It's the wrong command, you need \definefallbackfamily when you use

Re: [NTG-context] \definefontfamily not finding fonts

2020-09-10 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 10.09.2020 um 17:53: On Thu, 10 Sep 2020, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 10.09.2020 um 05:16: Did something change with regard to \definefontfamily recently. I have an old document where I use: \starttypescript[mainface] \definefontfamily

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-10 Thread Wolfgang Schuster
Rudd, Kevin schrieb am 09.09.2020 um 17:32: [Workable solution found] After more exploration, the following seems to solve the problem of creating a simple 2x2 quad chart; thanks for the explanation that the \bTD requires a matching \eTD in the immediate (not future expanded) evaluation

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-10 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 09.09.2020 um 21:40: I want to use the Unicode Character PLAYING CARD ACE OF SPADES in a ConTeXt document.  Because of the way the source document is created it has to be as the actual unicode character itself, rather than a reference to a specific character in a

Re: [NTG-context] \definefontfamily not finding fonts

2020-09-10 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 10.09.2020 um 05:16: Did something change with regard to \definefontfamily recently. I have an old document where I use: \starttypescript[mainface] \definefontfamily[mainface][rm][Libertinus Serif][features=default] \definefontfamily[mainface][ss] [heros]

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
jbf schrieb am 09.09.2020 um 08:04: Have to confess I am still not getting far with the final problem in a book that is now fully laid out: frontmatter through to appendices is all correct and working, but the Table of Contents not the way I need it (as explained earlier and listed in a

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Wolfgang Schuster
Rudd, Kevin schrieb am 09.09.2020 um 00:30: Thanks. The immediate goal is to make a ”quad chart” w/ different pains in the four (2x2 => NW, NE, SW, SE) quadrants. It seemed that the concept was scalable to any NxM (even with multi-cell spreads---useful for larger structured posters) based on

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Wolfgang Schuster
Rudd, Kevin schrieb am 08.09.2020 um 19:50: I have a number of slides using \...framedtext blocks to break the slides into panes within a TABLE environment (TMI: not in MWE; merely my justification for writing the wrapper macros). When the TABLE macros are invoked explicitly it all works fine

Re: [NTG-context] Column not Balancing, Footnote is Missing

2020-09-08 Thread Wolfgang Schuster
Art Chimes schrieb am 08.09.2020 um 00:38: Greetings, list. My first post here. Please be gentle! The command \contextversion reports I am using 2020.09.03 20:03 on Windows 10. The MWE below produces a column and a half of text, not balanced (despite the \setupcolumns [...balance=yes...]

Re: [NTG-context] Appendix question

2020-09-08 Thread Wolfgang Schuster
jbf schrieb am 08.09.2020 um 12:40: A (hopefully) simple question this time: Why would my appendices be labelled as Appendix One, Appendix Two etc., instead of Appendix A, Appendix B? I thought Appendices would normally be labelled alphabetically, not numerically. So I get APPENDIX as the

Re: [NTG-context] styling individual parts of ToC entry

2020-09-07 Thread Wolfgang Schuster
jbf schrieb am 07.09.2020 um 01:31: Yes, Wolfgang, that corrects the minor problem of including the author name correctly, even when there is no year range. Thank you. But since I use \title, not \chapter, for the frontmatter items, ( Foreword, Preface, A note on Contributors), the

Re: [NTG-context] styling individual parts of ToC entry

2020-09-06 Thread Wolfgang Schuster
jbf schrieb am 06.09.2020 um 02:03: Thanks Wolfgang, while I don't pretend to fully understand the setup you have provided (but am working on doing so!), of course it provides the correct result for a chapter that has a title, an author, and a year. My ever-so-complicated book (and its

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Wolfgang Schuster
jbf schrieb am 05.09.2020 um 03:35: Now that with Hraban's invaluable assistance I am able to include title, subtitle, author as and when necessary in the ToC and put them on the same line if I need to, I have two questions that I have not found a satisfactory solution to after playing around

Re: [NTG-context] Typing efficiency

2020-09-04 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 04.09.2020 um 15:51: Hi, Sounds like a job for the blocks mechanism more so than buffers: \defineblock[entext] \defineblock[nltext] \defineselector [language] [max=2,n=1] \startmode[en] \setupselector[language][n=1] \keepblocks[entext] \stopmode

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 04.09.2020 um 15:34: Am 04.09.2020 um 13:25 schrieb Henning Hraban Ramm : My current book contains a lot of quotations with their sources marked as footnotes, e.g. \definedelimitedtext[Zitat][ %setups=Zitat, % doesn’t work!? left=», right=«,

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) You can use this when the entry

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 03.09.2020 um 10:29: Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several components that build up the frontmatter, the manual and the appendices. Below my setup where I start the roman

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Wolfgang Schuster
jbf schrieb am 03.09.2020 um 06:32: Thanks Wolfgang. I did have the respective setupsectionblocks, but they said [page= ], so I have now changed them to [page=yes] and things work as expected. I also tried the second \page method you offered, which, naturally enough, also works. I take it

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am Do., 3. Sept. 2020, 07:51: > Dear list, > > the following minimal sample: > > \starttext > \chapter{Chapter\footnote{Note}} > \section{Section\footnote{Note}} > \stoptext > > Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes. >

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread Wolfgang Schuster
jbf schrieb am 03.09.2020 um 06:04: Am seeking to have frontmatter pages in roman numerals and from Chapter 1 onwards in arabic numerals. I have achieved something of the kind, but page 1 (arabic) is appearing on the last page of the frontmatter and not the first page of Chapter 1. I do not

Re: [NTG-context] MKIV - LMTX difference: stripping of leading white space in verbatim text

2020-09-02 Thread Wolfgang Schuster
Christoph Reller schrieb am 03.09.2020 um 05:29: Dear List, I am using ConTeXt LMTX 2018.05.19 21:46. Consider the following MWE: \starttext \startLUA     whatever \stopLUA \stoptext In contrast to ConTeXt MKIV, the leading four spaces in front of "whatever" are not removed when processing

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 01.09.2020 um 19:12: Hi, On 1 Sep 2020, at 16:46, Hans Hagen wrote: On 9/1/2020 3:04 PM, Fabrice Couvreur wrote: Hi Taco, Thank you for your help. I specify that this extension works perfectly by compiling the following file. A logfile of a failed run would have

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-29 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 29.08.2020 um 19:27: Hello, The result is not what you expected. How can I correct this problem? 1. Wait for a fix. 2. Use \nsubset. \starttext \m{A \nsubset B} \stoptext Wolfgang ___

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.08.2020 um 19:16: On 8/27/20 6:16 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 27.08.2020 um 17:56: [...] \startxmlsetups xml:special \startitem \cldcontext{string.gsub([[\xmlraw{#1}{.}]], "%%", "

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.08.2020 um 17:56: On 8/27/20 5:30 PM, Taco Hoekwater wrote: [...] Using Lua gsub(), I need to replace something like:  string.gsub([[\xmlraw{#1}{.}]], "%", "\\letterpercent") Double it: %% See also https://www.lua.org/manual/5.3/manual.html#6.4.1 , but the

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 26.08.2020 um 19:39: On 8/26/20 12:13 PM, jbf wrote: [...] Maybe, one of these days, someone with experience in both ConTeXt and InDesign (since InDesign is used by very many commercial publishers, but I am trying to convince one of them of the value of ConTeXt) could

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Wolfgang Schuster
jbf schrieb am 26.08.2020 um 05:42: MWE as follows: \definefontfamily [mainface] [rm] [baskervaldadfstd] [tf=file:BaskervaldADFStd.otf] \definefontfamily [mainface] [ss] [librisadfstd] [tf=file:LibrisADFStd-Regular.otf] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 24.08.2020 um 19:37: Am 24.08.2020 um 17:36 schrieb Wolfgang Schuster : Henning Hraban Ramm schrieb am 24.08.2020 um 15:29: Am 23.08.2020 um 11:25 schrieb Duncan Hothersall : I think there was a question on this very recently but I don;t think it got an answer

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 24.08.2020 um 15:29: Am 23.08.2020 um 11:25 schrieb Duncan Hothersall : I think there was a question on this very recently but I don;t think it got an answer and I can't find it to reply to, so apologies for the extra noise. I have a large text with floats

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 24.08.2020 um 15:32: Hi Wolfgang, Thank you for your reply. Probably my fault but now I get the number 0 on the word "Summary". Fabrice contents.png \setuphead   [title]   [command=,    numbercommand=] Wolfgang

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 23.08.2020 um 16:02: Hello, For the title of the chapters I use the following command. \unexpanded\def\HeadTitle#1#2%    {\framed [frame=off,        width=fit,        align=flushleft]  {\color[darkgray]{\tfxx\cap\bf\labeltext{chapter}} \blank#1\blank#2} When I

Re: [NTG-context] Chapter numbering after \part

2020-08-20 Thread Wolfgang Schuster
jbf schrieb am 21.08.2020 um 04:27: By default, chapter numbers coming after \part are numbered 1.1... 2.1... and so on. But in my case I need them to still be simply 1,2... for each part. Is there a way I can get this numbering to occur? I thought I could do it using ownnumber=, but that

Re: [NTG-context] [BUG] \registerexternalfigure doesn't work

2020-08-20 Thread Wolfgang Schuster
Henri Menke schrieb am 20.08.2020 um 07:05: Dear list, To get properties of a figure without actually typesetting it, it is handy to use \registerexternalfigure. However, trying to use it fails. Consider the following MWE: \starttext \registerexternalfigure[cow.pdf] \stoptext

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
Adrian schrieb am 18.08.2020 um 06:40: Hello, I'm attempting to typeset a short book using ConTeXt (current version: 2020.08.09 22:03). *EXAMPLE*: [...] I would like all the chapters to be prefixed with "Chapter RN." and the sections to keep a single count, for example: *Chapter I.

Re: [NTG-context] Chapter number with Luametafun

2020-08-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.08.2020 um 16:24: Hello, How to get the number of the current chapter ? \namedheadnumber{chapter} How to get the label "Chapitre" ? \labeltext{chapter} Wolfgang ___ If your

Re: [NTG-context] About documented code

2020-08-16 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 15.08.2020 um 16:24: Hi list! I have some questions about the template used by module documentation. When I apply context --extra=module t-mymodule.mkvi --autopdf I obtain a nice file, but, among other things, 1) the cover page seems to be a bit... greenish? So I

Re: [NTG-context] Embedding fonts from a file

2020-08-14 Thread Wolfgang Schuster
Krešimir Cindrić schrieb am 14.08.2020 um 14:28: Hello, About a year ago, I asked on this list how to embed OpenType fonts from files (that is, use fonts that are not installed on the system), because one of my projects needed portability (be entirely contained in one directory that I could

Re: [NTG-context] compilation error in LMTX

2020-08-14 Thread Wolfgang Schuster
Jannik Voges schrieb am 14.08.2020 um 11:29: Hello Hans, I get the error with the newest upload too. You have to provide a minimal example which produces the error. Wolfgang ___ If your question is of interest

Re: [NTG-context] headers again

2020-08-14 Thread Wolfgang Schuster
jbf schrieb am 14.08.2020 um 02:28: I will let the people with far superior knowledge than I have work through this, but I am following it with interest. All I can say is that by adopting Aditya's solution, ensuring that for the unnumbered titles I also included 'number=no', the numbered

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Wolfgang Schuster schrieb am 13.08.2020 um 20:47: Pablo Rodriguez schrieb am 13.08.2020 um 20:30: On 8/13/20 6:06 PM, Wolfgang Schuster wrote: [...] What am I doing wrong here? (To avoid an error, I get other errors.) There are not enough information to help you. I discovered what

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 13.08.2020 um 20:30: On 8/13/20 6:06 PM, Wolfgang Schuster wrote: [...] What am I doing wrong here? (To avoid an error, I get other errors.) There are not enough information to help you. I discovered what was wrong: I had an xtable on the footer to set the page

Re: [NTG-context] headers again

2020-08-13 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 13.08.2020 um 04:53: On Thu, 13 Aug 2020, jbf wrote: Where running heads (headers) are concerned, if I use \chapter I have no problems, nor should I expect any. But because I am also using \title, given that I need some unnumbered chapters interspersed  among them, I

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
Nicola schrieb am 13.08.2020 um 18:06: Thanks. That works with my MWE, but in my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: Can you start a new thread when you have a new question. When other people have the same

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 13.08.2020 um 16:18: On 8/13/20 3:11 PM, Wolfgang Schuster wrote: [...] With the options "split=no" and "split=repeat" ConTeXt puts the table in a \vbox but with "split=yes" this doesn't happen. To check is this is the problem h

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 13.08.2020 um 14:33: On 13 Aug 2020, at 14:15, Pablo Rodriguez wrote: My questions are: what is the restricted horizontal mode (as different from the horizontal mode)? I forgot to answer this. Simple explanation: * 'restricted horizontal mode' is inside an \hbox{}

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
Nicola schrieb am 11.08.2020 um 22:21: On 2020-08-11, Pablo Rodriguez wrote: On 8/11/20 9:24 PM, Nicola wrote: Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Hi Nicola, if you found replies useful, please update the wiki

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.08.2020 um 14:53: On 8/11/20 1:32 PM, Nicola wrote: Hi, first of all, let me say *thank you* for the vast improvements on ConTeXt Garden! Browsing the documentation and finding stuff is so much easier and pleasant than it used to be (also the site seems faster).

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 11.08.2020 um 19:20: -Original Message- From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] Sent: Tuesday, August 11, 2020 10:07 AM To: mailing list for ConTeXt users Cc: Mike Cooper Subject: Re: [NTG-context] custom header/footer for 1st/other

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 11.08.2020 um 19:01: -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning Hraban Ramm Sent: Tuesday, August 11, 2020 12:37 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] custom header/footer for

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 10.08.2020 um 23:40: -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Thursday, August 06, 2020 2:58 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] custom header/footer for 1st/other

Re: [NTG-context] How to set pdfminorversion in LMTX?

2020-08-10 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 10.08.2020 um 09:11: On Mon, 10 Aug 2020, Henri Menke wrote: On 10/08/20, 01:20, Aditya Mahajan wrote: Hi, How do I set pdfminorversion in LTMX. Both \pdfminorversion and \pdfvariable minorversion fail with undefined control sequence. Does lpdf.setversion(major,

Re: [NTG-context] Using \applytosplitstringwordspaced and allies

2020-08-09 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 08.08.2020 um 16:31: Thank you very much! Something else happens: \applytosplitstringwordspaced\somemacro{Content and {\tt typewriter} more content} either ignores braced groups or ignores macros AND prints braces "{" and "}" as if it were in verbatim mode

Re: [NTG-context] floats side by side

2020-08-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.08.2020 um 17:51: Hello again, I need to place several figures side by side (e.g. pictures of persons). I know I can use combinations, but I need the figures with captions included in the usual numbering of figures and not one number & caption for the

Re: [NTG-context] context --luatex does not redirect to LuaTeX

2020-08-08 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 08.08.2020 um 17:17: Hi again! When context --luatex is used with current version: 2020.08.07 23:37 LuaMetaTeX is still used. --engine=luatex has no effect, either. Is that a bug? Thanks I have no problems using LuaTeX on Windows. You can try a new installation

Re: [NTG-context] Wrong counting of lines and paragraphs

2020-08-08 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 07.08.2020 um 21:10: Dear list, In the MWE below you don't get lines and paragraphs numbered correctly: [...] Have I hit a bug? No, this is a side effect from your sections which start the paragraphs. Wolfgang

Re: [NTG-context] Using \applytosplitstringwordspaced and allies

2020-08-08 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 08.08.2020 um 10:14: Hi, list! :D I've found \applytosplitstringwordspaced and many other commands reading on the mailing list and TeX StackExchange. An issue with those is: the following does not work: \applytosplitstringwordspaced\somemacro{\input knuth} It

Re: [NTG-context] About the numbering of theorems

2020-08-07 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 07.08.2020 um 16:30: Hello, I have a little problem with the numbering of theorems when there is no subsection. I would like to know : Theorem 1.1 Theorem 1.2 Theorem 2.3 Theorem 2.4 Thank you Fabrice Use a conversion set to set the number conversion for you

Re: [NTG-context] teaser

2020-08-07 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 07.08.2020 um 11:14: Nice, I've just tested it and it works fine. Thank you, Hans. I would ensure to avoid a page break between the language blocks which is currently missing but when you need this in a document it makes sense to write something around it. Wolfgang

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-06 Thread Wolfgang Schuster
Mike Cooper schrieb am 06.08.2020 um 17:15: Hola, I imagine this is probably simple but I can’t find it… I want the first page only of each section to have particular content in header/footer, then all the following pages to different specific content.Right now, I am manually entering it in

Re: [NTG-context] teaser

2020-08-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.08.2020 um 19:26: Hi, I uploaded a new lmtx version ... it has a new mechanism for manipulating boxes: http://www.pragma-ade.com/general/magazines/mag-1105-mkiv.pdf (also in distribution) Of course experimental but I bet that some can think of usage. The

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 05.08.2020 um 19:33: Hello, I also use a square to complete a demonstration. I tried this without success Thank you Fabrice \definesymbol[Fin][\mathematics{\square}] \def\qed{\strut\wordright{\symbol[Fin]}} \defineenumeration   [proof]   [...,    

Re: [NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Wolfgang Schuster
Willi Egger schrieb am 04.08.2020 um 18:56: Hi, now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section. I have sofar the following setup: [...] However the the evaluation of the sectionnumber

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 04.08.2020 um 06:07: The following worked some days ago. Now it crashes: \setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS] \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}]

Re: [NTG-context] \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 04.08.2020 um 03:37: The following crashes with LMTX (current version: 2020.08.03 14:25): \starttext \emph{Hola} \stoptext Log: \emphasiscorrection ->\ifhmode \ifnum \currentgrouptype =\aligngroupcode \else \expandafter \expandafter \expandafter

Re: [NTG-context] bug in current latest (2019.10.11 15:57)?

2020-08-03 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 03.08.2020 um 19:06: Hi Hans, the following sample complains about an undefined command with ConTeXt latest (2019.10.11 15:57): \starttext {\em æb} \stoptext I think this might be a bug in LMTX. The following two constants are missing from

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread Wolfgang Schuster
kaddour kardio schrieb am 02.08.2020 um 11:02:  Hi, i am running the latest luametatex 2.07.2 from [aur] repos in my archlinux machine, i got this error when trying to update my font lists (lmtx) ➜  ~ mtxrun --script fonts --reload mtxrun          | unknown

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.08.2020 um 22:16: Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster : \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} You have to expand the \index argument: \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expan

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.08.2020 um 20:49: Am 01.08.2020 um 13:22 schrieb Henning Hraban Ramm : Hi, besides the CG journal I’m working on a scientific biography with huge person and locality indexes (named Person and Locality for the examples). In many cases, the author wants

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 30.07.2020 um 09:05: On 29 Jul 2020, at 23:08, Willi Egger wrote: Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I

Re: [NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Wolfgang Schuster
Willi Egger schrieb am 29.07.2020 um 21:43: Good evening! I am trying to make use of the userpagenumber counter. I have a book at hand, where I need to adjust the start of the pagenumbering. It appears to me, that the \setupcounter[userpagenumber[state=stop] and later the

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Wolfgang Schuster
Mike Cooper schrieb am 29.07.2020 um 18:38: I would normally use tab stops and line breaks to achieve the following in a numbered list: 1. DC=3.20 bbl =420 ft HWDP= 3.90 bbl =450 ft DP= 34.63 bbl = 2,037 ft Totals = 41.73 bbl = 2,907 ft 2. [next step …] This is what I tried, but the output

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Wolfgang Schuster
Alan Braslau schrieb am 25.07.2020 um 00:21: On 22/07/20 22:36, Wolfgang Schuster wrote: What exactly doesn't work and do you get the same problems when you set the values in the following minimal example (everything has to be in the same file). begin example \setupdocument

Re: [NTG-context] context --engine=luatex not working

2020-07-23 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 23.07.2020 um 19:03: Hi list! Is --engine=luatex working? Has it changed? The switch seems to be ignored with newer ConTeXt distributions, so only LuaMetaTeX is used. Thank you in advance. context --luatex Wolfgang

Re: [NTG-context] \documentvariable (used in environment)

2020-07-22 Thread Wolfgang Schuster
Alan Braslau schrieb am 23.07.2020 um 00:21: Hello, I have put the following in an environment \startenvironment MYENVIRONMENT \setupdocument   [metadata:title={\documentvariable{title}},    metadata:subtitle={\documentvariable{subtitle}},    metadata:author={\documentvariable{author}},   

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
James Withers schrieb am 22.07.2020 um 21:20: Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter the

Re: [NTG-context] --silent and so on

2020-07-22 Thread Wolfgang Schuster
thierry horsin schrieb am 22.07.2020 um 17:57: Hi everybody I am a current context user since now many years and in particular I use it on linux with automatic compilation with a bash script detecting any modifications of the .tex file. In order for this to work I used with previous versions

Re: [NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 22.07.2020 um 17:09: Hello, With the latest version of lmtx, the background color of cells does not work. Unrelated to tables. You can reduce xtable and natural table based examples very often to a simple \framed because both tables types inherit many features

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Wolfgang Schuster
Garulfo schrieb am 19.07.2020 um 20:27: Thanks a lot !! I'm beginning to be able to typeset some simple example without any struggle. https://wiki.contextgarden.net/File:modele_bonjour_le_monde.pdf The input file is attached in this mail. I have only one remaining issue with this example:

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Wolfgang Schuster
Garulfo schrieb am 19.07.2020 um 13:23: Hi Wolfgang, still working on the translation... (Hans pointed out the possibilities due to the support of UTF-8, which are just great for french language) zip: https://wiki.contextgarden.net/File:MWE_test_itemize_french.zip I have difficulties with

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 22:25: Hi Wolfgang, It works but why did you ask this question since I finally use context ? Are you sure you want to use context(...) here? In your first version you used the context function in the loop to print the output of the Binom but the

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 22:09: Hi, I improved the code to be able to display the grid but I cannot display the coefficients. Thank you Fabrice \starttext \startluacode      function Binom(n,k)        if k > n then              return 0        elseif (n == 0 or k == 0)

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 20:05: Hello, I want to display the values of Pascal's triangle in a table. Unfortunately my knowledge of Lua is not sufficient to run this code. Thank you. Fabrice \starttext \startluacode      function Binom(n,k)      if k > n then              

Re: [NTG-context] Text around a figure

2020-07-16 Thread Wolfgang Schuster
Otared Kavian schrieb am 16.07.2020 um 11:58: Hi Fabrice, Maybe you can play with different settings of your textbackground, as in \definetextbackground[fondpaille] [background=color, backgroundcolor=fondpaille, frame=off, location=paragraph, % or: text, always,

Re: [NTG-context] Text around a figure

2020-07-15 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 15.07.2020 um 19:54: Hello, I always encounter difficulties with the placement of figures in such a way that the text envelops the figure. Thank you. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext

Re: [NTG-context] how to with \margindata

2020-07-15 Thread Wolfgang Schuster
Hans van der Meer schrieb am 15.07.2020 um 21:48: Using the following: \margindata{some macro expansions} You're missing the first mandatory argument, e.g. \margindata[inright]{...}. I know that \margindata is typeset at a later moment than its place in the code suggests. The problem is

Re: [NTG-context] white-space after section-head in columns

2020-07-15 Thread Wolfgang Schuster
Peter Münster schrieb am 15.07.2020 um 14:55: Hi, What is the right way please to get normal white-space after a section in columns, i.e. not too much? Example, that shows the problem: --8<---cut here---start->8--- \starttext \startsection[title=Space is ok

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 14.07.2020 um 11:28: Hello, In my lessons, I often have to include tables, figures, ... in definitions, theorems ... With the context engine it works fine but not with lmtx. Thanks for your help. Fabrice [...] \starttext \startdefinition   \blank I have no

Re: [NTG-context] What does #+ do?

2020-07-13 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 14.07.2020 um 02:08: Hi list! In evenmore pp. 76-77, concerning LMTX extended macro parsing, the following examples of #0, #+ and #- are given \def\TestA#1#2#3{{(#1)(#2)(#3)}} \def\TestB#1#0#3{(#1)(#2)(#3)} \def\TestC#1#+#3{(#1)(#2)(#3)} \def\TestD#1#-#2{(#1)(#2)}

Re: [NTG-context] About alternative=middle in section heads

2020-07-12 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 12.07.2020 um 22:31: I've realized ConTeXt now puts the section label and section number above the section title whe alternative=middle is set. How to disable this behavior so one can have a section label and number next to a centered section title? Thank you in

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 16:30: Hi Wolfgang, Sorry but i was wrong on what i want to get : 1  My first chapter     1.1 My first section   1.1.1 My first subsection Set the margin values: \setuplist [section][margin=1em] \setuplist [subsection] [margin=2em]

  1   2   3   4   5   6   7   8   9   10   >