Re: [NTG-context] Importing pdf into MPpage

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
nta ; > \stopMPpage > > Fabrice. > > > On Sat, Jun 11, 2022 at 4:46 PM Fabrice L wrote: > >> Dear Stephan, >> >> Le 11 juin 2022 à 08:57, Stefan Nedeljkovic via ntg-context < >> ntg-context@ntg.nl> a écrit : >> >> Dear list, >> &

Re: [NTG-context] Importing pdf into MPpage

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
That's it, but how do I center it on (0, 0)? On Sat, Jun 11, 2022 at 4:46 PM Fabrice L wrote: > Dear Stephan, > > Le 11 juin 2022 à 08:57, Stefan Nedeljkovic via ntg-context < > ntg-context@ntg.nl> a écrit : > > Dear list, > > I would like to place a pdf file a

[NTG-context] Importing pdf into MPpage

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
Dear list, I would like to place a pdf file at (0, 0), centered at original size on a MPpage, and draw over it. But using the input command doesn't work. How should I approach this? Sincerely, Stefan ___ If your

Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
That works perfectly, thank you very much Wolfgang! On Sat, Jun 11, 2022 at 12:23 PM Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> wrote: > Stefan Nedeljkovic via ntg-context schrieb am 11.06.2022 um 10:05: > > Dear list, > > > > I have the following fil

[NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
Dear list, I have the following file: \starttypescript [lidia] \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] \stoptypescript \setupbodyfont[lidia,36pt] \starttext \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt] \startalignment[middle] 2{\hskip 0em}412{\hskip 0em}772

Re: [NTG-context] Two minor questions

2022-06-07 Thread Stefan Nedeljkovic via ntg-context
I just found out that it's a tex shorthand for an endash. Is there a way to globally turn that shortcut off? On Tue, Jun 7, 2022 at 5:20 PM Stefan Nedeljkovic wrote: > Yes I may use them. Why is that a problem? Is it some special context > syntax? How do I escape them or turn them off? > > On

Re: [NTG-context] Two minor questions

2022-06-07 Thread Stefan Nedeljkovic via ntg-context
Yes I may use them. Why is that a problem? Is it some special context syntax? How do I escape them or turn them off? On Tue, Jun 7, 2022 at 5:05 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Stefan Nedeljkovic schrieb am 07.06.2022 um 07:25: > > Thank you very much Wolfgang!

Re: [NTG-context] Two minor questions

2022-06-07 Thread Stefan Nedeljkovic via ntg-context
e fact that IBM Plex Mono was designed from a typewriter > typeface where 12 characters are exactly 1 inch long). > > On Mon, Jun 6, 2022 at 10:52 PM Wolfgang Schuster via ntg-context < > ntg-context@ntg.nl> wrote: > >> >> >> Stefan Nedeljkovic via ntg-context

Re: [NTG-context] Two minor questions

2022-06-06 Thread Stefan Nedeljkovic via ntg-context
grid cell (semms from the fact that IBM Plex Mono was designed from a typewriter typeface where 12 characters are exactly 1 inch long). On Mon, Jun 6, 2022 at 10:52 PM Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> wrote: > > > Stefan Nedeljkovic via ntg-context schri

Re: [NTG-context] Two minor questions

2022-06-06 Thread Stefan Nedeljkovic via ntg-context
, Stefan On Mon, Jun 6, 2022 at 5:50 PM Aditya Mahajan wrote: > On Mon, 6 Jun 2022, Stefan Nedeljkovic via ntg-context wrote: > > > Dear list, > > > > I have 2 small questions: > > > > 1. In \setuplayout if I try to set topspace=5\measured{base} + > > \d

[NTG-context] Two minor questions

2022-06-05 Thread Stefan Nedeljkovic via ntg-context
Dear list, I have 2 small questions: 1. In \setuplayout if I try to set topspace=5\measured{base} + \dimexpr2bp I get an error. How should I add these 2bp? 2. I have an mp graphic defined in the file "graphic.mp" which has the exact same dimensions as my page. I'd like to set that graphic as a

Re: [NTG-context] Compiling a large metapost document

2022-06-02 Thread Stefan Nedeljkovic via ntg-context
Thanks for the advice, Hans. I'll try that! On Thu, Jun 2, 2022 at 12:17 PM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 6/1/2022 8:34 PM, Thomas A. Schmitz via ntg-context wrote: > > > > > > On 6/1/22 19:35, Stefan Nedeljkovic via ntg-context wrote:

Re: [NTG-context] Compiling a large metapost document

2022-06-02 Thread Stefan Nedeljkovic via ntg-context
I just bumped it to double the size, did mtxrun --reload, context --generate and the error is still tex memory > bumping category 'token' failed, details: all=8000 | ini=4 We ran into troubles scanning an argument. On Thu, Jun 2, 2022 at 9:20 AM Thomas A. Schmitz via ntg-context <

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
I figured it out. I was wrongly calculating the page size argument for gs. Thank you very, very much again Max! On Thu, Jun 2, 2022 at 4:41 AM Stefan Nedeljkovic wrote: > There is one more problem: the pdf generated has incorrect margins. I > tried to manually calculate the size in ps points

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
There is one more problem: the pdf generated has incorrect margins. I tried to manually calculate the size in ps points and run gs directly, but the results are the same. How can I get an accurate rendering of the page? On Thu, Jun 2, 2022 at 4:22 AM Max Chernoff wrote: > On 2022-06-01 8:00

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
Thank you very much Max! It works indeed! One more question. How would I import the eps file back into MPpage, so I could do trickery with text. ) On Thu, Jun 2, 2022 at 1:46 AM Max Chernoff wrote: > > I have a large .tex file with metapost embedded in it and want to compile > > it, but it

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
t 10:26 PM Thomas A. Schmitz via ntg-context < ntg-context@ntg.nl> wrote: > > On 6/1/22 22:15, Stefan Nedeljkovic via ntg-context wrote: > > The problem *is* the file size. There is not a minimal example, > > because everything works when there is less drawdot commands. The

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
. Schmitz via ntg-context < > ntg-context@ntg.nl> wrote: > >> >> >> On 6/1/22 19:35, Stefan Nedeljkovic via ntg-context wrote: >> > Sorry, i just updated the file, should now compile, but fail due to >> > resources. Are the configuration options to context tha

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
d, and you should get the same message in the console as me. On Wed, Jun 1, 2022 at 9:35 PM Thomas A. Schmitz via ntg-context < ntg-context@ntg.nl> wrote: > > > On 6/1/22 19:35, Stefan Nedeljkovic via ntg-context wrote: > > Sorry, i just updated the file, should now compile

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
t; The previous file was 12MB and simply ran out of resource when compiled. > The new file is 812KB and compiles provided you remove the references to > \setxheight[...] because \setxheight generates an error. > > > > On 1 Jun 2022, at 17:43, Stefan Nedeljkovic via ntg-cont

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
Just fixed the file, here is the new link: https://drive.google.com/file/d/16jTzHbaqxPmhgmNaDOBRijlhlmUCnH4j/view?usp=sharing On Wed, Jun 1, 2022 at 4:48 PM Stefan Nedeljkovic wrote: > Dear list, > > I have a large .tex file with metapost embedded in it and want to compile > it, but it fails.

[NTG-context] Compiling a large metapost document

2022-06-01 Thread Stefan Nedeljkovic via ntg-context
Dear list, I have a large .tex file with metapost embedded in it and want to compile it, but it fails. Here is a link to the file (~12MB): https://drive.google.com/file/d/1t-6mxFmGp-nzpl0RrPgNFq8KRvpplgDv/view?usp=sharing Do you know of a way to compile it? BTW, the file is automatically

Re: [NTG-context] Changing font and font size inside textex

2022-05-31 Thread Stefan Nedeljkovic via ntg-context
Thank you, I'll try that later. On Tue, May 31, 2022 at 9:42 AM Max Chernoff wrote: > > Thanks Max that works perfectly! But It would still be useful if I could > > change families inside a MPpage. > > Sure, but you'll need to store the x-heights first: > > \starttexdefinition storexheight

Re: [NTG-context] Changing font and font size inside textex

2022-05-30 Thread Stefan Nedeljkovic via ntg-context
Thanks Max that works perfectly! But It would still be useful if I could change families inside a MPpage. On Tue, May 31, 2022 at 1:31 AM Max Chernoff wrote: > > I'm using the following macro to set the font size via h-height: > > > > \starttexdefinition setxheight [#1][#2] > >

[NTG-context] Changing font and font size inside textex

2022-05-30 Thread Stefan Nedeljkovic via ntg-context
Dear list, I want to be able to change the font and the font size inside a MPpage. But if I try to prepend \switchtobodyfont to the text inside textext it doesn't work. I'm using the following macro to set the font size via h-height: \starttexdefinition setxheight [#1][#2]

Re: [NTG-context] Specifying font size as x-height

2022-05-28 Thread Stefan Nedeljkovic via ntg-context
Perfect, thank you very much Max! On Sat, May 28, 2022 at 10:40 AM Max Chernoff wrote: > On 2022-05-28 2:27 a.m., Stefan Nedeljkovic wrote: > > One slight problem is when I use 2\measured{xheight} as the font size I > > get an error. \measure works fine though. > > The old version expected

Re: [NTG-context] Specifying font size as x-height

2022-05-28 Thread Stefan Nedeljkovic via ntg-context
One slight problem is when I use 2\measured{xheight} as the font size I get an error. \measure works fine though. On Sat, May 28, 2022 at 9:34 AM Stefan Nedeljkovic wrote: > Awesome, thank you very much Max! > > On Sat, May 28, 2022 at 8:49 AM Max Chernoff wrote: > >> > How would one specify

Re: [NTG-context] Specifying font size as x-height

2022-05-28 Thread Stefan Nedeljkovic via ntg-context
Awesome, thank you very much Max! On Sat, May 28, 2022 at 8:49 AM Max Chernoff wrote: > > How would one specify the font size in LMTX, but via x-height? > > You could try this: > > \starttexdefinition setxheight [#1][#2] > \switchtobodyfont[#1, 12pt] >

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
of the text frame (black line). On Fri, May 27, 2022 at 10:32 PM Aditya Mahajan via ntg-context < ntg-context@ntg.nl> wrote: > On Fri, 27 May 2022, Stefan Nedeljkovic via ntg-context wrote: > > > Thanks Rik, that fixed the issue with at which line the text begins, but > I > >

[NTG-context] Specifying font size as x-height

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
How would one specify the font size in LMTX, but via x-height? I know this is a simple scaling, but I wonder if it could be done automatically? Sincerely, Stefan ___ If your question is of interest to others as well,

[NTG-context] How to adjust depth (height) when using grid layout

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
Dear list, I would like to know if there is a way to adjust the depth and height exactly when typesetting in grid layout (LMTX)? Sincerely, Stefan ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
022-05-27 12:03, Stefan Nedeljkovic via ntg-context wrote: > > Thank you very much Aditya for looking into this. But I still have the > same baseline grid offset problem. Interestingly, when I remove the > columns, the text shifts downwards by two lines. > My code: >

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Stefan Nedeljkovic via ntg-context
, rightmargin=\zeropoint, backspace=2\measured{base} grid=yes, ] \showframe \showgrid \starttext \input tufte \stoptext I'm attaching the pdf output. On Fri, May 27, 2022 at 5:00 PM Aditya Mahajan wrote: > On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote: > > &g

Re: [NTG-context] Small caps as a separate font

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Regular.otf I tried \definefontfamily[DTL-Documenta-Sans-T][ss][DTL-Documenta-Sans-T] but it does not work with \sc. On Wed, May 25, 2022 at 10:30 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 25.05.22 um 22:23 schrieb Stefan Nedeljkovic via ntg-context: >

[NTG-context] Small caps as a separate font

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, A quick question about a font that has a separate file for small caps. I have the following: \starttypescript [sans] [dtl-documenta-sans-t] \definefontsynonym[Sans] [name:dtldocumentasanst][features=default] \definefontsynonym[SansItalic]

[NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, My adventures into the world of grids continue. In the linked file (slide_grid_overlay.pdf) there are two things I cannot yet achieve: 1. I want the baseline grid to evenly (vertically) divide the text area, but my code produces a smaller height of the first line and an additional

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
> > >> > Hi Stefan, >> > >> > I never used \definebodyfont but either \definefontfamily or >> > typescripts >> > with \definefontsynonym. >> > >> > Did you try \definefontfamily[custodi

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
tfamily or > > typescripts > > with \definefontsynonym. > > > > Did you try \definefontfamily[custodia][rm][Custodia] ? > > > > https://wiki.contextgarden.net/Command/definefontfamily > > <https://wiki.contextg

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
, that solved the problem. > > On Wed, May 25, 2022 at 4:01 PM Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > >> Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35: >> > Dear list, >> > >> > This is a follow-up question

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
t; I never used \definebodyfont but either \definefontfamily or typescripts > with \definefontsynonym. > > Did you try \definefontfamily[custodia][rm][Custodia] ? > > https://wiki.contextgarden.net/Command/definefontfamily > > Hraban > > Am 25.05.22 um 18:20 schrieb Stefan

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Thank you very much Wolfgang, that solved the problem. On Wed, May 25, 2022 at 4:01 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35: > > Dear list, > > > > This is a follow-up quest

[NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, I'm trying to set up Custodia in LMTX, but the custodiasemibolditalic won't show up. It shows up regularly when I run mtxrun --script fonts --list --all --pattern=Custodia I'm attaching the output for reference. Any help would be appreciated. Sincerely, Stefan

[NTG-context] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list, This is a follow-up question on my previous question about Jean-Luc Doumont and his grid layouts. This time I have concrete questions. I reverse engineered his slide (slide_grid_overlay.pdf). All his units are based on inches, because the inch is an integer multiple (72) of the TeX

[NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Stefan Nedeljkovic via ntg-context
Dear list, Years ago I stumbled upon the work of Jean-Luc Doumont. He typesets all his documents using TeX, although his modified Version called Quantum. The whole idea of his fascinating approach is that the page is quantized in 2 dimensions and that all positioning, even graphical elements

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
Wow, thank you very, very much! On Sun, 15 May 2022, 05:35 śrīrāma, wrote: > On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote: > > Dear list I need your help with a table that seems to completely screw up > > the page when it spans across multiple pages. I'

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Kind regards, Stefan \input fonts \usetypescript[ibmplex][uc] \setupbodyfont[ibmplex,rm,9pt] \setuppapersize[A4] \setuplayout[

Re: [NTG-context] Cyrillic alternate form in Neacademia

2022-02-22 Thread Stefan Nedeljkovic via ntg-context
0431"] = "uni0431.SRB.alt" } } \stopluacode BTW, I'm using LMTX Context version 2022.01.21 20:13. Should I send you some files for diagnostics? On Wed, Feb 23, 2022 at 12:00 AM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 2/19/2022 4:59 PM, Stefan

[NTG-context] Cyrillic alternate form in Neacademia

2022-02-20 Thread Stefan Nedeljkovic via ntg-context
Dear list, I'm using the typeface Neacademia Text, and I'm trying to configure it to the specifics of the Serbian language. I want to replace the usual form of the lowercase cyrillic letter BE with the traditional Serbian form. I opened the font file in Font Forge and looked up the glyph info.