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
> my definitions are: >> \definefontfamily [newCM] [rm] [newcomputermodern10] >> \definefontfamily [newCM] [ss] [newcomputermodernsans10] >> \definefontfamily [newCM] [tt] [newcomputermodernmono10] [scale=0.85, >> features=none] >> \definefontfamily [newCM] [mm] [newc

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 to the

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
[chapter-1] [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}] \do

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

2022-03-11 Thread Wolfgang Schuster via ntg-context
ans) to include full page 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

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
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. I wondered if the commented out setups in the > respons

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

2022-03-09 Thread jbf via ntg-context
that 'probably 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 wan

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
e 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).

Re: [NTG-context] Critical Editions?

2022-01-08 Thread Hans Hagen via ntg-context
sourced 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 c

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

2022-01-08 Thread Hans Hagen via ntg-context
up, specs become clear). Here 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 t

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 % curren

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

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Aditya Mahajan via ntg-context
1-ahdimple)*2ahlength)))cuttings;fi(q.rotated(ahangle/2)&reverse.q.rotated-(ahangle/2)if.ahvariant=1:--point0of.r--elseif.ahvariant=2:...point0of.r...else:--fi.cycle)shifted.e.endgroup metapost> trace > endgroup metapost> trace > pushparameters "arrow&quo

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-19 Thread Henning Hraban Ramm via ntg-context
urer’s workflow tools – only a few admins still know how to (ab)use a prn queue ;) >>>> Beware, \setupbleeding refers only to stretching of images >>>> (\externalfigure)! >>> >>> fwiw, that bleeding options is mostly there to communicate with mp >> Good to know

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
changes all the transform="translate(...)scale(...)" attributes into transform="matrix(...)". Now focus on the "y = sin(x)" text. In the attachment I modified the transform attributes of that text, from "translate(...)scale(...)" to "matrix(...)",

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
incorrect. This file was generated with Matplotlib. If you open test.svg with Inkscape, ungroup and then save, you get a SVG that is typeset right with LMTX. Looking at the differences between the two SVGs, I can see that Inkscape changes all the transform="translate(...)scale(...)"

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
ences between the two SVGs, I can see that Inkscape changes all the transform="translate(...)scale(...)" attributes into transform="matrix(...)". Now focus on the "y = sin(x)" text. In the attachment I modified the transform attributes of that text, from &q

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
incorrect. This file was generated with Matplotlib. If you open test.svg with Inkscape, ungroup and then save, you get a SVG that is typeset right with LMTX. Looking at the differences between the two SVGs, I can see that Inkscape changes all the transform="translate(...)scale(...)"

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
. If you open test.svg with Inkscape, ungroup and then save, you get a SVG that is typeset right with LMTX. Looking at the differences between the two SVGs, I can see that Inkscape changes all the transform="translate(...)scale(...)" attributes into transform="matrix(...)"

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Hans Hagen via ntg-context
to stretching of images (\externalfigure)! fwiw, that bleeding options is mostly there to communicate with mp Good to know. I just browsed the Details manual, didn’t try it yet, since I scale and move my “bleeding” images differently. i actually need to pick up that bit ... (some code in my

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Henning Hraban Ramm via ntg-context
eware, \setupbleeding refers only to stretching of images (\externalfigure)! > > fwiw, that bleeding options is mostly there to communicate with mp Good to know. I just browsed the Details manual, didn’t try it yet, since I scale and move my “bleeding” images differently. >> * to define tr

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
Thank you so much, Hans, that's a neat solution! I was banging my head against the wall, but this makes sense. On 10/5/21 6:38 PM, Hans Hagen wrote: Because you know how to rotate and scale: \startuseMPgraphic{empedocless} path p, q, r ; pair a ; p := fullcircle scaled 10cm ; drawar

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Hans Hagen via ntg-context
led 1.3" and "scaled 1.5"? 3. TeX and metafun: is there a better way to have the followtext exactly centered between the two circles rather than just fiddle with the scale factor? 4. Or is there a better approach to my problem altogether? I'm trying to reproduce an illustr

[NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
line shows that I'm not getting the right section of the circle. How can I get this section into the path S[20]? 2. Math... :-) Is there a better way to define three circles that are at exactly the same distance than my naive "scaled 1.3" and "scaled 1.5"? 3. TeX and meta

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 4:27 PM, kauśika cittūr via ntg-context wrote: My final query: is it possible to specify a co-ordinate transform for any/all of the axes? For instance in my work, I would like to plot the y-axis in the log-scale. Alan is working on that when he is in distraction mode ... we have

[NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
csv}, labels = {"•"}, ] }, ] withpen pencircle scaled 0.5mm; \stopMPcode My final query: is it possible to specify a co-ordinate transform for any/all of the axes? For instance in my work, I would like to plot the y-

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Henning Hraban Ramm
nd quality data files. >>>>> Does this help? >>>>> <https://www.naturalearthdata.com> >>>> i was halfway writing as reader for that fiel format when i noticed that >>>> is is also quite low res so i gave up on that and started playing >>

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Henning Hraban Ramm
ww.naturalearthdata.com> >>> i was halfway writing as reader for that fiel format when i noticed that is >>> is also quite low res so i gave up on that and started playing (extending) >>> with an more interesting alternative that mojca and i wrote years ago at a &g

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Hans Hagen
esting alternative that mojca and i wrote years ago at a meeting Off the top of my head I'm not aware of any higher resolution sources of global data - what scale were you thinking of? Can you work with OpenStreetMap data? https://planet.openstreetmap.org http://download.geofabr

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Henning Hraban Ramm
lso quite low res so i gave up on that and started playing (extending) >> with an more interesting alternative that mojca and i wrote years ago at a >> meeting > > Off the top of my head I'm not aware of any higher resolution sources of > global data - wha

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Bruce Horrocks
e that mojca and i wrote years ago at a > meeting Off the top of my head I'm not aware of any higher resolution sources of global data - what scale were you thinking of? For the UK there are free maps down to street level, either as a single file or API. The API details are here: <http

Re: [NTG-context] yscale not working

2021-06-05 Thread Wolfgang Schuster
the height, but then it becomes too wide. Not all scaling and sizing combinations can be used at the same time. To get both effects you can use \scale to stretch the figure to the desired height. \scale[sy=2]{\externalfigure[...][width=.5\textwidth]} Wolfgang

Re: [NTG-context] lmt_followtext and cycle

2021-03-19 Thread Hans Hagen
ked fine. in one case you scale the result in th eother the text and when the text runs outside the shape the resulting bbox is larger than the original xsized TextWidth scales the result how can the p you draw know that the lmt_followtext hs

[NTG-context] tikzpicture in margin

2021-02-14 Thread Jigé
ded] \starttext \input{lorem} \inmargin{\externalfigure[cow] [width=\marginwidth]} \pagebreak \input{lorem} \input{lorem} \blank We would like the picture to go the the left of this paragraph. \setupmarginblocks[location=left,align=inner] \startmarginblock \starttikzpicture[scale=0.2] \draw[gray] (-2,

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext

Re: [NTG-context] Metapost: directionpoint gives unexpected point(?)

2021-02-12 Thread Taco Hoekwater
> cl := cl cutbefore point (1/6+epsilon) along cl cutafter point > (2/6-epsilon) along cl; > cs := (fullcircle scaled 16u) shifted z1; > cs := cs cutafter point (1/6-epsilon) along cs; > > and indeed, it works here now, with different values of the scale u, > and it seems

Re: [NTG-context] Metapost: directionpoint gives unexpected point(?)

2021-02-12 Thread Mikael Sundqvist
:= (fullcircle scaled 16u) shifted z1; cs := cs cutafter point (1/6-epsilon) along cs; and indeed, it works here now, with different values of the scale u, and it seems more stable. /Mikael PS I found out that eps and epsilon both worked, and I do not see in the metafun manual if there is a difference

Re: [NTG-context] Metapost: directionpoint gives unexpected point(?)

2021-02-11 Thread Mikael Sundqvist
d evenly; > draw z22 -- (z11 shifted z22) dashed evenly; > > % dotlabel.top("$O$",origin); > enddef ; > \stopMPdefinitions > > \startMPpage[offset=4bp,instance=doublefun] > FOO(1cm); > \stopMPpage > \startMPpage[offset=4bp,instance=doublefun] > FOO

Re: [NTG-context] Metapost: directionpoint gives unexpected point(?)

2021-02-11 Thread Hans Hagen
the origin ... so maybe just calculate large and scale the result to what you want. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands t

Re: [NTG-context] midi

2021-02-03 Thread Ivan Pešić
> >Hans Hans, it is possible to set up any scale through MIDI ;-) I use that to emulate historical quarter-comma meantone keyboard tuning for some 16th century harpsichord music from Byrd, for example... Ivan чет, 4. феб 2021. 00:33 је написао/ла: > Send ntg-context mailing list su

Re: [NTG-context] Bib support broken in lmtx

2021-01-30 Thread Philipp A.
aset=default] >>> \usebtxdefinitions[apa] >>> >>> \starttext >>> >>> \cite[authoryear][angerer2016] >>> >>> %\placelistofpublications[default][method=dataset] >>> >>> \stoptext >>> >>> test.bib: >

Re: [NTG-context] Floating object in text - Spacing

2021-01-15 Thread Johann Birnick
wing example: > > > > \setupexternalfigures[location=default] > > \starttext > > \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} > > \samplefile{lorem} > > \stoptext > > > > What bothers me is the top spacing. There is space to the top, and I dont &g

Re: [NTG-context] Floating object in text - Spacing

2021-01-15 Thread Aditya Mahajan
On Sat, 16 Jan 2021, Johann Birnick wrote: > Consider the following example: > > \setupexternalfigures[location=default] > \starttext > \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} > \samplefile{lorem} > \stoptext > > What bothers me is the top

[NTG-context] Floating object in text - Spacing

2021-01-15 Thread Johann Birnick
Consider the following example: \setupexternalfigures[location=default] \starttext \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} \samplefile{lorem} \stoptex What bothers me is the top spacing. There is space to the top, and I dont want it to be there. On the bottom there is

Re: [NTG-context] LuaTeX and PDF.js

2021-01-08 Thread Vedran Miletić
l? Because it seems it's there. depends on what you consider (non) hdpi ... the positioning of glyphs depends on font scale, rounding of stems and such (hints in fonts but these get less relevant with high res displays), caching, inter glyph corrections (that pdftex/luatex/...) put in the

[NTG-context] new upload

2021-01-08 Thread Hans Hagen
for special cases, like making sure something fits in some area or make for instance last lines look a bit better (posters or so). For the moment I decided for two additional (optional) scale directives in the font definition (hopefully i didn't mess up the ctx parser for that). Scales

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Aditya Mahajan
as well? Because it seems it's there. > > depends on what you consider (non) hdpi ... the positioning of glyphs > depends on font scale, rounding of stems and such (hints in fonts but > these get less relevant with high res displays), caching, inter glyph > corrections (that pdft

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen
the positioning of glyphs depends on font scale, rounding of stems and such (hints in fonts but these get less relevant with high res displays), caching, inter glyph corrections (that pdftex/luatex/...) put in the text stream to resync within certain tolerances, etc ... (often a print is a bette

Re: [NTG-context] Bib support broken in lmtx

2021-01-03 Thread Philipp A.
> \usebtxdefinitions[apa] >> >> \starttext >> >> \cite[authoryear][angerer2016] >> >> %\placelistofpublications[default][method=dataset] >> >> \stoptext >> >> test.bib: >> @Article{ angerer2016, >> author = {Angerer, Philipp an

Re: [NTG-context] Bib support broken in lmtx

2020-12-26 Thread Philipp A.
dataset] > > \stoptext > > test.bib: > @Article{ angerer2016, > author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren > and Theis, Fabian J and Marr, Carsten and Buettner, Florian}, > doi = {10.1093/bioinformatics/btv715}, > issn = {14602059}, > jo

Re: [NTG-context] Bib support broken in lmtx

2020-12-25 Thread denis.maier
language = {en}, number = {8}, pages = {1241--1243}, title = {{Destiny: Diffusion maps for large-scale single-cell data in R}}, url = {http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715 files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale single-c

[NTG-context] Bib support broken in lmtx

2020-12-25 Thread Philipp A.
= {8}, pages = {1241--1243}, title = {{Destiny: Diffusion maps for large-scale single-cell data in R}}, url = { http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715 files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale single-cel.pdf}, volume = {32},

[NTG-context] new font trickery

2020-12-22 Thread Hans Hagen
but for now use a low level \glyphscale command that takes a number (in goodl old tex tradition a scale of 1.0 is entered as 1000). (5) The implementation can be improved a bit (performance wise). There is a bit more overhead involved but usually I can compensate that. (6) It will not be

[NTG-context] sacling isue in lmt_followtext

2020-12-05 Thread Pablo Rodriguez
uot;, reverse=true, ] xsized TextWidth ; \stopMPcode \stoptext Text doesn’t scale properly (I would say starting with latest from 2020.12.03 19:02). It gets worse with \dorecurse{2}. With current latest (2020.12.04 20:22), each glyph seems to have a different scaling. I even wonder wh

Re: [NTG-context] latest lmtx

2020-11-13 Thread j . hagen
le, but I don't quite see what needs to be changed. A line such as \setupmodule [scale=1,font=GreekDidot] for my t-ancientgreek.mkiv works fine with the --luatex switch; in lmtx, context chokes on it. What is the new incantation for modules? Thomas _

[NTG-context] latest lmtx

2020-11-13 Thread Thomas A. Schmitz
its definition So I guess it's the way I have used setupmodule in my modules. I tried to find and understand the new code by comparing file-mod.mkvi vs file-mod.mklx, and it should be around l. 117-131 of this file, but I don't quite see what needs to be changed. A line such as \setupm

[NTG-context] messages on undefined control sequences

2020-11-06 Thread Pablo Rodriguez
**de,**de-de,**de-at,**de-ch] {\hiddentitle {[Bildtitelseite]}}\stopmodeset }\doifdefined {hiddentitle}{\CoverPageTitle } \setupbodyfont [svb]{\scale [width=.35\textwidth ]{\sc \getvariable {coverpage}{author}}}\vfill \scale [width=\textwidth]... \setuppapersize[A6] Would it be poss

Re: [NTG-context] scaling images

2020-09-27 Thread Taco Hoekwater
> On 27 Sep 2020, at 11:42, Henning Hraban Ramm wrote: > > Hi, > I’m struggling with scaling images: > > \externalfigure[hacker][width=0.5\textwidth] > > looks right. > > > If I use the scale / xscale / yscale options, the image gets smaller, > regar

[NTG-context] scaling images

2020-09-27 Thread Henning Hraban Ramm
Hi, I’m struggling with scaling images: \externalfigure[hacker][width=0.5\textwidth] looks right. If I use the scale / xscale / yscale options, the image gets smaller, regardless of height/width settings, i.e. with \externalfigure[hacker][width=0.5\textwidth,yscale=500,xscale=1000] It

Re: [NTG-context] Problem with fonts in Lua

2020-09-18 Thread Pablo Rodriguez
ttps://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip (direct link). So the final sample might read: \definefallbackfamily [mainface] [rm] [GFS Heraklit] [preset=range:greek,force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX

Re: [NTG-context] Problem with fonts in Lua

2020-09-15 Thread Wolfgang Schuster
] % [preset = range: greek, force = yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros, scale = 0.75] \setupbodyfont [mainface] \starttext Spanish text \input tufte Greek Text: Μετὰ δὲ ταῦτα οὐ πολλαῖς ἡμέραις ὕστερον ἦλθεν ἐξ Ἀθηνῶν

[NTG-context] Problem with fonts in Lua

2020-09-15 Thread MANUEL GONZALEZ SUAREZ
[mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros, scale = 0.75] \setupbodyfont [mainface] \starttext Spanish text \input tufte Greek Text: Μετὰ δὲ ταῦτα οὐ πολλαῖς ἡμέραις ὕστερον ἦλθεν ἐξ Ἀθηνῶν Θυμοχάρης ἔχων ναῦς ὀλίγας · καὶ εὐθὺς ἐναυμάχησαν αὖθις

Re: [NTG-context] Fullwidth topfigure with caption in the margin

2020-09-08 Thread Mikael Sundqvist
> > \samplefile{knuth} > \stoptext > %% > > but, as one can see on page two, the text from the previous page just > continues under the image. I want the "larg-scale user..." to start below > the image. It would be good if it was also possible to configure the &

[NTG-context] Fullwidth topfigure with caption in the margin

2020-09-07 Thread Mikael Sundqvist
}}] \blackrule[width=6.5in,height=2in,color=transparentred] \stopplacetopfigure \samplefile{knuth} \stoptext %% but, as one can see on page two, the text from the previous page just continues under the image. I want the "larg-scale user..." to start below the image. It would be good if i

Re: [NTG-context] Combining modes and MetaFun

2020-09-06 Thread Jan Willem Flamma
ometxt{lengte},  (0.5u,-0.4u)) ;}> >      %\doifmode{en}{label(\sometxt{width},   (1.6u, 0.5u)) ;}> >      %\doifmode{nl}{label(\sometxt{breedte}, (1.6u, 0.5u)) ;}> > \stopbuffer> > \placefigure> >      [here,none][]{}> >      {\scale[width=0.5\textwidth]{\processMPb

Re: [NTG-context] Combining modes and MetaFun

2020-09-04 Thread Hans Hagen
, 0.5u)) ;}     %\doifmode{nl}{label(\sometxt{breedte}, (1.6u, 0.5u)) ;} \stopbuffer \placefigure     [here,none][]{}     {\scale[width=0.5\textwidth]{\processMPbuffer[square]}} \stoptext You need to compensate these solutions by "wikifying" them: \starttext \startuseMPgraphic{w

[NTG-context] Combining modes and MetaFun

2020-09-04 Thread Jan Willem Flamma
 \placefigure    [here,none][]{}    {\scale[width=0.5\textwidth]{\processMPbuffer[square]}} \stoptext  ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
n={middle,lohi},columndistance=0em] \startxrow \startxcell \dontleavehmode \externalfigure[cow.pdf] [scale=500] \stopxcell \stopxrow \stopxtable \stoptext > But why that is? I do not have any other good ideas. And > unfortunately lot

Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
(j.ha...@xs4all.nl) escribió: > On 8/9/2020 5:39 PM, Jairo A. del Rio wrote: > > Hi, list! I'm doing the following to scale squares and other stuff in > > MetaPost/MetaFun. Although the following kinda works (maybe I'm just > > lucky with this), I want to know how to do a bet

Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Hans Hagen
On 8/9/2020 5:39 PM, Jairo A. del Rio wrote: Hi, list! I'm doing the following to scale squares and other stuff in MetaPost/MetaFun. Although the following kinda works (maybe I'm just lucky with this), I want to know how to do a better piece from it. I'm concerned with passin

[NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
Hi, list! I'm doing the following to scale squares and other stuff in MetaPost/MetaFun. Although the following kinda works (maybe I'm just lucky with this), I want to know how to do a better piece from it. I'm concerned with passing data from Lua and TeX to Metapost and better w

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-08 Thread Hans Hagen
axima ... Apparently, Adobe InDesign demands that in a hard way. Or maybe it just cannot handle zero's. The last time I ever ran into an issue was that a scale should not be zero (so we always have 0.1 at least). But I only have an old acrobat professional so I can't check the latest

Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Wolfgang Schuster
[{\framed [frame=off, orientation=20, foregroundcolor=gray] {\scale[width=\textwidth]{Draft}}}] Also, if you set \rotate[rotation=0.0]{Draft} it will disappear... I see, there are still problems with decimal values for rotation.

[NTG-context] does font expansion break -char.width?

2020-05-17 Thread Pablo Rodriguez
score] [righthyphenchar="FE000] \setuphyphenation [method=traditional] \unexpanded\def\sha#1% {\begingroup\tt \sethyphenationfeatures[underscore]% #1% \endgroup} \definefontfeature[default][default][expansion=quality] \setup

[NTG-context] Would it be possible in LMTX to do something like variable font/lineheight to fit a fixed frame?

2020-05-10 Thread Gerben Wierda
()) If too high METAPOST: scale down so it fits in frame But the scaling wil scale both height and width so it doesn’t only go to the correct height, it also gets too narrow. Just scaling in the vertical direction squashes the text/font. What would be great is some way to have the font

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Pablo Rodriguez
set it up to "yes", since otherwise if the main font (Optima in this case) has any glyph for the Cyrillic block, it would use that glyph in Optima, mixing it with the other ones from the fallback font. In my personal experience, this looks crappy. c. Relative scale to the main font:

Re: [NTG-context] followtext, lmt_followtext and an offset of the glyphs typeset along the path (suggestion works)

2020-05-03 Thread Gerben Wierda
carries the text invisible? That’s what I would do in a >>>> graphical application, but I would be surprised if MP wouldn’t know a >>>> transformation for this purpose. >>> >>> No, that is what I did in the example, fiddling, but there is no >>

Re: [NTG-context] followtext, lmt_followtext and an offset of the glyphs typeset along the path

2020-05-03 Thread Gerben Wierda
sformation for this purpose. >> >> No, that is what I did in the example, fiddling, but there is no >> transformation that will work in all cases. E.g. on the left side of the >> bump, I need to go to the upper left, on the right side to the upper right. >> There is n

Re: [NTG-context] followtext, lmt_followtext and an offset of the glyphs typeset along the path

2020-05-02 Thread ntg
I would do in a >> graphical application, but I would be surprised if MP wouldn’t know a >> transformation for this purpose. > > No, that is what I did in the example, fiddling, but there is no > transformation that will work in all cases. E.g. on the left side of the >

Re: [NTG-context] followtext, lmt_followtext and an offset of the glyphs typeset along the path

2020-05-01 Thread Gerben Wierda
purpose. No, that is what I did in the example, fiddling, but there is no transformation that will work in all cases. E.g. on the left side of the bump, I need to go to the upper left, on the right side to the upper right. There is no single shift that helps me. Nor a scale rotation or shift combinatio

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread kaddour kardio
;s Blog but it shows no symbols: >>> >> >>> >> \definetypeface[mainfont][rm][specserif][Linux Libertine O][default] >>> >> \definetypeface[mainfont][mm][math] [TeX Gyre Pagella Math][default] >>> >> \definetypeface[mainfont][tt][mono] [De

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread kaddour kardio
>> >> \definetypeface[mainfont][rm][specserif][Linux Libertine O][default] >> >> \definetypeface[mainfont][mm][math] [TeX Gyre Pagella Math][default] >> >> \definetypeface[mainfont][tt][mono] [Dejavu Mono][default] [rscale=0.8, >> >> features=no

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread kaddour kardio
m][math] [TeX Gyre Pagella Math][default] > >> \definetypeface[mainfont][tt][mono] [Dejavu Mono][default] [rscale=0.8, > >> features=none] > >> \setupbodyfont[mainfont,11pt] > >> \usesymbols[fontawesome] > >> > >> \define\FA{\dosingleargument\doFA}

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread Hans Hagen
fault] \definetypeface[mainfont][mm][math] [TeX Gyre Pagella Math][default] \definetypeface[mainfont][tt][mono] [Dejavu Mono][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \usesymbols[fontawesome] \define\FA{\dosingleargument\doFA} \def\doFA[#1]{\inlinedbox    {\scale[height=1em]{\s

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread Aditya Mahajan
Gyre Pagella Math][default] \definetypeface[mainfont][tt][mono] [Dejavu Mono][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \usesymbols[fontawesome] \define\FA{\dosingleargument\doFA} \def\doFA[#1]{\inlinedbox {\scale[height=1em]{\symbol[fontawesome][#1]}}} \starttext Checked bo

[NTG-context] Fontawesome in lmtx

2020-04-10 Thread kaddour kardio
t][tt][mono] [Dejavu Mono][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \usesymbols[fontawesome] \define\FA{\dosingleargument\doFA} \def\doFA[#1]{\inlinedbox {\scale[height=1em]{\symbol[fontawesome][#1]}}} \starttext Checked box \FA[check-square-o] Unchecked box \FA[squ

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