[NTG-context] Re: Why Difference Between \placefloat and \definefloat

2024-04-28 Thread Henning Hraban Ramm
Where’s the float type "sidebar" defined? AFAIK it’s not a default type. And it might interfere with the actual sidebar stuff from https://source.contextgarden.net/tex/context/base/mkxl/anch-bar.mkxl, see also https://wiki.contextgarden.net/Command/setupsidebar Hraban Am 28.04.2

[NTG-context] \par and \startlines

2024-04-26 Thread denis.maier
are there! \stoplines Apparently, \type{\par} has no effect here: \startlines The lines are there!\par% \par has no effect here The lines are there! \stoplines For background, this is what I'm actually trying to do: \xmlprocessbuffer{test}{test}{} \stoptext

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
. This is the default because otherwise users will wonder %D why spacing might get messed up (due to an unseen but present node). It is %D possible to force a location by explicitly setting \type {location} to \type %D {here}. %D %D Another way to force a certain order is to set the \type {order

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Bruce Horrocks
%D up directtly in the list. This is the default because otherwise users will wonder %D why spacing might get messed up (due to an unseen but present node). It is %D possible to force a location by explicitly setting \type {location} to \type %D {here}. %D %D Another way to force a certain order is

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest to ot

[NTG-context] Re: international type design

2024-04-07 Thread hf
It is an interesting team. 2024年4月5日 02:52, "Henning Hraban Ramm" 写到: > Have a look at these beautiful font designs: > > https://esadtype.esad-amiens.fr/ > > Unfortunately the fonts are not available (yet). > > Take your time to browse the papers about intention, design process etc. > > I

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Hans Hagen
On 4/6/2024 1:38 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 06.04.2024 um 12:23: Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Thomas Meyer
tupfloat[spacebefore=...,spaceafter=...] and not for a single float type only. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mai

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Wolfgang Schuster
le,nowhite,back}" You can set the space only for *all* floats, e.g.     \setupfloat[spacebefore=...,spaceafter=...] and not for a single float type only. Wolfgang ___ If your question is of interest to others

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 06.04.2024 um 12:23: Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried

[NTG-context] incosistent output of --- dash

2024-04-06 Thread madiazm . eoicc
Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on overleaf and of ContextOnWeb with the same inconsistency

[NTG-context] international type design

2024-04-04 Thread Henning Hraban Ramm
Have a look at these beautiful font designs: https://esadtype.esad-amiens.fr/ Unfortunately the fonts are not available (yet). Take your time to browse the papers about intention, design process etc. I just browsed the dissertation about the (Vietnamese) "Dilinh" font and found the

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Keith McKay
and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Well, I found one, but it‘s not free: https://commercialtype.com/catalog/guardian_sans Hraban

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context: On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Well, I found one, but it‘s

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Hans Hagen via ntg-context
On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Hans

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
= dofile(deffile) if not interface or not next(interface) then report("invalid file %a",filename) return end local variables = interface.variables local constants = interface.constants local commands = interface.commands local elements = interface.eleme

[NTG-context] issue with \xmlinlineprettyprinttext

2024-03-20 Thread Pablo Rodriguez via ntg-context
] \starttext \xmlprocessbuffer{main}{demo}{} \type{a --b c} \stoptext Using current latest (from 2024.03.11 09:34), LMTX transforms "--" in "–" (en-dash) only with \xmlinlineprettyprinttext (LuaTeX writes the en-dash in the three cases). This issue has been driving me

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
ner white-space. This is to ensure, that the binding, which is consuming >> white-space, keeps the inner white-space optically as intended.. >> >> The page shift mechanism works only with imposition enabled. This ensures, >> that the type-setting area does not creep

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Hraban Ramm
only with imposition enabled. This ensures, that the type-setting area does not creep towards the spine because multiple sheets of paper are folded in the spine. I doubt whether it is enough to have the measure of the thickness do determine this creeping effect, because we are making folds which

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
only with imposition enabled. This ensures, that the type-setting area does not creep towards the spine because multiple sheets of paper are folded in the spine. I doubt whether it is enough to have the measure of the thickness do determine this creeping effect, because we are making folds which

[NTG-context] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
gt; > The footnote environment is just a fancy way for a command with a > argument and buffers don't like being part of arguments. > > You can put the code in buffer outside of the footnote and type the > content of the buffer in the footnote. Many thanks for your reply, Wolfgang.

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
for a command with a argument and buffers don't like being part of arguments. You can put the code in buffer outside of the footnote and type the content of the buffer in the footnote. begin example \starttext \def\startfoo#1\stopfoo{#1} % \startfoo % xxx % \starttyping % yyy % \stoptyping % zzz

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
320 system > all240 971734240 1800 800100 32 16000 88000 8 16 7401088 96 28800 10240 system > system > ini 2145984 927347

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-14 Thread Jim
x > index 60d6274..106c490 100644 > --- a/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex > +++ b/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex > @@ -2804,6 +2804,9 @@ > \def\pgfplotsretval{4}% > \fi > \fi > + \if0\pgfplotsretval > + \def\pgfplotsretval{5} > +

[NTG-context] PDF, runner, and TikZ patches

2024-03-14 Thread Max Chernoff
9 @@ \def\pgfplotsretval{4}% \fi \fi + \if0\pgfplotsretval + \def\pgfplotsretval{5} + \fi \pgfkeyslet{/pgfplots/surf shading/shading type}\pgfplotsretval% % \pgfplotsplothandlermesh@set@shader@colormap diff --git a/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-luatex.def b/t

[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 09:31, Taco Hoekwater wrote: >> On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context >> wrote: >> >> Sure, they may be a workaround to type codepoints instead of characters >> (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable &

[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Taco Hoekwater
Hi, > On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context > wrote: > > Sure, they may be a workaround to type codepoints instead of characters > (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable > that character normalization in the wiki? AFAIK, W

[NTG-context] weird character normalization in the wiki

2024-03-09 Thread Pablo Rodriguez via ntg-context
ne. While editing the article searching for "Ά" (case-insensitive and not normalizing characters), gave me 4 matches, but only in the source (no ocurrence was found in the preview). Once changes are saved, "Ά" occurrences dissapear (since they seem to be normalized). Sure, t

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
tugboat:article:start \starttext \setups{tugboat:columns:presets} \setups{tugboat:banner:setup:\getvariable{tugboat}{type}} \setupheadertexts [\setups{tugboat:banner:text:article}] [pagenumber] \setuppagenumber [number=\getvariable{tugboat}{page

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
langage \LaTeX. Bien entendu, on n'échappera pas à un certain nombre de questions techniques, si l'on veut travailler avec ce type d'outil : pour le mathématicien, rendre possible la présentation et l'édition parfaites d'équations complexes, mais aussi de schémas et de tableaux nécessite un apprentissage

[NTG-context] Re: output filename with SHA256

2024-02-27 Thread Pablo Rodriguez via ntg-context
ing > a second job on the command line? > > So your compile command might look like: > > $ context jobname.tex add_sha.tex Hi Bruce, this totally makes sense to me. But (shame on me!) this is the first time I will type context followed by two files. This is also the first time

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread mf
plog, --keeptuc and --keeppdf options (type "context --help --expert" to know about the file naming). A new run is started unless: - the maxruns number of runs has been reached - the tuc file is identic

[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Henning Hraban Ramm
mp-sketch; %D %Dbeginfig(1) %D sketchypaths; % Make draw and fill sketchy %D ... %D naturalizepaths; % Restore the value of draw and fill %D ... %Dendfig %D \stoptyping %D %D The code is heavily inspired by Hans Hagen's Metafun macros. %D %D The macro \type{sketch

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-21 Thread Ursula Hermann
keystroke combination is labelled ConTeXt and it may really be invoking pdflatex. In that case, you have to check WinEdt to see which command is run when you start the compilation process (which command you really invoke). Another way to see which ConTeXt binary you invoke would be to type in the comma

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-21 Thread Pablo Rodriguez via ntg-context
invoking pdflatex. In that case, you have to check WinEdt to see which command is run when you start the compilation process (which command you really invoke). Another way to see which ConTeXt binary you invoke would be to type in the command prompt "context --version" (with no path sp

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
t; I need another approach, one which works with layer sets. > > > > > > > > I would stop using p as an array, because with the layer sets approach > > > > we don't have a fixed order of the layers. > > > > > > > > So the definition of the layer

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Mikael Sundqvist
ition of the layers would be something like > > > > > > picture layerA; > > > layerA:=image( > > > label("Word 1", z1); > > > ); > > > > > > picture layerW; > > > layerW:=image( > > > label("

[NTG-context] Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
uot;, z3+z1);> > );> >> > picture layerY;> > layerY:=image(> > label("Nummer 5", z2+z3);> > );> >> > picture layerU;> > layerU:=image(> > label("number 6", z2+z1);> > );> >> > After that, I would define lay

[NTG-context] Re: Problem with wiki example

2024-02-17 Thread Shiv Shankar Dayal
Never mind it was my idiocy. On Sun, Feb 18, 2024 at 3:29 AM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > I found following on Wiki to produce PDF out of standalone type( > https://wiki.contextgarden.net/Sharing_graphics): > > \starttext > \startMPpage >

[NTG-context] Problem with wiki example

2024-02-17 Thread Shiv Shankar Dayal
I found following on Wiki to produce PDF out of standalone type( https://wiki.contextgarden.net/Sharing_graphics): \starttext \startMPpage draw fullcircle scaled 10cm ; \stopMPPage \stoptext It generates a PDF but when I open it with Evince, Evince complains that no page was found and does

[NTG-context] Re: Working with layer sets with Metapost

2024-02-17 Thread Emanuel Han via ntg-context
; > > > > > picture layerW; > > > layerW:=image( > > > label("Mot 2", z2); > > > ); > > > > > > picture layerM; > > > layerM:=image( > > > label("Parola 3", z3); > > > ); > > > > > &

[NTG-context] behaviour sy in externalfigure

2024-02-16 Thread Hans van der Meer via ntg-context
sy=1.001 in order to get the original height. Although not to difficult with a jump to Lua code, I would prefer not.yours sincerelydr. Hans van der Meer\starttext\ConTeXt\space version \contextversion\blank\type{\externalfigure[testfile.jpg]} source figure\crlf\externalfigure[testfile.jpg]\crlf\t

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Mikael Sundqvist
> layerW:=image( > > label("Mot 2", z2); > > ); > > > > picture layerM; > > layerM:=image( > > label("Parola 3", z3); > > ); > > > > picture layerC; > > layerC:=image( > > label("Wort 4", z3+z1); &

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
gt; > > ); > > > > > > > > picture layerM; > > > > layerM:=image( > > > > label("Parola 3", z3); > > > > ); > > > > > > > > picture layerC; > > > > layerC:=image( > > > > label("W

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
erC:=image( > > > label("Wort 4", z3+z1); > > > ); > > > > > > picture layerY; > > > layerY:=image( > > > label("Nummer 5", z2+z3); > > > ); > > > > > > picture layerU; > > > layerU:=image(

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
"Nummer 5", z2+z3); > > ); > > > > picture layerU; > > layerU:=image( > > label("number 6", z2+z1); > > ); > > > > After that, I would define layer sets and layer subsets. This will be done > > manually for each layer set

[NTG-context] /AFRelationship for attachments

2024-02-15 Thread Pablo Rodriguez via ntg-context
ent[method=hidden, relation=Data, file=xml-mkiv.pdf] \stoptext Gives the following object: 2 0 obj << /AFRelationship /Unspecified /EF << /F 1 0 R >> /F (xml-mkiv.pdf) /Type /Filespec /UF >> endobj Sorry, but which is the right

[NTG-context] Re: Working with layer sets with Metapost

2024-02-14 Thread Mikael Sundqvist
( > label("number 6", z2+z1); > ); > > After that, I would define layer sets and layer subsets. This will be done > manually for each layer set and each layer subset. > I don't know the proper syntax to do that. Let's assume we could use a > variable type cal

[NTG-context] Working with layer sets with Metapost

2024-02-14 Thread Emanuel Han via ntg-context
ne layer sets and layer subsets. This will be done manually for each layer set and each layer subset. I don't know the proper syntax to do that. Let's assume we could use a variable type called "myset". myset layersubsetGamma; layersubsetGamma:={layerU,layerM}; In my logic, the layers will be

[NTG-context] Re: \type ignores space between command and bracket

2024-02-02 Thread Hans Hagen via ntg-context
On 2/2/2024 11:16 AM, wolfgangbackes--- via ntg-context wrote: I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh. don't confuse bugs and features ... \starttext here a \type{\test is} done here a \type{\test [is]} done here

[NTG-context] Re: \type ignores space between command and bracket

2024-02-02 Thread wolfgangbackes--- via ntg-context
I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
oking for is the second figure >> in this example.) > To get offset in the frame of the image, you need a different frame from > the external figure itself (or so it seems). As I mentioned, on my system I can get a frame offset from the image without using \frame, but unfortunate

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Hans Hagen
hey should be like const int luametatex_version=210; const char* luametatex_version_string="2.10.10"; These ensure type-safety in the code and are good coding practice. Good coding practice discussions are wasted on me (you don't want me to look at your tex code -) The versioning i

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
t; # define luametatex_release 10 > > # define luametatex_version_string "2.10.10" > > > > starting with C99 these become unnecessary. Rather they should be like > const int luametatex_version=210; const char* > luametatex_version_string="2.10.10&q

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Taco Hoekwater
210 > # define luametatex_revision 10 > # define luametatex_release 10 > # define luametatex_version_string "2.10.10" > > starting with C99 these become unnecessary. Rather they should be like const > int luametatex_version=210; const char* luametatex_ve

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
210; const char* luametatex_version_string="2.10.10"; These ensure type-safety in the code and are good coding practice. On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
advocated as faster than context). > > > > I was curious, so did a quick experiment: typeset \input knuth 500 times. > > Here are the results: > > > > pdflatex: 547 pages/sec > > lualatex: 308 pages/sec > > opentype or type 1 ? type 1. I did not change a

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen via ntg-context
. Here are the results: pdflatex: 547 pages/sec lualatex: 308 pages/sec opentype or type 1 ? MKIV: 130 pages/sec LMTX: 147 pages/sec that is weird as lmtx is always faster here (we loose some 15% on the backend compared to luatex, maybe even more, but we gain back quite a bit elsewhere

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen
in the end wr're quite okay nowadays. If you run context with \tracingall you'll see that more goes on. For me 40 pps sounds not that bad. If you use only text you can get to 500 pps but that's not realistic. Maybe your style is suboptimal. Also, open type fonts, opentype math, unicode, color, etc etc

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
-mkiv-t-b-ce3b35636ef01ee62897a2beb76049e0.pdf, compresslevel 1, objectcompresslevel 3, 14 streams, 0 uncompressed, 9 compressed, 5 not compressed, threshold 40 mkiv lua stats > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries mkiv lua stats > used platform: linu

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
the vertical spacings are not same, on my device running the version released in the September and also tested with the latest release.) """ %% differences in outputs, for how "grid=yes" is called. %% Type 1. %\setuplayout[grid=yes] Here you set the grid varia

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
running the version released in the September and also tested with the latest release.) """ %% differences in outputs, for how "grid=yes" is called. %% Type 1. %\setuplayout[grid=yes] %% Type 2. %\setuplayout[ %grid=yes %] \setuphead[section][grid=low] %% needed to obse

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
14:47, Mikael Sundqvist a écrit : > Hi, > > On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur > wrote: > > > > Hi, > > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I > find that the subscript notations are a little too big : how

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur wrote: > > Hi, > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find > that the subscript notations are a little too big : how can I improve this ? > Thanks > Fabrice > > \m{ \forall n \in N

[NTG-context] Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Hi, To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find that the subscript notations are a little too big : how can I improve this ? Thanks Fabrice \m{ \forall n \in N, z_{n+1}=\frac{i}{3}z_n

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
as administrator or power user and thus allow the installations to initialize the required registry keys and environment variables. If you have any doubts about the PATH settings, start the Command Prompt from the Windows Start menu or WinEdt's Accessories menu (or WinEdt's toolbar button) and type

[NTG-context] Re: underbrace label across two lines

2023-12-20 Thread Dean Hung
stline\crlf secondline} > \stopbuffer > > $ > \underbrace > [mindepth=0.5cm] > {\tf x + y + z} > _ > {\mtext{\getbuffer}} > > \quad > > \mathannotation > [bottom={\getbuffer}] > {\underbrace > [mindepth=0.5cm] > {\tf x + y + z} > } > $ > > Sinc

[NTG-context] Re: underbrace label across two lines

2023-12-20 Thread Mikael Sundqvist
r to test a bit). In your case you can use the first example here: \startbuffer \unframed [align=middle,toffset=0.5cm] {firstline\crlf secondline} \stopbuffer $ \underbrace [mindepth=0.5cm] {\tf x + y + z} _ {\mtext{\getbuffer}} \quad \mathannotation [bottom={\getbuffer}] {\underbrace [minde

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
quot;Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } -- todo: split backend and pdf local tonumber, tostring, next, type = tonumber, tostring, next, type local

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
On 12/9/2023 4:33 PM, Aditya Mahajan wrote: On Sat, 9 Dec 2023, Wolfgang Schuster wrote: \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}: \m

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
On Sat, 9 Dec 2023, Wolfgang Schuster wrote: > \starttext > > \startlines > \type{\frac{1}{3}}: \m{\frac{1}{3}} > \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} > \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} > \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} > \type{\sfrac{1}{3}}: \m{\sfrac{1

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 16:13: Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{} and \tfrac{} ? Fabrice Le sam. 9 déc. 2023 à 14:00

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Henning Hraban Ramm
Am 09.12.23 um 14:43 schrieb Wolfgang Schuster: anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}: \m

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
with \setupinterlinespace or you use a different fraction command which uses smaller numbers or creates inline fractions. \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3

[NTG-context] externalfigure regression?

2023-12-03 Thread Thangalin
wiki)? Specifying the type works (I'd've thought it not necessary to specify the method at all, given both magic headers and HTTP content-type could determine the type): % SOT \starttext \startplacefigure \externalfigure[https://placekitten.com/408/287][method=jpg] \stopplacefigure \stopt

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Alexandre Christe
l/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > __

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
add width=fit, such as in: \setuplayout[width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame

[NTG-context] Re: marginwidths

2023-12-03 Thread Pablo Rodriguez via ntg-context
width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame \showlayout \stoptext I wonder whether I might be missing

[NTG-context] Converting XHTML captions to ConTeXt captions

2023-11-26 Thread Thangalin
pxmlsetups \startxmlsetups xml:span \define\CaptionText{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:a \define\AnchorXref{\xmlatt{#1}{data-type}-\xmlatt{#1}{name}} \stopxmlsetups \startxmlsetups xml:body \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1}\par \stopxmlsetups \star

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
ine ; line := \the\textwidth ; % Type box numeric box ; box := \the\textheight ; % Nib width (distance between lines) numeric nib ; nib := 3mm ; % Ascenders for writing line numeric asc ; asc := 3 ; % x-height for writing line numeric med ; med := 4 ; % Descenders for writing line numeric

[NTG-context] \xmlinclusion?

2023-11-09 Thread Hans van der Meer via ntg-context
\xmlinclusion\{\#1\} ===> "\xmlinclusion{#1}"\crlf \xmlflush{#1}\crlf {\bf End test}\blank\stopxmlsetups\startxmlsetups demo:test \xmlflush{#1}\stopxmlsetups\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blankThe following text is on page 52 of xml-mkiv.pdf:\crlf\type{

[NTG-context] Re: Modernizing Parametric type design A case study of Nupuram Malayalam typeface

2023-11-04 Thread BPJ
I have created fonts for my "fictional scripts"[1] using MF[2] and "converted" them to TTF by importing the bitmap font into the background layer in Fontforge and tracing it with potrace. It was a long time ago, I used little metaness beyond setting weight through pen/path width and/or a general

[NTG-context] Re: Modernizing Parametric type design A case study of Nupuram Malayalam typeface

2023-11-04 Thread Hans Hagen
On 11/4/2023 9:33 AM, luigi scarso wrote: https://typoday.in/spk_papers/Santhosh_Thottingal_Typoday2023.pdf and https://twitter.com/santhoshtr/status/1577596445917470722

[NTG-context] Modernizing Parametric type design A case study of Nupuram Malayalam typeface

2023-11-04 Thread luigi scarso
https://typoday.in/spk_papers/Santhosh_Thottingal_Typoday2023.pdf and https://twitter.com/santhoshtr/status/1577596445917470722 Long live to metapost & metafont (& mflua :-) :-) :-) ) -- luigi ___ If your question

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

2023-11-02 Thread Vincent Hennebert
== The fonts are available on GitHub [1]. They are the descendants of the Source {Serif,Sans,Code} Pro fonts described in the type-imp-source.mkiv typescript available in the ConTeXt distribution. Due to major changes, Serif Pro was renamed into Serif 4 in, well, its version 4 [2] (that’s

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

2023-11-01 Thread Hans Hagen via ntg-context
For the Experts further down...) maybe a side effect of not defining a math font About Adobe Source == The fonts are available on GitHub [1]. They are the descendants of the Source {Serif,Sans,Code} Pro fonts described in the type-imp-source.mkiv typescript available

[NTG-context] Adobe Source Typescript With Design Sizes

2023-10-31 Thread Vincent Hennebert
in the type-imp-source.mkiv typescript available in the ConTeXt distribution. Due to major changes, Serif Pro was renamed into Serif 4 in, well, its version 4 [2] (that’s the version that introduces design sizes, a.k.a. optical sizes), and Sans Pro was renamed into Sans 3 [3]. [1] https

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
wanted to be able to setup the interactive link color only, not to add any color to the link text. This would be similar to the following object: << /Type /Annot /A 3 0 R /Border 1 0 R /C [ 0 .6 0 ] /F 4 /Subtype /Link /Rect [ 11.148045 64.22294 29.080798 78

[NTG-context] Re: colors for links

2023-10-14 Thread Pablo Rodriguez
nteractive link color only, not to add any color to the link text. This would be similar to the following object: << /Type /Annot /A 3 0 R /Border 1 0 R /C [ 0 .6 0 ] /F 4 /Subtype /Link /Rect [ 11.148045 64.22294 29.080798 78.65044 ] >> The "re

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-23 Thread Hamid,Idris
applied select a range of characters and apply it" That's what was meant when I spoke of the continued effects of the WYSIWYG curse: It saved font designers from having to think much about this issue. In some way it's also flaws in the open type approach. Basically that h

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
d apply it" That's what was meant when I spoke of the continued effects of the WYSIWYG curse: It saved font designers from having to think much about this issue. In some way it's also flaws in the open type approach. Basically that happens when application stuff becomes a standard and

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

2023-09-18 Thread vm via ntg-context
On 18/09/2023 17:07, Michael Loescher wrote: \starttext \type{hello} \stoptext here too (linux pop!os 22.04) something goes unexpected: ! Control sequence expected instead of undefined. \buff_verbatim_type_normal ...chained \t!verbatim \currenttype \??type \clf_type data

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

2023-09-18 Thread Michael Loescher
Am 18.09.2023 um 16:20 schrieb Hans Hagen: On 9/18/2023 3:58 PM, Michael Loescher wrote: There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error   > tex error on line 2 in file Z:/test.tex: Control sequence expec

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

2023-09-18 Thread Mikael Sundqvist
Hi, works as expected here, with the latest. /Mikael On Mon, Sep 18, 2023 at 4:04 PM Michael Loescher wrote: > > There seems to be something wrong with the \type command. > > MWE: > \starttext > \type{hello} > \stoptext > > gives an error: > tex error &

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

2023-09-18 Thread Hans Hagen
On 9/18/2023 3:58 PM, Michael Loescher wrote: There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error   > tex error on line 2 in file Z:/test.tex: Control sequence expected instead of undefined what platform? looks l

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

2023-09-18 Thread Michael Loescher
There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error > tex error on line 2 in file Z:/test.tex: Control sequence expected instead of undefined \buff_verbatim_type_normal #1->\buff_verbatim_initialize_ty

[NTG-context] rotation weirdness

2023-09-16 Thread Hans van der Meer via ntg-context
:\crlfit looks like \type{\rotate[]{}} kills the definition of boxtitlecolor.Changing the names of the titlecolor/framecolor definitions makes no difference.\crlfWhy is this? ConTeXt error?\blank\boxfigure{test}{norotation: title color is blue}\blank\boxfigurerotate{test}{rotation: title color should

[NTG-context] Fwd: Kerning feature not working

2023-08-30 Thread Hans Hagen
for ebgaramonditalic but not for ebgaramondregular. How do I fix it? I'm using ConTeXt version: 2023.08.27 13:48 \startluacode fonts.handlers.otf.addfeature { name = "kernit", type = "kern", nocheck = true, data = { [0x27E8]

  1   2   3   4   5   6   7   8   9   10   >