[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-10 Thread Hans Hagen
    text = "\getbuffer[MyText]",           ]               withshademethod "linear"               withshadedirection down               withshadecolors (red, blue)           ;      \stopMPcode \egroup \startoverlay {\scale[height=\htdp\scratchbo

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
er[MyText] > \definedfont[name:texgyrepagellabold*default]foo f o o% > \stopbuffer > > \startbuffer[MyText] > \framed[align=normal,frame=off]{\input{tufte}}% > \stopbuffer > > \setbox\scratchbox\hbox\bgroup > \startMPcode > draw lmt_outline [

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread Hans Hagen
ox\scratchbox\hbox\bgroup \startMPcode draw lmt_outline [ kind = "outline", text = "\getbuffer[MyText]", ] withshademethod "linear" withshadedirection down withshadecolors (red, blue)

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Hans Hagen
=\textwidth]% }% I need some images to appear in a book. I need them to keep their proper ratios, but scale up to the maximize the available space. The image can't be more than \textwidth wide, and can't ever be more than 1.2\textwidth high. The problem I am getting with this code

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Bruce Horrocks
=\textwidth]% >> }% >> I need some images to appear in a book. I need them to keep their proper >> ratios, but scale up to the maximize the available space. >> The image can't be more than \textwidth wide, and can't ever be more than >> 1.2\textwidth hig

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Henning Hraban Ramm
ratios, but scale up to the maximize the available space. The image can't be more than \textwidth wide, and can't ever be more than 1.2\textwidth high. The problem I am getting with this code, and it does seem to be limiting the images to be not bigger than those two dimensions above, is some

[NTG-context] How to get an image to fill the maximum available space?

2024-03-29 Thread Joel via ntg-context
I have code like this:     \placefigure[here, force]{my caption}{%         \externalfigure[#1][frame=on, maxheight=1.2\textwidth, maxwidth=\textwidth]%     }% I need some images to appear in a book. I need them to keep their proper ratios, but scale up to the maximize the available space

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 3/4/24 09:08, Hans Hagen via ntg-context wrote: > On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. >> >> Latest font release can be directly download from >> h

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-04 Thread Hans Hagen via ntg-context
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
On 3/2/24 14:41, vm via ntg-context wrote: > On 02/03/2024 13:46, Pablo Rodriguez via ntg-context wrote: >> Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. > > same here Many thanks for your confi

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread vm via ntg-context
On 02/03/2024 13:46, Pablo Rodriguez via ntg-context wrote: Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. same here ___ If your question is of interest to others as well, please add

[NTG-context] issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg } \stoptext Using current latest from both

[NTG-context] Re: 2024

2024-01-02 Thread Fabrice L
It's not that much code but I need to add a keyword interface. It's also > something we might play with a little at this years meeting so ... > > (I added a gray scale option for tyhose without color printer.) > > Here's a big one (the xmas card): > > http://www.pragma-ade

[NTG-context] Re: 2024

2024-01-02 Thread Hans Hagen via ntg-context
! (And thank you for all the good work) Is the puzzle generator somewhere hidden to be found within the context module tree? It's not that much code but I need to add a keyword interface. It's also something we might play with a little at this years meeting so ... (I added a gray scale option

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
][]{} \externalfigure[blah.jpeg][scale=300] \stopplacefigure You can try the force option: \startplacefigure[location=force,reference=fig:blah]   \externalfigure[blah.jpeg][scale=300] \stopplacefigure Wolfgang ___ If your question

[NTG-context] \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
could be doing wrong? Do I need to increase the buffer? how? This is what I have used to place each figure \startplacefigure[location=here,reference=fig:blah][]{} \externalfigure[blah.jpeg][scale=300] \stopplacefigure

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
uares, nib-width size, on top of each other, with the top one shifted a nib-width to the right. A little bit like a chess board, or a scale ruler on a map. But this would only work in Lines that have an even amount of Sections. I'm not sure how to proceed with that... I tried using unit squares, but

[NTG-context] Re: How to encircle text?

2023-11-05 Thread Hans Hagen via ntg-context
On 11/5/2023 7:23 AM, anton.chig...@mail.com wrote: I want to use \bigcirc to encircle text. Is there a way to do it. if you're wiling to compensate for its depth: \defineoverlay [BigCirc] [{\scale [width=\overlaywidth] {\setbox0\hpack{\bigcirc}\raise\dp0\box0}}] \framed

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

2023-11-02 Thread Vincent Hennebert
on scale (e.g. using display for 20 pt in a 15 pt setup versus using scaled regular for 20pt and then display 20pt for e.g. a title page or 50pt on posters). I think I see your point. I think we can still talk about design sizes but, instead of thinking in absolute sizes, we would want to think

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

2023-11-01 Thread Hans Hagen via ntg-context
of design sizes here. It's more about 'usage' because a display vs subhead vs ... variant is not about mixing depending on scale (e.g. using display for 20 pt in a 15 pt setup versus using scaled regular for 20pt and then display 20pt for e.g. a title page or 50pt on posters). (I have Questions

[NTG-context] Re: XML processing beginner's question

2023-08-22 Thread Hans Hagen via ntg-context
match with a setup . if needed we could extend the mechanism with varianst but i have to admit that it has been stable (mostly untouched) for close to 15 years now so all has to be done very careful; it has also be tuned for performance and large scale throughput Hans

[NTG-context] backend not forcing 1000 width units on fonts; em size must be applied or else fails

2023-08-20 Thread Carlos
end with any font other than latin modern > > Here > > \setupbodyfont[stixtwo] > > > \setuplayout[width=16cm] > \showmakeup > > \starttext > > Thus, I came to the conclusion that the designer of a new > system must not only be the implementer and

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Mikael Sundqvist
th any font other than latin modern Here \setupbodyfont[stixtwo] \setuplayout[width=16cm] \showmakeup \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer should also write the first user manual. \

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Carlos
system must not only be the implementer and first > large||scale user; the designer should also write the first > user manual. > > \setupbodyfont[12.895pt] > > {\ss The separation of any of these four components would have > hurt \TeX\ significantly. If I had not participated fully i

[NTG-context] Re: An error which is not in .log file

2023-08-19 Thread Xavier B.
Thanks to all to help me through migration from MKIV to LMTX version. Now my document compiles perfectly. Xavier On Wed, 16 Aug 2023 17:02:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 09:15: > > Mmmm thanks. > > How can I pas

[NTG-context] unsubscribe

2023-08-18 Thread Thomas Floeren via ntg-context
ce]) > > yes. and showmakeup displays: .SP:10.945 If > > rather than for example with: .SP:5.235 > OnceSP:3.926 > theSP:3.926 > initial SP:3.926 > designSP:3.926 > is > > and > > :3.586 > THK:-1.853 > H__E > X > HK:-1.390 > SP:3.586 > sig­RH:0

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Wolfgang Schuster
and first large||scale user; the designer should also write the first user manual. \setupbodyfont[12.895pt] {\ss The separation of any of these four components would have hurt \TeX\ significantly. If I had not participated fully in all these activities, literally hundreds of improvements would never have

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
isplays: .SP:10.945 If rather than for example with: .SP:5.235 OnceSP:3.926 theSP:3.926 initial SP:3.926 designSP:3.926 is and :3.586 THK:-1.853 H__E X HK:-1.390 SP:3.586 sig­RH:0.000 IR:0.000 RS:0.000 LH:0.000 H__nificantlyLS:0.000BS:6.565 and here's your example: \setupl

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Xavier B.
On Wed, 16 Aug 2023 17:02:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 09:15: > > Mmmm thanks. > > How can I pass so [scale=0.9] to starttikzpicture? > > It's a bug and should be fixed in the next context release. > > Wolfgang &g

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Wolfgang Schuster
Xavier B. schrieb am 16.08.2023 um 09:15: Mmmm thanks. How can I pass so [scale=0.9] to starttikzpicture? It's a bug and should be fixed in the next context release. Wolfgang ___ If your question

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Aditya Mahajan
re should allow optional arguments. The following works correctly for me with ver 2023.07.18: \usemodule[tikz] \usetikzlibrary[patterns] \starttext \starttikzpicture[scale=0.75] % recipient \draw (0,0) -- (0,10) -- (2,10) -- (2,0) -- cycle; % aigua \filldra

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Xavier B.
Mmmm thanks. How can I pass so [scale=0.9] to starttikzpicture? On Wed, 16 Aug 2023 06:27:34 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 00:12: > > Thanks. > > > > After some work on it, following your advice, I reduce the compilation &

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
). 26 27 \startplacefigure[reference=fig:oli-aigua-diposit, location=force, title={Dipòsit omplit amb aigua i oli}] 28 \bTABLE[frame=off,align={middle,lohi},width=fit] 29 \bTR 30 \bTD 31 \starttikzpicture[scale=0.75] 32 % recipient 33 \draw (0,0) -- (0,10) -- (2,1

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

2023-08-13 Thread Hans Hagen via ntg-context
{ "slot", 0, accent }, }, } end end end local function ccrap(characters,value,target,base,template,scale,mirror) if process(characters,target,value) then local data1 = characters[base] local data2 = characters[template]

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

2023-08-12 Thread Hamid,Idris
): we see that \tfx doesn't scale the \symbol, although \tfa and higher do work. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl

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

2023-08-12 Thread Hamid,Idris
oesn't scale the \symbol, although \tfa and higher do work. I guess fixing \tfx-symbol interaction will be part of your conversation with Wolfgang -) > well, you wented symbols so Ultimately I just want to be able to type the Unicode symbols for 02BE and 02BF -- ʾ and ʿ -- and get prope

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

2023-08-12 Thread Hans Hagen
4:03 PM, Hamid,Idris wrote: \tfx causes a switch to computer modern. Indeed. Something I need to discuss with Wolfgang as double checking is needed before I patch. Ah.. ok. But what if we want to scale independently of font switching? There is no need to go lua here (esp when you have

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

2023-08-12 Thread Hamid,Idris
fx causes a switch to computer modern. > Indeed. Something I need to discuss with Wolfgang as double checking is > needed before I patch. Ah.. ok. >> But what if we want to scale independently of font switching? > There is no need to go lua here (esp when you have not done vf

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

2023-08-12 Thread Hamid,Idris
to scale independently of font switching? There is no need to go lua here (esp when you have not done vf magick before and i'm not going to debug code that i have little clue what it's about to do). Many thanks. Part of the context is that I have some updatable mission-critical documents

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

2023-08-12 Thread Hans Hagen
On 8/12/2023 4:03 PM, Hamid,Idris wrote: \tfx causes a switch to computer modern. Indeed. Something I need to discuss with Wolfgang as double checking is needed before I patch. But what if we want to scale independently of font switching? There is no need to go lua here (esp when you have

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

2023-08-12 Thread Hamid,Idris
=== \tfx causes a switch to computer modern. Of course, with the right typescripts and \setupbodyfont, one can maintain stylistic consistency when switching fonts. But what if we want to scale independently of font switching? II. One approach might be to use symbols: \startTEXpage

[NTG-context] Triaging tikz error: Cannot parse this coordinate

2023-08-08 Thread Xavier B.
\relax \tikz@addtransform #1->\ifx \tikz@transform \relax #1 \else \expandafter \def \expandafter \tikz@transform \expandafter {\tikz@transform #1}\fi \pgfkeys@unpack ...ired/.@cmd}}\expandafter \pgf@marshal \expandaft

[NTG-context] Re: new upload

2023-07-18 Thread Rik Kabel
times faster. In the end this is way cheaper than updating a 5 year old dev machine (a new one would run about twice as fast which would bring about the same gain). Hans ps. Because tex is a memory intense application it doesn't scale with the number of cores unless one has the latest

[NTG-context] new upload

2023-07-18 Thread Hans Hagen
cheaper than updating a 5 year old dev machine (a new one would run about twice as fast which would bring about the same gain). Hans ps. Because tex is a memory intense application it doesn't scale with the number of cores unless one has the latest greatest fast memory as well as generous cpu

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
eface [mylucidaserif][ss] [sans] [mylucidasans][default] > \stoptypescript > > \setupbodyfont[mylucidaserif] > %\setupbodyfont[mylucidasans] > %\setupbodyfont[14pt] > > \starttext > > Thus, I came to the conclusion that the designer of a new > system must not only

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
[mylucidaserif][ss] [sans] [mylucidasans][default] \stoptypescript \setupbodyfont[mylucidaserif] %\setupbodyfont[mylucidasans] %\setupbodyfont[14pt] \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer

Re: [NTG-context] Super slow installation

2023-05-30 Thread Max Chernoff via ntg-context
as9143.net:8080/random5000x5000.jpg; \ "http://lmtx.pragma-ade.com/install-lmtx/texmf.zip; \ ;do echo "$x" curl -w 'scale=2;%{speed_download}*8/1024^2\n' -sSo /dev/null "$x" | bc echo done Cloudflare should have a fast data centre near anywhe

Re: [NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread 李延瑞
nitial\input knuth > > \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input > knuth > } > > \framedtext[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input > knuth > } > > \stoptext > %== > > There is a wor

Re: [NTG-context] new units

2023-05-06 Thread Alan Braslau via ntg-context
> The es (Edith) unit replaces the inch, and the ts (Tove) is one > tenths of than (just like we have cm and mm). The eu (European Unit) > is an adaptive one that defaults to 10 ts == 1es and can be > multiplied by setting the \eufactor (default 10) which makes it > possible to

[NTG-context] new units

2023-05-04 Thread Hans Hagen via ntg-context
by setting the \eufactor (default 10) which makes it possible to define layouts that easilly scale to different output media (important for the mobile phone / table generation). This means that MWE that use inches will likely no longer be considered valid and probably will be dealt with slower

[NTG-context] Stack overflow when using Neo Euler for math

2023-03-31 Thread Rory Molinari via ntg-context
ng "local mathematics_tweakaftercopyingfont = mat..."]:5: in local 'runner' ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-ctx.lmt:510: in field 'aftercopyingcharacters' ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-con.lmt:859: in field 'scale' ...xlive/2023/texmf-di

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Xavier B. via ntg-context
LMTX via the filter module and compiling the main doc with MkIV). > afaik tikz should work ok, so can you make a test file? > > Hans Perhaps this is a good test. It's a complete example: \setupcolors[state=start] \definecolor[darkgreen][g=.5] \usemodule[tikz] \starttext \starttikzpi

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Bruce Horrocks via ntg-context
> On 10 Feb 2023, at 09:20, Hans Hagen via ntg-context > wrote: [snip] Thank-you Hans, these work great - so well in fact that now I've seen the output I've come to the conclusion that the scaled text would be too small and what I should really do is flag the one or two addresses in our

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Hans Hagen via ntg-context
On 2/9/2023 10:42 PM, Bruce Horrocks via ntg-context wrote: I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so

Re: [NTG-context] Problem using \scale

2023-02-09 Thread Henning Hraban Ramm via ntg-context
Am 09.02.23 um 22:42 schrieb Bruce Horrocks via ntg-context: I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so

[NTG-context] Problem using \scale

2023-02-09 Thread Bruce Horrocks via ntg-context
I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so that the long line just fits. I'm using \crlf to break

Re: [NTG-context] bottlenecks

2022-12-18 Thread Hans Hagen via ntg-context
the end of a page slip in the following pages. Since there are forced page breaks and chapters starting at odd pages, they are minimal differences that result in pages with only 1 or 2 lines of text, or white even pages. I don't know whether this is expected as the effect of \enableexperiments[

[NTG-context] issues with variable fonts in latest

2022-12-15 Thread Pablo Rodriguez via ntg-context
}] \definefontfamily[mainface][hw][Recursive] [features={default, handy}] \definefontfamily[mainface][cg][Recursive] [features={default, cali}] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] \scale[width=\textwidth] {\rm áéíóúijrf} \scale[width=\textwidth

Re: [NTG-context] accessing ital axis in variable font

2022-12-02 Thread Hans Hagen via ntg-context
][Literata] [features={default, myaxis}, designsize=auto] \setupbodyfont[mainface] \starttext \scale[width=\textwidth] {\switchtobodyfont[7pt]\tf Regular, \it Italic} \scale[width=\textwidth] {\switchtobodyfont[12pt]\tf Regular, \it Italic} \scale[width=\textwidth

Re: [NTG-context] accessing ital axis in variable font

2022-12-02 Thread Pablo Rodriguez via ntg-context
atures={default, myaxis}, designsize=auto] \setupbodyfont[mainface] \starttext \scale[width=\textwidth] {\switchtobodyfont[7pt]\tf Regular, \it Italic} \scale[width=\textwidth] {\switchtobodyfont[12pt]\tf Regular, \it Italic} \scale[width=\textwidth] {\switchtobodyfont[36pt]\tf

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Fabrice Couvreur via ntg-context
ème}} étage. Ainsi, nous avons \m{u_1=3}. Justifier que la suite \u est arithmétique en précisant sa raison. \stopitem \startitem Déterminer le calcul explicite de \m{u_n} en fonction de \m{n}, \m{u_1} et \m{r}. \stopitem \placerecipe{}{ \externalfigure[pyramid

[NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
ot;local mathematics_tweakaftercopyingfont = mat..."]:5: in local 'runner' ...-14/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:504: in field 'aftercopyingcharacters' ...-14/tex/texmf-context/tex/context/base/mkxl/font-con.lmt:859: in field 'scale' ...-14/tex/texmf-context/tex/context/base/mkxl/fon

[NTG-context] Perceptrons

2022-10-16 Thread Thangalin via ntg-context
sqrt( ((bx - ax)^2) + ((by - ay)^2) ) enddef; % Set the number of hexagons from top to bottom. GRID_C = 124; % Set the number of hexagons from left to right. GRID_R = 120; % Set the number of pathways between nodes (higher is more complexity). PATHWAYS = 235; % Gri

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-04 Thread Leah Neukirchen via ntg-context
printer drivers involved. If I run it through Ghostscript, that somehow fixes it: gs -dPDF -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=print.pdf foo.pdf But Ghostscript also seems to rewrite the font, at least in FontForge it shows a different scale. Are there any tools to analyze this

Re: [NTG-context] C with macron

2022-08-24 Thread Thangalin via ntg-context
}}% \kern-1.04\MacUWidth \MacRule \kern.08\MacUWidth }% } \scale[scale=5000]{\Mac Anulty} \Mac Anulty \stoptext Thanks everyone! ___ If your question is of interest to others as well, please add

Re: [NTG-context] C with macron

2022-08-24 Thread Thangalin via ntg-context
/CRaam.png I've tweaked some numbers to get a pretty decent result for this particular font: \starttext M{\dontleavehmode{\raisebox{.45ex}\hbox{\scale[sx=1.1,sy=1.1]{c\hskip-1ex {\dontleavehmode{\raisebox{0ex}\hbox{\hl[.4]}}Anulty Mc̲Anulty \stoptext

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Jethro Djan via ntg-context
\getfiguredimensions[\Doc] > \dorecurse{\noffigurepages} > {\externalfigure[\Doc] >[page=\recurselevel, width=20cm, scale=950]}} > \stoptext > > > I didn’t know how to get an array (or indexed table or whatever you > > call it) in ConTeXt/Tex. >

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Pablo Rodriguez via ntg-context
recurselevel, width=20cm, scale=950]}} \stoptext > I didn’t know how to get an array (or indexed table or whatever you > call it) in ConTeXt/Tex. \doloopoverlist & \recursestring are your friends here. > My problem is now with context(context.noffigurepages). Am I calling > it wro

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Aditya Mahajan via ntg-context
> > \starttext > \startluacode > local function doc(fil) > return fil..[[.pdf]] > end > > local function disppdf(fname) > n = 1 > repeat > context.externalfigure({fname},{ > page = n, > width = "200mm", >

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
function disppdf(fname) n = 1 repeat context.externalfigure({fname},{ page = n, width = "200mm", scale = "950" }) n = n + 1 until n == context(context.noffigurepages) end local pdffiles = {"ass1", "a

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
function disppdf(fname) n = 1 repeat context.externalfigure({fname},{ page = n, width = "200mm", scale = "950" }) n = n + 1 until n == context(context.noffigurepages) end local pdffiles = {"ass1", "a

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
function disppdf(fname) n = 1 repeat context.externalfigure({fname},{ page = n, width = "200mm", scale = "950" }) n = n + 1 until n == context(context.noffigurepages) end local pdffiles = {"ass1", "ass2"

[NTG-context] Clipping multiple PDFs

2022-08-17 Thread jethro Reuel via ntg-context
Hello, I am trying to put multiple PDF’s that were typeset differently into one document without modifying the individual files themselves. I came up with this: \starttext \copypages[ass1.pdf][][scale=950] \copypages[ass2.pdf][][scale=950] … stoptext The problem is the original page numbers

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-26 Thread Benjamin Buchmuller via ntg-context
n["localhsize"])} \startitemize[width=5em] \item Thus, I came to the conclusion that the \hbox{de­signer} of a new system must not only be the implementer and first large--scale user; the de­ signer should also write the first user manual.

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Richard Mahoney via ntg-context
Bruce, I tend to do something such as the following: \startplacefigure[reference={fig:0007},location={here},title={{\it Vīkṣya}, 5b},list={Ch.\ {\sc ix}\TI {\it Vīkṣya}, 5b}] \externalfigure[plates/01-09/01-09-07- c.jpg][scale=1000,frame=off,equalwidth=325pt] {{\NI}{\tfx \copyright\ 2012

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
gt; yes yes 1 0 >> >> my definitions are: >> >> \definefontfamily [newCM] [rm] [newcomputermodern10] >> \definefontfamily [newCM] [ss] [newcomputermodernsans10] >> \definefontfamily [newCM] [tt] [newcomputermodernmono10] [scale=0.85, >> features=non

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Mikael Sundqvist via ntg-context
initions are: > > \definefontfamily [newCM] [rm] [newcomputermodern10] > \definefontfamily [newCM] [ss] [newcomputermodernsans10] > \definefontfamily [newCM] [tt] [newcomputermodernmono10] [scale=0.85, > features=none] > \definefontfamily [newCM] [mm] [newcomputermodern

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
finitions are: >> \definefontfamily [newCM] [rm] [newcomputermodern10] >> \definefontfamily [newCM] [ss] [newcomputermodernsans10] >> \definefontfamily [newCM] [tt] [newcomputermodernmono10] [scale=0.85, >> features=none] >> \definefontfamily [newCM] [mm] [newcompu

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Henning Hraban Ramm via ntg-context
object ID - --- --- --- - CRBMBE+NewCM10-Regular               CID Type 0C       Identity-H yes yes yes      1  0 my definitions are: \definefontfamily [newCM] [rm] [newcomputermodern10] \definefontfamily [newCM] [ss] [newcomputermodernsans10] \definefontfamily [newCM] [tt] [newcomputermodernmono

[NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
] [scale=0.85, features=none] \definefontfamily [newCM] [mm] [newcomputermodernmath] \setupbodyfont[newCM, rm, 10pt] Many thanks Heinrich___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
}] \setuppagenumbering [alternative=doublesided] \setupexternalfigures [location=default] \useexternalfigure [chapter-1] [mill] [factor=max] \useexternalfigure [chapter-2] [hacker] [orientation=90,scale=2000] \useexternalfigure [chapter-3] [cow][orientation=90,height=\framedwidth]

Re: [NTG-context] help with facing page image

2022-03-11 Thread jbf via ntg-context
] [mill]   [factor=max] \useexternalfigure [chapter-2] [hacker] [orientation=90,scale=2000] \useexternalfigure [chapter-3] [cow] [orientation=90,height=\framedwidth] \starttext \startchapter [title={Mill}] \dorecurse{7}{\samplefile{lorem}} \stopchapter \startchapter [title={Hacker}] \dorecurse{11

Re: [NTG-context] help with facing page image

2022-03-11 Thread Wolfgang Schuster via ntg-context
images in novels and the code hasn't changed much since 2013. So, for example., say I need (and in fact I do!) to change some aspect of individual images, e.g. I might want to scale=500, or fiddle with width/height of a particular image. At the moment I cannot see a way of doing this for each image

Re: [NTG-context] TeXGyre Heros on Firefox

2022-03-10 Thread Hans Hagen via ntg-context
][sans] [textgyreheros] \definefontfamily[mainfont][mono] [texgyrecursor][features=none] \definefontfamily[mainfont][math] [texgyrepagellamath] \definefallbackfamily [mainfont] [rm] [Latin Modern Math] [scale=0.925, range=0x22C0] \definefontfeature[smallcaps][script=latn, protrusion

[NTG-context] TeXGyre Heros on Firefox

2022-03-10 Thread juh via ntg-context
][features=none] \definefontfamily[mainfont][math] [texgyrepagellamath] \definefallbackfamily [mainfont] [rm] [Latin Modern Math] [scale=0.925, range=0x22C0] \definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes] \setupalign[hz,hanging

Re: [NTG-context] help with facing page image

2022-03-09 Thread jbf via ntg-context
If you mean \setuphead [chapter] [beforesection={\pageinjection[chapter:start]}, insidesection={\pageinjection[chapter:insert][name=\structureuservariable{image}][name=\structureuservariable{scale}]}] \starttext \startchapter[title={My title}] [image=Chapter1.jpg][scale=500] \setups

Re: [NTG-context] help with facing page image

2022-03-09 Thread Aditya Mahajan via ntg-context
do!) to change some aspect > of individual images, e.g. I might want to scale=500, or fiddle with > width/height of a particular image. At the moment I cannot see a way of > doing this for each image. I wondered if the commented out setups in the > response to this question might

Re: [NTG-context] help with facing page image

2022-03-09 Thread jbf via ntg-context
more alternatives will be added'. I wonder if that last phrase also includes the ability to manipulate the image(s) either generally or in individual cases? So, for example., say I need (and in fact I do!) to change some aspect of individual images, e.g. I might want to scale=500, or fiddle

Re: [NTG-context] No svg file output

2022-03-05 Thread Jan-Erik Hägglöf via ntg-context
e >> picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"]; >> numeric l ; l := bbwidth(utf1); >> numeric h ; h := bbheight(utf1); >> numeric scale ; scale := 3 ; >> draw utf1 xsized l*scale ysized h*scale; >> \stopMPcode >> \stoptext

Re: [NTG-context] No svg file output

2022-03-04 Thread Hans Hagen via ntg-context
eight(utf1); numeric scale ; scale := 3 ; draw utf1 xsized l*scale ysized h*scale; \stopMPcode \stoptext \starttext \startMPcode picture ValidName; ValidName:= lmt_svg [ filename = "utfall01b.svg"]; numeric l ; l := bbwidth(ValidName); numeric h ; h := bbheight(ValidName); numeric scale

[NTG-context] No svg file output

2022-03-03 Thread Jan-Erik Hägglöf via ntg-context
eight(utf1);numeric scale ; scale := 3 ;draw utf1 xsized l*scale ysized h*scale;\stopMPcode\stoptextThanks in advanceJan-Erik___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] new upload

2022-01-23 Thread kauśika via ntg-context
> seen from the user side. > > In my case things improved when I switched to Adishila (in XeTeX): > > \newfontfamily\sanskritfont[Script=Devanagari,Mapping=RomDev,Scale=1.45]{Adi > shilaSan} > > This is, to my taste, the nicest Sanskrit font, but it is difficult to >

Re: [NTG-context] new upload

2022-01-23 Thread hanneder--- via ntg-context
ave to do with the Devanagarī font, or its interaction with (Xe)TeX. Perhaps this is the same phenomenon seen from the user side. In my case things improved when I switched to Adishila (in XeTeX): \newfontfamily\sanskritfont[Script=Devanagari,Mapping=RomDev,Scale=1.45]{AdishilaSan} This is, to

Re: [NTG-context] Critical Editions?

2022-01-08 Thread Jean-Pierre Delange via ntg-context
in the the humanities and they are speciaized in non latin scripts (read: whatever can't be outsourced to large scale service far-far-away). They use their own plain tex macros (understandable and possible because no publishere can force to use a macro package for tricky typesetting). They do

Re: [NTG-context] Critical Editions?

2022-01-08 Thread Hans Hagen via ntg-context
to large scale service far-far-away). They use their own plain tex macros (understandable and possible because no publishere can force to use a macro package for tricky typesetting). They do indic scripts and Kai made the first version of the devanagari code for the context fontloader code that I

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-08 Thread Hans Hagen via ntg-context
definitely a longer time scale matters so using such fonts in a project is more tricky for various reasons. The best would be if we had a repository for context where we put fonts (clean file names, maybe with normalized version/date in file name) that we can then trust to stay the same

Re: [NTG-context] tweaked font options in \definedfontfeature?

2022-01-01 Thread Hans Hagen via ntg-context
to font feature so that won't happen .. the whole idea is to *not* scale the font and delay that the three scales are realtime scales and absolute values \starttext {test {\glyphxscale\numexpr 2*\glyphxscale\relax} test} \fontspecdef\MyFont \font xscale 500 yscale 2000 % currentfont

Re: [NTG-context] [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
-3.0_license.txt and lppl-1-3c_license.txt for more details. \usemodule[circuitikz] \starttext A simple example to test the installation. \startcircuitikz[scale=1.2] \draw (0,2) to[I=1\milli\ampere] (2,2) to[R, l_=2\kilo\ohm, *-*] (0,0) to[R, l_=2\kilo\ohm] (2,0) to[V

[NTG-context] circuitikz module seems broken

2021-12-02 Thread Jan-Erik Hägglöf via ntg-context
[circuitikz] \starttext A simple example to test the installation. \startcircuitikz[scale=1.2] \draw (0,2) to[I=1\milli\ampere] (2,2) to[R, l_=2\kilo\ohm, *-*] (0,0) to[R, l_=2\kilo\ohm] (2,0) to[V, v_=2\volt] (2,2) to[cspst, l=$t_0$] (4,2) -- (4,1.5

Re: [NTG-context] Math in LMTX and definemathcommand

2021-11-17 Thread Hans Hagen via ntg-context
the circle over $A$ slightly bigger (probbaly this is font dependent)? in principle we can scale individual glyphs (and when not default users can add their own lfg files) The built-in commands $\liminf$ and $\limsup$ do not work properly with LucidaOT (I tried other fonts and there they are fine

  1   2   3   4   5   6   7   8   9   10   >