[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context wrote: > In placing \externalfigure[file] I observe the figure is placed with > its bottom on the baseline, thus: > > [externalfigure] > --- baseline > > I looked

[NTG-context] placing \externalfigure

2023-11-12 Thread Hans van der Meer via ntg-context
In placing \externalfigure[file] I observe the figure is placed with its bottom on the baseline, thus: [externalfigure] --- baseline I looked into the option list of setupexternalfigure but could not find one whereby the location with respect to the baseline

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
it doesn’t work with most editors. (I was thinking about a translating wrapper script, but didn’t do anything yet.) AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s workflow. indeed texshop uses the approach that avoids the library and just calls mtxrun to figure out

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-02 Thread Vincent Hennebert
alternatives and design sizes (the latter being available in the Serif style only). Comments welcome. If it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. I have no tiem now to figure out this (somewhat excessive) amount of fonts - hopefully we will not end up

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-01 Thread Hans Hagen via ntg-context
in the Serif style only). Comments welcome. If it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. I have no tiem now to figure out this (somewhat excessive) amount of fonts - hopefully we will not end up in a world where all fonts have many weights which makes

[NTG-context] Re: typearea

2023-10-29 Thread Thomas Meyer
typearea] 95 \setupTypeArea[bcor=0mm,alphabets=3.1] 96 \setuppagenumbering[alternative=doublesided] 97 \starttext 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} 99 \stoptext A number should have been here; I inserted '0'. (If you can't figure out why I needed to

[NTG-context] typearea

2023-10-29 Thread Thomas Meyer
=doublesided] 97 \starttext 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} 99 \stoptext A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context |

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Keith McKay
w rectangle; Hope this helps. Best Wishes Keith On 07/10/2023 16:54, Fabrice Couvreur wrote: Hi, Sorry for the late response. Thanks for the help. So I read the documents and managed to get a gradient even if it's not exactly like the figure. Fabrice draw lmt_shade [               pat

[NTG-context] Re: Gray gradient with Metapost

2023-10-07 Thread Fabrice Couvreur
Hi, Sorry for the late response. Thanks for the help. So I read the documents and managed to get a gradient even if it's not exactly like the figure. Fabrice draw lmt_shade [ path = (z0--z4--z5--z1--cycle), direction = "left", alternative

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
. So not "an inconsistent mess" -- at least not as far as Arabic-script typography is concerned. (Yes, for the upcoming Husayni I can add a font feature that does the trick, but that will be an exception to the rule.) Perhaps others who use Arabic-script or Indic, etc., c

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
important to have -- even inescapable for Arabic-script piblishing. a bit subjectiev arguing -) Perhaps others who use Arabic-script or Indic, etc., can chime in.. Am hopeful that we can figure something out! sore, but not with 'ins

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
The upshot is that, for non-Latin scripts, some toggling capability in ConTeXt is important to have -- even inescapable for Arabic-script piblishing. Perhaps others who use Arabic-script or Indic, etc., can chime in.. Am hopeful that we can figure something out! Best wishes Idris -- Idris Samawi Ha

[NTG-context] rotation weirdness

2023-09-16 Thread Hans van der Meer via ntg-context
that the call to \rotate is the culprit.I enclose an MWE with a little jpeg figure as illustration. yours sincerelydr. Hans van der Meer\def\formattitle#1{\color[\boxtitlecolor]{#1\strut}}\def\boxfigurerotate#1#2{% \rotate[rotation=10]% {% \externalfigure[#1]% [rulethickness=4pt,width=100pt,height=50pt

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

2023-09-09 Thread Jim
Hi Wolfgang, On Sat, Sep 9, 2023 at 23:12 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 09.09.2023 um 22:34: >> Wolfgang, >> thanks very much for your help. As a long-time plain TeX user, but a >> ConTeXt n00b, that would have taken me a long time to figure

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

2023-09-09 Thread Jim
Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject shows up in the contents. I tried

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

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

[NTG-context] Re: XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread Hans Hagen via ntg-context
like the string for rendering in the 'unknown figure' drop in and after another catch the { } were not shown ... Anyway, with a little magic i can now at least make this work but it needs testing with existing documents because it's not like we can update the xml stuff every thiem we have yet

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Hamid,Idris
Mathias' minion.lfg (and associated type-imp-minion) until just now, had to figure it all out from scratch from demo.lfg and lm.lfg templates -) (OTOH, had previously seen yours and Mikael's sophisticated minion-math.lfg) I think that my version is/will be more complete - except for mathemat

[NTG-context] new upload

2023-08-15 Thread Hans Hagen
1.23pt \newdimen \FooB \FooB 12.3pt \protected\def\FooC {\the\dimexpr\FooA +\FooB\relax} So you can now figure how 'cx' is defined in a dynamic way. Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
\symbol's for rotation, so perhaps better to stick with \symbol's for scaling as well (you know best). Now that the \symbol's for the glottals have been defined with your second template, I need to figure out where/how to plug them into the CLD based on your first template. Best wishes Idris -- Pr

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 3:49 PM -0600, Hans Hagen , wrote: > you'll figure it out, right? I hope so and I'm working on it -- with your help -) > the demo shows both: x/.y scaling and 90/180/270 rotation Yes, here is what I have so far: == % % Hans' original template % \start

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hans Hagen
the templates that you provided - many, many thanks! - have what is needed to care of everything except for two characters: 02BE and 02BF. you'll figure it out, right? For one of those two remaining characters we also need scaling, for the other we also need scaling + rotation

[NTG-context] Re: Pass string into text background graphic

2023-08-11 Thread Hans Hagen
eded. So below is a solution. When you cross pages with a frame you need to make sure the text is done once. I let you figure that out (after all you came this far so i guess you know). For historic reasons (mkii / performance) it's not the easiest mechanism. % We store each one indepe

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
Thanks Hans! Le 4/08/23 à 23:21, Hans Hagen a écrit : On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection

[NTG-context] Re: Using

2023-08-04 Thread Hans Hagen
On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem

[NTG-context] Using

2023-08-04 Thread Alex Leray
Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \stoppoem

[NTG-context] Re: caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
the figure. If I set location=innermargin, then the caption is beside the image, i.e. somewhere at the edge. If I don’t, I can’t get it to move to the left edge of the image. How can I do that? see mikaels bachotex presentation Well, sorry, but it doesn’t cover my case. It shows: * \textwidth floats

[NTG-context] Re: caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
the figure. If I set location=innermargin, then the caption is beside the image, i.e. somewhere at the edge. If I don’t, I can’t get it to move to the left edge of the image. How can I do that? see mikaels bachotex presentation https://www.gust.org.pl/bachotex/2023-pl/presentations/msundqvist-1-2023

[NTG-context] Re: caption for moved sidefloat in the margin

2023-07-30 Thread Hans Hagen
On 7/30/2023 2:37 PM, Henning Hraban Ramm wrote: Hi again, I’m reading through the details manual and set up some figures as sidefloats that are offset to the margin. This works well. Now I’d like to have their captions in the margin, below the figure. If I set location=innermargin

[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
Hi again, I’m reading through the details manual and set up some figures as sidefloats that are offset to the margin. This works well. Now I’d like to have their captions in the margin, below the figure. If I set location=innermargin, then the caption is beside the image, i.e. somewhere

[NTG-context] \version[temporary] fatal error

2023-07-23 Thread Jacob Kauffmann via ntg-context
n here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context | fatal error: return code: 1 signature.asc Description: Message signed wit

[NTG-context] Re: OSFONTDIR

2023-07-20 Thread Pablo Rodriguez
took me some >> head scratching to figure out why every run complained about missing >> glyphs until I saw that ConTeXt was using the wrong font. I had to set >> the variable OSFONTDIR to some value to prevent this from happening. So >> my question is: is looking

[NTG-context] Re: Suppress label in captions without suppressing number

2023-07-20 Thread Hans Hagen
On 7/20/2023 5:30 PM, denis.ma...@unibe.ch wrote: Hi, is there an option to suppress the label in captions without suppressing the number as well? I know, I can use \setuplabeltext[de][figure=,], but this will delete the label text globally... Is there a better way via \setupcaption

[NTG-context] Suppress label in captions without suppressing number

2023-07-20 Thread denis.maier
Hi, is there an option to suppress the label in captions without suppressing the number as well? I know, I can use \setuplabeltext[de][figure=,], but this will delete the label text globally... Is there a better way via \setupcaption? Best, Denis

[NTG-context] Re: OSFONTDIR

2023-07-19 Thread Hans Hagen via ntg-context
versions of macos, some files of these fonts are included as system fonts under /System/Library/Fonts/Supplemental, but not all of them. It took me some head scratching to figure out why every run complained about missing glyphs until I saw that ConTeXt was using the wrong font. I had to set

[NTG-context] OSFONTDIR

2023-07-19 Thread Thomas A. Schmitz
are included as system fonts under /System/Library/Fonts/Supplemental, but not all of them. It took me some head scratching to figure out why every run complained about missing glyphs until I saw that ConTeXt was using the wrong font. I had to set the variable OSFONTDIR to some value to prevent

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Alan Braslau via ntg-context
On 17/07/23 17/07/23, 18:20, Henning Hraban Ramm wrote: Bonus question: how also to handle the case of \startMPcode draw figure "MyFigure" xsized TextWidth ; ... \stopMPcode Is MyFigure a pixel image? You could use \externalfigure within MP code. The MP operator figure calls \exte

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Henning Hraban Ramm
imaging") report("Now calculating...") Bonus question: how also to handle the case of \startMPcode draw figure "MyFigure" xsized TextWidth ; ... \stopMPcode Is MyFigure a pixel image? You could use \externalfigure within MP code. Hraban ___

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Alan Braslau via ntg-context
and manually case-by-case would be sufficient. Any suggestions on how to hook-in such reporting? Bonus question: how also to handle the case of \startMPcode draw figure "MyFigure" xsized TextWidth ; ... \stopMPcode -- Alan

Re: [NTG-context] right and left arrowfill

2023-06-23 Thread Carlos via ntg-context
> > a > > > > \vbox to 5pt{x\vrule\rightarrowfill \ x \leftarrowfill\vrule\ x} > > > > or > > > > x \rightarrowfill x > > x \leftarrowfill x > > > > or > > > > \vbox to 3pt{x\vrule\rightarrowfill \ \leftarrowfill\vrule\ x}

Re: [NTG-context] right and left arrowfill

2023-06-23 Thread Hans Hagen via ntg-context
Hans vd Meer well and he knows ConTeXt well. He's quite capable of figuring out how to use advanced features and I bet he likes the following variant of arrows in text. Next time we meet I'll show him some more adaptive tricks (although I bet he can figure them out himself). \starttext

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Carlos via ntg-context
rt luatex made a lot > possible wrt fonts (runtime manipulation) and was also one of the first to > support variable fonts, color fonts etc (not that many care about that). And > with luametatex we go even further. > > > > I found some flared-sans fonts, but not one with at l

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-17 Thread Hans Hagen via ntg-context
. Is there really not a single flared-sans font that is really free (so also for commercial use) to use out there? I had to search the net to figure out that flare sans fonts are sans fonts with serifs For those into fonts: https://tug.org/TUGboat/tb44-1/tb136carter-romano.pdf I a very nice

Re: [NTG-context] Moving up a Figure

2023-06-06 Thread Jeroen via ntg-context
This one works very nicely, though the movesidefloat gives nicely complete control. \samplefile{tufte} \startplacefigure [location={right,halfline}, number=no] \externalfigure[autocad.png][width=0.6\textwidth] \stopplacefigure \samplefile{tufte} Below the figure there is quite some space

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Alan Braslau via ntg-context wrote: > On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: > > On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context > > wrote: > >> Not fully, it indeed moves up the figure but a little too much. Is th

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Alan Braslau via ntg-context
On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Not that I know of, but maybe {right,halfline} will do? Maybe

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Mikael Sundqvist via ntg-context
Hi, On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: > > Not fully, it indeed moves up the figure but a little too much. Is there a > more granular method? Not that I know of, but maybe {right,halfline} will do?

Re: [NTG-context] Moving up a Figure

2023-06-04 Thread Jeroen via ntg-context
Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Op za 3 jun 2023 om 20:24 schreef Mikael Sundqvist via ntg-context < ntg-context@ntg.nl>: > Hi, > > On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context > wrote: > > > &

Re: [NTG-context] Moving up a Figure

2023-06-03 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context wrote: > > With the following example, the figure is placed a little lower than the > first text line. The top of the figure is at about the middle of the first > line. Is there a way to move-up the figure sligh

[NTG-context] Moving up a Figure

2023-06-03 Thread Jeroen via ntg-context
With the following example, the figure is placed a little lower than the first text line. The top of the figure is at about the middle of the first line. Is there a way to move-up the figure slightly to align it with the top of the text line? \useMPlibrary[dum] \starttext \startplacefigure

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Am 21.05.23 um 15:17 schrieb Wolfgang Schuster via ntg-context: Joel via ntg-context schrieb am 21.05.2023 um 15:11: Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.05.2023 um 15:11: Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Joel via ntg-context
Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group of text to appear until *after* the figure

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Mikael Sundqvist via ntg-context
xpect to see a > picture, but its somehow appearing two pages later. I don't care it it > requires a huge blank area on the page before it, how can I make it so any > text after \placefigure[here, force] doesn't appear before the figure? > > --Joel You submit no example, but with th

[NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread Joel via ntg-context
it it requires a huge blank area on the page before it, how can I make it so any text after \placefigure[here, force] doesn't appear before the figure? --Joel ___ If your question is of interest to others as well, please add

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Max Chernoff via ntg-context
Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600", crop

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Thangalin via ntg-context
Hi again, I changed tex/texmf-context/tex/context/base/mkiv/grph-con.lua to replace "" with "--export-area-page" in the inkscapecrop function: local function inkscapecrop(specification) return (specification and specification.crop == v_yes) and "--export-area-drawing" or

[NTG-context] SVG ViewBox figure battle

2023-05-19 Thread Thangalin via ntg-context
Hi there! The following document contains SVG. Save the SVG as "problem.svg" and run the document through LMTX version 2023.05.08 17:39: % SOF \startbuffer[csvg] \stopbuffer \starttext % honours viewbox \placefigure[none]{}{\includesvgbuffer[csvg]} \page % dishonours viewbox

Re: [NTG-context] new units

2023-05-07 Thread Hans Hagen via ntg-context
Hi Hraban, Attached a picture of the edithorial which is now in posession of the one who's name comes closest to it. A bit like the 'meter' makes Paris famous, this one will put the (engineering) university of Lund on the map. Up to the reader to figure out the magick slot and workings. Yet

Re: [NTG-context] new units

2023-05-06 Thread Alan Braslau via ntg-context
d as *exactly* 2.54cm. So the foot is a proper unit defined as 12*2.54cm. Manipulating fractions, I stated, is the entire point of Imperial measurements. Now go figure: Physical Review Letters once objected to my publishing a graph without units on the abscissa. I satisfied the editor by adding

Re: [NTG-context] cannot generate format file with current latest

2023-04-30 Thread Bruce Horrocks via ntg-context
...ext/base/mkxl/cldf-pos.lmt:18: in local 'code' > ...ext/base/mkiv/util-lua.lua:96: in field 'loadedluacode' > ...ext/base/mkiv/luat-env.lua:108: in field 'luafilechunk' > ...ext/base/mkxl/luat-cod.lmt:82: in function 'lua.registercode' > [ctxlua]:1: in main chunk > > A number sh

[NTG-context] cannot generate format file with current latest

2023-04-30 Thread Pablo Rodriguez via ntg-context
t-env.lua:108: in field 'luafilechunk' ...ext/base/mkxl/luat-cod.lmt:82: in function 'lua.registercode' [ctxlua]:1: in main chunk A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.

Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-26 Thread Werner Schmidt via ntg-context
Hi all, thanks for your ideas! Could figure out the following: - font files are found in the correct path and cached & loaded properly (no second copies, no name clashes) - issue occurs under Linux as well as Windows - issue is related only to some particular font files of the font fa

Re: [NTG-context] Idea for a shared repository.

2023-04-25 Thread Henning Hraban Ramm via ntg-context
Am 25.04.23 um 17:13 schrieb Aditya Mahajan via ntg-context: On Tue, 25 Apr 2023, Pawel Urbanski via ntg-context wrote: What about creating a repository called: 'templates' or 'resources' - we can figure out the exact name later. Why not use the wiki for such documents? For fonts

Re: [NTG-context] Idea for a shared repository.

2023-04-25 Thread Aditya Mahajan via ntg-context
On Tue, 25 Apr 2023, Pawel Urbanski via ntg-context wrote: > What about creating a repository called: 'templates' or 'resources' - we can > figure out the exact name later. Why not use the wiki for such documents? For fonts, there is already a wiki page collecting typescripts:

[NTG-context] Idea for a shared repository.

2023-04-25 Thread Pawel Urbanski via ntg-context
Dear Everyone, We currently have the Context Garden site, wiki and htis list for documentation and resources. There is a Github contextgarden organization that can host repositories. What about creating a repository called: 'templates' or 'resources' - we can figure out the exact name

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
It's chapter_5 that's the problem, but how do you know what's causing the table of contents not to appear ? Le ven. 21 avr. 2023 à 14:42, Fabrice Couvreur a écrit : > Hi Hans, > Alright, I'll compile by integrating one component at a time to figure out > which one is causing th

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
Hi Hans, Alright, I'll compile by integrating one component at a time to figure out which one is causing the problem. Thanks. Fabrice Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context a écrit : > On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: > > Hi, > >

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Hans Hagen via ntg-context
sizes. Google's Roboto Flex is an upgraded Roboto as a variable font. I know that this topic has been discussed many times and I've read the fonts manual but still have these questions. Most of the examples are rather ready solutions or templates but not always cover ways how to figure out values

[NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Pawel Urbanski via ntg-context
that this topic has been discussed many times and I've read the fonts manual but still have these questions. Most of the examples are rather ready solutions or templates but not always cover ways how to figure out values from scratch and how they correspond. Thanks for help, Pawel

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Denis Maier via ntg-context
aier, Denis Christian (UB) ; ntg- > >> cont...@ntg.nl > >> Betreff: Re: AW: [NTG-context] Help with typesetting footnotes in an > >> HTML document > >> > >> Fair comment Denis. > >> > >> I decided to try the lookup based approach on

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Keith McKay via ntg-context
expertise. I attach my tex and html files which should save some copy and pasting. Thanks Keith McKay On 11/04/2023 14:51, denis.ma...@unibe.ch wrote: Hard to tell, if you don't show us what you've tried so far. In one of my setups I use the lua based approach described on page 86/87. But again, we'll

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Denis Maier via ntg-context
th McKay > > On 11/04/2023 14:51, denis.ma...@unibe.ch wrote: > > Hard to tell, if you don't show us what you've tried so far. > > In one of my setups I use the lua based approach described on page 86/87. > But again, we'll probably need more information to figure it out. > >

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-11 Thread Denis Maier via ntg-context
Hard to tell, if you don't show us what you've tried so far. In one of my setups I use the lua based approach described on page 86/87. But again, we'll probably need more information to figure it out. > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Keith > McKa

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-11 Thread Keith McKay via ntg-context
save some copy and pasting. Thanks Keith McKay On 11/04/2023 14:51, denis.ma...@unibe.ch wrote: Hard to tell, if you don't show us what you've tried so far. In one of my setups I use the lua based approach described on page 86/87. But again, we'll probably need more information to figure it out

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
Thank you Alan, I tried many different things but as Wolfgang pointed out I had a mistake in the float definition! Kind regards WIlli > On 31 Mar 2023, at 00:08, Alan Braslau via ntg-context > wrote: > > Have you tried: > > \setuplist [f

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
Have you tried: \setuplist [figure] [partnumber=no] ... \placelistoffigures [criterium=part] Alan On Thu, 30 Mar 2023 17:09:15 +0200 Willi Egger via ntg-context wrote: > Hello everybody, > > > I am still working on the previously mentioned project, consisting > out of

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 30.03.2023 um 17:09: Hello everybody, I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
Hi Hraban, thanks for your answer, however this is not precisely what I am talking about. If you have 3 figures in chapter 1, you want them to be numbered as 1.1 , 1.2 , 1.3. However with floats defined with \definefloat[Afigure][Afigures][figure] they all get solely the chapter number: 1

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Henning Hraban Ramm via ntg-context
Am 30.03.23 um 17:09 schrieb Willi Egger via ntg-context: I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
Hello everybody, I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all figures in the figure-list are placed correctly

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Hello again, My project has different parts. Each part contains a whole list of figures. At the beginning of the book I would like to place a list of all figures. Hoever they should be prefixed with the part number. I can not figure out how to achieve this. May be someone can hint me… Cheers

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
gt; > > thinking that this would be the easiest way to position it where I > > > wanted. However to position in the centre of the page I would need > > > to know the size of the combination and use this to calculate the x > > > and y values for positioning o

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
the combination and use this to calculate the x > > and y values for positioning of the layer. I have looked at the > > Wiki page on image size of combinations but still cant figure out > > how to do it. Any suggestions on how to go about this or is their a > > better way? > >

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
figure out how to do it. Any suggestions on how to go about this or is their a better way? Wiki Page reference: https://wiki.contextgarden.net/Combinations#Image_Width Thanks Keith McKay %%% example %%% \setuppapersize[A4,portrait]%[A4,portrait] \setuplayout [backspace=2.5cm, topspace=1cm

[NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
to position in the centre of the page I would need to know the size of the combination and use this to calculate the x and y values for positioning of the layer. I have looked at the Wiki page on image size of combinations but still cant figure out how to do it. Any suggestions on how to go about

Re: [NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-08 Thread Hans Hagen via ntg-context
: --- | | | | --- a) Some caption - | | | | | | | | | | | | - b) fooc) foo Figure 1.1

[NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-07 Thread Gerion Entrup via ntg-context
: --- | | | | --- a) Some caption - | | | | | | | | | | | | - b) fooc) foo Figure 1.1: Foo Bar I tried to typeset it with this code (based on https

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Hans Hagen via ntg-context
On 3/2/2023 11:49 AM, Denis Maier via ntg-context wrote: Ok, I’ve somehow managed to isolate the issue in my real document. There, the issue happens only when a new paragraph starts after the tabulate. If there’s nothing after the tabulate, the footnotes appears... Also, if I’m using

Re: [NTG-context] Float control

2023-03-02 Thread Denis Maier via ntg-context
ional features). > > A few (important) observations on floats: > > \startplacefloat > \stopplacefloat > triggers a paragraph break. > > I therefore locate them always at the beginning or at the end of a paragraph > of text. > (A trick is to enclose them

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
Denis Maier via ntg-context Gesendet: Donnerstag, 2. März 2023 09:21 An: ntg-context@ntg.nl Cc: Maier, Denis Christian (UB) Betreff: [NTG-context] Disappearing footnote in figure / tabulate Hi, I have a strange case where a footnote in a tabulate disappears. Strangely, I *cannot* reproduce

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
] a2 b a2 b \stopbuffer \startxmlsetups xml:test \xmlsetsetup{\xmldocument}{document|table-wrap|table|figure|p|footnote}{xml:*} \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:document

Re: [NTG-context] Float control

2023-03-01 Thread Alan Braslau via ntg-context
iggered some > additional features). A few (important) observations on floats: \startplacefloat \stopplacefloat triggers a paragraph break. I therefore locate them always at the beginning or at the end of a paragraph of text. (A trick is to enclose them in a named buffe

Re: [NTG-context] Float control

2023-03-01 Thread Max Chernoff via ntg-context
Hi Denis, > The floats where jumping around, appearing in a different order than > in the source file Tables and figures can appear in different orders than each other, and a top float could appear at the top of the page that it is mentioned, but if you ever see Figure 2 before Fi

[NTG-context] [m-database] How to properly add module arguments?

2023-02-25 Thread Paul Mazaitis via ntg-context
doesn't work out, I'll go back it, but I figure I'll focus on this solution for now.) Looking at the module sources, I can implement the functionality I need in the Lua part of the module, but: I seem to only be able to bodge in additional arguments for the commands in the module. On first try

[NTG-context] Indenting next multi paragraph description

2023-02-23 Thread Alex Leray via ntg-context
Hi, I'd like to indent next paragraphs in multi paragraph descriptions. For some reason, I can't figure out why this isn't working. Any idea? Here is my code: ### \setupwhitespace[none] \setupindenting[yes, 3em, next] \definedescription[question][ before={\vskip-\parskip}, after

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
\startinterview[title={My Interview}][ author={Jane Doe}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext On 23 Feb 2023, at 10:21, Alex Leray via ntg-context wrote: Hello, I'm trying to figure out how to design a chapter

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext > On 23 Feb 2023, at 10:21, Alex Leray via ntg-context > wrote: > > Hello, > > I'm trying to figure out how to design a chapter page for a cust

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
Hello, I'm trying to figure out how to design a chapter page for a custom head section with uservariables defined. I'd like to have the chapter page start on a right page. I'd like this page to feature the title of the chapter (here: an interview) along with some other info like

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
! There is a little thing that I can't figure out though... In one of my document I have makeup pages. But inserting them result in wrong page numbering of subsequent pages. It appears that makeups do not increment page numbers. Is this a feature? How could re-establish the right page number for the rest

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