[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 20.09.2024 um 04:57: I have a document that's quite long. It uses a recurse function, a bit like this: \starttext     \dostepwiserecurse{1}{180}{1}{%    \input chapter\recurselevel } \stoptext That produces 180  chapters of content. Anyway, my boss is

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Wolfgang Schuster
Gerion Entrup schrieb am 18.09.2024 um 14:44: Am Dienstag, 17. September 2024, 20:36:23 MESZ schrieb Gerion Entrup: Hi, I want to typeset a table where some of the column headings are really long, while in the columns itself consists only of numbers. Therefore, my idea was to rotate the column

[NTG-context] Re: (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Wolfgang Schuster
Felix schrieb am 16.09.2024 um 16:24: [...] This code shows how I am getting the default spacing between the words from itemize, description, and the spacing between the roman numeral and the section title. I tried figuring out how to get the spacing for all of these to be set to a single spa

[NTG-context] Re: Interline spacing in tabulate paragraphs

2024-09-15 Thread Wolfgang Schuster
Kirill Davidov schrieb am 15.09.2024 um 20:01: Ah, that helps. Then, one more question. I assume line=2.8ex is equivalent to single line spacing, yes? Do I therefore naively multiply that by, say, 1.5 to get 1.5 line spacing? Thanks! Yes, the default value is 2.8ex and the medium, big and numer

[NTG-context] Re: Interline spacing in tabulate paragraphs

2024-09-15 Thread Wolfgang Schuster
Florent Michel schrieb am 15.09.2024 um 17:44: Hello, It's probably not the best solution, but it seems to work on my side if I replace `big` by `2em`; see code below. When the whole document needs a larger interlinespace     \setupinterlinespace[big] is the wrong method and     \setupinte

[NTG-context] Re: Margins using 2UP imposition schema

2024-09-15 Thread Wolfgang Schuster
Angel M Alganza schrieb am 14.09.2024 um 19:08: Hello: I'm composing an A5 booklet printed on an A4 paper using the 2UP imposition schema.  I believe, in such case, margins should be controlled using 'backspace' and 'cutspace' options of the \setuplayout command, but I'm afraid I don't quite

[NTG-context] Re: (ConTeXt LMTX 2024, monospace font) Why does monospaced text go out of the margin for me? is this supposed to happen?

2024-09-14 Thread Wolfgang Schuster
Felix schrieb am 14.09.2024 um 06:40: https://pastebin.com/2ce1xSYf The code linked above has 3 paragraphs. One in TImes New Roman, the other in Aptos and the last in Aptos Mono. The paragraph with \tt seems to go over my margin of .5 inches for the left and right side of my doc., but the ser

[NTG-context] Re: ConTeXt LMTX 2024, \setupalign: Is the "Nicer justification and microtypography" list of options listed in ConTeXt Garden now obselete?

2024-09-14 Thread Wolfgang Schuster
Felix schrieb am 14.09.2024 um 06:13: When I try to use a combination (example = \setupalign[normal,extremestretch,verytolerant,hangingboth,fullhz,hyphenated,] ) and just normal I seem to be getting the same result when I try to load in a big paragraph. However, there is an obvious difference

[NTG-context] Re: Indentation in headings

2024-09-14 Thread Wolfgang Schuster
Kirill Davidov schrieb am 14.09.2024 um 08:59: Greetings, As per Russian GOST standards, numbered section headings are flush left and start with the paragraph indent. Is there a proper way to indent a section heading? The code simulates what I want visually, but it unfortunately causes the headi

[NTG-context] Re: ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-13 Thread Wolfgang Schuster
Felix schrieb am 13.09.2024 um 08:02: Hello Wolfgang, so if I follow your code examp,e what if I were to edit my code to be like this: \definefontfeature[generalfeatures][default][ kern=yes, % enables kerning extrakerns=yes, % enables extra kerning trep=yes, % Enables single and

[NTG-context] Re: collector advice

2024-09-12 Thread Wolfgang Schuster
jbf schrieb am 12.09.2024 um 04:21: Using the example in the ConTexT wiki for "collectors", I have as follows, to credit the person who took the photo: \setupcaption[number=no] \definecollector[example] \setcollector [example] {\leftaligned{\externalfigure[bird.jpg][width=5cm,frame=off]}}

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-11 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 11.09.2024 um 04:22: Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of the box. I run your

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 11.09.2024 um 00:35: On 10 Sep 2024, at 19:47, Wolfgang Schuster wrote: You can't use page counters in running text without problems because you're working against the way how TeX constructs pages. The only reliable way are multipass solutions like the

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 10.09.2024 um 06:05: 1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number to determine if it's

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 09.09.2024 um 23:27: On 9 Sep 2024, at 08:57, ai2472206...@yeah.net wrote: As the title suggests, how do I get the correct page numbers? There does seem to be an anomaly here. Simpler MWE: \starttext \dorecurse{15}{ \input knuth %{\ssd\color[red]{\pagenumber}} % not

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 10.09.2024 um 06:05: 1. The usage of the command "\definepagestate " is what I searched for in previous posts and source files. I don't know exactly how he used it. (╥﹏╥) 2. I've devised a command that needs to get the current page number to determine if it's

[NTG-context] Re: What could possibly be wrong with 'P'?

2024-09-09 Thread Wolfgang Schuster
jbf schrieb am 10.09.2024 um 02:36: Here is a really odd one that I have a simple workaround for, but for the life of me I cannot work out why this is happening. Is 'p' (or 'P') some sort of restricted letter in certain circumstances? Here is the issue: \startdocument [metadata:author={Aut

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-09 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 09.09.2024 um 09:57: Thank to all who answered my questions before. As the title suggests, how do I get the correct page numbers? For example, in the example below, the first line on the 2nd page, but the page number showed is 1, In the meantime, I tried using \de

[NTG-context] Re: Is \not still supported?

2024-09-08 Thread Wolfgang Schuster
Hans Hagen schrieb am 08.09.2024 um 20:21: On 9/8/2024 5:19 PM, Wolfgang Schuster wrote: Hi, is the \not command still supported in math mode or should users replace it with the combined form, e.g. \notin instead of \not\in. begin example \starttext \im{x \in M} \im{x \notin M

[NTG-context] Is \not still supported?

2024-09-08 Thread Wolfgang Schuster
Hi, is the \not command still supported in math mode or should users replace it with the combined form, e.g. \notin instead of \not\in. begin example \starttext \im{x \in M} \im{x \notin M} \im{x \not\in M} \stoptext end example Wolfgang

[NTG-context] Re: Steps to become a ConTeXt developer

2024-09-08 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 28.08.2024 um 20:18: On 8/28/2024 5:06 PM, Henning Hraban Ramm wrote: There’s also the scite module that uses SciTE’s lexers for syntax highlighting. The builtin highlighters are limited to TeX/ConTeXt, MetaPost, Lua and XML. They are actually just lpeg le

[NTG-context] Re: ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-07 Thread Wolfgang Schuster
Felix schrieb am 05.09.2024 um 22:58: https://pastebin.com/245uwYj4 I have this setup for my fonts, called myfonts. I assume that `\definefontfeature [default] [default] [trep=yes,dlig=yes,itlc=yes]` will affect every single font that goes into my preamble (Forgive me if I seem incompetent,

[NTG-context] Re: \ldot and \ldotp not working

2024-09-04 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 04.09.2024 um 05:58: Hi, With context 2024.08.16 the following gives an error: \starttext $A \ldot B$ \stoptext tex error > tex error on line 2 in file ./test.tex: Control sequence expected instead of undefined $A \ldot B$ Same error with `\ldotp`

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-09-03 Thread Wolfgang Schuster
Jürgen Hanneder via ntg-context schrieb am 31.08.2024 um 17:27: I recently learned not to leave a space before and after \reference , but have not seen further complex problems as you describe so far. Can you give more specific examples for these, I have to check, because I am also finalising

[NTG-context] Re: Combining styles (especially bold and italic)

2024-09-03 Thread Wolfgang Schuster
Gerion Entrup schrieb am 03.09.2024 um 18:28: Hi, I have the situation that I want to typeset a special formatted name within a section heading. The name contains an italic part while the heading is bold, but both styles are defined at another place. Is there a way to tell ConTeXt to combine t

[NTG-context] Re: (ConTeXt LMTX) How do I fix the centering and setting up width in xtables?

2024-09-02 Thread Wolfgang Schuster
Felix schrieb am 01.09.2024 um 20:54: https://pastebin.com/TQdzmxeP I am trying to make a resume in ConTeXt (to see how well my skills have gotten, I am still quite a beginner) and Iw as able to produce what is in Pastebin. Though, I am having trouble with the table that goes over the big size

[NTG-context] Re: (ConTeXt LMTX) How do I fix the centering and setting up width in xtables?

2024-09-01 Thread Wolfgang Schuster
Felix schrieb am 01.09.2024 um 20:54: https://pastebin.com/TQdzmxeP I am trying to make a resume in ConTeXt (to see how well my skills have gotten, I am still quite a beginner) and Iw as able to produce what is in Pastebin. Your next lesson is to learn how to create a minimal example which con

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-08-31 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 31.08.2024 um 16:37: I had to place \reference[]{} in various places in my document as I need to refer to page numbers of a lot of various items in the document. There are hundreds of these. When placing them, I hadn't realized it would impact the document design

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-29 Thread Wolfgang Schuster
Jim schrieb am 29.08.2024 um 21:19: Hans (et al), I'm a couple of days late to this party, but none of the above suggestions give me any italic correction. I updated my ConTeXt today, but the fact that the first one doesn't work didn't surprise me, given your last sentence. However, since the s

[NTG-context] Re: Defining mathsymbols from unicode char

2024-08-29 Thread Wolfgang Schuster
Jethro Djan schrieb am 29.08.2024 um 21:27: Dear all, 1. I am trying to define the "pitchfork" unicode character(https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["22D4] It works with

[NTG-context] Re: Help with Metapopst code

2024-08-28 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 28.08.2024 um 12:23: I don't know where you found the code, but the answer to "What is (0, r) rotated (a *i) doing?" is that it takes the point (0,r) and rotates it a*i degrees. I do not understand the concept of rotating a point. It is rotated with respect to what

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Wolfgang Schuster
Gerion Entrup schrieb am 27.08.2024 um 23:29: Am Dienstag, 27. August 2024, 22:30:16 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 27.08.2024 um 21:28: Hi, I played around with different fonts, especially Bitstream XCharter and Overpass (http://overpassfont.org/) and wanted to

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Wolfgang Schuster
Gerion Entrup schrieb am 27.08.2024 um 21:28: Hi, I played around with different fonts, especially Bitstream XCharter and Overpass (http://overpassfont.org/) and wanted to combine them. However, I see some issues regarding ligatures, kerning and obliques/italics. Here is a minimal example: ```

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.08.2024 um 15:35: In this " A small note, with source". As Mikael already wrote, the example use Antykwa Torunska for the text but when you take a look at the end of the source you find the following note: On the next few pages we show the result after compili

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.08.2024 um 15:04: Hello, I read this very good document and it says that it was written with the Pagella font. I use this font with a simple \setupbodyfont[pagella,11pt] but I find that the rendering is not the same as on the document, it is less  nice especially

[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.08.2024 um 20:14: Am 26.08.24 um 17:57 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t

[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise. Could you enlighten me? \namedheadnumber{chapter} W

[NTG-context] Re: digits / units setup

2024-08-25 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 24.08.2024 um 20:59: Am 24.08.24 um 20:38 schrieb Henning Hraban Ramm: According to docs, \setupunit[method=3] should change the rendering of numbers in \unit{10,123.99 mm} or \digits{10,123.99} to “10\,123,99”, but it doesn’t. \setdigitmode{3} works, though.

[NTG-context] Re: [ how to remove speae before (and after) \startitemize ?

2024-08-25 Thread Wolfgang Schuster
vm via ntg-context schrieb am 25.08.2024 um 14:36: Any hint as how to remove the automatic default space before and after \startitemize and have equal line spacing between all text lines? \starttext one two three \startitemize[packed] \startitemize[packed,joinedup] or \startitemize[packed][

[NTG-context] Re: understanding units / dimensions

2024-08-25 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 25.08.2024 um 13:45: At the meeting I noted a few units that I didn’t know about, while I already knew many. * general units: in, m, cm, mm (ft?) * typographical units: pt, dd, bp, pc, cc, sp * font related: em, ex, fs, fa, fd, fc, ch * layout related: pw, ph, tw,

[NTG-context] Re: Any way to forbid boldface for a section of text?

2024-08-25 Thread Wolfgang Schuster
Wolfgang Schuster schrieb am 24.08.2024 um 17:49: Denis Maier via ntg-context schrieb am 24.08.2024 um 08:25: You could define a specific typescript for that without a definition for bold. Below is an implementation of your suggestion which gets rid of all font styles for serif, sans serif

[NTG-context] Re: Any way to forbid boldface for a section of text?

2024-08-24 Thread Wolfgang Schuster
Denis Maier via ntg-context schrieb am 24.08.2024 um 08:25: You could define a specific typescript for that without a definition for bold. Below is an implementation of your suggestion which gets rid of all font styles for serif, sans serif and monospace fonts. \starttypescript [serif,sans,m

[NTG-context] Re: Problem with Cambria

2024-08-16 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.08.2024 um 10:52: I’m not sure if "cambmath" or "cambria.ttf" relates to "cambria.ttc". When Cambria was released you had two ways to get the fonts:     1. As part of your windows (or was it office?) installation.     2. You bought a end user license from Asc

[NTG-context] Re: Problem with Cambria

2024-08-16 Thread Wolfgang Schuster
Lutz Haseloff schrieb am 16.08.2024 um 09:47: Hi Hans, hi all, the latest ConTeXt lmtx seems to have a problem with MS Cambria. My file is: \setupbodyfont[cambria] \definefont[symbola][file:symbola*default at 10pt] \starttext \startMPpage[offset=1dk] draw textext("AC{\symbola ⚡}DC"); \stopMPpa

[NTG-context] Re: problem with location={right,high} in latest LMTX

2024-08-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.08.2024 um 23:11: There seems to be a regression with sidefloats: """ \useMPlibrary[dum] \starttext \startplacefigure[title={problem},location={right,high}] \externalfigure[dummy][width=.3\textwidth] \stopplacefigure \samplefile{ward} \stoptext """ Line 115

[NTG-context] Re: Missing \endcsname inserted error

2024-08-13 Thread Wolfgang Schuster
Jeong Dal via ntg-context schrieb am 13.08.2024 um 21:21: Hi, I draw a figure using MetaFun and insert it \startplacefigure and \stopplacefigure. (Sample file is listed below) But, I got an error as following: Missing \endcsname inserted [...] \starttext \startplacefigure[location=none,\titl

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 13.08.2024 um 17:40: On 8/13/2024 4:49 PM, fm117...@students.panola.edu wrote: Hello, ConTeXt mailing list! I have a question regarding a difference in the code that I have which uses the same paper size and margin settings, and also the same indentation ru

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 13.08.2024 um 17:40: On 8/13/2024 4:49 PM, fm117...@students.panola.edu wrote: Hello, ConTeXt mailing list! I have a question regarding a difference in the code that I have which uses the same paper size and margin settings, and also the same indentation

[NTG-context] Re: Nāgarī for Academics

2024-08-10 Thread Wolfgang Schuster
Otared Kavian schrieb am 10.08.2024 um 17:56: On 10 Aug 2024, at 11:59, Jürgen Hanneder via ntg-context wrote: Does it work if you say {\language[sa]yoga} That's it!! Hi Jürgen, You may also define a command like (or a shorter name…) \define[1]\sanskrit{\start\language[sa]#1\stop} \d

[NTG-context] Re: How to allow hyphenation, only for footnotes?

2024-08-10 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 10.08.2024 um 16:54: My copy editor urged me to remove all hyphens from the main text of my document. I'm using: \definefontfeature[default][default][expansion=quality,protrusion=quality] \start \setupalign[nothyphenated,tolerant,hz,hanging] (text) \stop Is

[NTG-context] Re: Nāgarī for Academics

2024-08-10 Thread Wolfgang Schuster
Jürgen Hanneder via ntg-context schrieb am 10.08.2024 um 11:10: Dear Richard, Are you after a Context version of something such as Xetex Devanagari? https://github.com/wujastyk/xetex-devanagari Indeed. In my XeTeX publications settling the font was quite straightforward: \usepackage{polyg

[NTG-context] Re: Nāgarī for Academics

2024-08-08 Thread Wolfgang Schuster
Jürgen Hanneder via ntg-context schrieb am 08.08.2024 um 13:07: The text below works, thanks for the help! But there is one more problem. I could not find an elegant method to set the language of the document to English without disabling Nagari. If one adds \setupbodyfont[minion] the Nagari pa

[NTG-context] Re: Error after latest update

2024-08-06 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 06.08.2024 um 21:17: LuaMetaTeX 2.11.03 20240517 + ConTeXt LMTX 2024.05.17 16:32 I had a copy of this older version and the cell handling was different back then. Still the correct way to add filler symbols in a matrix is the \HF command which has two optional

[NTG-context] Re: Error after latest update

2024-08-06 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 06.08.2024 um 19:30: Hi, I still do not know why it stopped working after the latest update. Which version was your last one you used? Just because it worked without an error message before doesn't mean your input is the right  way. Especially when you have to p

[NTG-context] Re: Error after latest update

2024-08-06 Thread Wolfgang Schuster
Mikael Sundqvist schrieb am 06.08.2024 um 18:27: Hi, On Tue, Aug 6, 2024 at 5:57 PM Shiv Shankar Dayal wrote: I have defined a determinant environment like below: \definemathmatrix[determinant] [matrix:bars] [simplecommand=thedeterminant] and I create a

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 02.08.2024 um 18:36: On 8/2/24 16:41, Wolfgang Schuster wrote: [...] The example below shows which predefined margin blocks rely only on margindata where you can change the alignment with \etupmargindata and also the ones which require

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Wolfgang Schuster
Gerion Entrup schrieb am 02.08.2024 um 14:10: Am Freitag, 2. August 2024, 07:42:29 MESZ schrieb Pablo Rodriguez via ntg- context: On 8/2/24 01:13, Gerion Entrup wrote: Ok, I think I understand that in principal. Thanks for the explanation. Can I somehow know in advance that a margin note makes

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
Gerion Entrup schrieb am 01.08.2024 um 17:19: Am Donnerstag, 1. August 2024, 16:36:06 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 01.08.2024 um 16:20: Am Donnerstag, 1. August 2024, 16:13:23 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 01.08.2024 um 14:28: Hi, I

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
Gerion Entrup schrieb am 01.08.2024 um 16:20: Am Donnerstag, 1. August 2024, 16:13:23 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 01.08.2024 um 14:28: Hi, I want to make a two sided document with margin notes. The notes should not be hyphenated and always aligned to the inner

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
Gerion Entrup schrieb am 01.08.2024 um 14:28: Hi, I want to make a two sided document with margin notes. The notes should not be hyphenated and always aligned to the inner text body. However, I did not get this to work. It hyphenates and the alignment is only correct at even pages. Do you know

[NTG-context] Re: combining float counters

2024-07-31 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 31.07.2024 um 20:43: Hi, I defined new float types for special figure/caption placement, but would like to use the general figure counter. I didn’t find a setup for that. How can I do this? pseudocode: \setupfloat[myfigure][   counter=figure, ] \useMPlibrary[d

[NTG-context] Re: MetaPost background

2024-07-23 Thread Wolfgang Schuster
alan.caruanam...@gmail.com schrieb am 23.07.2024 um 20:29: Hello, I need the background (lines and points) to be inside (tangent) of the frame, I don't know how to do it \startuseMPgraphic{fullheightbackground} fill unitsquare xyscaled (OverlayWidth, OverlayHeight) withcolor "gray" ;

[NTG-context] Re: About a pagination

2024-07-23 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 23.07.2024 um 08:57: Hi, I'm trying to get the same pagination as in the attached photos. The images are missing. Wolfgang ___ If your question is of interest to others as well, please

[NTG-context] Re: spacing in columns

2024-07-23 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 23.07.2024 um 11:36: The first screenshot has its items neatly stacked and is made with \startsimplecolumns[n=2] \placenotes[endnote] \stopsimplecolumns The second screenshot has its items wide apart and is made wi

[NTG-context] Re: Install urbanist fonts

2024-07-22 Thread Wolfgang Schuster
Jean-Pierre Delange schrieb am 22.07.2024 um 12:29: As Taco suggested, the best way to install new fonts on MS Windows (and other OSes) is to tell ConTeXt where they are located. On Windows, fonts are usually found in /Fonts. But you still need to purge the font cache and regenerate it so that

[NTG-context] Re: documenting itemize specials

2024-07-07 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 07.07.2024 um 10:54: Hi, * can anyone give me an example where \noitem makes sense? This is why the command exists: \starttext \startitemize[repeat,n][width=0pt] \noitem \startitemize[a,broad] \item First item \item Second item \stopitemize \noitem \st

[NTG-context] Re: processor for index sub-entry?

2024-07-07 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 05.07.2024 um 22:36: Hi, is it possible to apply a processor to an index sub-entry? \index{Modules+\type{filter}} looks good, but "filter" is sorted under "type". \defineprocessor[type][style=mono] \index{Modules+type->filter} results in a "Modules / type->filter"

[NTG-context] Re: How to specify a default formatting for TABLE

2024-07-01 Thread Wolfgang Schuster
Gerion Entrup schrieb am 01.07.2024 um 23:56: Hi, I want to format a bunch a tables with the same formatting. It seems that specifying the \setupTABLE commands as part of the preamble works. However, I need some tables that are formatted in another way. Is there a generic way to specify this?

[NTG-context] Re: Flowcharts

2024-06-29 Thread Wolfgang Schuster
Otared Kavian schrieb am 29.06.2024 um 14:36: Thanks Wolfgang ! I added the hint to the wiki: https://wiki.contextgarden.net/Flow_Charts Out of curiosity, why should one say \startFLOWcell[background=color,backgroundcolor=red] ... \stopFlowcell while \startFLOWcell[backgroundcolor=red] … \stop

[NTG-context] Re: No roman numerals in frontmatter header

2024-06-29 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 29.06.2024 um 10:10: Am 29.06.24 um 06:49 schrieb jbf: But if I change to \setuppagenumbering[location= ], and choose, for example: \setupheadertexts     [ ]    [{\getmarking[chapter]\hskip1em \pagenumber}]     [{\pagenumber \hskip1em \documentvariable

[NTG-context] Re: Flowcharts

2024-06-28 Thread Wolfgang Schuster
Otared Kavian schrieb am 28.06.2024 um 19:23: A second try… Hi all, Is it possible to have different background colors for different cells in flow charts ? For instance in the following example, is it possible to have a particular color for each cell ? \startFLOWcell[background=color,backgr

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-28 Thread Wolfgang Schuster
Gerion Entrup schrieb am 28.06.2024 um 11:40: Do you know, why the groupedcommand solution does not work? The command and the environment which are created by \definestartstop can't be interchanged when you use the before/after and left/right keys. begin example \usemodule[visual] \de

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-27 Thread Wolfgang Schuster
Gerion Entrup schrieb am 25.06.2024 um 08:41: Am Dienstag, 25. Juni 2024, 00:09:09 MESZ schrieb Wolfgang Schuster: Gerion Entrup schrieb am 24.06.2024 um 23:57: Am Montag, 24. Juni 2024, 21:20:19 MESZ schrieb Aditya Mahajan: On Mon, 24 Jun 2024, Gerion Entrup wrote: Hi, I was in the

[NTG-context] Re: Letter module broken?

2024-06-26 Thread Wolfgang Schuster
Kip Warner schrieb am 26.06.2024 um 21:08: On Wed, 2024-06-26 at 08:31 +0200, Henning Hraban Ramm wrote: Hey Henning, I’ve no problems with the module in LMTX 2024.06.18 or 2024.06.21, neither with my usual letters nor with the example. Usually, there should be some log lines that tell you ab

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Wolfgang Schuster
Gerion Entrup schrieb am 24.06.2024 um 23:57: Am Montag, 24. Juni 2024, 21:20:19 MESZ schrieb Aditya Mahajan: On Mon, 24 Jun 2024, Gerion Entrup wrote: Hi, I was in the process to convert an itemize part to a description and wanted to simplify the code in the same move. I discovered headcomm

[NTG-context] Re: Spacing within combinations

2024-06-22 Thread Wolfgang Schuster
Michael Guravage schrieb am 22.06.2024 um 18:17: Greetings, The attached MWE combines 12 images in  a 3 by 4 grid; with horizontal and vertical spacing set by setupcombinations. I have two questions. First, can someone please tell me why the vertical spacing is not applied between the first

[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-19 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 19.06.2024 um 21:55: Am 19.06.24 um 19:16 schrieb Pablo Rodriguez via ntg-context: Would you be so kind to test the attached document (and the one you may generate from the sample source) hovering over the link frames in Acrobat (ideally DC updated to latest)? At

[NTG-context] Re: Arranging bullets within tabulate and itemize

2024-06-19 Thread Wolfgang Schuster
Lukas via ntg-context schrieb am 19.06.2024 um 17:19: Hello, here is a simple code: [...] I cannot find out how to arrange the tabulate bullets straight above those of itemize, so how to supress the left indeting, to get: Foo • Aaa Aa • Bbb Bb Foo • Ttt Tt • Uuu Uu How do I achieve t

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 17.06.2024 um 19:30: Am 17.06.24 um 19:07 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 17.06.2024 um 18:46: Am 17.06.24 um 18:16 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 17.06.2024 um 14:03: When discussing verses or other texts

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Wolfgang Schuster
Gerion Entrup schrieb am 17.06.2024 um 13:04: Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster: [...] Wolfgang I tried to combine this with the code of the mail thread: "setuphead in connection with the command argument" but had not luck. ConTeXt always

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 17.06.2024 um 18:46: Am 17.06.24 um 18:16 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 17.06.2024 um 14:03: When discussing verses or other texts that have distinct line breaking, I need line numbering to adhere to that, even if some lines are too

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 17.06.2024 um 14:03: When discussing verses or other texts that have distinct line breaking, I need line numbering to adhere to that, even if some lines are too long and need breaking. Is that possible? In my example below the 3rd line is too long and gets line n

[NTG-context] Re: expanded doif's

2024-06-17 Thread Wolfgang Schuster
Hans van der Meer schrieb am 17.06.2024 um 09:01: I want to show an errormessage when the macro is undefined. It requires expansion of \xmlatt{#1}{name}. \ifdefined\xmlatt{#1}{name} didn't worked nor \expandafter\ifdefined I thought of the expanding \doif's. See the attached output of this xmls

[NTG-context] Re: expanded doif's

2024-06-16 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 16.06.2024 um 22:29: I  remember there was an incantation to work with expanded doif's etc. In this case I need \doifelsedefined{ARG} with ARG expanded. I lost the exact spelling of the command and dldn't find it in the garden. What was it? Can you

[NTG-context] Re: Math manual

2024-06-16 Thread Wolfgang Schuster
skyhorse--- via ntg-context schrieb am 16.06.2024 um 18:59: Mikael Sundqvist wrote: ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf Sorry about my locational ignorance, but wh

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Wolfgang Schuster
Gerion Entrup schrieb am 14.06.2024 um 11:01: Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: \startsetups[question:intro] \setupparagraphintro[first][\bold{Answer:} ] \blank \stopsetups \defineenumeration[question][ alternative=top, text

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-13 Thread Wolfgang Schuster
Gerion Entrup schrieb am 13.06.2024 um 13:41: Hi, is there a way to automatically prefix the text body in an enumeration? Consider this example: ``` \defineenumeration[question][ alternative=top, text=Question, title=yes, titleleft=, titleright=,

[NTG-context] Re: dimen 100.0pt not 100.0pt?

2024-06-10 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 10.06.2024 um 15:46: The I do not understand. I am testing if a dimension set can be checked against the expected value. It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result? \scratchdimen=100pt\r

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Wolfgang Schuster
Gerion Entrup schrieb am 10.06.2024 um 13:16: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured" commands but they

[NTG-context] Re: Scale notation base on current font

2024-06-08 Thread Wolfgang Schuster
seyal zavira schrieb am 08.06.2024 um 17:09: Thanks sorry for incomplete example the code below shows the problem better: \setupinteraction[state=start] \definenote[Mynote][location=text,before={},] \setupnote[Mynote]     [location=left,      textcommand={\tfa \raise 0.2ex\hbox},     ] \defi

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Wolfgang Schuster
Denis Maier via ntg-context schrieb am 08.06.2024 um 09:14: Pablo Rodriguez via ntg-context > hat am 07.06.2024 21:41 CEST geschrieben: Again, xml-mkiv.pdf is documenting the way of handling XML in ConTeXt and it has to be written that way. It is part of our task (the

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Wolfgang Schuster
Alan Braslau schrieb am 07.06.2024 um 16:21: I have *never* understood how this works and, in fact, have always done weird stuff like explicitly putting a nbps before double punctuation (:;) in my document sources. I do this as it makes the sources much more readable, preventing my text editor fr

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Wolfgang Schuster
Peter Münster schrieb am 07.06.2024 um 13:31: On Thu, May 30 2024, Peter Münster wrote: \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext bla \quotation{OK} bla\\ bla «OK» bla \startquotation Not Ok: a space is missing \stopquotation \stoptext It seems, that this workaro

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Wolfgang Schuster
Gerion Entrup schrieb am 06.06.2024 um 12:30: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule \blank[1

[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 06.06.2024 um 14:48: Hi, I am testing some of my old styles on latest context and find that the background key of \startbackground and \starttextbackground doesn't work (\framed is working as expected). Here is a MWE: 1. \starttextbackground isn't based on \framed a

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 05.06.2024 um 16:03: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} You can use \definehighlight to create a custom command for a style. The case where you want a slash before the text you have to

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
Jim schrieb am 04.06.2024 um 21:29: On Tue, Jun 4, 2024 at 20:31 (+0200), Taco Hoekwater wrote: On 4 Jun 2024, at 20:16, Wolfgang Schuster wrote: Jim schrieb am 04.06.2024 um 19:48: I did not realize the wiki software did that. On reflection I suppose that is useful in many (most

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
Jim schrieb am 04.06.2024 um 19:48: I did not realize the wiki software did that. On reflection I suppose that is useful in many (most?) cases. But I'd argue that it is not always a good thing, such as in this case. (If nothing else, it might mislead a n00b into thinking that you should get o

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
Jim schrieb am 04.06.2024 um 18:01: Hi, When I run Example 1 given there, I get three bullet symbols, but no "column N ..." text. Note that the \starttext is *after* the \startitemize ... \stopitemize Q1: Is my ConTeXt installation broken, or is the wiki page showing output

[NTG-context] Re: Draft vertical text in margins

2024-06-03 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 03.06.2024 um 11:35: you can try 'setuptext' and '\setuptexttexts' to put "draft" in margin.and use 'orientation' to change direction. \defineframed[marginframe] [width=max, height=max, style=\ss,

  1   2   3   4   5   6   7   8   9   10   >