[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Wolfgang Schuster
Jim schrieb am 04.03.2024 um 15:30: Recently I've been trying to make some PDFs smaller by using better compression of JPEG pictures. I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) files. However, my understanding (and I could well be wrong, but I've seen it mult

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: Dear list, this issue has been bugging me for some time: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. For both, I’m using current latest (from 2024.02.27 09:21). Could anyone confirm the issue or ex

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
Emanuel Han schrieb am 01.03.2024 um 16:23: Dear Wolfgang, thank you for your valuable remarks. I integrated them, see corrected attached example. Yes, correct layout examples exist. They're all showing vertical writing, but the rules and principles are exactly the same for horizontal writi

[NTG-context] Re: Japanese

2024-03-01 Thread Wolfgang Schuster
Emanuel Han via ntg-context schrieb am 01.03.2024 um 13:08: Dear all, thanks for your contributions. Sure I'll update the https://wiki.contextgarden.net/Chinese_Japanese_and_Korean hopefully with the help of Jeong Dal and others as soon as things are sorted out. In attached example, the open

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
Emanuel Han via ntg-context schrieb am 28.02.2024 um 20:51: Thank you all for your suggestions and contributions to the wiki. I don't intend to nag, but when looking at what ConTeXt is producing, I need to state that the result is still far away from a properly typeset Japanese text. So the

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 28.02.2024 um 19:02: On 2/28/24 12:24, Pablo Rodriguez via ntg-context wrote: [...] This is why beforequadruple would make sense. I guess some Lua magic could do that, computing x to the follwing page that "x % 4 = 3" (and then \page[x]). I will try to

[NTG-context] Re: Issue with italics

2024-02-26 Thread Wolfgang Schuster
Jean-Pierre Delange schrieb am 26.02.2024 um 18:41: Thanks to Thomas and Denis, That's it: use GFS Didot for the French text and Theano Didot for the Greek. In my working text I have this preamble (and other things): [...] I've found a solution, with Segoeui (Windows font) as the main font a

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-24 Thread Wolfgang Schuster
Michael Guravage schrieb am 23.02.2024 um 10:07: Greetings, I would like to use the nextquadruple and beforequadruple pagebreakhandlers described at the bottom of the wiki's imposition page. However, the examples complain of an error invoking the \installpagebreakhandler command. The wiki p

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 21.02.2024 um 19:04: Am 19.02.24 um 23:15 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 19.02.2024 um 22:39: I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics

[NTG-context] Re: MetaPost lines in tables?

2024-02-19 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 19.02.2024 um 22:39: I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics? ATM I’m trying to place my MP lines behind a frame-less TABLE; it will probably work, but it’s a crut

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.02.2024 um 14:14: In a textbook I am looking to place a large left margin at every page of each chapter. At left printed pages a left margin and at right printed pages a right margin, so like a double sided construction. In this margin I would like to place: You can use a

[NTG-context] Re: XML processing, unwanted indentation/alignment

2024-02-15 Thread Wolfgang Schuster
Michael Guravage schrieb am 15.02.2024 um 21:28: Greetings, I'm typesetting an address book whose addresses are in XML. A typical entry has this structure:                 email="" mobile="" />                   initials and birthday are required, first_name can be left blank

[NTG-context] Re: Two bugs with descriptions in ConTeXt.

2024-02-13 Thread Wolfgang Schuster
SirColeman via ntg-context schrieb am 13.02.2024 um 22:04: The first bug is that descriptions interfere with the counters, resulting in the peculiar behavior demonstrated in the resulting PDF. Still no bug and there is no need to create your own counter because enumerations exist which are des

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Wolfgang Schuster
SirColeman via ntg-context schrieb am 13.02.2024 um 20:44: >> This is wrong, the counter commands are official and the number variants are kept for backwards compatibility with old styles. I do recall reading on the ConTeXt wiki that \definenumber is maintained for backwards compatibility reas

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Wolfgang Schuster
SirColeman via ntg-context schrieb am 12.02.2024 um 08:49: Greetings all. I have a passion for typesetting. I found that currently the best typesetting systems are those that are based on TeX. Of them, there are LaTeX, and ConTeXt. LaTeX is very well documented and popular; ConTeXt, on the other

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
Oliver Marugg schrieb am 13.02.2024 um 00:17: Hi Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this? Greets Oliver Running freshly installed context ARM64 on m1 and updated it via sh install.sh

[NTG-context] Re: removing whitespace

2024-02-13 Thread Wolfgang Schuster
Michael Guravage schrieb am 13.02.2024 um 14:01: While reading the documentation I spotted something similar from which I derived this solution: \setupinteraction[state=start] \def\squeeze#1%   {     \goto{#1} [url(tel:\ctxlua{context(string.gsub("#1", " ", ""))})]   } ConTeXt has a Lua f

[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07: On 2/8/24 22:37, Otared Kavian wrote: Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 27.01.2024 um 10:05: Am 26.01.24 um 23:46 schrieb jbf: I wonder if someone can point me in the right direction for a separate TOC which needs to be in chronological order at the back of the book (i.e. not in page number order, although I need the page numbers to

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Wolfgang Schuster
Gerion Entrup schrieb am 25.01.2024 um 09:18: Hi, I want to make a proper definition of a new command to be able to process it in Lua. I found something on StackOverflow [1] but that breaks in enumeration _and_ when interaction is enabled and I do not understand why? Can you give me some help he

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 27.01.2024 um 18:40: On 1/27/24 17:40, Ali Ali wrote: Thanks, those seems close to what I wanted but not exactly. The ASCII graphic (better in typewriter font) may explain what I desired, ``` text width |<

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
Ali Ali schrieb am 27.01.2024 um 06:03: I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there a

[NTG-context] Re: Suggestions and problems of the manuals

2024-01-26 Thread Wolfgang Schuster
Gerion Entrup schrieb am 25.01.2024 um 09:24: Am Mittwoch, 17. Januar 2024, 13:44:51 CET schrieb Gerion Entrup: Hi, I discovered the manuals in the context distribution. My general way to built the manuals were these steps: ``` # execute one time git clone https://github.com/contextgarden/conte

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
Jim schrieb am 25.01.2024 um 22:01: Hi Henning, On Thu, Jan 25, 2024 at 17:16 (+0100), Henning Hraban Ramm wrote: Am 25.01.24 um 16:12 schrieb Jim: Hi, I was wondering if anyone here could help me with these three things: For a long time I have been using Wichura's TaBle macros (i.e., what on

[NTG-context] Re: Caching Metafun images and VIM Syntax highlighted code

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 17:06: I am writing two books. One is on Rust programming and another is on geometry, so I have syntax highlighted code and in second has lost of diagrams. Perhaps Aditya Mahajan can tell me how can I cache code snippets. Invoking VIM will have heav

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 16:52: Thanks for correcting me, Wolfgang. I meant only TeX commands not plan TeX macros. As I already wrote you can use \parindent etc. in your document but unless you know what you're doing you should keep it to a minimum to avoid conflicts with o

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 16:37: For example: \kern, \parindent and so on. Rephrasing the question, can LuaMetaTeX/ConTeXt compile plain TeX files. If yes, how can I do that? You mix up two different things here. 1. Plain TeX is a collection of TeX macros like ConTeXt or LaT

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Wolfgang Schuster
Thomas Meyer schrieb am 22.01.2024 um 13:04: Am 22.01.24 um 12:06 schrieb Henning Hraban Ramm: Am 22.01.24 um 11:46 schrieb Thomas Meyer: I might get a bit impatient if I have the impression that others get an answer faster. Sorry for that. It’s not unusual to get that impression. It depend

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Wolfgang Schuster
Jim schrieb am 15.01.2024 um 01:42: I have \setupwhitespace [big] so that I get "a blank line" between paragraphs. I would like to *not* have "blank lines" before and after my items. For example, if there is more "paragraph text" after the last item I would like to see this structure: --

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're try

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 10:30: Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] but sometimes elements elements have to be forced to be on the grid, e.g. tables need to be part of a float. Wolfgang ___

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-13 Thread Wolfgang Schuster
Ali Ali schrieb am 08.01.2024 um 23:53: Since in the "setup-en.pdf" on p. 234, in "\setuplayout" the possible values for "grid" key is "yes", "no" (default), and "off" respectively. The commands in the document are not always up to date and somtimes miss entries or list no longer valid ones,

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
mf schrieb am 12.01.2024 um 10:18: Hello list, how do I convert the realpage number to a page number? Suppose you have a document with a frontmatter of 20 pages in roman numerals, followed by the main text starting from page 1 in arabic numerals. So the twelfth page is 'XII', while the twen

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Wolfgang Schuster
vm via ntg-context schrieb am 11.01.2024 um 16:15: How can I wrap an externalfigure into a box that can be placed within running text? Should I wrap the externalfigure into a start/stop buffer, then place it? There is no need any extra code because \externalfigure can be used in running text,

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster
Gerion Entrup schrieb am 09.01.2024 um 16:21: Hi, I have to come back to that topic, since it seems not to work. The said source code produces just the text "times" and "check" for me (see 1.pdf). I also tried: ``` \usesymbols[fontawesome] \starttext \showsymbolset[fontawesome-solid] \

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Wolfgang Schuster
Ali Ali schrieb am 08.01.2024 um 23:33: So is "\setuplayout[grid=yes]" AND "\setuplayout[ grid=yes ]" not same? I mean, we are initializing "grid" to "yes" in both cases. No, in the first case you end the value of the grid-key with ] which results in "yes" as argument but in the second case y

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Wolfgang Schuster
eroen schrieb am 04.01.2024 um 17:12: I have a document that is getting a lot of mark-up instructions for creating tables and placing figures. I would like to move this out of the main text flow. The easiest way would be using \input, but i rather place all this at the bottom of the file and ju

[NTG-context] Re: Equivalent for hdots and hdotsfor

2023-12-30 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 30.12.2023 um 09:41: In LaTeX, I can use \hdots for horizontal dots and \hdotsfor{n} to fill for several columns in a determinant. But these do not work in ConTeXt. What is the equivalent for these in ConTeXt? Can you show the desired output from LaTeX with a PDF

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 30.12.2023 um 09:40: I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? Replace the \inmframed command with \mcframed. \define[1]\oldfact   {\mcframed[frame=off,strut=no,leftframe=on,bottomframe=on]

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31: What do you expect here to pass as argument to the oldfact command? I will pass something like n, 5, 10 etc. A simple alternative to tikz is the usage of \framed. \define[1]\oldfact   {\inmframed[frame=off,strut=no,leftframe=on,bottomfra

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:19: I use following in Latex to generate old factorial symbol: \newcommand{\oldfact}[1]{% \tikz[baseline]{\node[anchor=base,inner sep=0.3ex](mynode){\ensuremath{#1}};\draw(mynode.north west)--(mynode.south west)--(mynode.south east);\path[use as b

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:01: Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? Can you be more precise what you have tried and doesn't wor

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Wolfgang Schuster
Jeong Dal via ntg-context schrieb am 25.12.2023 um 16:09: Hi, I got an error message as following: Control sequence expected instead of undefined If I comment out the “\externalfigure[][]” line, then there is no error message. I don’t know what is wrong in the sample code. The problem was

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-24 Thread Wolfgang Schuster
Garulfo schrieb am 23.12.2023 um 12:41: Hi all, the following  minimum working example is properly typesetted with textstyle=bold, but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) A number should have been here; I inserted '0'. (If you can't figure out why I needed to see

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 18.12.2023 um 21:55: On Mon, 18 Dec 2023, Aditya Mahajan wrote: On Mon, 18 Dec 2023, Dean Hung wrote: The documentation on underbrace (and overbrace, underbracket, etc...) in the ContextGarden wiki seems to be very limited, and I was not able to find any user-supplie

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Wolfgang Schuster
Peter Münster schrieb am 17.12.2023 um 10:09: On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: \usemodule[abbreviations-logos] \defineblock [H] [before=\startcolor[blue],after=\stopcolor] \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test \b

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
Ursula Hermann schrieb am 13.12.2023 um 15:22: Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice    \definecolor[ColorA][0.8(white)]    \definecolor[MyColorA][.75(MyColorB,white)]

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release (corner=round still works) or create your own bac

[NTG-context] Re: text over text

2023-12-11 Thread Wolfgang Schuster
Alan Bowen schrieb am 11.12.2023 um 19:14: I am typesetting some transliterated medieval German and need to place one letter, e.g., an “e” in scriptsize over another letter, e.g., a “u” in text size. I have managed to get this in italics using \mathstackers and \definemathmatrix, but I need bo

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Wolfgang Schuster
Jigé via ntg-context schrieb am 10.12.2023 um 11:30: Hi all, I've been struggling with basic page layout. The left margin extends outside the left edge of the page. Example (from the wiki): \setuppapersize[A4][A4] % this is the default and may be omitted \setuplayout[backspace=20mm, leftmargi

[NTG-context] Re: Problem with \startlinenumbering left and right arguments

2023-12-09 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21: Dear List, In the MWE below, the left and right arguments are not applied in the last chapter. How can this be fixed? \starttext \startlinenumbering[left={[},right={]}] \dorecurse{5}{% \startchapter[title={Knuth}] \samplefile{knuth} \sto

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 17:19: Very clear ! In typography for Mathematics books, what choice should we make for the best possible result ? A question better answered by Mikael or Aditya! Wolfgang __

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 16:13: Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{} a

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: I worked, ;-), thanks. Let me ask you another thing, how can I avoid messing up the line spacing by using \sqrt and \frac, the line that follows these has increased line spacing in the pdf output code: Find the normal and shearing stresses o

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
anton.chig...@mail.com schrieb am 09.12.2023 um 11:50: Hi all, I am generating a quiz, with eight questions, each with text and a figure following it. The output was fine till the fifth question, but then the margin separating the text of each question disappeared and the figure got put on the n

[NTG-context] Re: \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected

2023-12-05 Thread Wolfgang Schuster
Marco Patzer schrieb am 05.12.2023 um 19:58: \setupunittext[en][millimetermercury=inHg] That doesn't make sense, inch and mm are different units. I'd rather add: \registerunit [inHg=inchmercury] \setupunittext [en] [inchmercury=inHg] It's just a stupid example to show how

[NTG-context] Re: \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected

2023-12-05 Thread Wolfgang Schuster
Marco Patzer schrieb am 05.12.2023 um 15:19: Hi! I'm struggling with the rendering of a particular liquid metal: %% renders as m (meter), not as Hg \unit{mercury} %% renders as mm·m, not as mmHg \unit{millimetermercury} This is strange, since both “mercury” and “millimetermercury”

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 03.12.2023 um 16:33: On 11/22/23 18:03, Wolfgang Schuster wrote: Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. dr. van der Meer, your sample works for me if you

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 22:23: On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: Use the \definetypeface command to load the math font. Math fonts always use special settings or load additional settings which are missing when you use \definefontfamily. \definetypeface

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 20:43: Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works \definefontf

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Wolfgang Schuster
Hans van der Meer schrieb am 22.11.2023 um 21:22: The problem persists. Here the new logfile. 1. What is the version of your Luametatex binary?     luametatex --version     This is LuaMetaTeX, Version 2.10.11 2. What do you get in your log-file with the following example!     \starttext    

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 22.11.2023 um 20:55: When \externalfigure could not find the file it used to graciously place a rectangle kindly telling the user that the file has not been found. But now, however, it seems the default in this case is a crash. Very annoying in compa

[NTG-context] Re: marginwidths

2023-11-22 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins. see next example. So how to adapt the page to for example: [leftmargin 40mm][middle what

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
madiazm.eo...@gmail.com schrieb am 19.11.2023 um 23:17: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with se

[NTG-context] Re: unwanted blank page

2023-11-19 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 19.11.2023 um 11:56: I should have a first page without pagenumber and pagenumbers on the subsequent ones. However the MWE here introduces an unwanted blank page from the call to \setuppagenumbering[state=start]. And the \setuppagenumbering has to co

[NTG-context] Re: How can I use \naturalnumbers

2023-11-12 Thread Wolfgang Schuster
Ursula Hermann schrieb am 12.11.2023 um 17:54: Dear List, I would like to use the \integers.  I would like to use the commands in Text and also in Formulars. How to write in the right way? I have: \starttext \naturalnumbers {N} stoptext 1. You have to use math mode. 2. You need the \mathblac

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Wolfgang Schuster
Kumar Appaiah schrieb am 03.11.2023 um 11:44: Dear Friends, I am a regular user of ConTeXt. A recent upgrade of ConTeXt in Debian broke things for me. The bug report is here: https://bugs.debian.org/1055233 but I have reproduced the gist here: Upon upgrading to ConTeXt 2023.05.05.20230730+dfs

[NTG-context] Re: typearea

2023-10-29 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 29.10.2023 um 12:13: Am 29.10.23 um 11:37 schrieb Thomas Meyer: Hi, I'm new to ConTeXt and try to use the module typearea (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea). But the example doesn't work: The module is from 2008,

[NTG-context] Re: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Wolfgang Schuster
Mikael Sundqvist schrieb am 28.10.2023 um 16:14: Hi, I cannot reproduce it, and I do not see a white line in your file. Maybe I look at the wrong place. Neither do I see a white line in the pdf. Which OS and PDF reader do you use and have you checked with a different reader? Wolfgang

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Wolfgang Schuster
Csikos Bela schrieb am 20.10.2023 um 14:53: Hello: Protrusioin doesn't work in framed environment. This is a short code: \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \showframe \starttext \input tufte \blank \framed[frame=off,location

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Wolfgang Schuster
Csikos Bela schrieb am 15.10.2023 um 15:51: Hello: I would like to make a long numbered itemize list, where the numbers increase up to three digits. I would like the numbered labels aligned to the right and the widest label's left side located at the left margin. I tried the below code but the

[NTG-context] Re: Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Wolfgang Schuster
Marco Patzer schrieb am 03.10.2023 um 12:31: Hi! I struggle using the unit Farad (unit of capacitance): The unit "farad" exists. \starttext %% prints 10 10 ft \unit{10 F} \unit{20 ft} \registerunit [F=Farad] \setupunittext [Farad=F] %% prints 10 F 20 F⋅t \unit{10 F} \unit{20 ft} \stopte

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 26.09.2023 um 20:32: On 9/26/23 12:52, gerard.degreve wrote: Hello Pablo, Just try to do this : \setupitemgroup [itemize][1] [ before={\blank[.125th]}, after={\blank[.125th]}\strut] Hi Gerard, this also works with \null, but not well with small dimensions: \s

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Wolfgang Schuster
Jean-Pierre Delange schrieb am 23.09.2023 um 20:37: Thanks to Pablo, Hraban and Wolfgang for their advice. Precisely, I've never had any problems before with installing additional fonts for CTX with MS Windows : it usually "works". That's why I was wondering... So I'm going to put the extra f

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 23.09.2023 um 20:05: Am 23.09.23 um 14:40 schrieb Jean-Pierre Delange: Dear list, I have a very simple question, perhaps too simple... I've installed CTX on MSWindows x64, but I can't use the fonts I've installed, despite the command: set OSFONTDIR=c:\windows\fon

[NTG-context] Re: \underbar in head

2023-09-21 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 07:01: However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything else

[NTG-context] Re: \underbar in head

2023-09-20 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 05:03: Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar{text

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Wolfgang Schuster
Jeroen schrieb am 16.09.2023 um 22:28: This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First Titl

[NTG-context] Re: Using structureuservariables before the heading

2023-09-14 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 23:32: You need a box to get the author on a separate line. % \define[2]\ChapterCommand %   {\vbox %  {\structureuservariable{author} %  \blank %  #1\space#2}} \starttexdefinition protected ChapterCommand #1#2   \vbox\bgroup     \stru

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:38: *Von:*Wolfgang Schuster *Gesendet:* Dienstag, 12. September 2023 21:30 *An:* Maier, Denis Christian (UB) *Cc:* ntg-context@ntg.nl *Betreff:* Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:24: *Von:*Wolfgang Schuster *Gesendet:* Dienstag, 12. September 2023 20:41 *An:* mailing list for ConTeXt users ; Maier, Denis Christian (UB) *Betreff:* Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 17:47: Hi, is it possible to access a structureuservariable before the heading’s title ? Using the «before» key does not seem to work. There are ways but not in a general way because you try to access the values before they are known to ConTeX

[NTG-context] Re: \dontleavethemode

2023-09-12 Thread Wolfgang Schuster
Ursula Hermann schrieb am 12.09.2023 um 11:19: Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, wid

[NTG-context] Re: Reduce space between lines in Natural Tables

2023-09-11 Thread Wolfgang Schuster
Jeroen schrieb am 10.09.2023 um 22:05: Is there an easy way to reduce the line space between rows in a natural table so the table takes less vertical space. Natural tables and extreme tables take extra vertical space because the table cell use the framed-mechanism which add a small margin on a

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 22:34: Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject sho

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 20:11: Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what I

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.09.2023 um 13:09: Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which was added for this purpose. Thank you! You’re right

[NTG-context] Re: Text runs out of Verbatim Frame

2023-09-08 Thread Wolfgang Schuster
Jeroen schrieb am 08.09.2023 um 13:09: I am using the following to print some verbatim text in a frame. At the right side, it keeps running out of the frame, is there a way to prevent this with the MWE? This verbatim frame always is textwidth, is there a way for a single frame just for if the s

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.09.2023 um 12:22: Hi, for an involved image placement (full page image starting each chapter, several stacked elements), I’d like an environment that accepts key-value arguments, like \startMyFigure[page=left,title={My caption}] \externalfigure[dummy]… \stopM

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
Jeroen schrieb am 04.09.2023 um 14:10: I have a document with the first page in startfrontmatter and all other pages in  startbodymatter. The layout setting is as following [...] What would be the easiest way to change the layout only for the first page since it has no footer. For the first p

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Wolfgang Schuster
Lukas via ntg-context schrieb am 04.09.2023 um 13:33: Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross t

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-03 Thread Wolfgang Schuster
jbf schrieb am 04.09.2023 um 08:34: I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6, Secti

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.09.2023 um 12:35: [...] Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I know I should know better, but I‘m stuck at this): \definefontfamily[mainface][rm][DejaVu Sans] [sl≃style:bf] You're using the wrong symbol (you have a math ope

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.09.2023 um 11:53: On 9/2/2023 11:45 AM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 02.09.2023 um 10:25: Dear list, I have the following sample (using current latest from 2023.08.27 13:48):    \setupinteractionscreen[option=max]    \definefontfamily[maf][rm

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.09.2023 um 10:25: Dear list, I have the following sample (using current latest from 2023.08.27 13:48): \setupinteractionscreen[option=max] \definefontfamily[maf][rm][DejaVu Sans] [sl={style:tf, features:{default,slanted}}] \setupbodyfont[maf, 8pt]

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 30.08.2023 um 20:15: Hi all, esp. module authors! I went through the list of modules on https://modules.contextgarden.net/ (dl/) and the list that controls module installation for “--script install-modules". I removed all font-related modules from the list (not

[NTG-context] Re: An strange error with section and page

2023-08-27 Thread Wolfgang Schuster
Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. : > What is the state of this problem? > Is it some deadline here? > > I need to have a "production" document in mid september to show to my > students. > Can you please make a "push" in this topic. > Just update your installation, the problem

[NTG-context] Re: Question about building an array of values with Lua

2023-08-24 Thread Wolfgang Schuster
Otared Kavian schrieb am 24.08.2023 um 12:50: On 24 Aug 2023, at 06:03, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: […] I would drop the column check in this case.     for i = 0,9 do     context.startxrow()     context.s

[NTG-context] Re: Question about building an array of values with Lua

2023-08-23 Thread Wolfgang Schuster
Otared Kavian schrieb am 24.08.2023 um 01:04: Hi Fabrice, As Wolfgang points out, it is indeed possible to fill-in your table with Lua: maybe you were wondering how to fill the columns 2, 3 and 4. In this case you need to use the Lua function math.mod as in the following, which is a completed

<    1   2   3   4   5   6   7   8   9   10   >