[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Wolfgang Schuster
Florent Michel schrieb am 25.09.2024 um 00:17: Hi, After looking at it a bit more, one solution can be found in the accepted answer to this question: https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context The following example is slightly

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Florent Michel
Wed, Sep 25, 2024 at 3:52 AM Florent Michel > wrote: > > > > Hi, > > > > After looking at it a bit more, one solution can be found in the > accepted answer to this question: > https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabi

[NTG-context] Re: How to change the way one input file's data is displayed, depending on where it is in the document.

2024-09-25 Thread Bruce Horrocks
t; > fileA.tex-- > > \datatypeA{fish}{an animal that lives in the sea} > \datatypeA{bear}{a big animal with claws and fur} > \datatypeA{squid}{a sea creature with many legs} > > fileB.tex-- > > \datatypeB{fish}{an animal that lives in the sea} >

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Shiv Shankar Dayal
Much thanks Florent. It works really well, perhaps you should add it to wiki. On Wed, Sep 25, 2024 at 3:52 AM Florent Michel wrote: > > Hi, > > After looking at it a bit more, one solution can be found in the accepted > answer to this question: > https://tex.stackexchange.co

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-25 Thread Tommaso Gordini
Le 25/09/2024 à 12:42, Henning Hraban Ramm a écrit : > > Am 25.09.24 um 10:54 schrieb Shiv Shankar Dayal: > >>> Why do you ask Hans about my book? > >>> > >>> It’s a general manual about ConTeXt (MkIV/LMTX), at the moment at 498 > >>> pages,

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-25 Thread Jean-Pierre Delange
about my book? It’s a general manual about ConTeXt (MkIV/LMTX), at the moment at 498 pages, but only in German (to be published in the DANTE series at Lehmann’s). Will there be an English version? I would like to buy one. Thank you, but probably not. It will be enough work to keep the German

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-25 Thread Henning Hraban Ramm
Am 25.09.24 um 10:54 schrieb Shiv Shankar Dayal: Why do you ask Hans about my book? It’s a general manual about ConTeXt (MkIV/LMTX), at the moment at 498 pages, but only in German (to be published in the DANTE series at Lehmann’s). Will there be an English version? I would like to buy one

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-25 Thread Shiv Shankar Dayal
> Why do you ask Hans about my book? > > It’s a general manual about ConTeXt (MkIV/LMTX), at the moment at 498 > pages, but only in German (to be published in the DANTE series at > Lehmann’s). Will there be an English version? I would like to buy one. -- Respect, Shi

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-25 Thread Henning Hraban Ramm
, but only in German (to be published in the DANTE series at Lehmann’s). I try to keep most of the information also in English in the wiki. Hraban ___ If your question is of interest to others as well, please add an ent

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-25 Thread Tommaso Gordini
Hello everyone. I have a question for Hans: will Hraban's book deal with specialist issues or will it be, so to speak, a general manual on LMTX? Thank you in advance Tommaso Il mar 24 set 2024, 10:14 Hans Hagen ha scritto: > On 9/24/2024 9:14 AM, Henning Hraban Ramm wrote: > >

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Florent Michel
Hi, After looking at it a bit more, one solution can be found in the accepted answer to this question: https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context The following example is slightly adapted from Marco's answer: ``` \usemodule[

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Florent Michel
\def\romanpage{\convertnumber{romannumerals}{\userpage}} \setupuserpagenumber[ numberconversion=romannumerals, viewerprefix=\romanpage -, ] \dorecurse {6} \ipsum \stoptext ``` In section 2, pages are shown with roman numerals in the document and as (roman numerals)-(arabic numerals) in the ou

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Shiv Shankar Dayal
> Did you try a different PDF viewer? The display of the PDF outline > probably depends on the viewer. I used Evince and Okular(I am on Linux) and both work for LaTeX generated pdfs. > Maybe try > \enabledirectives[references.bookmarks.preroll] > or > \setupheads[expansion=yes] Tried both but th

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Henning Hraban Ramm
Am 24.09.24 um 16:14 schrieb Shiv Shankar Dayal: The problem is that PDF Outline does not show roman numerals. It shows page numbers in arabic numerals. Sorry, I misunderstood. I don’t know and can’t find any documentation on that. Did you try a different PDF viewer? The display of the PDF

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Shiv Shankar Dayal
> Try > \setupuserpagenumber[numberconversion=romannumerals] > > Instead of “romannumerals” you can also use r, R, or, or RK. > > If you meant “Arabic” numerals, try n, N, o, or zero. The problem is that PDF Outline does not show roman numerals. It shows page numbers

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Henning Hraban Ramm
Am 24.09.24 um 14:05 schrieb Shiv Shankar Dayal: Hi all, I want to switch page numbering from roman(which is typical in frontmatter) to roman. I also want these to appear in PDF outline. Can someone provide an MWE? It’s a bit unclear what your problem is. Try \setupuserpagenumber

[NTG-context] Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Shiv Shankar Dayal
Hi all, I want to switch page numbering from roman(which is typical in frontmatter) to roman. I also want these to appear in PDF outline. Can someone provide an MWE? -- Respect, Shiv Shankar Dayal ___ If your

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-24 Thread Hans Hagen
On 9/24/2024 9:14 AM, Henning Hraban Ramm wrote: There are some introductions linked in https://wiki.contextgarden.net/ Documentation Manuals written for MkIV still apply to LMTX, even if there are sometimes better alternatives to some constructs. I don’t think plain TeX literature like

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-24 Thread Henning Hraban Ramm
There are some introductions linked in https://wiki.contextgarden.net/Documentation Manuals written for MkIV still apply to LMTX, even if there are sometimes better alternatives to some constructs. I don’t think plain TeX literature like Knuth’s TeXbook or Eikhout’s TeX by topic makes sense

[NTG-context] Re: As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as

2024-09-23 Thread Shiv Shankar Dayal
The easiest way is going through Wiki and manuals and their sources in the distribution. After that perhaps learn TeX from one of the textbooks like TeXBook, TeX by Topic and TeX for Impatient. For Metapost the manuals are quite extensive and their are many resources listed on Wiki. On Tue, Sep

[NTG-context] As a person with very basic LaTeX skills, no experience with programming languages and an interest in LMTX (I have been coding extremely basic LMTX), how do I properly learn LMTX as a be

2024-09-23 Thread Felix
I have an interest in learning the newest edition of ConTeXt, but I am not sure if there is anything that could even guide a beginner wanting to learn the newest edition of ConTeXt (I believe MKIV and LMTX are regarded as being quite different). I want to get out of the habit of using AI to make st

[NTG-context] How to change the way one input file's data is displayed, depending on where it is in the document.

2024-09-23 Thread Joel via ntg-context
I have some code like this--it is a very reduced minimum-working example, from 10,000+ lines of code: fileA.tex-- \datatypeA{fish}{an animal that lives in the sea} \datatypeA{bear}{a big animal with claws and fur} \datatypeA{squid}{a sea creature with many legs

[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-22 Thread 黄复雄
Thanks! Best regards, Huang Fusyong On Sun, Sep 22, 2024 at 5:54 PM Hans Hagen wrote: > > On 9/22/2024 2:31 AM, 黄复雄 wrote: > > Sorry for re-asking this question by replying to myself; after many > > trials, I am sure this is a real problem. > > Any hints are much appreciated. > > i'll fix it but

[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-22 Thread Hans Hagen
On 9/22/2024 2:31 AM, 黄复雄 wrote: Sorry for re-asking this question by replying to myself; after many trials, I am sure this is a real problem. Any hints are much appreciated. i'll fix it but be careful with messing at that level Hans ---

[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-21 Thread 黄复雄
Sorry for re-asking this question by replying to myself; after many trials, I am sure this is a real problem. Any hints are much appreciated. Regards, 黄复雄(Huang Fusyong) On Mon, Sep 16, 2024 at 11:52 AM 黄复雄 wrote: > > Hello, dear Hans. > > I have a Lua module that doesn't w

[NTG-context] appendaction in "shipouts" "after" fails in the latest version

2024-09-15 Thread 黄复雄
Hello, dear Hans. I have a Lua module that doesn't work in the latest version 2024.08.16 16:30. After investigation, I found that the errors first occurred in the appendaction. It could be appended normally in the version 2024.04.01 08:59, but failed in the latest version. So, I made a mi

[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 Kirill Davidov
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! ___ If your question is of inte

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

2024-09-15 Thread Florent Michel
Thank you Wofgang for the clarification and information! (And indeed using 4ex makes more sense than my 2em! I must be too used to systems which don't define ex...) Best regards, Florent Le dim. 15 sept. 2024 à 18:14, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Florent Mic

[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: Interline spacing in tabulate paragraphs

2024-09-15 Thread Florent Michel
kstra \NC\AR \NC Importanter word \EQ not much else here. \NC\AR \stoptabulate \stopdocument ``` Best regards, Florent Le dim. 15 sept. 2024 à 16:13, Kirill Davidov a écrit : > Greetings, > > Is there a way to set interline spacing in tabulate environments? The > table's paragrap

[NTG-context] Interline spacing in tabulate paragraphs

2024-09-15 Thread Kirill Davidov
Greetings, Is there a way to set interline spacing in tabulate environments? The table's paragraphs do not seem to obey \setupinterlinespace like the rest of the text does. Code to toy with: \startdocument \setupinterlinespace[big] \input lorem \starttabulate[|k0r|k0xp|][EQ={---}] \NC

[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 Kirill Davidov
On 9/14/24 12:41, Wolfgang Schuster wrote: > You have to use the narrow environment and apply it with the > beforehead and afterhead command and in addition enable the aligntitle > option. > > Wolfgang Yeah, that does seem

[NTG-context] Re: Indentation in headings

2024-09-14 Thread Wolfgang Schuster
heading to poke out into the margins. That can be troublesome if the title is long enough. Example code to tinker with: [...] You have to use the narrow environment and apply it with the beforehead and afterhead command and in addition enable the aligntitle option. begin example

[NTG-context] Indentation in headings

2024-09-14 Thread Kirill Davidov
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 heading to poke out into the margins. That can be trou

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

2024-09-13 Thread Felix
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 between me entering (just) flushleft

[NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)

2024-09-10 Thread Hans Hagen
' cannot be opened for writing I run into no problems with using sumatra or okular, but Adobe Acrobat free seems to have this problem. Is there a way to fix this? The way I run context on windows is by making the doc in vscode (no extension, just plain vscode), compiling in Windows Termi

[NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)

2024-09-10 Thread Jim
; opened for writing > I run into no problems with using sumatra or okular, but Adobe Acrobat free > seems to have this problem. Is there a way to fix this? The way I run context > on windows is by making the doc in vscode (no extension, just plain vscode), > compiling in Windows Te

[NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)

2024-09-09 Thread Joseph Wright
problems with using sumatra or okular, but Adobe Acrobat free seems to have this problem. Is there a way to fix this? The way I run context on windows is by making the doc in vscode (no extension, just plain vscode), compiling in Windows Terminal and using a pdf viewer to then view stuff. Acroba

[NTG-context] How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)

2024-09-09 Thread Felix
ar, but Adobe Acrobat free seems to have this problem. Is there a way to fix this? The way I run context on windows is by making the doc in vscode (no extension, just plain vscode), compiling in Windows Terminal and using a pdf viewer to th

[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

[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

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

2024-09-01 Thread Felix
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 sized text that would be my name. It has

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread Pablo Rodriguez via ntg-context
• pagebreaking by sectioning manually the content of a page Many thanks for your reply, M U. As you wrote, this is also a way of manually dealing with the page. I’m afraid that your proposal works better with verse than with prose, since this also affects line breaking inside the paragraph. In

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
Pablo Rodriguez wrote: > Hans, > > I wonder whether MkXL may have page registers for footnotes. > > This would be great to have page glossaries, such as in > https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w... > (first apparatus). > > To b

[NTG-context] Re: for loop not working in metapost

2024-08-30 Thread Shiv Shankar Dayal
> try "dashed evenly" instead of just "dashed". > Thanks. It works nicely. -- Respect, Shiv Shankar Dayal ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-contex

[NTG-context] Re: for loop not working in metapost

2024-08-30 Thread Mikael Sundqvist
Hi, try "dashed evenly" instead of just "dashed". /Mikael (did not test...) On Fri, Aug 30, 2024 at 1:24 PM Shiv Shankar Dayal wrote: > > Hi, > > I have plotted a log function and I want to draw an xy axis grid. > Below is the code > > \starttext > \startMPcode > draw function(1,"x", "log(x)",

[NTG-context] for loop not working in metapost

2024-08-30 Thread Shiv Shankar Dayal
Hi, I have plotted a log function and I want to draw an xy axis grid. Below is the code \starttext \startMPcode draw function(1,"x", "log(x)", .1, 10, .01) scaled 1cm; for i = 0 upto 10: draw (i*cm, -5cm) -- (i*cm, 5cm) dashed; endfor; for i = -5 upto 5: draw (0, i*cm) -- (10cm, i*cm) dashe

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

2024-08-29 Thread Jim
On Thu, Aug 29, 2024 at 23:04 (+0200), Wolfgang Schuster wrote: > 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 doe

[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: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-29 Thread Jim
On Tue, Aug 27, 2024 at 09:07 (+0200), Hans Hagen wrote: > On 8/26/2024 8:32 PM, cont...@vladimirgrbic.com wrote: >> Hello, >> I started using ConTeXt LMTX 2 days ago and after some initial testing I >> noticed an unexpected behavior regarding italic correction. >>

[NTG-context] registers in footnotes as page glossaries

2024-08-29 Thread Pablo Rodriguez via ntg-context
Hans, I wonder whether MkXL may have page registers for footnotes. This would be great to have page glossaries, such as in https://geoffreysteadman.com/wp-content/uploads/2017/08/lysiascrito-24aug17w.pdf#page=16 (first apparatus). To be fair, I have asked that a while ago (with MkIV). It would

[NTG-context] Re: Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].

2024-08-28 Thread Hans Hagen via ntg-context
On 8/28/2024 10:05 AM, ai2472206...@yeah.net wrote: hi , Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. what I envisaged: https://imgse.com/i/pAAkfjf I've found someone who has asked a similar question, just a combination of the two functions : lmt_outline[

[NTG-context] Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].

2024-08-28 Thread ai2472206007
hi , Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. what I envisaged: https://imgse.com/i/pAAkfjf I've found someone who has asked a similar question, just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question. question

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

2024-08-27 Thread Marcus Vinicius Mesquita
ontextRuntimeFont1 … ContextRuntimeFont17. I'm curious to know what they > > are. > as the names indicates ... they are runtime generated ... they can coem > from verious assemblies, like extensible delimiters, tweaked glyphs, > generated from metapost glyphs, glyphs made from various pieces, etc

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

2024-08-27 Thread Hans Hagen
On 8/27/2024 5:20 PM, Vladimir Grbić wrote: Thank you all, I am looking forward to it being fixed. keep in mind that there is no italic correction in open type fonts so we use (in lmtx) different trickery which is why we also have left correction; there is also some enabled 'autro

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

2024-08-27 Thread Vladimir Grbić
d after some initial testing I > > noticed an unexpected behavior regarding italic correction. > > > > In short, I cannot seem to produce italic correction like I could in plain > > TeX or even LaTeX. > > There are three ways: > > the{\sl air\/}port > > t

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

2024-08-27 Thread Hans Hagen via ntg-context
rious assemblies, like extensible delimiters, tweaked glyphs, generated from metapost glyphs, glyphs made from various pieces, etc. but are in the end just characters (in type 3 format) Hans - Hans

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

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

2024-08-27 Thread Marcus Vinicius Mesquita
Couvreur > wrote: > > > > 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 > &

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

2024-08-27 Thread Fabrice Couvreur
In this " A small note, with source". Le mar. 27 août 2024 à 15:23, Mikael Sundqvist a écrit : > Hi, > > On Tue, Aug 27, 2024 at 3:08 PM Fabrice Couvreur > wrote: > > > > Hello, > > I read this very good document and it says that it was written with th

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

2024-08-27 Thread Mikael Sundqvist
document, it is less > nice especially in the writing of the theorems with the text in italic. > Imaginary impression or reality ? > Thanks. > Fabrice If you talk about the ones in the Enunciation chapter, then they are indeed set with Pagella (unless I did some mistake). The exam

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

2024-08-27 Thread Wolfgang Schuster
especially in the writing of the theorems with the text in italic. Imaginary impression or reality ? Which page/section of the manual you're referring to? Wolfgang ___ If your question is of interest to others as well, p

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

2024-08-27 Thread Fabrice Couvreur
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 in the writing of the theorems with the text in

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

2024-08-27 Thread Hans Hagen
On 8/26/2024 8:32 PM, cont...@vladimirgrbic.com wrote: Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX

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

2024-08-26 Thread Bruce Horrocks
> On 26 Aug 2024, at 19:32, cont...@vladimirgrbic.com wrote: > > Please confirm if this, in fact, is the issue/bug or if I am not approaching > this correctly. I am brand new to ConTeXt, so it could be me. Thank you in > advance! It seems as though it used to work (see &l

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

2024-08-26 Thread contact
Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX. I've asked the question on TeX StackExchange and an

[NTG-context] horizontal line in math align environment

2024-08-26 Thread niklas
\underline{}`, but it wont span across multiple columns. I’ve heard of `\noalign`, but I couldn’t find any helpful resources on it, and my attempts to use it were unsuccessful. In LaTeX, the desired outcome would be something like this: ``` \begin{equation*} \begin{split} x &= 1

[NTG-context] Re: Strange extra space when using cases in an inner align in math

2024-08-25 Thread Mikael Sundqvist
rion > > Am Dienstag, 20. August 2024, 12:41:45 MESZ schrieb Mikael Sundqvist: > > Hi, > > > > There is indeed a space added in this case. But you do not need n=3. > > And in fact, you do not need a simplealign either, but can use an > > ordinary align, with location=

[NTG-context] Re: Strange extra space when using cases in an inner align in math

2024-08-25 Thread Gerion Entrup
Hi Mikael, your examples are simpler, that is correct, but all of them have the extra space. Thanks for the simpler code, I will integrate it! Gerion Am Dienstag, 20. August 2024, 12:41:45 MESZ schrieb Mikael Sundqvist: > Hi, > > There is indeed a space added in this case. But you do

[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
, % Center the section titles ] % it seems that when I make this into setupheads and delete the first square braket set it will not result in what I want \startsetups document:start \centerline{\documentvariable{title}} \centerline{\documentvariable{author}} \centerline{\docu

[NTG-context] How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get any re

2024-08-22 Thread Felix
] % it seems that when I make this into setupheads and delete the first square braket set it will not result in what I want \startsetups document:start \centerline{\documentvariable{title}} \centerline{\documentvariable{author}} \centerline{\documentvariable{date}} \blank[line

[NTG-context] Re: Strange extra space when using cases in an inner align in math

2024-08-20 Thread Mikael Sundqvist
Hi, There is indeed a space added in this case. But you do not need n=3. And in fact, you do not need a simplealign either, but can use an ordinary align, with location=packed. It looks like you had the wrong number of \NC. I hope the examples below help, the last one is merely for Hans for

[NTG-context] Strange extra space when using cases in an inner align in math

2024-08-20 Thread Gerion Entrup
Hi, I currently have the case of a strange extra space in math mode when using cases in inner align. Here is a MWE to demonstrate the problem: ``` \definemathsimplealign[inneralign] \startdocument \startformula \startalign \NC a = b \NR \NC \NC

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Pablo Rodriguez via ntg-context
On 8/19/24 17:11, Felix wrote: > Hello mikail, I would send a picture to be more clear with what I > want but it seems to not be possible Hi Felix, attachments to the list should be less than 100kb. If you generate your image as a PNG file, it should fit in that file size. I attach sample

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Felix
Hello mikail, I would send a picture to be more clear with what I want but it seems to not be possible, what adding the footer=.5in code does is simply take away .5in from the bottom margin, what I mean is that The bottom margin really just becomes 1in because the footer takes up .5in from the m

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Mikael Sundqvist
Hi, I am not sure I understand what you want, but if you change footer=0in to footer=.5in and then add \setuppagenumbering [location=footer] you will get pagenumbers in the footer. If you need to tweak your layout more, it might be helpful to add \showframe to get a hint on how the page is

[NTG-context] Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-18 Thread Felix
hat I want; everything that is included in the preamble that affects the sizing and alignment, but I want a bottom centered page number that is vertically aligned (it doesn't have to be perfect but I think context can oroabbly do that? I'm a complete novice, sorry). Would greatly appreci

[NTG-context] Bug Regarding IIalic Correction in ConTeXt LMTX

2024-08-17 Thread Vladimir Grbić
Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX. I've asked the question on TeX StackExchange and an

[NTG-context] Re: how to set OSFONTDIR to find font under the path com_apple_MobileAsset_Font7 in macOS ?

2024-08-17 Thread ai2472206007
I apologize for my carelessness, after I added / after path. everything worked fine. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://ma

[NTG-context] how to set OSFONTDIR to find font under the path com_apple_MobileAsset_Font7 in macOS ?

2024-08-17 Thread ai2472206007
hi,lists In macOS, some fonts (e.g klee, stkaiti ,lihei) will be downloaded under the path --> /System/Library/AssetsV2/com_apple_MobileAsset_Font7/, and I set the system font environment like: --> export OSFONTDIR=/Library/Fonts/:/System/Library/Fonts:$HOME/Library/Fonts:/System/L

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

2024-08-15 Thread Henning Hraban Ramm
Am 14.08.24 um 23:24 schrieb Wolfgang Schuster: Line 1154 in strc-flt.mkxl: \def\strc_floats_analyze_variables_two   {... -    \ifinset\v!high    \floatlocation\global  \plusone  \fi +    \ifinset\v!high    \floatlocation\global\c_page_sides_skipmode \plusone  \fi \ifinset\v

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

2024-08-14 Thread Wolfgang Schuster
text """ Line 1154 in strc-flt.mkxl: \def\strc_floats_analyze_variables_two   {... -    \ifinset\v!high    \floatlocation\global  \plusone  \fi +    \ifinset\v!high    \floatlocation\global\c_page_sides_skipmode \plusone  \fi \ifinset\v!low \floatlocatio

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

2024-08-14 Thread Henning Hraban Ramm
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 """ results in tex error >

[NTG-context] Re: Breakable tcolorbox in ConTeXt

2024-08-11 Thread Florent Michel
change.com/questions/377234/context-frame-problems/377261#377261 > < > https://tex.stackexchange.com/questions/377234/context-frame-problems/377261#377261>), > the following code works well if there is no more than one box per page: > > > > ``` > > You're missin

[NTG-context] Re: Breakable tcolorbox in ConTeXt

2024-08-11 Thread Hans Hagen via ntg-context
377261#377261>), the following code works well if there is no more than one box per page: ``` You're missing a feature: this is the original trick: if multilocs[i] == 1 : % begin elseif multilocs[i] == 2 : % between elseif multilocs[i] == 3 : % end fi ; and in lmtx we have if

[NTG-context] Breakable tcolorbox in ConTeXt

2024-08-11 Thread Florent Michel
Hi, I am trying to reproduce the behaviour of the tcolorbox LaTeX package, more specifically breakable boxes (as illustrated here: https://tex.stackexchange.com/a/676607/123770). It works nicely out of the box (pun intended) using `\definetextbackground` and drawing the frame with MetaPost, using

[NTG-context] language not working in transliteration?

2024-08-08 Thread Pablo Rodriguez via ntg-context
] \transliterationexception[serbian to latin] {whatever}{(\currentlanguage): } \starttransliteration[MySerbian]% whatever А \stoptransliteration \transliteration[MySerbianX]{whatever А} \stoptext In both cases, current language is main language (in the sample above, "it"

[NTG-context] Re: vertical position of \overparent in concrete math

2024-08-05 Thread Mikael Sundqvist
Hi, On Mon, Aug 5, 2024 at 2:21 PM fv leung wrote: > > I have a formula involving \overparent to be typeset in kpfonts and concrete. > > There is no problem with kpfonts. But the \overparent in concrete is just too > high. I can adjust the position with [distance=-1ex] . Is the

[NTG-context] vertical position of \overparent in concrete math

2024-08-05 Thread fv leung
I have a formula involving \overparent to be typeset in kpfonts and concrete. There is no problem with kpfonts. But the \overparent in concrete is just too high. I can adjust the position with [distance=-1ex] . Is there a better way to adjust the position? Like using goodies (don't kno

[NTG-context] Re: placement of float captions in margin

2024-08-01 Thread Henning Hraban Ramm
Am 01.08.24 um 16:48 schrieb Henning Hraban Ramm: Hi, I think this related to Gerion’s problem, but I don’t want to occupy the thread. I’m trying to get captions in the (inner) margin. With the setup below it works for left (even) pages; on right pages, the caption is placed beside the image

[NTG-context] Re: Wiki in Mobile(?) format

2024-08-01 Thread Gerion Entrup
ki.contextgarden.net" link. > > However, the mobile view is not feature complete (colors and renderings are > > missing). > > There is a link at the bottom of each wiki page. Its label is either “Mobile > view” (in your firefox) or “Desktop” (in your Qutebrowser). I am sure

[NTG-context] placement of float captions in margin

2024-08-01 Thread Henning Hraban Ramm
Hi, I think this related to Gerion’s problem, but I don’t want to occupy the thread. I’m trying to get captions in the (inner) margin. With the setup below it works for left (even) pages; on right pages, the caption is placed beside the image, but over the text and not in the margin. (Yes

[NTG-context] Re: Wiki in Mobile(?) format

2024-08-01 Thread Taco Hoekwater
gs are > missing). There is a link at the bottom of each wiki page. Its label is either “Mobile view” (in your firefox) or “Desktop” (in your Qutebrowser). I am sure you can guess what clicking on it does. :) Best wishes, Taco _

[NTG-context] Wiki in Mobile(?) format

2024-08-01 Thread Gerion Entrup
Hi, since a few weeks I have the problem that I get the mobile(?) view for the wiki, when I open a "wiki.contextgarden.net" link. However, the mobile view is not feature complete (colors and renderings are missing). This only happens in Qutebrowser (maybe it sets a header wrong).

[NTG-context] Re: lua error in `back-exp.lmt`

2024-07-31 Thread Jacob Kauffmann via ntg-context
in December 2023. Is anybody else running into this issue? Were you able to solve it? Any help would be highly appreciated! Best wishes, Jacob Kauffmann > Am 29.05.2024 um 16:27 schrieb Sylvain Hubert : > > ConTeXt LMTX version: 2024.05.27 18:16 > > Sample tex file: > >

[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: spacing in columns

2024-07-23 Thread Hans van der Meer via ntg-context
lank=1pt] >> \placenotes[endnote] >> \stopcolumns >> Question: how do I get rid of the interline space in the last case. >> Whatever I fill in for blank= doesn't make a difference, the output is >> always the same. > > Did you try \setupnote[footnote

[NTG-context] Re: spacing in columns

2024-07-23 Thread Henning Hraban Ramm
\startcolumns[n=2,blank=1pt] \placenotes[endnote] \stopcolumns Question: how do I get rid of the interline space in the last case. Whatever I fill in for blank= doesn't make a difference, the output is always the same. Did you try \setupnote[footnote][n=2] t

  1   2   3   4   5   6   7   8   9   10   >