[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Wolfgang Schuster
\sc{\addff{smallcaps}} This works for all styles that have the smcp feature, but I don't like having to redefine a system command. So the questions are: 1) Is there a recommended\better way to get \sc to work across all styles? \setupbodyfont[pagella] \starttext \tf Upright, \it Italic

[NTG-context] Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
for all styles that have the smcp feature, but I don't like having to redefine a system command. So the questions are: 1) Is there a recommended\better way to get \sc to work across all styles? 2) Are there any edits you would recommend to the above typescript template? Once we're clear

[NTG-context] unsubscribe

2023-08-18 Thread Thomas Floeren via ntg-context
of view. Nothing else. >> >> I have no clue of what you talk about here. >> >>> >>> from the TeXbook 380-381 >>> >>> «\obeylines doesn’t say ‘\def^^M{\par}’, so we must make any desired >>> changes to >>> \par before invoking \obeyl

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

2023-08-18 Thread Carlos
> > > changes a > > > space to category 12; but the \tt font has the character ‘␣’ in the > > > ⟨space⟩ position, so we > > > don’t really want ␣12 . (3) The \obeyspaces macro in Appendix B merely > > > changes the > > > ⟨space⟩ character to cate

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

2023-08-18 Thread Carlos
macro in Appendix B merely > > changes the > > ⟨space⟩ character to category 13; active character ␣13 has been defined to > > be the same > > as \space, a macro that expands to ␣10 . This is usually what is desired; > > for example, > > it means

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

2023-08-18 Thread Carlos
but the \tt font has the character ‘␣’ in the ⟨space⟩ > > position, so we > > don’t really want ␣12 . (3) The \obeyspaces macro in Appendix B merely > > changes the > > ⟨space⟩ character to category 13; active character ␣13 has been defined to > > be the same >

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

2023-08-18 Thread Mikael Sundqvist
is usually what is desired; for > example, > it means that spaces in constructions like ‘\hbox to 10 pt {...}’ won’t cause > any > trouble. But in our application it has an undesirable effect, because it > produces spaces > that are affected by the space factor. To defeat this feat

[NTG-context] Re: breakpoints in verbatim text

2023-08-18 Thread Hans Hagen
but Hans suggestion to provide a hook which can be used to re-enable the feature, e.g.     \startsetups [typing:mine]         \setbreakpoints[compound]     \stopsetups     \setuptyping [CUSTOM] [setups=typing:mine] The only flaw I can see in the suggestion is the use

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

2023-08-18 Thread Carlos
, it means that spaces in constructions like ‘\hbox to 10 pt {...}’ won’t cause any trouble. But in our application it has an undesirable effect, because it produces spaces that are affected by the space factor. To defeat this feature, it’s necessary either to say \frenchspacing or to redefine ␣13

[NTG-context] Re: Optical scaling in Latin Modern

2023-08-15 Thread Hamid,Idris
e 12pt roman %D bodyfont. -) > well, in type-imp-latinmodern.mkiv i can find 'designsize' ... you're > not relying on some gpt driven search machine are you? No just the search files feature in Notepad++ -) Ok, looking at type-imp-latinmodern.mkiv, under latin-modern-designsize, I see

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

2023-08-13 Thread Hans Hagen via ntg-context
base, mirror and -scale or scale, mirror and -scale or scale }, }, } end end end -- in principle one can have some extra parameters for shifts but this -- is suboptimal anyway and only meant for minion local function in

[NTG-context] Re: setupexternalfigures and resoĺution

2023-07-28 Thread Benjamin Buchmuller
This thread about downsampling external images on the fly is a really helpful feature! Thanks, Hraban for sharing the code! I was wondering if it was possible to downscale also raster images embedded in pdf/svg files loaded via \externalfigure? I found a ghostscript solution online (https

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
defaultbrokenpenalty \stopsetups % we enable the use of expansion (this feature might become preset % because we now delay setting the vectors anyway so less overhead) \definefontfeature   [default]   [default]   [expansion=quality,    protrusion=quality,    itlc=yes] % vertical expansion

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Keith McKay
\widowpenalty    1     \frozen\clubpenalty 1     \frozen\displaywidowpenalty 1     \frozen\brokenpenalty   0 % \defaultbrokenpenalty \stopsetups % we enable the use of expansion (this feature might become preset % because we now delay setting the vectors anyway so less

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen via ntg-context
% \defaultbrokenpenalty \stopsetups % we enable the use of expansion (this feature might become preset % because we now delay setting the vectors anyway so less overhead) \definefontfeature [default] [default] [expansion=quality, protrusion=quality, itlc=yes] % vertical expansion

[NTG-context] Re: new upload

2023-07-18 Thread Rik Kabel
On 7/18/2023 4:12 PM, Hans Hagen wrote: Hi, In todays upload there is a follow up on a new feature that is already present in the previous upload (but that was not yet advertised):   context --parallel test1.tex test2.tex test3.tex   context --parallel --pattern=test*.tex   context

[NTG-context] new upload

2023-07-18 Thread Hans Hagen
Hi, In todays upload there is a follow up on a new feature that is already present in the previous upload (but that was not yet advertised): context --parallel test1.tex test2.tex test3.tex context --parallel --pattern=test*.tex context --parallellist myfile.cmd (filters context

[NTG-context] Re: lpdf.registerfontmethod

2023-07-07 Thread Hans Hagen via ntg-context
in these containers. (It was when the mp to pdf conmverter showed up in context mkii.) One or these now obsolete sub projects; it was kind of fun anyway. Other experiments, like with saving positions (which originally was a context feature that involved betweeen run dvi parsing with dvipos) did make

Re: [NTG-context] new version

2023-06-23 Thread Marcus Vinicius Mesquita via ntg-context
? > No, it's an independent feature of the linebreak mechanism. You can run > this and see how it kicks in > > \starttext > > \definecolor[ttest][a=1,t=.5] > \definecolor[rtest][a=1,t=.5,r=1] > > \dostepwiserecurse{80}{120}{1}{ > \startTEXpage[of

Re: [NTG-context] new version

2023-06-23 Thread Hans Hagen via ntg-context
On 6/23/2023 11:54 AM, Marcus Vinicius Mesquita via ntg-context wrote: Should then \setupalign[granular] be used before defining font features? No, it's an independent feature of the linebreak mechanism. You can run this and see how it kicks in \starttext \definecolor[ttest][a=1,t=.5

Re: [NTG-context] new version

2023-06-23 Thread Marcus Vinicius Mesquita via ntg-context
f primary badness now. > > (2) As side effect of (3) initialization of expansion (as well as > compression and protrusion) is delayed till it kicks in. This means that > > \definefontfeature[default][default][expansion=quality] > > has become cheaper and might as well become the default.

[NTG-context] new version

2023-06-22 Thread Hans Hagen via ntg-context
] has become cheaper and might as well become the default. (3) The biggest new feature (already known to some of you as we chat about it) is that in addition to the (upto three) passes that create a paragraph we can now have extra ones. This is discussed in lowlevel-lines.pdf (preliminary

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread linguafalsa--- via ntg-context
t see the video, it's distracting, but as I said, is a valid request on your part Perhaps `\setuphead` can have such of a feature in the future — that of different settings for different chapters, and if one exists now, I'm just simply unaware of, but either way, you're dealing mainly here with

Re: [NTG-context] Commercial fonts and diacritics

2023-06-01 Thread Hans Hagen via ntg-context
Pro has them. So far, so good (or not). The hotline of fontshop.com thinks that there is an OpenType feature that creates so-called Composits out of the elements. I can understand the mechanism, I guess I have tweaked something similar in pdflatex or OmegaTeX in the pre-otf era, but I have

[NTG-context] Commercial fonts and diacritics

2023-06-01 Thread hanneder--- via ntg-context
(or not). The hotline of fontshop.com thinks that there is an OpenType feature that creates so-called Composits out of the elements. I can understand the mechanism, I guess I have tweaked something similar in pdflatex or OmegaTeX in the pre-otf era, but I have no idea whether one of these mechanism can

[NTG-context] dirty tricks

2023-05-28 Thread Hans Hagen via ntg-context
As the names suggest, it's a bit weird feature but so is \looseness. It might evolve from playground into some interfaced feature. Of course changing the text gives different results. But then, \looseness also assumes a stable paragraph. Hans (a byproduct of more advanced experiments

[NTG-context] upload

2023-05-27 Thread Hans Hagen via ntg-context
same number of lines (single char moves have little impact). - The \lastlinefit (etec) feature is now controlled by the "fit" option in \setupalign etc; i'm still pondering how to control the orphan penalty feature that has been around for a while now but never really configured)

Re: [NTG-context] new module installer and .tar.gz compression

2023-05-08 Thread Hans Hagen via ntg-context
ted. When all modules are consistently packages I can make a 'remove old' feature. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] update

2023-04-27 Thread Max Chernoff via ntg-context
stall.sh > (I assume that, as of today, > it is already the most up-to-date version Correct. > if and when it is > required or desired to do so? You only need to update ConTeXt if a new update fixes a bug that affects you or adds a new feature that you want. Most updates are announced

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Hans Hagen via ntg-context
wasting too much time on that. if you know what the bugs are you can make a pseudo feature that fixes it (there are examples in the test suite) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Hans Hagen via ntg-context
interferes The problem is, the EB Garamond version that is included seems to have a bug: the c-t and s-t ligatures (and maybe others) are triggered when enabling `dlig` even though they are supposed to be in the `hlig` feature. I also would like to include the Hack font that isn't

[NTG-context] Using project-local fonts

2023-04-13 Thread Kalouguine Andre via ntg-context
others) are triggered when enabling `dlig` even though they are supposed to be in the `hlig` feature. I also would like to include the Hack font that isn't in the distribution. So, I'm looking for a way to embed the fonts into the project in a portable way instead of installing them in a system

Re: [NTG-context] bold small caps

2023-04-03 Thread Pablo Rodriguez via ntg-context
On 4/3/23 09:07, Peter Münster via ntg-context wrote: > Hi, > > I'm quite sure, that this worked some time ago with the standard font (LM): I had the same impression, Peter. But LM fonts don‘t have the OT feature smcp: \setuppapersize[A8] \starttext \doloopoverlist{lm, pagell

Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Pablo Rodriguez via ntg-context
tachments/20230401/1f8c6cc9/attachment-0001.pdf. According to type-imp-concrete.mkiv, text has the feature boldened-10 applied to it. Even with a variable font (which might not be the case in the link above), extending the font fakes the bold, such as in: \definefontfamily [mainface]

Re: [NTG-context] characters.tex.toutf bug

2023-03-30 Thread Max Chernoff via ntg-context
Hi Hans, > it is more side effect of removing the (declared obsolete some years > ago) `` '' input which catched it later > > i tend to remove > > for k, v in next, ligaturemapping do > hash[k] = v > end > > in favor of an explic

Re: [NTG-context] characters.tex.toutf bug

2023-03-30 Thread Hans Hagen via ntg-context
'' input which catched it later i tend to remove for k, v in next, ligaturemapping do hash[k] = v end in favor of an explicit 'tquo' feature that one can enable if wanted \definefontfeature[default][default][tlig=yes,tquo=yes,trep=yes] \startbuffer[test-bib] @arti

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
all through the wiki, thinking this was a basic feature, but couldn't get anything to work. I even tried my own custom macros, see below, but strangely, it won't give me the correct title, it tells me the title of the current chapter, instead of the title in which the reference was placed: \define[1]\

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
I've set a \pagereference in a chapter, and want to print its chapter title and page number, ex. "You can find more information in "Fish" on p. 1" (where "Fish" is the title of the chapter or section). I've tried looking all through the wiki, thinking this was a ba

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread Otared Kavian via ntg-context
Hi, Indeed you are right. However, Hans said the feature would be added in the next update: so you have to wait a little bit :-) Best regards: Otared > On 27 Feb 2023, at 12:33, Jan-Erik Hägglöf via ntg-context > wrote: > > I tested the code and the separator di

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

2023-02-25 Thread Paul Mazaitis via ntg-context
as Natural Tables. I want to keep the headers in the CSV files so they're useful in other contexts. The `m-database` module doesn't have a feature to suppress the header row, from what I can see. (I know `handlecsv` can do this, but I'm having troubles with that; if the `m-database` line of inquiry

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
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 the interviewee name and bio. All in a "fancy" layout. I'm ha

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
om 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 the interviewee name and bio. All in a "fancy" layout. &g

[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

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

2023-02-15 Thread Mikael Sundqvist via ntg-context
s do not increment > page numbers. > > Is this a feature? How could re-establish the right page number for the > rest of the document? > > Thank you in advance, > > Alex Can you show a small example of this behavior? /Mikael ___

[NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
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 of the document? Thank you

[NTG-context] lmtx update

2023-02-06 Thread Hans Hagen via ntg-context
Hi, We were considering to drop the virtual math fonts mechanism (which has served its purpose in the transition in the very early days of luatex but became obsolete as math fonts evolved) but in the end we were forced keep this feature and even upgrade it because we liked iwona, kurier

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
o obtain high quality > > documents. I'm a theoretical physicist and I'm going to write a book. I > > think ConTeXt is the right choice to work with a number of formulas, > > figures and cross-references. The visual quality of formulas is better > > than in regular LaTeX. The new feat

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
of formulas, figures and cross-references. The visual quality of formulas is better than in regular LaTeX. The new feature with formula autosplitting looks also very promising. For me it is important to obtain the high quality without a lot of manual tweaks of each formula for each given document

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
rences. The visual quality of formulas is > better than in regular LaTeX. The new feature with formula > autosplitting looks also very promising. For me it is important to > obtain the high quality without a lot of manual tweaks of each > formula for each given document format and figu

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
of formulas is better than in regular LaTeX. The new feature with formula autosplitting looks also very promising. For me it is important to obtain the high quality without a lot of manual tweaks of each formula for each given document format and figure placement. However, I have found a problem

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-26 Thread Otared Kavian via ntg-context
ake it "consistent", >> there are too many symbols that are at the moment different). But in >> your example you can use \colonequals and \colon if you prefer. They >> are centered around the math axis. >> Best, Mikael >> \setupbodyfont[lucidaot,12pt] >> \star

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-26 Thread Hans Hagen via ntg-context
topformula \stoptext There is a (experimental as we played with it and then got distracted) feature that makes some symbols adapt to spacing in the input. \starttext \setupmathematics[autospacing=yes] \setupmathematics[collapsing=2] \im{A:B} and \im{A : B}\par \im{A:=B} and \im

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-25 Thread Otared Kavian via ntg-context
or this > release. And we must thank Chuck Bigelow and Kris Holmes (they approved > this release, as always), without whom nothing could be done. > > Bug reports and character/feature requests are welcome (email to this > list is best), though, as usual, we cann

[NTG-context] Fwd: Lucida-1.901 (2023-01-21) available

2023-01-23 Thread Henning Hraban Ramm via ntg-context
. And we must thank Chuck Bigelow and Kris Holmes (they approved this release, as always), without whom nothing could be done. Bug reports and character/feature requests are welcome (email to this list is best), though, as usual, we cannot promise any particular timeline for the next release. Happy

Re: [NTG-context] wider font effect as font feature?

2023-01-20 Thread Hans Hagen via ntg-context
On 1/20/2023 1:59 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I wanted to use a font with slightly wider effect, such as in: \definetweakedfont[wider][xscale=1.075] Is there any way that it could be applied as a font feature? Or how could I apply this effect everytime

[NTG-context] wider font effect as font feature?

2023-01-20 Thread Pablo Rodriguez via ntg-context
Dear list, I wanted to use a font with slightly wider effect, such as in: \definetweakedfont[wider][xscale=1.075] Is there any way that it could be applied as a font feature? Or how could I apply this effect everytime a \definefontfamily is used? Many thanks for your help, Pablo

Re: [NTG-context] Minor bug in Lua or ConTeXt

2023-01-18 Thread Hans Hagen via ntg-context
On 1/18/2023 6:47 PM, Pablo Rodriguez via ntg-context wrote: from what I understand is that undefined TeX commands cannot be added to Lua comments. Indeed. Of course we could have some 'ignore undefined command' feature but that cripples the engine as well as then also never gives warning

Re: [NTG-context] LMTX: request for \tracinglostchars=3

2022-12-22 Thread Leah Neukirchen via ntg-context
> LuaTeX+MKIV, probably because there is code to fallback to other fonts?) > and if you want to quit: > > \enabledirectives[logs.errors=missing characters] Ok, this is useful. I looked around, but I couldn't find a similar feature for when a font

Re: [NTG-context] move glyph vertically

2022-12-22 Thread Hans Hagen via ntg-context
[ '¿' ] = 1000, [ '¡' ] = 1000, } } \stopluacode \definefontfeature[ktest][gpost_tes=yes] \starttext \startTEXpage[offset=1em] \feature[+][gpos_test] ¿? ¡! \stopTEXpage \stoptext This tries to move vertically the opening question and e

[NTG-context] move glyph vertically

2022-12-22 Thread Pablo Rodriguez via ntg-context
} \stopluacode \definefontfeature[ktest][gpost_tes=yes] \starttext \startTEXpage[offset=1em] \feature[+][gpos_test] ¿? ¡! \stopTEXpage \stoptext This tries to move vertically the opening question and exclamation marks, so they are at the same height that its closing counterparts. I thought

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-21 Thread Hans Hagen via ntg-context
with ConTeXt ver: 2022.12.07 20:24 LMTX fmt: 2022.12.7, except for the new cross page feature. fixed in next upload - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-21 Thread Gavin via ntg-context
: 2022.12.7, except for the new cross page feature. Gavin > On Dec 18, 2022, at 4:03 AM, Alexandre Christe via ntg-context > wrote: > > Hi Hans, > > On osx-64 I'm not getting a single connector printed when compiling > anchor-002.tex. I've attached the log in case. Am I

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-16 Thread Hans Hagen via ntg-context
school tex math feature is still needed in context) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Otared Kavian via ntg-context
List, >>>> 2) Can I tell \connectboxanchors to use my MetaPost code and pass >>>> key=value pairs like I do with \setMPpositiongraphic? >>> see attached ... the 'cross pages' feature is in the upcoming >> This indeed passes key=value pairs, but I cannot ge

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Hans Hagen via ntg-context
On 12/15/2022 5:15 PM, Gavin wrote: Hi Hans and List, 2) Can I tell \connectboxanchors to use my MetaPost code and pass key=value pairs like I do with \setMPpositiongraphic? see attached ... the 'cross pages' feature is in the upcoming This indeed passes key=value pairs, but I cannot get

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Gavin via ntg-context
Hi Hans and List, >> 2) Can I tell \connectboxanchors to use my MetaPost code and pass key=value >> pairs like I do with \setMPpositiongraphic? > see attached ... the 'cross pages' feature is in the upcoming This indeed passes key=value pairs, but I cannot get it to pass mine.

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Hans Hagen via ntg-context
hout the \connectboxanchors interface 2) Can I tell \connectboxanchors to use my MetaPost code and pass key=value pairs like I do with \setMPpositiongraphic? see attached ... the 'cross pages' feature is in the upcoming -

Re: [NTG-context] issue with OT feature in LMTX

2022-12-04 Thread Pablo Rodriguez via ntg-context
On 12/4/22 13:34, Hans Hagen via ntg-context wrote: > On 12/3/2022 2:04 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Am I missing something or have I hit a bug in LMTX? > more a bug in your approach: you specify a range where you also > overwrite private slots (that happen to be used

Re: [NTG-context] issue with OT feature in LMTX

2022-12-04 Thread Hans Hagen via ntg-context
] \setupbodyfont[mainface] \definestructureconversionset [sectionnumbers] [0,n,Characters,g,n] [n] \definefontfeature[section] [smcp=yes, c2sc=yes] \setupheads[sectionconversionset=sectionnumbers] \setuphead[section][style={\feature[+][section

[NTG-context] issue with OT feature in LMTX

2022-12-03 Thread Pablo Rodriguez via ntg-context
[sectionnumbers] [0,n,Characters,g,n] [n] \definefontfeature[section] [smcp=yes, c2sc=yes] \setupheads[sectionconversionset=sectionnumbers] \setuphead[section][style={\feature[+][section]}] \starttext \section{Just text} {\feature[+][section]Just text} \stoptext

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

2022-12-03 Thread Pablo Rodriguez via ntg-context
variable fonts, axes are only accesible using their name (not their tag) in the axis section (not in the design axis section), aren't they? And each font feature requires a new font instance (unlike other font features such as small caps or many other OpenType features), doesn't it? > btw, we don't chec

Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-12 Thread Leah Neukirchen via ntg-context
} Since `` and "' map to the same character, only "' works. The table has only 5 entries, not 6! (This took me a while to realize. ;)) > best not use an existign feature because we accumulate ... features > come in order (you can force order if needed as you probably saw in > one of the

Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Hans Hagen via ntg-context
On 11/11/2022 10:19 PM, Leah Neukirchen via ntg-context wrote: Hi, as Hans recommended in the last video meeting, I tried to implement the texquotes feature using OTF features, and hit two problems: 1) To support German quotes as well, I have two ligatures that end up as the same glyph

[NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Leah Neukirchen via ntg-context
Hi, as Hans recommended in the last video meeting, I tried to implement the texquotes feature using OTF features, and hit two problems: 1) To support German quotes as well, I have two ligatures that end up as the same glyph: `` -> “ "' -> “ This can't be in the sa

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890 1/4 2/8 3/9 ffi ft fi fl ffl ]] local Font_Name =  os.resultof("otfinfo -a " .. My_Font) context.definefontfamily( { "Test" }, { "serif" }, { Font_Name }, {} ) context.setupbodyfont{ "Test, 12pt&q

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
On 11/3/2022 12:52 PM, Herbert Voss via ntg-context wrote: Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I

Re: [NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
i ft fi fl ffl ]] local Font_Name = os.resultof("otfinfo -a " .. My_Font) context.definefontfamily( { "Test" }, { "serif" }, { Font_Name }, {} ) context.setupbodyfont{ "Test, 12pt" } COMMENTS Again, this works; the font is set as bodyfont. COD

Re: [NTG-context] font features

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... You get a lot of information

Re: [NTG-context] font features

2022-11-03 Thread Herbert Voss via ntg-context
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... You'll get only the features

[NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... All best Thomas

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Hans Hagen via ntg-context
, we can keep it as depricated feature (as there is no measurable overhead when it's not used) .. although i might come up with some plain mode in lmtx (when i'm really bored as it makes little sense) i'm not going to worry much about / cq. follow old-school usage and compatibility wrt dvi driver

Re: [NTG-context] remote images

2022-10-03 Thread Max Chernoff via ntg-context
. > Do I need any setup, was this discarded in LMTX, or what’s wrong? I have no idea if ConTeXt would ever follow redirects before, but I agree that it would be a useful feature. Thanks, -- Max ___ If your question is of

Re: [NTG-context] PDF viewer

2022-09-23 Thread Pablo Rodriguez via ntg-context
t on Linux, but a Linux version does exist. Okular also lets you add > some annotations. Annotations may be part of a PDF viewer, but the problem is that in some projects they understand that the feature to add them is part of a PDF editor (so annotations won’t be added). I think this is

Re: [NTG-context] PDF viewer

2022-09-23 Thread Max Chernoff via ntg-context
s exist. Okular also lets you add some annotations. > > I've been using pdf.js almost exclusively for the past few years either > > via Firefox or VS Code, and I've never really had any problems. The only > > real issue that I've had is that it gets fairly slow with documents ov

Re: [NTG-context] PDF viewer

2022-09-23 Thread Henning Hraban Ramm via ntg-context
, that could shift our focus to add/enable features for pdf.js in TeX editors. - PDF 2.0 compatible It can open PDF 2.0 files, but I doubt that it supports every single feature. I won’t expect every feature, there are too many. Actually I don’t know which features of PDF 2.0 Hans was missing

Re: [NTG-context] PDF viewer

2022-09-22 Thread Alan Braslau via ntg-context
cuments over a few thousand pages long. Otherwise, it > seems pretty fast and stable, and it supports nearly every feature > that I tend to need. I have never used firefox to display pdf files. I just tried it and find that it has an interesting feature of caching rendered pages. Page

Re: [NTG-context] PDF viewer

2022-09-22 Thread Max Chernoff via ntg-context
t can open PDF 2.0 files, but I doubt that it supports every single feature. > - proper color and transparency display (respect color profiles) It supports all of the PDF colour models/profiles for vectors, although it ignores embedded colour profiles in images. https://github.com/mozilla/pdf.

Re: [NTG-context] Combining Macron Below needed

2022-09-22 Thread Steffen Wolfrum via ntg-context
sure that these missing accented chars in fonts have been discussed > before and you can use this feature (made for Mojca long ago): > > \definefontfeature[default][default][compose=yes] > > \starttext > ḵ > \stoptext > > So, unless yo

Re: [NTG-context] Combining Macron Below needed

2022-09-11 Thread Hans Hagen via ntg-context
discussed before and you can use this feature (made for Mojca long ago): \definefontfeature[default][default][compose=yes] \starttext ḵ \stoptext So, unless you wikify it, I bet the same question will come up again. Hans

Re: [NTG-context] new uplaod

2022-09-10 Thread Hans Hagen via ntg-context
\autofences \fourier{(z+\frac12)} + \courier{(z+\frac12)} + \xourier{(z+\frac12)} $ $ \widehat{x^2 + 2x + 2} $ \stoptext This example also shows a new \autofences feature and widehats (widetilde and widecheck also work that way) that overcome limitations in fonts, so

Re: [NTG-context] new uplaod

2022-09-10 Thread Alexandre Christe via ntg-context
{\left(z+\frac12\right)} $ > > $ \autofences \fourier{(z+\frac12)} + \courier{(z+\frac12)} + > \xourier{(z+\frac12)} $ > > $ \widehat{x^2 + 2x + 2} $ > > \stoptext > > This example also shows a new \autofences feature and widehats > (widetilde and widecheck also

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Henning Hraban Ramm via ntg-context
the problem. Is this a bug or a feature? The call to gm convert was lacking quoting of the file names. Fixed in attachment. While the code does some downsampling, the calculation is not always right, because it doesn’t consider scaling (or something like that). Hraban if not modules

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Keith McKay via ntg-context
Thanks for this code Hraban. I tried this last night and it worked really well. I did have one stumbling block when I noticed that those image files with a space in their names were not found, however renaming without a space solved the problem. Is this a bug or a feature? Thanks Keith McKay

Re: [NTG-context] SHA calculation

2022-08-28 Thread Pablo Rodriguez via ntg-context
ing for ConTeXt. I mean, it is optimized for speed. As the author states: Main feature of this module: it was heavily optimized for speed. I think it may be interesting to be considered for ConTeXt. Just in case it might help, Pablo ___

[NTG-context] Fwd: No error when loading a non-existent module

2022-08-26 Thread Hans Hagen via ntg-context
dule patches or overloads core functionality withoutr mentioning it. Here I'm mainly thinking about my lua-widow-control module, which produces a visual effect, although it can be quite subtle if you're not paying very close attention. but i assuem that one has to explcitly enable that feature via a com

[NTG-context] new uplaod

2022-08-25 Thread Hans Hagen via ntg-context
} + \courier{(z+\frac12)} + \xourier{(z+\frac12)} $ $ \widehat{x^2 + 2x + 2} $ \stoptext This example also shows a new \autofences feature and widehats (widetilde and widecheck also work that way) that overcome limitations in fonts, so \def\CrappyHack#1{\im{#1{a} + #1{a+b} + #1{a+b+c} + #1

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-22 Thread Hans Hagen via ntg-context
to figure it out). The only problem is that the offsets of glyphs are a bit inaccurate, which may be related to the font, and I will look into it further. in the vertical feature one can tune a bit. The examples I have adjusted are attached, and the output PDF of them is not attached

[NTG-context] Any way to configure \setuphead to run a setups on the stop command?

2022-07-26 Thread Bruce Horrocks via ntg-context
need to add it as a feature if it's not already available in some way. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@nt

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
On 7/20/2022 9:40 PM, Bruce Horrocks via ntg-context wrote: On 20 Jul 2022, at 05:31, Michael Urban via ntg-context wrote: Aside from purchasing a real font product from Linotype at enormous expense and hoping it is better equipped, is there a way to coerce ConTeXt into using the

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