[NTG-context] Re: ck hyphenation in old German orthography

2024-03-17 Thread Wolfgang Schuster
Hraban Ramm schrieb am 17.03.2024 um 12:06: Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban \mainlanguage[deo] \setuplanguage[deo][  

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote

[NTG-context] Re: can we do binding correction?

2024-03-17 Thread Wolfgang Schuster
Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work with arranging (imposition) or can I enable it

[NTG-context] Re: Japanese

2024-03-16 Thread Wolfgang Schuster
Otared Kavian schrieb am 14.03.2024 um 14:48: Dear Emmanuel, Thank you for your reply: indeed I understand your approach, which is quite efficient. I am not at all good in coding, so I naively thought there would be a way for your setup to retrieve the information it needs from what the user

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 15.03.2024 um 20:50: When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext %\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \NC

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 13.03.2024 um 23:27: After many hours of trial-and-error, I was able to recreate the problem in a minimum working example: file main.tex only contains: \starttext     \index{birds}     \index{insects}     \input secondary     \placeindex \stoptext file

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
Emanuel Han via ntg-context schrieb am 10.03.2024 um 17:43: Hi all, I added https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout with attached working example code and to-do list. Thanks for any contributions! The working

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 10.03.2024 um 10:46: On 3/10/2024 9:32 AM, Pablo Rodriguez via ntg-context wrote: On 3/9/24 16:04, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: [...]     \enableexperiments[fonts.compact] Which seeems weird

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth }

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: On 3/8/24 19:09, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: [...] LMTX gets b, c and d in slanted form. LuaTeX gets only b and c in slanted form. [...] I get b and d in italic which

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality},

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

2024-03-07 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:17: On 3/6/24 19:50, Wolfgang Schuster wrote: [...] Could you write the first line in plain language? Look at the second example of the Lua code in the example below for each command (the first example is your version), the third

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

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:11: [...] \startxmlsetupsxml:meta %\aftergrouped{\setupinteraction% \setupmetadata [author={\xmlconcat{#1}{/h2[contains(@class,'author')]}{, }}] %} \stopxmlsetups Use \expanded. \startxmlsetups xml:meta

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:11: On 3/6/24 17:35, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: [...] I wonder whether this requires a minimal sample to be fixed. Yes, a minimal example would help because \setupmetadata

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

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 20:00: On 2/28/24 19:28, Wolfgang Schuster wrote: [...] \def\beforequadruplenumber#1% {\ifcase\numexpr#1+1;4\relax \number\numexpr#1+4\relax \else \number\numexpr#1+3-#1;4\relax \fi} Sorry for not having

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: On 3/6/24 15:54, Hans Hagen wrote: [...] \setupmetadata [title=FooBar] that's for those who go global Many thanks for the new command, Hans. I‘m afraid this new command breaks my compilation. The error message isn’t very

[NTG-context] Re: missing metadata in LMTX

2024-03-05 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 07:17: On 3/4/24 01:18, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. [...] I can confirm the issue and it happens

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 04.03.2024 um 21:24: The \showsymbolset has no output any more, apparently already for some time. I checked on COW (ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23) and my local installation (ConTeXt ver: 2024.02.22 18:31 LMTX fmt: 2024.2.22). Can someone

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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}]

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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  

[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  

[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

[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

[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

[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

[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

[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

[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

[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)]   

[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

[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

[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,

[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}

[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{}

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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}

[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:

[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

[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

[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

[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

[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

[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    

[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

  1   2   3   4   5   6   7   8   9   10   >