[NTG-context] Re: MP setup for a progress bar

2023-07-04 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 04.07.2023 um 22:24: Thanks to Taco, Robbert and Jules for their work! I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text ar

[NTG-context] Re: {\rm foo {\it bar}}

2023-07-04 Thread Wolfgang Schuster
Gerben Wierda schrieb am 04.07.2023 um 23:17: After erasing the font cache and regenerating LM was doing it right again. Helvetica did not, but maybe I made a mistake in \definefontfamily [helvetica]   [ss] [Helvetica] [tf=style:Regular,    bf=style:Bold,    it=style:Oblique, bi=style:Bold Obl

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 \us

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 f

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

2020-04-23 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 th

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] 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] 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 [My]\\Application\\(Compo

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] \s

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 W

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] \setupbodyfontenvi

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 directeur}[https://www.youtube.com/watch?

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] \defineco

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 th

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 \framed[align=flushleft]{TestingTest

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]    \de

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 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] \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. Overal

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 i

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 gues

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] ConTeXt version stuck at 2020.01.30

2020-05-05 Thread Wolfgang Schuster
Marco Patzer schrieb am 05.05.2020 um 20:26: Hi! Has something changed regarding the installation/update procedure? ConTeXt seems to be stuck at 2020.01.30 and downloading the newest version results in that very version. https://mailman.ntg.nl/pipermail/ntg-context/2020/097651.html Wolfgang

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread Wolfgang Schuster
jbf schrieb am 06.05.2020 um 01:31: Hi list, I have a document set up in a standard way (\setuppagenumbering[alternative=doublesided]) to ensure that new chapters always begin on a recto page, but in one particular instance only, I want the new chapter to start on the next (verso) page instea

Re: [NTG-context] Compile only one new component in a project

2020-05-07 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 07.05.2020 um 17:21: Hi Aditya, It does not work ; the compilation encounters errors with each command that I created. I guess it comes from the components. You have to load all environment files in your components. In your case where you use multiple files you can

Re: [NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 07.05.2020 um 17:31: Hi, I’m trying to get \digits{15.0=}±\digits{1.00} \digits{_8.12}±\digits{0.34} horizontally aligned as 15.0 ±1.00 8.12±0.34 But I get 15.0±1.00 8.12±0.34 instead. From the source (phys-dim.mkiv), I can see that “=“ should expand t

Re: [NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 07.05.2020 um 19:41: Hi Wolfang, Thank you for your reply. I have indeed not explained my intended result very clearly. 1. Primarily, I need to get the two values aligned at the digit separator of the first and second number respectively and overall at the ± si

Re: [NTG-context] Compile only one new component in a project

2020-05-08 Thread Wolfgang Schuster
Denis Maier schrieb am 08.05.2020 um 11:49: Hi Am 07.05.2020 um 16:01 schrieb Aditya Mahajan: On Thu, 7 May 2020, Fabrice Couvreur wrote: context chapter-4-seconde There is a MyWay which shows how you can share cross-refs etc. Aditya Where is that? I would be very interested in learning ab

Re: [NTG-context] Using transparency in METAPOST within textext()

2020-05-14 Thread Wolfgang Schuster
Gerben Wierda schrieb am 14.05.2020 um 11:47: Is it possible to get a transparent background in a textext()? The following minimal example doesn’t work. \starttext \setupMPpage   [background=color,    backgroundcolor=gray] \startMPpage draw textext("\definecolor[labelbackground][a=0.2,r=1,g=

Re: [NTG-context] left protruding quotations

2020-05-14 Thread Wolfgang Schuster
Michael Guravage schrieb am 14.05.2020 um 10:37: When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can achieve proper left protrusion without resorting

Re: [NTG-context] page number with brief centered line above

2020-05-14 Thread Wolfgang Schuster
jbf schrieb am 14.05.2020 um 07:30: Hi list, I am trying to achieve a layout where there is a brief line above the bottom-centered page number (of a double-sided document). I am able to achieve the centered bottom-located page number easily and obviously enough with: \setuppagenumbering   [

Re: [NTG-context] left protruding quotations

2020-05-14 Thread Wolfgang Schuster
Rik Kabel schrieb am 14.05.2020 um 17:31: On 5/14/2020 11:21, Wolfgang Schuster wrote: Michael Guravage schrieb am 14.05.2020 um 10:37: When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use

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

2020-05-15 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 16.05.2020 um 00:47: When I customise the table of contents layout I lose the automatic hyperlinks. Is there a simple configuration option that I have missed or do I need to create my own links somehow? Example: \setupinteraction[state=start] \setupinteractionscreen[

Re: [NTG-context] Blank page added after pagecolumns

2020-05-16 Thread Wolfgang Schuster
Joey McCollum schrieb am 16.05.2020 um 05:45: All right, I've found a tentative solution that appears to work in all cases, but I'd like to know more about why the code I'm patching was implemented in the first place, because I don't want to break anything else. According to the code in page-pc

Re: [NTG-context] Problem with \vfill in extreme table

2020-05-17 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 17.05.2020 um 13:47: If I want the words Top and Bottom at the top and bottom of a page then "Top \vfill Bottom" works as expected. If I use the same in an extreme table I get an error and I don't know why. What's the 'official' way to align top and bottom in an xrow?

Re: [NTG-context] Building a page based on exact location of graphical elements (PDF)

2020-05-17 Thread Wolfgang Schuster
Gerben Wierda schrieb am 17.05.2020 um 16:52: What is the simplest way to build a page based on positioning of external images? Some of these images are page-sized (so take up an entire page, though I might want to overlay some other text boxes and MP graphics). I’ve been trying to find a good

Re: [NTG-context] What is required to make \setuplayout work?

2020-05-17 Thread Wolfgang Schuster
Gerben Wierda schrieb am 17.05.2020 um 22:24: I’ve been trying to define a layout that just has a 5mm no-printing edge around the paper and has all the rest for \textwidth and \textheight. No header, footer, pagenumber, etc. Just as much space as I can get out of a standard A4. But the follow

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Wolfgang Schuster
Marco Patzer schrieb am 17.05.2020 um 19:04: On Sun, 17 May 2020 18:16:13 +0200 "Jan U. Hasecke" wrote: I am currently writing a text where I want to include text snippets either by including files or including buffers. What is the best way to style all these included buffers? I know that I

Re: [NTG-context] \pagewidth undefined?

2020-05-19 Thread Wolfgang Schuster
Gerben Wierda schrieb am 19.05.2020 um 13:42: OK. I just noticed in lmtx documentation that \paperheight and \paperwidth primitives have been removed, but there is no information what rteplaces them. So, all the documentation that contains them has been invalidated (e.g. examples in details.pd

Re: [NTG-context] LMTX not working in Windows 10

2020-05-19 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 19.05.2020 um 16:42: On 5/19/20 8:57 AM, Hans Hagen wrote: On 5/19/2020 1:41 AM, Jairo A. del Rio wrote: Hi everyone! I've tried installing LMTX on Windows 10 (x64) (I use Ubuntu, but my PC isn't available now). Whatever. When I try to execute context.exe the followin

Re: [NTG-context] paperformat=landscape not working

2020-05-20 Thread Wolfgang Schuster
Peter Münster schrieb am 20.05.2020 um 14:01: On Wed, May 20 2020, Hans Hagen wrote: [offset=\getdocumentargumentdefault{paperformat_to}{0pt}] shouldn't that one then become \setuppaper [offset=\getdocumentargumentdefault{paperformat_print}{0pt}] Yes, I guess. I think this is bet

Re: [NTG-context] paperformat=landscape not working

2020-05-20 Thread Wolfgang Schuster
Hans Hagen schrieb am 20.05.2020 um 16:12: On 5/20/2020 2:46 PM, Wolfgang Schuster wrote: Peter Münster schrieb am 20.05.2020 um 14:01: On Wed, May 20 2020, Hans Hagen wrote: [offset=\getdocumentargumentdefault{paperformat_to}{0pt}] shouldn't that one then become \setup

Re: [NTG-context] output file name query

2020-05-22 Thread Wolfgang Schuster
Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf

Re: [NTG-context] Columns: rule=on not working?

2020-05-22 Thread Wolfgang Schuster
cont...@vivaldi.net schrieb am 22.05.2020 um 14:54: Hello, the following code doesn't produce vertical rule between columns: \starttext   \startsimplecolumns[n=2,rule=on]     \input knuth   \stopsimplecolumns   \blank   \startcolumns[rule=on]     \input knuth     \column     \inp

Re: [NTG-context] output file name query

2020-05-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 22.05.2020 um 17:39: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in

Re: [NTG-context] List of language-specific hyphenation commands

2020-05-23 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 22.05.2020 um 23:42: Hi everybody! I've read about some commands which allow hyphenation according to an specific language in ConTeXt, e.g. \french{word} for French hyphenation in a text the main language of which is Spanish, English, etc. Unlike \language[code], I c

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 23.05.2020 um 20:02: On 5/23/20 11:52 AM, Gerben Wierda wrote: [] Actually, my setup is Optima with Helvetica used for Cyrillic: \definefallbackfamily   [archimate]   [ss]   [Helvetica]   [preset=range:cyrillic,    tf=style:light,    it=style:lightoblique,    b

Re: [NTG-context] output file name query

2020-05-23 Thread Wolfgang Schuster
Gerben Wierda schrieb am 23.05.2020 um 15:46: Just curious: wouldn’t it theoretically be possible to delay opening the output file until the first \stattext? Or is there already stuff going out before that, such as preliminaries that go into the PDF? \starttext is only a artificial border at

Re: [NTG-context] About Latex compatibility module

2020-05-25 Thread Wolfgang Schuster
Hans Hagen schrieb am 25.05.2020 um 17:54: On 5/24/2020 1:43 AM, Jairo A. del Rio wrote: Hi everyone! I was reading some old posts on TeX.SX about LaTeX support on ConTeXt and I found the following: https://web.archive.org/web/20110822085249/https://modules.contextgarden.net/LaTeX However,

Re: [NTG-context] \setupbackend in MkIV

2020-05-25 Thread Wolfgang Schuster
Rik Kabel schrieb am 25.05.2020 um 21:50: I cannot get a PDF/A document produced with the latest MkIV beta 2020.05.18 16:46 (LMTX works without issue). Using the example from the wiki (https://wiki.contextgarden.net/PDF/A) I get the error stating: ... \p_file {\backendparameter {xmpfile

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. ConTeXt expects a

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 27.05.2020 um 17:39: On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.05.2020 um 22:31: Hi Hans, the following sample: \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{i4, i5, i7} {yes}{no} \stopTEXpage \stoptext outputs "yes" with latest from 2020.05.18 16:50, but "no" with latest from 2020.

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.05.2020 um 23:28: On 5/27/20 10:39 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 27.05.2020 um 22:31: [...] I think this may be a bug, since the sample above would only get "yes" with { i7}. No spaces are allowed in these lists. Older versi

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Wolfgang Schuster
juh schrieb am 29.05.2020 um 10:29: Dear all, with your help I can colorize the empty even page right before a chapter starts on the odd page. The mwe below shows it. Now I would like to redefine the contents of the left page on the fly in the text so that I could place images on this page. I

Re: [NTG-context] referencing both real and user pagenumbers

2020-05-29 Thread Wolfgang Schuster
Alan Bowen schrieb am 29.05.2020 um 00:13: I have a collection of papers printed previously that are to go into a single volume so that, while the papers retain their original pagination and internal cross-referencing, they are also paginated continuously. I have managed to do this using userpa

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 29.05.2020 um 15:10: Am 29.05.20 um 12:45 schrieb Wolfgang Schuster: juh schrieb am 29.05.2020 um 10:29: Dear all, with your help I can colorize the empty even page right before a chapter starts on the odd page. The mwe below shows it. Now I would like to redefine

Re: [NTG-context] referencing both real and user pagenumbers

2020-05-29 Thread Wolfgang Schuster
Alan Bowen schrieb am 29.05.2020 um 16:53: Thank you, Wolfgang. That works nicely. One small detail left: the reference is not interactive. I have tried \setupreferencing [state=start, interaction=all] but that does not seem to be the way. minimal file: \setupinteraction[state=start] \startt

Re: [NTG-context] MKIV to LMTX (enumerations)

2020-05-31 Thread Wolfgang Schuster
Weber, Matthias schrieb am 30.05.2020 um 21:18: Dear List, After staying with a frozen MKIV version for time-critical work for a while, I took the plunge and ran one of my longer math-heavy documents through LMTX. To my delight, it mostly looks fine or trivially fixable. There is one problem I

Re: [NTG-context] status of t-rst

2020-06-01 Thread Wolfgang Schuster
Saša Janiška schrieb am 01.06.2020 um 08:56: Hello, yesterday when browsing new ConTeXt site (yay!!) I found about the existance of 't-rst' to be used for typesetting files written in reST markup. However the referenced web site (https://bitbucket.org/phg/context-rst/src/default/) shows last act

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Wolfgang Schuster
Otared Kavian schrieb am 01.06.2020 um 14:30: Hi all, Is it possible to write the individual captions for each element of a combination of floats above it, while the caption for the figure appears below? \startplacefigure[title={A combination of three figures}] % this title appears below the

Re: [NTG-context] background of \typing fills column

2020-06-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.06.2020 um 20:22: Hi, I finally wanted to attack CG journal 2019 again and stumble upon this error: If an article contains several \starttyping ... \stoptyping examples with a textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t occur i

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Wolfgang Schuster
ables for figures. Best regards: Otared K. On 1 Jun 2020, at 21:23, Wolfgang Schuster wrote: Otared Kavian schrieb am 01.06.2020 um 14:30: […] The label position in combinations is fixed and the easiest way to create your own combination is to use a table. Wolfgang Combinations are tabl

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

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

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread Wolfgang Schuster
jbf schrieb am 02.06.2020 um 11:41: Hi list, I am attempting to achieve, for every second chapter, to have only one line of space between the chapter title and the text that follows. I looked at the following example in the wiki: \setuppapersize[A6][A6] \setupbodyfont[8pt] \def\MyChapterComm

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread Wolfgang Schuster
jbf schrieb am 03.06.2020 um 01:21: Thanks Wolfgang. Clearly that fixes the problem. I also came up with another solution which avoids the need to define a MyChapterCommand, by first setting up the normal chapter as: \setuphead   [chapter] [header=empty,alternative=middle,style=bold,numberco

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.06.2020 um 16:30: Am 03.06.2020 um 16:19 schrieb Floris van Manen : What is the preferred way to overstrike a text with a different color? This does not work: One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt

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

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

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

2020-06-06 Thread Wolfgang Schuster
structure 1. Chapter (Name of chapter)   1. 2 Section (Name of section) Wolfgang Schuster offered the following solution for chapters in Spanish, thanks :) \setuplabeltext[es][chapter={, capítulo}] However, I asked if there is a way to use predefined section labels according to chapters, sections

Re: [NTG-context] errors in margindata?

2020-06-07 Thread Wolfgang Schuster
Hans van der Meer schrieb am 07.06.2020 um 11:50: I gues there are errors in \margindata. See the minimal example. The contextversion is fresh loaded just before this test. (1) \margindata{test} gives an error. The log message is: tex error > tex error on line 9 in file ./margindata.tex: ! Use

Re: [NTG-context] problem since previous versions

2020-06-07 Thread Wolfgang Schuster
Hans van der Meer schrieb am 07.06.2020 um 12:07: A problem has arisen up since previous versions, where code without a problem now raises an error. This is the afflicted code: % Assign values to \locationbox. \doif{top}{\placexlocation}% {\def\startlocationbox{\vtop\bgroup\vss}}% \doif{center}

Re: [NTG-context] chapter numbers

2020-06-08 Thread Wolfgang Schuster
Duncan Hothersall schrieb am 08.06.2020 um 08:35: Use \setuplabeltext instead of \setupheadtext. I agree the documentation suggests \setupheadtext should work the same way, but it doesn't seem to. You might also want a space after the word Chapter. It works the same way but it's used for a dif

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-08 Thread Wolfgang Schuster
Fabrice L schrieb am 08.06.2020 um 21:53: Thanks to Aditya, I have succeeded, but it was not trivial for me. So, in case somebody someday would need a detailed solution, here is a minimal example, and an explanation. A buffer « Questions » is defined. If in « ClassRoom » mode, a start/stop «

Re: [NTG-context] Bar within math (amended)

2020-06-09 Thread Wolfgang Schuster
Lukas/ConTeXt schrieb am 09.06.2020 um 20:28: Hello, it seems that bar (even with option 'continue=yes') is not rendered in place of '~' within math. See the sample: \definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes] \starttext 1 + 2 = \startbar[

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Wolfgang Schuster
Alan Bowen schrieb am 10.06.2020 um 17:04: Thanks, Taco! That works in my mwe. I added way=bytext in my env file and the output is just what I need. Why don't you use sub pages? \starttext %\setupsubpagenumber[start=5]\resetsubpagenumber \setcounter[subpage][5] \startTEXpage \samplefile{

Re: [NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-10 Thread Wolfgang Schuster
Hans Hagen schrieb am 10.06.2020 um 17:30: On 6/9/2020 11:04 AM, Otared Kavian wrote: Hi all, I just noticed that in lmtx, the commands \startplacefigure and \startframedtext, when used together, do not behave in the same way as they do in mkiv. I wonder whether this is a permanent change or

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 11.06.2020 um 10:41: Dear list members, I write training manuals and use the Modes mechanism a lot to create documents at various competency levels using a single set of source files. So far the manuals have been written in English but now a separate Dutch transla

Re: [NTG-context] RE : RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25

2020-06-11 Thread Wolfgang Schuster
Joseph schrieb am 11.06.2020 um 19:08: Thanks, sure I’ll document that. Just struggling to understand how to use it. I used \ifindentation as follows \def\ParIndent{\ifindentation\parindent\else 0pt\fi} But if I replace with \def\ParIndent{\doifelseindented{\parindent}{0pt}} It does not wor

Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Wolfgang Schuster
Floris van Manen schrieb am 11.06.2020 um 23:03: On 11/06/2020 22:31, Jairo A. del Rio wrote: The watermark is partially outside the page, whereas the Wiki result is more "centered". Is that an intended behaviour? A slightly better version. \defineoverlay [WatermarkOverlay] [{\framed

Re: [NTG-context] Extra space when \setcharacterkerning is used in enumeration

2020-06-12 Thread Wolfgang Schuster
Mikael Sundqvist schrieb am 12.06.2020 um 20:55: Hi, I noticed an extra space in an enumeration when using \setcharacterkerning in the \headstyle parameter. The extra space appears before the first word "Sats", and in my case it is unwanted (In the example I want the word Sats to align with a

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Wolfgang Schuster
Jack Steyn schrieb am 14.06.2020 um 16:46: Hi, I'm not sure why the following MWE produces a document where page 2 has the page number i instead of ii. It seems to have something to do with the use of makeup. I was using it to create a vertically centered title page. Is there a better way of

Re: [NTG-context] Problem with Hello-World.tex

2020-06-14 Thread Wolfgang Schuster
Alessandro Perucchi schrieb am 14.06.2020 um 16:30: Hello everyone, I am quite new to ConTEXt, and after installed it according to the following web page : https://wiki.contextgarden.net/Installation I’ve installed it in macOS Catalina 10.15.5. After a successful installation (I hope), I tri

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

2020-06-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.06.2020 um 14:52: Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \s

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

2020-06-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.06.2020 um 16:31: On 6/16/20 4:53 AM, Rudolf Bahr wrote: [...] Hi Pablo, I fear I don't understand what issue you mean, therefore I append my output here. Many thanks for your reply, Rudolf. The issue is that the layer is placed on the first page, where it shou

Re: [NTG-context] issue with \comment

2020-06-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.06.2020 um 19:20: Dear list, when trying to report another issue, I found the following one (using latest from 2020.06.12 17:43): \setupinteraction[state=start] \starttext a\contextversion \comment[location={rightmargin}]{comment} \stoptext For

Re: [NTG-context] spacing before items

2020-06-16 Thread Wolfgang Schuster
Mike Cooper schrieb am 16.06.2020 um 19:51: Hello list, Another very simple issue—no doubt the answer is right in front of me but I can’t find it or figure it out… (Please let me know where it is!) I want more space before each top-level item.MWE: \defineitemgroup[mdshw][levels=2] \setupit

Re: [NTG-context] spacing before items

2020-06-17 Thread Wolfgang Schuster
Mike Cooper schrieb am 17.06.2020 um 21:50: I really should have fiddled with this before thanking you, Wolfgang. I was focused on catching up on email etc. this morning. Thanks for trying though! Your "answer" is pretty much coded code to me. I don't understand it and don't have the first

Re: [NTG-context] margin comment above heading

2020-06-17 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.06.2020 um 22:17: Dear list, I have the following sample: \startsetups[tinytiny] \setupwhitespace[-2em] \setupbodyfont[0.01pt] \setupinterlinespace[1sp] \stopsetups ??? \setupinteraction[state=start] \showframe\showgrid \starttext

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread Wolfgang Schuster
James Withers schrieb am 18.06.2020 um 17:35: Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before

Re: [NTG-context] METAPOST's uniformdeviate is not truly random (seed)

2020-06-23 Thread Wolfgang Schuster
    Gerben Wierda schrieb am 23.06.2020 um 17:57: I’m trying to get a real random number in METAPOST MWE: \startMPpage[instance=doublefun] show uniformdeviate 60; \stopMPpage Every time I run this, it shows the same result. I tried playing around with the randomseed, but for instance when I d

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Wolfgang Schuster
Lukas/ConTeXt schrieb am 24.06.2020 um 08:19: Hello, is there a way to detect whether the document is intended as single- or double- sided, IOW, whether \setuppagenumbering[alternative=singlesided] or \setuppagenumbering[alternative=doublesided] has been specified? If so, is it possible

[NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Wolfgang Schuster
Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type{%%}} \stoptext Wolfgang _

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Wolfgang Schuster
Hans Hagen schrieb am 24.06.2020 um 19:06: On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type

Re: [NTG-context] error running wiki example with labels

2020-06-24 Thread Wolfgang Schuster
Jan-Erik Hägglöf schrieb am 24.06.2020 um 21:05: Hello All! In the page https://wiki.contextgarden.net/Labels I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below Can you comment (or remove) the following two lines which load the IBM

Re: [NTG-context] French interface

2020-06-25 Thread Wolfgang Schuster
Garulfo schrieb am 25.06.2020 um 21:34: Hi, If I understand, the translation file mult-def.lua provides 5 families for translations: 1- commands 2- constants 3- variables 4- elements (prefix or suffix of commands) like    - \completeREGISTER and \completeindex     ^^^

Re: [NTG-context] Translation of ConTeXt interface

2020-06-26 Thread Wolfgang Schuster
Garulfo schrieb am 26.06.2020 um 12:27: Thanks a lot Wolfang for your answer. I have 5 additional questions... sorry. --- >>  \placeFLOAT   becomes \placerFLOAT >>  \startplaceFLOAT  becomes \debutplacerFLOAT >>  \p

Re: [NTG-context] \asciimode and \type{%%}

2020-06-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 24.06.2020 um 21:03: But ... we can have \unexpanded\def\literalmode{\setcatcodetable\txtcatcodes} and then: [...] I'll add that command, assuming that someone will document it somewhere. Not really needed in this case but I'm going to document it. I already bet on t

Re: [NTG-context] Translation of ConTeXt interface

2020-06-27 Thread Wolfgang Schuster
Garulfo schrieb am 27.06.2020 um 00:04: How can I translate the variable "file" into fichier, without messing with fonts (and maybe other file related functions) There shouldn't be a problem with fonts because they use \s!file or \s!name which aren't translated (unless you made the mistake and h

Re: [NTG-context] Translation of ConTeXt interface

2020-06-27 Thread Wolfgang Schuster
Garulfo schrieb am 27.06.2020 um 19:00: Hi Wolfgang, Did you manage to have a look at the previous message Fri Jun 26 23:38:48 CEST 202023 https://mailman.ntg.nl/pipermail/ntg-context/2020/098596.html It contains two MWE : 1/ mult-def.lua.test1_figure.diff 2/ mult-def.lua.test2_itemize.diff +

Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 28.06.2020 um 12:54: Hi list! I want to know how to properly use footnotes in math mode. The following: \starttext \startformula \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote \sto

  1   2   3   4   5   6   7   8   9   10   >