Re: [NTG-context] Adjustment for header and footer

2021-08-22 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 22.08.2021 um 13:13: Hi, In the file below (not minimal, sorry!) I am using commands from Wolfgang in different threads. We can see that the top frame overflows into the text: how to correct this ? I would also like the top and bottom stroke to be

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-22 Thread Wolfgang Schuster via ntg-context
Benjamin Buchmuller via ntg-context schrieb am 23.08.2021 um 00:10: Hi, Thanks for having had a look into the t-vim. At least the document compiles fine (I get a PDF), although multiple complaints from the lua end when I use "$" or "#" in my source, for example #!/usr/bin/bash etc.

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 15.08.2021 um 18:33: On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears. Hi Fabrice, I have never used projects and

Re: [NTG-context] Create an enumeration style

2021-08-13 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.08.2021 um 12:57: I forgot this : how to reduce the font size for the exponents "er", "e" ? The exponents are placed with \high and you can change the style with     \setuphigh[style=...] but this affects all texts which use \high. Wolfgang

Re: [NTG-context] file to buffer

2021-08-17 Thread Wolfgang Schuster via ntg-context
Hans van der Meer via ntg-context schrieb am 17.08.2021 um 15:15: Is it possible to retrieve the contents of a file directly into a buffer? On the Wiki I could not find such a command. That is, equivalent to something like: \startbuffer[from file] contents of the file \stopbuffer Yes and no.

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
noib3 via ntg-context schrieb am 17.08.2021 um 16:43: I'm trying to create a new lecture environment starting from the base section. I'd like its title to be `Lecture : ` if a title is provided, and `Lecture ` if it isn't. This title should also be reported in the left footer and in the

Re: [NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 24.08.2021 um 19:32: Hi, I want to insert a logo at the bottom of the page on the right on the first page, on the left on the second, on the right on the third ... With the key repeat=yes, the logo is always at the bottom right \useMPlibrary[dum]

Re: [NTG-context] Test for displaying a header

2021-08-27 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 27.08.2021 um 10:04: Hi Wolfgang, This may not be nicest but seems to work Fabrice %% \definelayout [1]   [header=10mm] \setuplayout   [header=0pt,  height=middle] \setuppagenumbering [alternative=doublesided,location=] \setupbackgrounds

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 01.09.2021 um 18:01: Hi again, if a "typing" environment with line numbering goes over a page break, the line numbers start at 1 again on the new page. It doesn’t happen with \start/stoplinenumbering. MWE: \setuptyping[ numbering=file, ]

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 23:15: On 25 Aug 2021, at 13:56, Wolfgang Schuster wrote: Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt]

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 21:26: Am 24.08.2021 um 21:17 schrieb Wolfgang Schuster via ntg-context : Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must not float. Which structure should I use for them? There must be an easy answer, but I draw a blank. Use an enumeration. Wolfgang

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02: Hi, I have asked this question before, but now I cannot get it working again. https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc I want to set partlabels in my TOC but not in the document

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt] \definefont[TestB][name:HerosBold at 14pt] \definefont[TestC][name:HerosItalic at 14pt] \starttext \TestA {The quick brown} \TestB {fox

Re: [NTG-context] layer disappears when showframe is set

2021-08-26 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 26.08.2021 um 14:46: Hi, this sample shows that the image in a layer in header disappears if showframe is set. \setupexternalfigures[location=default] \definelayer[Cow] [x=0, y=0] \setlayer[Cow] [x=10em, y=0mm] {\externalfigure[cow][height=\lineheight]}

Re: [NTG-context] Adjustment in the table of contents

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 11:24: Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection.  \setuplist    [chapter,section,subsection]  [width=fit,distance=\spaceamount]  

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 12:18: Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin project \startproject[terminale-environment] \environment[terminale-style]  ... \stopproject end

Re: [NTG-context] Image cropped

2021-09-12 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 12.09.2021 um 12:10: Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Place the logo with a layer or shift is inwards. \setuplayout   [width=middle,   

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Wolfgang Schuster via ntg-context
Marcel Fabian Krüger via ntg-context schrieb am 12.09.2021 um 01:12: Hi, On Sun, Sep 12, 2021 at 12:01:08AM +0200, Hans Hagen wrote: \definefontfeature [default:test] [default] [cv36=2,cv26=6] What is the number supposed to indicate ? It is not an alternate,

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-13 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 13.09.2021 um 13:07: Hi all, I have a doubleside layout with a big outer margin. When I set alternative=margin in setuphead the chapter numbers appear in the left margin which is the outer margin on left pages, but the inner margin on right pages. While this

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-11 Thread Wolfgang Schuster via ntg-context
Christian Dekant via ntg-context schrieb am 10.09.2021 um 19:25: Dear List, I am trying to set up double pages at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 14.09.2021 um 14:38: On 9/14/21 1:58 PM, Sylvain Hubert via ntg-context wrote: Dear List, Do we have something like "\pagenumbering{roman}" in latex, which sets the pdf labels (page numbers for pdf viewers, not the ones rendered in the footer) to

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 12:44: There are some problems in the following MWEs. First example looks the same with MkIV and LMTX, second uses \NS that is only in LMTX. The first column is justified even if it’s defined as left aligned; this happens also with

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 13:14: Am 19.09.2021 um 13:01 schrieb Wolfgang Schuster via ntg-context : Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 12:44: There are some problems in the following MWEs. First example looks the same with MkIV

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 13.09.2021 um 22:18: In the absence of any other replies I think... (a) your example is a good one. The only improvement would be to turn it into a 2 across, 3 or 4 down set of mini pages imposed onto a larger one so that it can be rendered on the

Re: [NTG-context] Image cropped

2021-09-11 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 16:32: Hello, I like to put a logo on my statements but I noticed that the image is cropped on the edge. I tried to change the printer's print settings but was unsuccessful. Add these settings to your example and you see the problem.

Re: [NTG-context] Image cropped

2021-09-11 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 17:52: Hi Wolfgang, The red frame is the print area ? The *green* frame are the margins of the A4 paper which is positioned in the middle of the A3 paper. The larger paper allows you to the see the part of the margins which are

Re: [NTG-context] Equation alignment

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 14:29: Dear List, The following example of equation alignment copied from An Excursion is not reproducible under my context 2021.03.05 shipped with texlive 2021: \starttext \startformula \eqalign{ ax^2+bx+c &= 0 \cr x &= \frac{-b \pm

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49: In my magazine and book projects, I sometimes fix pagebreaking by stretching paragraphs with \looseness=1 Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no effect with LMTX. I tried different

Re: [NTG-context] Remove vertical space around typing

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert schrieb am 07.09.2021 um 13:38: Thanks Wolfgang, this solves my problem. But now I'm wondering why \starttyping[before=,after=] cannot do the same job? Works here. \starttext Remove space below \starttyping[before=,after=] some code \stoptyping \stoptext Wolfgang

Re: [NTG-context] features of fallback font

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 13:32: Dear List, I'm using the chinese simsun font that has no builtin SerifBold. I'm trying to define a fakebold feature for it, but the following code does not work: \definefontfeature[fakebold][effect={width=0.3, delta=0}]

Re: [NTG-context] Remove vertical space around typing

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 11:49: Dear List, How should we remove the vertical space above and below the following typing? \starttext Remove space below \starttyping some code \stoptyping \stoptext \setuptyping [before=,after=] Wolfgang

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Wolfgang Schuster via ntg-context
Hans van der Meer via ntg-context schrieb am 02.08.2021 um 18:21: And in pathological cases where even this does not work (as I encountered a few days ago): \setbox\scratchbox=\vboxx{content}\ifdim\wd\scratchbox>\zeropoint .. \else .. \fi This is how \doiftext works but it uses a \hbox.

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 02.08.2021 um 17:17: On 8/2/2021 4:43 PM, Aditya Mahajan via ntg-context wrote: On Mon, 2 Aug 2021, Benjamin Buchmuller via ntg-context wrote: Hi, How can I check if a buffer or block has content (or is empty) before a \useblocks or \getbuffer

Re: [NTG-context] Create an enumeration style

2021-08-09 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 09.08.2021 um 14:16: Hi Wolfgang, Thank you for your suggestion. I tested the code and the result is not what I expected from the second item : "2 exemple" instead of "2^{e} exemple", "3 exemple" instead of "3^{e} exemple" ... core-con.lua (line 1155): local

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
Joey McCollum via ntg-context schrieb am 06.08.2021 um 19:12: Hi, I'd like to define my own class of heading derived from the "part" heading; in the MWE below, it's called "MyPart". I'd like this heading to have the following features: * Its title should appear in the ToC, but its number

Re: [NTG-context] Rotating pages

2021-08-07 Thread Wolfgang Schuster via ntg-context
Jeroen via ntg-context schrieb am 07.08.2021 um 13:56: For the following document, the last 3 pages are landscape, but I would like to have the pdf-ed rotated so they are in the pdf document portrait, ie rotated 90 degree to the left but leave the page as how they are now. Is there an easy way

Re: [NTG-context] Referencing fonts by path within ConTeXt

2021-08-07 Thread Wolfgang Schuster via ntg-context
Joey McCollum via ntg-context schrieb am 07.08.2021 um 22:29: Hi, I'm interested in packaging a ConTeXt project in a self-contained way, so that the environment/component/project .tex files, the bibliography .bib file(s), and fonts used for typesetting are all provided in one place. (The

Re: [NTG-context] Create an enumeration style

2021-08-08 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 08.08.2021 um 17:47: Hello, Is it possible to create an enumeration style to get this : 1 ^ {er} exemple 2 ^ {e} exemple 3 ^ {e} exemple The conversion needs a fix but this is how you can do it. \defineenumeration   [test]   [text=,   

Re: [NTG-context] Additional font variants

2021-08-01 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 01.08.2021 um 19:33: Hi, I’m trying to set up a “handwriting” font. In the example below I’m using Comic Sans, because probably everyone has it available, IRL I’m using the commercial “Supernett Cn” that has more styles. (Also, I’m using Alegreya

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-01 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 01.08.2021 um 13:56: On 7/31/2021 10:23 PM, Jeroen via ntg-context wrote: I worked around it, instead of simpleslides just use larger fonts to with regular pages Tne next version will have this (easy cheap extension): [...] after that you have a file

Re: [NTG-context] Verbatim text in a frame

2021-07-31 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 31.07.2021 um 00:18: On 7/30/2021 9:12 PM, Jeroen via ntg-context wrote: I am using the following preamble to put a frame around verbatim text. How can I have all the text start some 5pt from the frame and how can I get rounded corners, corner=0 does not

Re: [NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Wolfgang Schuster via ntg-context
Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03: Hello, let's have the following sample: \starttext \startitemize[packed_,][headstyle_=,] \item CC \starttabulate[|l|||] \NI aa \NC bb \NC\NR \stoptabulate \item AA \stopitemize \stoptext

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 04.08.2021 um 15:53: Dear list, I have the following sample: \setupinteractionscreen[copies=5] \starttext \dorecurse{5}{\input zapf\par} \stoptext The resulting file from current latest (2021.07.30 00:57) contains the following

Re: [NTG-context] Adaptation of ConTeXt to Esperanto

2021-10-09 Thread Wolfgang Schuster via ntg-context
Alain Delmotte schrieb am 09.10.2021 um 11:23: Hi! Le 9/10/2021 à 10:58, Wolfgang Schuster a écrit : Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07: Hi, Some time ago I did prepare the files to support Esperanto in Context (hyphenation and translation of terms). I thought

Re: [NTG-context] Adaptation of ConTeXt to Esperanto

2021-10-09 Thread Wolfgang Schuster via ntg-context
Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07: Hi, Some time ago I did prepare the files to support Esperanto in Context (hyphenation and translation of terms). I thought it was working, testing with the command \date, which gives the correct format. But today I remarked

Re: [NTG-context] setuplocalinterlinespace not affecting the whole group?

2021-10-13 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 13.10.2021 um 17:52: Hi, I have this MWE: % \definebodyfontenvironment     [9bp]     [     normal=9bp,     b=24bp,     ] \setupbodyfont[9bp] \startTEXpage

Re: [NTG-context] Unusual error with \doifinstring in \startbtxrenderingdefinitions ... \stopbtxrenderingdefinitions

2021-10-10 Thread Wolfgang Schuster via ntg-context
Joey McCollum via ntg-context schrieb am 10.10.2021 um 05:42: The test using \removepunctuation that you provided does what it should be doing (it produces 6 instances of "test-test" with the intervening punctuation mark in each case removed), but it doesn't do what I'm trying to do in the MWE

Re: [NTG-context] ConTeXt's equivalent of raisebox

2021-10-10 Thread Wolfgang Schuster via ntg-context
noib3 via ntg-context schrieb am 11.10.2021 um 00:16: How can I make vertical microadjustments to individual characters in ConTeXt? In LaTeX I would do it with ``` \documentclass{article} \begin{document} \raisebox{-1pt}{f}oo \end{document} ``` however the following doesn't work ```

Re: [NTG-context] combination with lua

2021-10-12 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 12.10.2021 um 14:12: On 10/11/2021 1:38 PM, Adam Reviczky via ntg-context wrote: Hi, I am trying to use a combination figure with luacode (both with latest MKIV and LMTX). However, the figures do not line up in the grid of the combination. I get the

Re: [NTG-context] Memo module not working with lmtx

2021-10-16 Thread Wolfgang Schuster via ntg-context
Jason Ross via ntg-context schrieb am 16.10.2021 um 06:10: I made a mistake with the MWE for the mailing list, however, corrected MWE gives same error: \usemodule[memo] \setupmemo[ name={Jason Ross}, opening={People of Earth}, closing={Thanks for all the Fish,}, signature={The Dolphins}]

Re: [NTG-context] Reading ConTeXt metadata values into Lua

2021-10-16 Thread Wolfgang Schuster via ntg-context
Ramkumar KB via ntg-context schrieb am 16.10.2021 um 06:00: Hello All, I was trying to read the value of '\totalnumberofpages' into lua to do something with it. As an example, see below. Now, as I understand it, my example would not work as TeX gets the first go at this and therefore the

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the

Re: [NTG-context] Placing pagenumer with coordinates (layers)

2021-09-21 Thread Wolfgang Schuster via ntg-context
Huseyin Özoguz via ntg-context schrieb am 21.09.2021 um 12:24: Hello dear context-enthusiasts, I want to place the pagenumber on a double-sided project with coordinates. I tried the layer-mechanism: \setuppagenumbering[location=] \definelayer   [pagenumber]   [width=\paperwidth,   

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49: Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi as a result. Look at the definition. If the current fontalternative is it \it it will give a \tf result. It is sensitive to the current

Re: [NTG-context] ConTeXt's equivalent of standalone class

2021-10-02 Thread Wolfgang Schuster via ntg-context
noib3 via ntg-context schrieb am 02.10.2021 um 17:50: Coming from LaTeX, when I had some TikZ pictures I wanted to add in my document I would usually keep them on a separate file, I would compile them with the standalone class so that the resulting PDF's size would be limited to exactly the

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
Fabrice, there is difference between putting something on the first page regardless of the number of pages in your document or do something when your document contains only a single or more pages. When you have a header or title which is always placed on the first page (but not on the

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 26.08.2021 um 19:06: Hi, Using this (almost what I'm trying to do) without success [...] \startsetups[header] \doifelse{\totalnumberofpages}{1} {\setupheadertexts[\setups{header}]}     {} \stopsetups This stores the page check in the setups

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
Taco Hoekwater via ntg-context schrieb am 26.08.2021 um 16:34: Hi, On 26 Aug 2021, at 16:07, Fabrice Couvreur via ntg-context wrote: Hi, I know I asked the question a few years ago, but I don't remember ! The idea is to test whether the document contains only one page or not. Perhaps not

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-24 Thread Wolfgang Schuster via ntg-context
Luis Montgomery via ntg-context schrieb am 22.10.2021 um 21:13: Apparently, almfixed and kurier fonts no longer load as before. The ALM Fixed font can't be used because there is no typescript file to use it in a document. The Kurier fonts have an existing typescript file but it can't be used

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation.

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 02.10.2021 um 11:46: Am 02.10.2021 um 10:34 schrieb Wolfgang Schuster via ntg-context : Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49: Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi

Re: [NTG-context] Wikfication of \commalistsentence

2021-12-06 Thread Wolfgang Schuster via ntg-context
Andres Conrado Montoya via ntg-context schrieb am 03.12.2021 um 17:25: I talked too soon. This won't work, and I have no idea why: \setuplabeltext [en] [and-1={{, }}, and-2={{ and }}]    % Should be:  1, 2 and 3 \setuplabeltext [es] [and-1={{, }}, and-2={{ y

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 19.12.2021 um 18:12: Hi, The following MWE won't compile for me: \setupinteraction [state=start] \starttext Click me: \goto{https://forum.swissmicros.com/viewtopic.php?f=2=22236#p22236}

Re: [NTG-context] shrink inter-line space

2021-12-17 Thread Wolfgang Schuster via ntg-context
mf via ntg-context schrieb am 17.12.2021 um 16:28: Hello list, here's a MWE to shrink the distance between two lines: \starttext \samplefile{ward}\par \blank \bgroup \baselineskip=0pt \samplefile{ward}\par \egroup \stoptext How can I get lines closer, even overlapping? \starttext

Re: [NTG-context] How to use a variable in a macro agrument

2021-12-18 Thread Wolfgang Schuster via ntg-context
skyhorse--- via ntg-context schrieb am 18.12.2021 um 10:52: I have a need to use a logo graphics file several times in a document. I somethings need to update to a newer graphics file. I only want to make one change to the original variable value definition. I've tried using \define.. but it's

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread Wolfgang Schuster via ntg-context
mf via ntg-context schrieb am 18.12.2021 um 09:47: Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext > > \samplefile{ward}\par > > \blank > > \start \setupinterlinespace[line=12pt] > \samplefile{ward}\par > \stop > > \stoptext Yes, but you can't say \setupinterlinespace[line=6pt] and

Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 31.12.2021 um 14:04: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the seventh (and the last one for now) problem I face.

Re: [NTG-context] Two questions on enumerations/indentation

2021-12-31 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 31.12.2021 um 13:19: Thank you for that! This certainly gives me an italic Remark and an upright 1. I feel a bit uneasy about adding the style to the text key, but if there is no other way out... Create a custom conversion set for the counter and

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:06: On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: Try with the following: \definefallbackfamily [malayalam] [serif] [TeX Gyre Pagella][range=controlpictures,force=yes] \definefontfamily [malayalam] [serif] [RIT

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Wolfgang Schuster via ntg-context
Youssef Cherem via ntg-context schrieb am 01.01.2022 um 13:10: I've tried to implement a journal-like footnote with the authors' affiliation for each section/chapter, by adapting things from the wiki (https://wiki.contextgarden.net/Table_of_Contents#Author_in_ToC and

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:14: For Malayalam, most often we would be expecting ligation to work even within \starttyping \stoptyping. You can anyway make a typescript that matches your needs. Don't know how. Can you point towards a documentation? You can use

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 26.12.2021 um 17:36: Hi all, I am looking for a way to make startstoplines likes this: This is a long line that breaks, the second line, the third line. So if a line in the poem is too long it shall break and indent. Short version: \setuplines [

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. You have to put the table in a box to change the vertical

Re: [NTG-context] Problem with \head inside \itemize

2021-12-21 Thread Wolfgang Schuster via ntg-context
Benjamin Buchmuller via ntg-context schrieb am 21.12.2021 um 14:04: Not sure if this is the behavior to expect, but I would like to get formatted inline headers in itemize like: The syntax for \starthead is     \starthead {...} ... \stophead where the argument within the braces is

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.12.2021 um 18:51: [...] \define[3]\ifisempty{%         \setbox0=\hbox{#1\unskip}%         \ifdim\wd0=0pt             #2%         \else             #3%         \fi }% No need for your own command because ConTeXt already provides \doifemptyelse which

Re: [NTG-context] Strange behavior with \startbodymatter ... \stopbodymatter

2021-12-28 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 28.12.2021 um 15:34: Hi, In my file cours_premiere.tex if I indicate  \startbodymatter       \component[probabilites.tex]  \stopbodymatter I get the following error message tex error     > tex error on line 49 in file ./cours_premiere.tex:

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 15.11.2021 um 19:06: So, some follow-up questions: 1. What do you mean by "only one setup" in the description of directsetup and fastsetup? I have examples of using two different directsetup in one after key, so it does not seem to mean that. With

Re: [NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread Wolfgang Schuster via ntg-context
A A via ntg-context schrieb am 15.11.2021 um 17:15: Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: * * *\setuppapersize[A5] \section[sec:old]{Old Section} This is an old-style \ConTeXt\ section. \startsection

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Wolfgang Schuster via ntg-context
Taco Hoekwater via ntg-context schrieb am 15.11.2021 um 15:28: On 15 Nov 2021, at 15:07, A A via ntg-context wrote: Dear All, The following code generates a title and some fake text: \setuppagenumbering[location=right] \usemodule[visual] \usebtxdataset[bibliography.bib] \starttext

Re: [NTG-context] Neste itemize in table (or vice-versa?)

2021-11-20 Thread Wolfgang Schuster via ntg-context
Alexandre Christe via ntg-context schrieb am 20.11.2021 um 16:19: Dear all, I'm trying something out in LMTX, which is to combine itemize with a table. Application could be to put a question and the answer in the next column. A minimal example would be: [...] The numbering unfortunately

Re: [NTG-context] Space before/after combinations + centring

2021-11-17 Thread Wolfgang Schuster via ntg-context
Marco Patzer via ntg-context schrieb am 17.11.2021 um 16:54: Hi! I'm in the process of converting some projects to LMTX. Combinations lacking “”before” and “after” keys (that place content before/after the *entire* combination, rather than the individual cell pairs), I came up with the

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 12.11.2021 um 14:27: Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. The drawback is that I can't use a normal period and comma in the normal text.

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 12.11.2021 um 09:09: Am 12.11.2021 um 06:26 schrieb jbf via ntg-context : It does seem, though, just using '1' as the chapter number for the moment, that the underline is not quite centered; almost but not quite. So am playing around with the

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread Wolfgang Schuster via ntg-context
Aditya Mahajan via ntg-context schrieb am 12.11.2021 um 05:45: On Fri, 12 Nov 2021, kauśika via ntg-context wrote: Dear list, I don't have a MWE per se, but as the title suggests, I want to be able to achieve the effect of \overset outside math mode. As I understand, \overset itself is

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
Rik Kabel schrieb am 15.11.2021 um 22:51: Wolfgang, Can you expand on the following statements from your reply? You can run Hans example with MkIV and the differences should be even bigger because the check for [] is slower here while in LMTX it's a engine feature. The main

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 12.11.2021 um 12:20: Dear all, I thought I could find my way through the spreadsheet documentation to make my invoices. While it is simple to calculate the sum or the product of two cells if you know that they are A[2] and B[2] I can't find the solution to access

Re: [NTG-context] minimum working example plus (output)

2021-11-14 Thread Wolfgang Schuster via ntg-context
skyhorse--- via ntg-context schrieb am 14.11.2021 um 21:13: Hans Hagen via ntg-context wrote: On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote: Here is the minium example which I took from the Wikigarden a few minutes ago. \def\T#1{% \startitemize[#1,joinedup] \item This

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 27.11.2021 um 17:45: Bonjour Jean-Philippe Thank you for your response. That sounds very promising. I don’t remember why I didn’t use natural tables when I’ve started setting things up for this journal. I think I’d might have had something to do with

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Wolfgang Schuster via ntg-context
Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21: Dear list, When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent version of ConTeXt, I now get a straight apostrophe. Is there a new option to convert automatically straight into curly

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Wolfgang Schuster via ntg-context
denis.ma...@unibe.ch schrieb am 27.11.2021 um 18:04: Thanks. What does trep stand for? trep = TeX replacement tlig = TeX ligatures Wolfgang ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Wolfgang Schuster via ntg-context
Jack Hill via ntg-context schrieb am 26.11.2021 um 18:18: Hi list, When I run this test code \definefontfamily[trm][math][tex gyre termes math] \definefontfamily[pag][math][tex gyre pagella math] \definefontfamily[bon][math][tex gyre bonum math] \definefontfamily[sch][math][tex gyre schola

Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Wolfgang Schuster via ntg-context
Jack Hill schrieb am 26.11.2021 um 19:53: On Fri, 26 Nov 2021 at 17:39, Wolfgang Schuster wrote: Jack Hill via ntg-context schrieb am 26.11.2021 um 18:18: Hi list, When I run this test code [...] on my machine, the prime symbols are being placed too high (except for latin modern which is

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread Wolfgang Schuster via ntg-context
kauśika via ntg-context schrieb am 20.11.2021 um 14:28: On Saturday, November 20, 2021 11:31:24 AM IST kauśika wrote: Dear list, I have the following enumeration block. \defineenumeration[verse] \setupenumeration[verse] [alternative=leftmargin, text=, width=fit, distance=1em,

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 23.10.2021 um 15:20: I’d like a book with chapters to have sections/parts, e.g. something that groups a few \chapter elements together. Is there support for this in LMTX? I.e. in such a way that it also shows up in the table of contents? You can use

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 25.10.2021 um 16:45: Hello all, The example below continues to work with MkIV, but now fails with the most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX: \define\DraftOf   {Draft of \date} \setupinteraction [date={\DraftOf}] \starttext

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 07.11.2021 um 19:05: On 11/6/2021 11:23 AM, Alexandre Christe via ntg-context wrote: Dear all, I'd like to know how best to work with font features regarding adaptations of math fonts. For example, let's assume I'd like to use Minion Pro also for math

Re: [NTG-context] font problem

2021-11-07 Thread Wolfgang Schuster via ntg-context
skyhorse--- via ntg-context schrieb am 07.11.2021 um 22:06: I am a beginner and not well versed on font processing needs yet. I tried the following simple example, but get an error. I am using the standalone context: "txrun | ConTeXt TDS Runner Tool 1.32" Which one, there is one

Re: [NTG-context] \externafigure and \at do not work together

2021-11-01 Thread Wolfgang Schuster via ntg-context
Otared Kavian via ntg-context schrieb am 31.10.2021 um 18:11: Hi, Your example has two issues, since you invoke \externalfigure before \starttext, and moreover you don’t use the place figure mechanism. The following gives the result you want: \setupinteraction[state=start] \starttext

  1   2   3   >