[NTG-context] Re: read out of \tx-value possible?

2025-04-22 Thread Thomas Meyer
Meyer: is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work. Does \showbodyfontenvironment help? Hraban Thank you, Hraban, I know this table. But I think it's too complicated for me to extract from

[NTG-context] Re: read out of \tx-value possible?

2025-04-12 Thread Bruce Horrocks
> On 12 Apr 2025, at 10:14, Thomas Meyer wrote: > > > > Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm: >> Am 11.04.25 um 10:03 schrieb Thomas Meyer: >>> is it possible to read out the value of \tx (or \txx ... ) for >>> calculations if bodyfont

[NTG-context] Re: read out of \tx-value possible?

2025-04-12 Thread Thomas Meyer
Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm: Am 11.04.25 um 10:03 schrieb Thomas Meyer: is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work. Does \showbodyfontenvironment help? Hraban Thank you, H

[NTG-context] Re: read out of \tx-value possible?

2025-04-11 Thread Henning Hraban Ramm
Am 11.04.25 um 10:03 schrieb Thomas Meyer: is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work. Does \showbodyfontenvironment help? H

[NTG-context] read out of \tx-value possible?

2025-04-11 Thread Thomas Meyer
Hi folks, is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work.     \setuplayout[grid=yes]     \setupbodyfont[libertinus,12pt]     \setupinterlinespace[1.25\bodyfontsize]     \starttext     \samplefile{

[NTG-context] Re: how to only switch fontclass ?

2025-03-17 Thread Wolfgang Schuster
odern \setupbodyfont[pagella]TeX Gyre Pagella \rma TeX Gyre Pagella} \footnote{\rma Latin Modern \setupbodyfont[pagella]TeX Gyre Pagella \rma TeX Gyre Pagella} \stoptext % You have to add "keep" to \setupbodyfont to ensure \tx and \txx are kept when you switch the font, i.e. in your e

[NTG-context] Re: Quotation mark in drop caps

2024-07-11 Thread Thangalin
he initial quotation mark" to "rewrite your prose." ;-) https://i.imgur.com/ne991lZ.jpeg TX On Wed, Jul 10, 2024 at 11:35 PM vm via ntg-context wrote: > > > On 11/07/2024 01:55, Thangalin wrote: > > > > Any other ideas? > > Yes, change/edit the text to avoid th

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
ing. How do I make the first one have the same exact > formtating as the real footnote? Footnotes apply the \tx style to the number in the running text and to get the same text size with \high you need \tx before the argument. Another solution is to create your own \high command where you set the t

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Wolfgang Schuster
e way to superscript text, but if you compile this, you can see the first "1" and second "1" have entirely different formatting. How do I make the first one have the same exact formtating as the real footnote? Footnotes apply the \tx style to the number in the running text

[NTG-context] Question about drawing flowchart using chart module

2023-12-27 Thread Jeong Dal via ntg-context
OWcell \name{h} \location{3,5} \shape{76} \text{$a$ is equal \\ to $b$} \connection[bt]{f} \stopFLOWcell \startFLOWcell \name{f} \location{2,6} \shape{loop} \text{stop} \stopFLOWcell \stopFLOWchart \placefigure [here][fig:bigger] {Which is bigger?}

Re: [NTG-context] font size and style

2023-05-26 Thread Wolfgang Schuster via ntg-context
cted macro:\triggergroupedcommand {\setsmallbodyfont \tf } and \tx=protected macro:\currentxfontsize \plusone \ifmmode \scriptstyle \orelse \ifconditional \c_font_inherit_scale \font_scale_inherit_x \else \font_scale_defined_x \fi \al­ ways\let \tx \txx Thus in contrast \tx and \txx do respect the current sty

[NTG-context] font size and style

2023-05-26 Thread Hans van der Meer via ntg-context
Calling "\bf\tfa TEXT" for example leaves the TEXT not in bold because \tfa does not respect the current style. As does \small, etc. Shown by looking at the meaning of for example \small: \small=protected macro:\triggergroupedcommand {\setsmallbodyfont \tf } and \tx=prote

[NTG-context] separators between non-instantiantiated (foot)notes

2023-04-03 Thread Rudd, Kevin via ntg-context
but can be made to work, but does not adapt to \quotation{normal} \type{\footnote} style/format customizations \footnote[e]{E E E E}% \high{\tx{,}} \note[a] \stoptext It would be great if there were a command that treated a (some command like) \note as a \footnote-equivalent command for typesetti

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

2023-04-01 Thread Alan Braslau via ntg-context
e we're preparing a bid for extra math symbols > as needed in > modern explorative and daring math thesis. When symbols are > really used, and > we have proof of that, it should be possible to get them un > \UNICODE, just > like all these emoji. We wel

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

2023-04-01 Thread Willi Egger via ntg-context
just >like all these emoji. We welcome input and as an example of currently faked >symbols we added some to the distribution as easter eggs. One example: > >Mikael got contacted by a stressed student working on a thesis on >probability. This student needed to typ

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
ason the \tex {widerandomhat} was introduced, \useMPlibrary[newmath] \startformula E[\ee^{\ii tX}] = \widerandomhat{f_{X}}(t)\mtp{,} E[\ee^{\ii t(X_1+X_2)}] = \widerandomhat{f_{X_1} \ast f_{X_2}}(t)\mtp{.} \stopformula Naturally, it is automatically scaled, just like t

Re: [NTG-context] Setting the size of \small

2022-10-21 Thread Hans Hagen via ntg-context
On 10/21/2022 12:59 AM, Leah Neukirchen via ntg-context wrote: Hi, playing around with \definebodyfontenvironment with latest LMTX, I found this possibly buggy behavior: \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here \setupbodyfont[12pt] \starttext normal {\tx tx} {\small small

Re: [NTG-context] Setting the size of \small

2022-10-21 Thread Pablo Rodriguez via ntg-context
On 10/21/22 00:59, Leah Neukirchen via ntg-context wrote: > Hi, > > playing around with \definebodyfontenvironment with latest LMTX, > I found this possibly buggy behavior: > > \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here > \setupbodyfont[12pt] > \st

[NTG-context] Setting the size of \small

2022-10-20 Thread Leah Neukirchen via ntg-context
Hi, playing around with \definebodyfontenvironment with latest LMTX, I found this possibly buggy behavior: \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here \setupbodyfont[12pt] \starttext normal {\tx tx} {\small small} \stoptext With \definebodyfontenvironment[12pt][x=6pt] I can

[NTG-context] lmtx status

2022-09-27 Thread Hans Hagen via ntg-context
cause there are platform changes). She's also working on cmake based installation helpers. One of the things we did was pruning the fonts that are part of the installation. With a few exceptions the type one fonts were dropped, which is most noticeable for math. There is no need for px an

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-07-27 Thread Hans Hagen via ntg-context
On 7/27/2022 7:03 AM, Aditya Mahajan via ntg-context wrote: Very nice presentation! Lots of new features to play with. latest upload has eperimental x scaling (as we have with text \tx \txx whuch can come in handy when one needs to squeeze some math into some place \usemodule[article-basic

Re: [NTG-context] critical fun

2022-01-07 Thread Jean-Pierre Delange via ntg-context
as attached >> file) >> >>> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context a >>> écrit : >>> >>> Hi, >>> >>> Maybe this is of interest to critical users: >>> >>> \setupsynchronize [paralleltext] [col

Re: [NTG-context] critical fun

2022-01-07 Thread Hans Hagen via ntg-context
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote: Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred

Re: [NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote: Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred

Re: [NTG-context] critical fun

2022-01-06 Thread Otared Kavian via ntg-context
aralleltext] [color=darkblue] >> % \setupsynchronize [paralleltext] [style=\tx,color=darkred] >> % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] >> >> \starttext >> >> \dorecurse{10}{% >> \paralleltext >> {[een allereerste zinnetje

Re: [NTG-context] critical fun

2022-01-06 Thread Henning Hraban Ramm via ntg-context
Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] I played a

Re: [NTG-context] critical fun

2022-01-06 Thread Jean-Pierre Delange via ntg-context
is of interest to critical users: > > \setupsynchronize [paralleltext] [color=darkblue] > % \setupsynchronize [paralleltext] [style=\tx,color=darkred] > % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] > > \starttext > > \dorecurse{10}{% >\par

[NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] \starttext \dorecurse{10}{% \paralleltext {[een

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
Another problem. Maybe that's related? Running the file with the --luatex flag gives me this error message: tx-context | redirect luametatex -> luatex: luatex --luaonly "C:/context/tex/texmf-win64/bin/mtxrun.lua" --script mtx-context --luatex debug --redirected mtxrun

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
ollowing in order to obtain > > a line plot of the values in the 'data.csv' file? Also is it possible to > > have the 'labels' be the identical for all points in a given list? > > > > \startMPcode > > > >draw lmt_axis [ > >

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
for all points in a given list? \startMPcode draw lmt_axis [ sx = 2mm, sy = 2mm, nx = 80, ny = 40, tx = 15, ty = 15, list = { [ connect = true, color = "darkblue", close = t

[NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
xis [ sx = 2mm, sy = 2mm, nx = 80, ny = 40, tx = 15, ty = 15, list = { [ connect = true, color = "darkblue", close = true, points = {data.

Re: [NTG-context] new upload

2021-08-31 Thread mf via ntg-context
option results in: ╰─► context --autopdf test.tex lua error : function call: ...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt to call a nil value (global 'filenewsuffix') Without autopdf things work as expected. ok. new upload (the installer for windows arm64

Re: [NTG-context] new upload

2021-08-30 Thread Hans Hagen via ntg-context
On 8/30/2021 7:27 PM, Rik Kabel via ntg-context wrote: The corrected upload (2021.08.30 16:23) still has an issue. The --autopdf option results in: ╰─► context --autopdf test.tex lua error : function call: ...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt to call a nil

Re: [NTG-context] new upload

2021-08-30 Thread Rik Kabel via ntg-context
The corrected upload (2021.08.30 16:23) still has an issue. The --autopdf option results in: ╰─► context --autopdf test.tex lua error : function call: ...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt to call a nil value (global 'filenewsuffix') Without auto

Re: [NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread Sylvain Hubert
ertain Lua >> API: >> >> $ context --forcecld --permitloadlib testlabel.lua >> ... >> fatal lua error: >> registered function call [1542]: >> ...tx/tex/texmf-context/tex/context/base/mkiv/l-package.lua:348: error >> loading module 'lpeglabel' fro

Re: [NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread luigi scarso
> $ cat testlabel.lua > require("lpeglabel") > > The ConTeXt binary cannot load the library because it lacks certain Lua > API: > > $ context --forcecld --permitloadlib testlabel.lua > ... > fatal lua error: > registered function call [1542]: > ...tx/tex/te

[NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread Sylvain Hubert
t lacks certain Lua API: $ context --forcecld --permitloadlib testlabel.lua ... fatal lua error: registered function call [1542]: ...tx/tex/texmf-context/tex/context/base/mkiv/l-package.lua:348: error loading module 'lpeglabel' from file './lpeglabel.so': ./lpeglabel.so: undefin

Re: [NTG-context] SVG comments, transparency, and extended font styles

2021-04-03 Thread Thangalin
the reason for not supporting it is sound. It sucks because end users don't care about such technical minutiae and can't readily unravel such font discrepancy issues when encountered. TX ___ If your question is

[NTG-context] Make LMTX load a custom library

2021-03-01 Thread Lukas/ConTeXt
like: test.tex \startluacode package.cpath = package.cpath .. ";d:/Lukas/Lua/54/?.dll" require "MyLib" \stopluacode But I'm still getting errors like: " ... token call, execute: ...TX/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
uthor}} {     \startalignment[middle]     \darkblue \tx \structurelistuservariable{author}     \stopalignment     } \stopsetups \setuplist[chapter][after=\setups{MySectionTocEntry}] Julian On 9/2/21 9:02 pm, mf wrote: Il 09/02/21 10:49, jbf ha scritto: I wonder if someone can assist me with the

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread Hans Hagen
y one Anyway, here is an alternative: \startsetups[MySectionTocEntry] \doifsomething{\structurelistuservariable{author}} { \startalignment[middle] \darkblue \tx \structurelistuservariable{author} \stopalignment } \stopsetups \setuplist[chapter][after=\s

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
testing and discovered what is certainly a bug. Here’s a new example: # # \setbreakpoints [compound] # # \definelinenumbering #[original] #[style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred] # # \definelinenumbering # [translation] #[style=\tx\ss,distance=-1e

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Thomas A. Schmitz
’s bonus question. But I have continued testing and discovered what is certainly a bug. Here’s a new example: \setbreakpoints [compound] \definelinenumbering [original] [style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred] \definelinenumbering [translation] [sty

Re: [NTG-context] Style for captions

2019-12-18 Thread Wolfgang Schuster
using \switchtobodyfont[small] instead of \tfx. \tf.. \bf.., etc. only change the text font; \switchtobodyfont changes the entire font family, including math. Only \tx and \txx (and the combinations \tfx etc.) ignore math. \starttext xxx \m{xxx} {\tfc xxx \m{xxx}} {\tfx xxx \m{xxx

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
unately '\the' displays values with trailing 0s, and % so the result must be converted to a string and truncated in lua. \startluacode userdata = userdata or {} userdata.fontsize = function () local fs fs = font.getfont(font.current()).specification.size fs = tostring(fs/2^16):

[NTG-context] Documentation of change / Evolving documents

2019-01-19 Thread Axel Kielhorn
{change}{\inmargin{\tx #1}{\red #2\par}}} \def\ChangeD#1#2{\change{#1+#2}\doifmode{change}{\inmargin{\tx #1}{\red #2\par}}} \starttext \ChangeV{V. 1.0}{Fertig!} \input knuth \ChangeD{2018-12-22}{Fertig!} \ChangeD{2018-12-23}{Letzter Fehler beseitigt.} \input knuth \ChangeD{2018-12-23

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
st and realized that while scaling down seems broken, > > scaling up works as expected: > \tx (or \tfx, \bfx etc.) and \txx are ignored in some cases unlike the > other size switches (\tfa etc.). Out of curio

Re: [NTG-context] Scaling down symbols and emojis

2019-01-16 Thread Wolfgang Schuster
User 19087 schrieb am 16.01.19 um 21:56: I'm having trouble scaling down symbols and emojis. For a while I assumed these don't scale with the current font size. Then I scoured the mailing list and realized that while scaling down seems broken, scaling up works as expected: \tx (or

Re: [NTG-context] \basegrid ignores color

2018-03-22 Thread Henri Menke
around but %D in a more modern way. %D %D \startbuffer %D \basegrid %D [nx=8,ny=5, %Ddx=.5,dy=.25, %Dunit=cm,scale=2,factor=1, %Doffset=1ex,xstep=2,ystep=1, %Dalign=middle,style=\tt\tx] %D \stopbuffer %D %D \typebuffer %D %D \placefigure %D {An example of a grid.} %D {\getbuff

Re: [NTG-context] Bug in Natural Tables

2017-03-09 Thread Hans Hagen
\eTD \bTD[nc=3] TCP\eTD \bTD[nc=3] UDP \eTD \eTR \bTR \bTD Vermittlungsschicht \eTD \bTD[nc=3] IPv4\eTD \bTD[nc=3] IPv6 \eTD \eTR \bTR \bTD Sicherungsschicht\eTD \bTD[nc=6] Ethernet \eTD \eTR \bTR \bTD Bitübertragungsschicht \eTD \bTD[nc=2] 100BASE-TX\eTD \bTD[nc=2] 100BASE-T\eTD \bTD[nc=2]

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Thomas A. Schmitz
UDP \eTD \eTR \bTR \bTD Vermittlungsschicht \eTD \bTD[nc=3] IPv4\eTD \bTD[nc=3] IPv6 \eTD \eTR \bTR \bTD Sicherungsschicht\eTD \bTD[nc=6] Ethernet \eTD \eTR \bTR \bTD Bitübertragungsschicht \eTD \bTD[nc=2] 100BASE-TX\eTD \bTD[nc=2] 100BASE-T\eTD \bTD[nc=2] 1000BASE-T \eTD \eTR \eTABLE

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
\NC[nx=3] TCP \NC[nx=3] UDP \NR \NC Vermittlungsschicht\NC[nx=3] IPv4 \NC[nx=3] IPv6 \NR \NC Sicherungsschicht \NC[nx=6] Ethernet \NR \stopXTABLEbody \startXTABLEfoot \NC Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T \NR

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T \NR \stopxtable \stoptext On 03/08/2017 04:39 PM, Henri Menke wrote: > I quickly came up with something myself. Unfortunately, it involves > overloading of the original xtables. Perhaps there is a better way but it > wor

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
] IPv6 \NC\NR \NC Sicherungsschicht \NC[nx=6] Ethernet \NC\NR \NC Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T \NC\NR \stopxtable \stoptext On 03/08/2017 04:29 PM, Henri Menke wrote: > Dear devs, > > Natural Tables are quite handy but their

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Henri Menke
;> \NC Sicherungsschicht \NC[nx=6] Ethernet \NC\NR >> \NC Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T >> \NC[nx=2] 1000BASE-T \NC\NR >> \stopTABLE >> >> \stoptext > > Because that's not a natural table. You're confusing th

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Thomas A. Schmitz
Sitzungsschicht\NC\NR \NC Transportschicht \NC[nx=3] TCP \NC[nx=3] UDP \NC\NR \NC Vermittlungsschicht\NC[nx=3] IPv4 \NC[nx=3] IPv6 \NC\NR \NC Sicherungsschicht \NC[nx=6] Ethernet \NC\NR \NC Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T

[NTG-context] Bug in Natural Tables

2017-03-08 Thread Henri Menke
] IPv6 \NC\NR \NC Sicherungsschicht \NC[nx=6] Ethernet \NC\NR \NC Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T \NC\NR \stopTABLE \stoptext ___ If your question is of

Re: [NTG-context] strange crash

2017-02-17 Thread Hans Hagen
\footnote{bar} \stoptext which crashes with this output: 8<----- tx-context | run 1: luatex --fmt="/usr/local/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="tt" --lua="

[NTG-context] strange crash

2017-02-16 Thread j. van den hoff
hi, in a pristine standalone context (installed yesterday) under ubuntu I see a seemingly consistent crash of luatex if the document contains footnotes minimal example: \starttext foo\footnote{bar} \stoptext which crashes with this output: 8<-----

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Pablo Rodriguez
On 10/17/2016 08:33 PM, Hans Hagen wrote: >> [...] >> If this isn’t a bug, what am I missing here? > > that the x/xx sized are automatic adaptions of tf bf sl it ..., so: \bf > \tx is the same as \bfx: > > test {\bf \tx test} test {\bfx test} > > but

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Hans Hagen
\tfx Smaller2 \tfxx Smaller2 \stoptext I can set a different value for a, but not for x or xx. The values for x and xx seem to be hardcoded. If this isn’t a bug, what am I missing here? that the x/xx sized are automatic adaptions of tf bf sl it ..., so: \bf \tx is the same as \bfx: test

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Hans Hagen
nce reasons once per font instance) you can play with these: \setuplow [down=.48\exheight] \setuphigh[up=.86\exheight] e.g. use other values, but if your ex and em are bad you can expect many other issues (so best use decent fonts) for such cases. However, as these are der

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Mohammad Hossein Bateni
\sx and \sxx so that you can say: > > \setuplow [style=\sx] > \setuphigh[style=\sx] > If I do this, this will not get attached to the font; right? For instance, if I def

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Hans Hagen
le font switch and that one is unrelated to any other font setting. I'll add two new commands: \sx and \sxx so that you can say: \setuplow [style=\sx] \setuphigh[style=\sx] for such cases. However, as these are derived relative scales they are normally not compat

Re: [NTG-context] Fourier install fonts

2016-04-12 Thread Fabrice Couvreur
it an dit being 8 bit fonts you also need a > virtual font definition file (like the px, tx and mathdesign fonts have) > ... no big deal (one time job) but someone has to do it > (so far no one needed fourier i guess) > > Hans > > > > -

Re: [NTG-context] Fourier install fonts

2016-04-11 Thread Hans Hagen
ition file (like the px, tx and mathdesign fonts have) ... no big deal (one time job) but someone has to do it (so far no one needed fourier i guess) Hans - Hans Hagen | PRAGM

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Hans Hagen
get /T (Gehnehmiger Unterschrift) /Type /Annot %% Object stream: object 187, index 57; original object ID: 495 << /Action /Exclude /Fields [ (Einrichter Name) (Einrichters Unterschrift) ] /Type /SigFieldLock ("Einrichter Name" is another Text Field --> /F

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Andreas Schneider
eam: object 187, index 57; original object ID: 495 << /Action /Exclude /Fields [ (Einrichter Name) (Einrichters Unterschrift) ] /Type /SigFieldLock ("Einrichter Name" is another Text Field --> /FT /Tx [...] /Subtype /Widget [...] /T (Einrichter Name) "

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
\startsetups[s:footer] \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx] \setupfooter[style=\tx] \setupfootertexts[\setups{s:footer}][][][\setups{s:footer}] \startchapter

Re: [NTG-context] issues with typeface selection

2015-08-09 Thread Hans Hagen
=\tx \CONTEXT \stopxcell \stopxrow \stopxtable \stoptext Wolfgang, I’m afraid that compilation also crashes with font commands in foregroundstyle: \definefontfamily[newtimes][serif][TeX Gyre Termes] \setupbodyfont[palatino, 12pt] \setuphead[section

Re: [NTG-context] issues with typeface selection

2015-08-09 Thread Pablo Rodriguez
On 08/08/2015 04:18 PM, Wolfgang Schuster wrote: > [...] > All I can tell at the moment is that the problem is related to the “x” > font size. > > \starttext > > \startxtable > \startxrow > \startxcell[foregroundstyle=\txx] % this fails: foregroundstyle

Re: [NTG-context] issues with typeface selection

2015-08-08 Thread Wolfgang Schuster
fails: foregroundstyle=\tx \CONTEXT \stopxcell \stopxrow \stopxtable \stoptext BTW: Can you avoid using fonts which aren’t available on all systems. Wolfgang ___ If your question is of interest to oth

Re: [NTG-context] question about linespace adjustment

2013-09-25 Thread Lars Huttar
pace. Nevertheless I can't find anywhere in the manual or on the wiki that tells me that \setsmallbodyfont differs from \tx in this way (let alone *why* it differs). Maybe I should expect that any command that has "bodyfont" in its name is intended for long-term changes, and other c

Re: [NTG-context] bug in \externalfigure

2013-08-03 Thread Jannik Voges
origin > \pdfhorigin 1 true in > > > \registerctxluafile ...ua.registercode("#1","#2")} > > l.35 \registerctxluafile{back-pdf}{1.001} >% some code will move to lpdf-* > ? > > > Jannik > > Am 02.08.201

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Jannik Voges
dfhorigin \pdfhorigin 1 true in \registerctxluafile ...ua.registercode("#1","#2")} l.35 \registerctxluafile{back-pdf}{1.001} % some code will move to lpdf-* ? Jannik Am 02.08.2013 um 21:58 schrieb Hans Hagen : >

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Hans Hagen
annot upload from where i am now) you can try this in back-pdf.lua: function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty) local t = copy_node(pdfsetmatrix) if type(rx) == "string" then setfield(t,"data",rx) else setfield(t,"data",formatters[&qu

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Jannik Voges
om where i am > now) > > you can try this in back-pdf.lua: > > function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty) >local t = copy_node(pdfsetmatrix) >if type(rx) == "string" then >setfield(t,"data",rx) >else >setfield(t,"d

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Hans Hagen
On 8/2/2013 9:05 PM, Jannik Voges wrote: No problem. Pdf is attached. ok, i see the problem ... will try to fix it (cannot upload from where i am now) you can try this in back-pdf.lua: function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty) local t = copy_node(pdfsetmatrix) if type(rx

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
dos{canta}{>'aeide} \dos{diosa}{je`a} \dos{del ... > > ? > > Replace \ix with \switchtobodyfont[9pt] or better use a relative size like > \tx or \txx. > > Wolfgang > > > ___ > If yo

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Wolfgang Schuster
dos{canta}{>'aeide} \dos{diosa}{je`a} \dos{del ... > ? Replace \ix with \switchtobodyfont[9pt] or better use a relative size like \tx or \txx. Wolfgang ___ If your question is of interest to others as wel

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen
:\rightorleftpageaction rl] [] [width=\marginwidth, align={lohi,middle}, foregroundstyle=\tx] {\floatuserdataparameter{text}} \flushlayer [extrafiguretextlayer:\rightorleftpageaction rl] \stopsetups \defineoverlay

Re: [NTG-context] redifining font sizes

2013-06-10 Thread Hans Hagen
tfx a} {\tfw a} \stoptext Why isn't the x font size set to 0.9? because the x sizes are defined for sizes \definefontsize [w] \setupbodyfontenvironment [12pt] [x=2pt] \setupbodyfontenvironment [default] [w=0.2] \starttext \ruledhbox{xxx {\tfx tfx} {\tx tx} {\txx txx}

[NTG-context] typo in meta-pdf.lua (beta)

2013-05-22 Thread Peter Rolf
Hi, I found a typo in the current beta (2013-05-21) meta-pdf.lua, line 169 168 function mps.translate(tx,ty) 169 mpscode(f_translate(tx,ty) 170 end Regards, Peter ___ If your question is of interest to

Re: [NTG-context] Sans Serif Math Font

2013-02-04 Thread Hans Hagen
type1 uses standard tex encoding, it should work as virtual otf .. you then only need to make a file like tx-math.lfg as vectors are already built-in. Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Prioritise TEXMFHOME

2013-01-22 Thread Mojca Miklavec
On Tue, Jan 22, 2013 at 8:58 PM, Marco Patzer wrote: > Hi, > > can I somehow set up that files within TEXMFHOME are preferred to > files found in the distribution? Or is there another variable which > is more suitable than TEXMFHOME for this purpose? Doesn't it already have the highest priority?

Re: [NTG-context] Figured bass symbols in a text.

2012-08-12 Thread Rogers, Michael K
ntage over the plain-TeX method, kindly > offered by Michael Rogers, in that it uses the same font as that for he main > text,... It uses the math font, which is worse. I should have wrapped the arguments with \hbox and thrown in a \tx or \txx. Or waited a little longer for the good solutio

Re: [NTG-context] Figured bass symbols in a text

2012-08-11 Thread Robert Blackstone
\lower0.23pt\hbox{$\scriptstyle{#3}$}}$} >> >> but this would probably have to be adjusted for each font and size. > > You can use \framed: > > \defineframed[lohimi][align=flushleft,location=middle,frame=off,foregroundstyle=\tx] > > \starttext > text \lohi{1}{2} text \

Re: [NTG-context] Figured bass symbols in a text.

2012-08-10 Thread Sietse Brouwer
gt;> >>> \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{\lower0.23pt\hbox{$\scriptstyle{#3}$}}$} >>> >>> but this would probably have to be adjusted for each font and size. >> >> >> You can use \framed: >> >> >> \defineframed[lohim

Re: [NTG-context] Figured bass symbols in a text.

2012-08-10 Thread Hans Hagen
se \framed: \defineframed[lohimi][align=flushleft,location=middle,frame=off,foregroundstyle=\tx] \starttext text \lohi{1}{2} text \lohimi{1\\2\\3} text \stoptext Neat trick. === Wolfgang, The next beta has: \starttext \definelow [MyLow] [style=\txx] \definehigh [MyHigh] [style=\txx] \def

Re: [NTG-context] Figured bass symbols in a text.

2012-08-10 Thread Wolfgang Schuster
You can use \framed: \defineframed[lohimi][align=flushleft,location=middle,frame=off,foregroundstyle=\tx] \starttext text \lohi{1}{2} text \lohimi{1\\2\\3} text \stoptext Wolfgang ___ If your question is of interest to

Re: [NTG-context] combined style?

2012-06-19 Thread Wolfgang Schuster
[foregroundstyle=small]{text} \framed[foregroundstyle=italic]{text} \framed[foregroundstyle=smallitalic]{text} \stoptext or \starttext \scratchtoks\emptytoks \appendtoks\tx\to\scratchtoks % check if the style attribute contains “small” \appendtoks\it\to\scratchtoks % check i

Re: [NTG-context] Math & other issues for TL 2012

2012-06-01 Thread Khaled Hosny
ote: > >Hi Mojca, > > > >This is the status with 2012.05.30 11:26: > > > >[HIGH] The integral signs in PX-fonts now work correctly. Only the > >distance between the integral sign and the bounds are to big. > >[HIGH] TX, XITS, Antykwa and Iwona have the same

Re: [NTG-context] Math & other issues for TL 2012

2012-06-01 Thread Hans Hagen
makes assumes opentype logic). Hans On 1-6-2012 17:05, Tim Steenvoorden wrote: Hi Mojca, This is the status with 2012.05.30 11:26: [HIGH] The integral signs in PX-fonts now work correctly. Only the distance between the integral sign and the bounds are to big. [HIGH] TX, XITS, Antykwa and Iwona

Re: [NTG-context] Math & other issues for TL 2012

2012-06-01 Thread Tim Steenvoorden
Hi Mojca, This is the status with 2012.05.30 11:26: [HIGH] The integral signs in PX-fonts now work correctly. Only the distance between the integral sign and the bounds are to big. [HIGH] TX, XITS, Antykwa and Iwona have the same problem. (It's OK in Asana and Euler). [MID] The Kurier-fo

Re: [NTG-context] Small integral signes with Palatino

2012-05-28 Thread Hans Hagen
ormal (12pt) size this becomes 1040448 for px as well as tx. Both fonts (when looking at them with \showfont[pxex.tfm] etc have the same shapes. Concerning the rest of the parameters, only for this case irrelevant differ a bit. % name px tx % RadicalRuleThickness 46399 44040

Re: [NTG-context] Math fonts in TeXLive 2012

2012-05-28 Thread Mojca Miklavec
t; type-imp-*.mkiv which are also included in TeXLive: > > * Latin Modern > * Euler > * Asana > * Palatino (px) > * Times (tx) > * Utopia (mathdesign) > * Charter (mathdesign) > * Garamond (mathdesign) > * Antykwa Torunska > * Iwona > * Kurier > * Xits >

Re: [NTG-context] Small integral signes with Palatino

2012-05-27 Thread Tim Steenvoorden
} {\rm d} x \stopformula \stoptext Cheers, Tim 2012/5/25 Hans Hagen : > On 25-5-2012 00:43, Aditya Mahajan wrote: > >> It's more complicated because tx-fonts behaves correctly. > > > indeed, and I always thought that these fonts were s

[NTG-context] Math fonts in TeXLive 2012

2012-05-27 Thread Tim Steenvoorden
* Palatino (px) * Times (tx) * Utopia (mathdesign) * Charter (mathdesign) * Garamond (mathdesign) * Antykwa Torunska * Iwona * Kurier * Xits Compiling the example in the attachment I found than Euler and all Mathdesign derivatives are not working. Does anyone know if Millenial will be supported

  1   2   3   >