Re: [NTG-context] interactive link area and scale in LMTX

2019-05-19 Thread Pablo Rodriguez
On 5/18/19 11:00 PM, Hans Hagen wrote: > On 5/18/2019 7:12 PM, Pablo Rodriguez wrote: >> [...] >> Interactive link areas are fine in latest beta (2019.05.18 10:57) with >> LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled. >> >> Could anyone confirm the issue? > fixed in next beta Hans, many

Re: [NTG-context] interactive link area and scale in LMTX

2019-05-18 Thread Hans Hagen
{\goto{#2} [url(#1)]} \starttext \mypersonalurl{wiki.contextgarden.net} \scale[width=.5\textwidth] {\mypersonalurl{wiki.contextgarden.net}} \stoptext Interactive link areas are fine in latest beta (2019.05.18 10:57) with LuaTeX-1.10, but with LuaTeX-2.0, they aren’t

[NTG-context] interactive link area and scale in LMTX

2019-05-18 Thread Pablo Rodriguez
\mypersonalurl{wiki.contextgarden.net} \scale[width=.5\textwidth] {\mypersonalurl{wiki.contextgarden.net}} \stoptext Interactive link areas are fine in latest beta (2019.05.18 10:57) with LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled. Could anyone confirm the issue? Many thanks

[NTG-context] Question to floating figure and grid

2019-03-22 Thread Tomas Hala
] \placefigure[][#1]{#2}{\externalfigure[#3][#4]} \stopfloatcombination \stopplacefigure} \input knuth \myfig{fig1}{This is FIG1}{any.jpg}{scale=250} \input knuth \input knuth \stoptext ___ If your question

[NTG-context] Fwd: Meptapost Drawing not showing-up in Context Letter Style

2019-03-12 Thread Jeroen
\definelayer [logo] [repeat=no] \setlayer [logo] [hoffset=160mm,voffset=17mm] {\scale[width=25mm,height=25mm]{\useMPgraphic{mpglogo}}} \setupbackgrounds[paper][background=logo] % END MP LOGO SETUP, BEGIN LETTER SETUP \usemodule [letter] [style=dinb] \setupletterlayer [reference

Re: [NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-11 Thread Wolfgang Schuster
=dinb] \startuseMPgraphic{mpglogo} path p; p := (0,0)--(100,0)--(100,100)--(0,100)--cycle ; path q; q := p cornered 30pt; draw q withcolor black withpen pencircle scaled 7pt ; \stopuseMPgraphic \startsetups[letter:layer:lettermain] \scale[width=25mm,height=25mm]{\useMPgraphic{mpglogo

Re: [NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Jeroen
gt; > > -i \externalfilterinputfile}, > > > > output=\externalfilterbasefile.png, > > > > readcommand=\ExternalFigure, > > > > continue=yes, > > > > purge=no,] > > > > \def\ExternalFigure#1{\externalfigure[#1]} > > > > \sta

Re: [NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Aditya Mahajan
\starttext \startwordcloud %[width=100] Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer should also write the first user manual. The separation of any of these four components would have hurt \TeX\ sig

[NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Jeroen
ew system must not only be the implementer and first large||scale user; the designer should also write the first user manual. The separation of any of these four components would have hurt \TeX\ significantly. If I had not participated fully in all these activities, literally hundreds of im

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
p; p := (0,0)--(100,0)--(100,100)--(0,100)--cycle; path q; q := p cornered 30pt; draw q withcolor black withpen pencircle scaled 7pt; \stopuseMPgraphic \definelayer [logo] [repeat=no] \setlayer [logo] [hoffset=160mm,voffset=17mm] {\scale[width=25mm,height=25mm]{\useMPgraphic

Re: [NTG-context] New logo proposal

2019-01-30 Thread Taco Hoekwater
replacing the favicon as well, but the image does not want to scale down that much, so the favicon is still Patrick’s tulips. > On 30 Jan 2019, at 10:15, Floris van Manen wrote: > > If TeX and Context are about typesetting beautiful readable typography, > the logos as presented do

Re: [NTG-context] definefont

2019-01-23 Thread Wolfgang Schuster
the font size factor. Of course, but how is it used? In my example, I scale the text to a specific width, so I really don't care what font size is selected and would assume that the design optimal or "natural" size would be selected, by default. In your case it isn’t needed but when you have

Re: [NTG-context] definefont (was: definefontfamily use)

2019-01-23 Thread Alan Braslau
res activated by default? (as the name might suggest...). Perhaps *no* features are selected, by default... (a misnomer, therefore). > sa 3 is the font size factor. Of course, but how is it used? In my example, I scale the text to a specific width, so I really don't care what font size is

Re: [NTG-context] definefont (was: definefontfamily use)

2019-01-23 Thread Henning Hraban Ramm
Alan Braslau : > On Tue, 22 Jan 2019 19:39:05 +0100 > Hans Hagen wrote: > >> one can do >> >> \definefont[MyTitleFont][file:myfont.ttf*default sa 3] >> >> \setuphead[chapter][style=\MyTitlefont] > > Thank you > > \definefont[MyFont][file:myf

Re: [NTG-context] definefontfamily use

2019-01-22 Thread Alan Braslau
On Tue, 22 Jan 2019 19:39:05 +0100 Hans Hagen wrote: > one can do > > \definefont[MyTitleFont][file:myfont.ttf*default sa 3] > > \setuphead[chapter][style=\MyTitlefont] Thank you \definefont[MyFont][file:myfont.ttf] \scale[width=.5\textwidth]{\MyFont My Font!} can be u

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

2019-01-18 Thread User 19087
ote: > The default sizes (12pt, 14.4pt etc,) set the x and xx sizes to a fixed > size which leads > to differences and the scale factor. That's yet another reason to avoiding fixing the values of the 'm' and 'n' sizes. As of now, you have to first decide your font size, lookup the 'x' a

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

2019-01-18 Thread Wolfgang Schuster
User 19087 schrieb am 17.01.19 um 14:30: On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: % Which factor should I use to match \tfxx? \symbol[ShortForty] \scale[factor=4]{\symbol[ShortForty]} x = 0.8 xx = 0.6 That's what the ConTeXt Reference Manual also says, but that doesn't seem

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

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: > > % Which factor should I use to match \tfxx? > > \symbol[ShortForty] > > \scale[factor=4]{\symbol[ShortForty]} > x = 0.8 > xx = 0.6 That's what the ConTeXt Reference Manual also says, but that doesn't seem to

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

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: > > 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 rea

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

2019-01-16 Thread User 19087
bodyfontenvironment{x}, n=\getcurrentbodyfontenvironment{xx}] > > % This also works but is less than ideal when matching surrounding > > font sizes. > > % Which factor should I use to match \tfxx? > > \symbol[ShortForty] > > \scale[factor=4]{\symbol[ShortForty]} > x = 0.8

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 \tfx, \bfx

[NTG-context] Scaling down symbols and emojis

2019-01-16 Thread User 19087
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: \usesymbols[mvs] \setupsymbolset[martinvogel 2

Re: [NTG-context] tikz pgfplots library problem

2019-01-15 Thread Aditya Mahajan
-.0} 2412 \tikzdvdeclarestylesheetcolorseries{shades of red}{hsb}{0,1.4,1}{0,-.4,-.0} 2413 \tikzdvdeclarestylesheetcolorseries{gray scale}{hsb}{0,0,-.34}{0,0,.34} 2414 2415 2416 which you can "fix" by adding: \def\definecolorseries{\gobblefourarguments} \def\resetcolorseries{\gobbleoneargu

Re: [NTG-context] Issue with missing kerns when using fallback family(or KeterYG font)

2018-12-30 Thread Joseph Canedo
t][mode=node, lang=heb, script=hebr] > > \definefallbackfamily[mainfont][serif][KeterYG][preset=range:hebrew, > scale=1.0, features=hebrew] > > \definefontfamily[mainfont][serif][EBGaramond][features=base] > > \setupbodyfont[mainfont, 9pt] > > \def\He{\hebrewHe} > &g

Re: [NTG-context] Issue with missing kerns when using fallback family(or KeterYG font)

2018-12-30 Thread Joseph Canedo
owfontkerns > > \definefontfeature[base][mode=node, kern=yes, script=latn, trep=yes] > > \definefontfeature[hebrew][default][mode=node, lang=heb, script=hebr] > > \definefallbackfamily[mainfont][serif][KeterYG][preset=range:hebrew, > scale=1.0, features=hebrew] > > \de

Re: [NTG-context] Issue with missing kerns when using fallback family (or KeterYG font)

2018-12-30 Thread Hans Hagen
] \definefallbackfamily[mainfont][serif][KeterYG][preset=range:hebrew, scale=1.0, features=hebrew] \definefontfamily[mainfont][serif][EBGaramond][features=base] \setupbodyfont[mainfont, 9pt] \def\He{\hebrewHe} \def\Tav{\hebrewTav} \def\Vav{\hebrewVav} \starttext VA c'est {\setupalign[r2l]\Tav\He\Vav} VA

[NTG-context] Issue with missing kerns when using fallback family (or KeterYG font)

2018-12-30 Thread Joseph Canedo
=range:hebrew, scale=1.0, features=hebrew] \definefontfamily[mainfont][serif][EBGaramond][features=base] \setupbodyfont[mainfont, 9pt] \def\He{\hebrewHe} \def\Tav{\hebrewTav} \def\Vav{\hebrewVav} \starttext VA c'est {\setupalign[r2l]\Tav\He\Vav} VA c'est % there is no kern between latest V and A VA

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Wolfgang Schuster
is normally of a different design that a scaled down 2, so one then has to replace them all. Then there is the question of scale and move (up/down). This issue shows up with the STIX and STIX2 fonts, as the former has the superscript digits ¹ ² ³, but not the other which came to Unicode later

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
ifferent design > that a scaled down 2, so one then has to replace them all. Then there is the > question of scale and move (up/down). This issue shows up with the STIX and STIX2 fonts, as the former has the superscript digits ¹ ² ³, but not the other which came to Unicode later in a different

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
rscript 3 isn't, using a fake ^3 alongside that ^2 > quite certainly will look bad because the 2 is normally of a different design > that a scaled down 2, so one then has to replace them all. Then there is the > question of scale and move (up/down). It will look worse not having it at al

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
, using a fake ^3 alongside that ^2 quite certainly will look bad because the 2 is normally of a different design that a scaled down 2, so one then has to replace them all. Then there is the question of scale and move (up/down). Although I have some experiemntal (font) magic on my computer

[NTG-context] latest beta (october 18th): likely bug in \mirror

2018-11-23 Thread mf
z[j] endfor .. z1 & cycle ; \stopuseMPgraphic % braces are scaled to fit the box \defineoverlay[leftbrace] [\middlealigned{\scale[height=\overlayheight,width=\dimexpr 3pt+.015\dimexpr\overlayheight\relax\relax]{\useMPgraphic{accolade}}}] \defineoverlay[rightbrace][\middlealigned{\mirror{\scal

Re: [NTG-context] what defines the font size?

2018-10-18 Thread Hans Hagen
TeX Gyre Bonum at a somewhat larger size than the TeX Gyre Bonum designer intended and TeX Gyre Adventor at a somewhat larger size than the TeX Gyre Adventor designer intended" Nothing more, nothing less. A nice explanation. In context one can actually scale in two more ways than st

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
  \scale[sx=4,sy=4]{\sc RoLlErCoAsTeR TeXt.}\par   \blank   \scale[sx=4,sy=4]{\sc ÀàÉéÎîÖöÜü.}\par   \blank   \scale[sx=4,sy=4]{\sc ŁłĄąĞğŘřŻż.}\par \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
] \setupbodyfont[myriadpro,ss] \starttext % scaled up 4 times to appreciate the thickness equalization \scale[sx=4,sy=4]{\sc RoLlErCoAsTeR TeXt.}\par \blank \scale[sx=4,sy=4]{\sc ÀàÉéÎîÖöÜü.}\par \blank \scale[sx=4,sy=4]{\sc ŁłĄąĞğŘřŻż.}\par \stoptext fake-smallcaps.pdf Description: Adobe PDF

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
stoptypescriptcollection \usetypescript[myriadpro] \setupbodyfont[myriadpro,ss] \starttext    % scaled up 4 times to appreciate the thickness compensation    \scale[sx=4,sy=4]{\sc SoMe CaMeLcAsE TeXt.}\par \stoptext 'offset' offsets the original, i'll add 'target' so that you can d

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
usetypescript[myriadpro] \setupbodyfont[myriadpro,ss] \starttext   % scaled up 4 times to appreciate the thickness compensation   \scale[sx=4,sy=4]{\sc SoMe CaMeLcAsE TeXt.}\par \stoptext 'offset' offsets the original, i'll add 'target' so that you can do \definefontfallback[FakeSansCaps]

[NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
text % scaled up 4 times to appreciate the thickness compensation \scale[sx=4,sy=4]{\sc SoMe CaMeLcAsE TeXt.}\par \stoptext ___ If your question is of interest to others as well, please add an entry to the Wik

Re: [NTG-context] Metafun scaling problem

2018-10-02 Thread Lutz Haseloff
scaling included pdf >files. >> My minimal file: >> >> \startMPpage >> draw externalfigure "cow.pdf" ; >> \stopMPpage >> >> The resulting pdf is, as the original, 97x70.6 mm, all ok. >> >> If I try to scale to the original siz

Re: [NTG-context] Metafun scaling problem

2018-10-02 Thread Hans Hagen
On 10/2/2018 7:03 AM, Lutz Haseloff wrote: Hi Hans, hi all, I think, that recent context has a problem with scaling included pdf files. My minimal file: \startMPpage draw externalfigure "cow.pdf" ; \stopMPpage The resulting pdf is, as the original, 97x70.6 mm, all ok. If I tr

Re: [NTG-context] Metafun scaling problem

2018-10-02 Thread Lutz Haseloff
Hans, hi all, >> >> I think, that recent context has a problem with scaling included pdf >files. >> My minimal file: >> >> \startMPpage >> draw externalfigure "cow.pdf" ; >> \stopMPpage >> >> The resulting pdf is, as the origin

Re: [NTG-context] Metafun scaling problem

2018-10-01 Thread luigi scarso
is, as the original, 97x70.6 mm, all ok. > > If I try to scale to the original size, i get arithmetic overflow error. > > \startMPpage > draw externalfigure "cow.pdf" xscaled 97mm yscaled 70.6mm ; > \stopMPpage > > > Whe i scale it down, the pdf gets really big.

[NTG-context] Metafun scaling problem

2018-10-01 Thread Lutz Haseloff
Hi Hans, hi all, I think, that recent context has a problem with scaling included pdf files. My minimal file: \startMPpage draw externalfigure "cow.pdf" ; \stopMPpage The resulting pdf is, as the original, 97x70.6 mm, all ok. If I try to scale to the original size, i get arithmeti

Re: [NTG-context] Rendering of Burmese Script

2018-09-28 Thread Taco Hoekwater
problem. > > \documentclass{memoir} > \usepackage{fontspec} > \newfontfamily{\burmeseFamily}{NotoSerifMyanmar-Regular.ttf}[Scale=MatchLowercase] > \begin{document} > Test {\burmeseFamily{}တော်ကြီး} foo. > \end{document} > > Thank you very much for

[NTG-context] Rendering of Burmese Script

2018-09-28 Thread Campanignis
spot for my initial problem. Here is the initial problem: The following MWE renders correctly in XeLaTeX but not in LuaLaTeX and illustrates the problem. \documentclass{memoir} \usepackage{fontspec} \newfontfamily{\burmeseFamily}{NotoSerifMyanmar-Regular.ttf}[Scale=MatchLowercase] \begin

Re: [NTG-context] rscale with auto value

2018-09-26 Thread Aditya Mahajan
] \setupbodyfont[mainface, 22pt] \starttext \startmakeup[standard] This is available at {\tt https://contextarden.net}. \stopmakeup \stoptext The problem is how to explain to someone who never used anything similar to ConTeXt or TeX how she has to calculate the scale ratio. It is even not simple

[NTG-context] rscale with auto value

2018-09-26 Thread Pablo Rodriguez
\startmakeup[standard] This is available at {\tt https://contextarden.net}. \stopmakeup \stoptext The problem is how to explain to someone who never used anything similar to ConTeXt or TeX how she has to calculate the scale ratio. It is even not simple to myself. rscale is a useful option

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-21 Thread Hans Hagen
withcolor black randomized (.2,1.5);   for i=2 upto NObj :   Danger := 0; % Choose a position for the object :   ObjPos := (uniformdeviate(5)*1in,uniformdeviate(5)*1in) ;   % Choose a form :   Obj[i] := fullsquare randomized .01in ;   Obj[i] := curved ( Obj[i] );   % Choose a scale so the object doe

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-21 Thread Fabrice L
ullsquare randomized .01in ; Obj[i] := curved ( Obj[i] ); % Choose a scale so the object does not interact with any other object: for j=1 upto 50: MaxSize := (j*.01in) ; ObjTemp := Obj[i] scaled MaxSize shifted ObjPos ; %draw ObjTemp withcolor magenta ; % Check i

Re: [NTG-context] xtables multipage horizontally

2018-09-05 Thread luigi scarso
pping (linecorrection) % - maybe also some before/after commands % - maybe correction when non float usage % - tagging needs to be checked % - maybe only tag the box % - scale to fit % % - buffers permit verbatim but are not always handy -- luigi ___

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-16 Thread Fabrice Couvreur
use the correct margin width, i.e. \rightmarginwidth in the > right margin and vice versa in the left margin. You should also scale > the margins to fit in the backspace/cutspace because by default they > don't and run off the paper. > > \showframe > \useMPlibrary[dum] > \setupla

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Henri Menke
You have to use the correct margin width, i.e. \rightmarginwidth in the right margin and vice versa in the left margin. You should also scale the margins to fit in the backspace/cutspace because by default they don't and run off the paper. \showframe \useMPlibrary[dum] \setuplayout [height

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Alan Braslau
never wanted to add a ton of code for > images) so there externalfigure will scale proportionally too ConTeXt running on the luatex experimental branch under development indeed works with one-pass-MP calculations as opposed to the two-pass mechanism that is standard today. For documents with

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
.." ... That's what I was looking for. Thanks. the "externalfigure" variant is an old one that had to deal with dimensions in a way that avoids overflows in a future context (read luatex 1.09+) we go one-pass-mp so we can have a different approach (i never wanted to add a ton of co

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Marco Patzer
On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: > On 7/8/2018 1:45 AM, Marco Patzer wrote: > > On Sat, 7 Jul 2018 14:27:38 -0600 > > Alan Braslau wrote: > > > >> For "historic" reasons, > >> draw externalfigure "cow" scaled 5cm ; > >> normalizes the figure to a square. This will not

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
On 7/8/2018 1:45 AM, Marco Patzer wrote: On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normalizes the figure to a square. This will not be changed as it is a very old feature of MetaFun. The solution is draw

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: > For "historic" reasons, > draw externalfigure "cow" scaled 5cm ; > normalizes the figure to a square. This will not be changed as it is a > very old feature of MetaFun. > > The solution is > draw rawtextext("\externalfigure[cow]")

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 22:27:51 +0200 Hans Hagen wrote: > On 7/7/2018 8:58 PM, Marco Patzer wrote: > > Hi! > > > > How to scale an image in MetaPost, maintaining the aspect ratio > > (without specifying the height explicitly)? > > > > Example: > >

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Hans Hagen
On 7/7/2018 8:58 PM, Marco Patzer wrote: Hi! How to scale an image in MetaPost, maintaining the aspect ratio (without specifying the height explicitly)? Example: \setupexternalfigures [location=default] \starttext \externalfigure [cow][width=5cm] \startMPcode draw externalfigure

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Alan Braslau
On Sat, 7 Jul 2018 20:58:40 +0200 Marco Patzer wrote: > Hi! > > How to scale an image in MetaPost, maintaining the aspect ratio > (without specifying the height explicitly)? > > Example: > > \setupexternalfigures [location=default] > \starttext > \

[NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
Hi! How to scale an image in MetaPost, maintaining the aspect ratio (without specifying the height explicitly)? Example: \setupexternalfigures [location=default] \starttext \externalfigure [cow][width=5cm] \startMPcode draw externalfigure "cow" scaled 5cm; \stopMPcode

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
by the example you provided: Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large--scale user; the designer should also write the first user manual. and a snip of the output with the default css: Thus the request for a (simple

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
>>> \startnotmode[*export] > >>> \completeregister[index] > >>> \stopnotmode > >>> > >>> \stoptext > >> Unfortunately, this does not suppress generation of index > >> references in the exported output. Here is a snippet of t

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
must not only be the implementer and first large--scale user; the designer should also write the first user manual. and a snip of the output with the default css: Thus the request for a (simple) mechanism to redefine or disable standard commands. There are commands other than \index

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
a snippet of the -div.html file > generated by the example you provided: > > onclick="location.href=#aut-1">Thus, > I came to the conclusion that the designer of a new system must not > only be the implementer and first large--scale user; the designer >

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik
not suppress generation of index references in the exported output. Here is a snippet of the -div.html file generated by the example you provided: Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large--scale user; the designer

Re: [NTG-context] beta

2018-06-23 Thread Hans Hagen
The error is triggered by this line: context( "\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" ) Since it's a pdf figure, it should be linked to the new pdf library. no, more to a bit strick checking in image settings in the old bin (less strct in lat

Re: [NTG-context] beta

2018-06-22 Thread Wolfgang Schuster
s file be loaded? \stopbuffer \typesetbuffer[scale=500] \stoptext end example or when I try to insert cow.pdf begin example \setupexternalfigure[location=default] \starttext \externalfigure[cow] \stoptext end example Wo

Re: [NTG-context] beta

2018-06-22 Thread Wolfgang Schuster
..) The error is triggered by this line: context( "\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" ) Since it's a pdf figure, it should be linked to the new pdf library. Do you get the same error message with the following minimal example: \starttext \externalfigure[fi

Re: [NTG-context] beta

2018-06-22 Thread MF
context( "\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" ) Since it's a pdf figure, it should be linked to the new pdf library. Best wishes, Massi ___ If your question is of interest to oth

Re: [NTG-context] How to scale math with text?

2018-06-06 Thread Aditya Mahajan
On Tue, 5 Jun 2018, Alan Braslau wrote: The "style=" use is, in general, preferable for tagging (and exporting). For less than paragraph switching, the use of \definehighlight for example could be used. Quick and dirty font switching is almost always poor usage... You didn't read the first

Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Alan Braslau
jan wrote: > On Mon, 4 Jun 2018, Alan Braslau wrote: > > > On Tue, 5 Jun 2018 10:37:12 +1200 > > Henri Menke wrote: > > > >> Dear list, > >> > >> probably I'm just missing something obvious. How can I scale the > >> math font siz

Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Aditya Mahajan
On Mon, 4 Jun 2018, Alan Braslau wrote: On Tue, 5 Jun 2018 10:37:12 +1200 Henri Menke wrote: Dear list, probably I'm just missing something obvious. How can I scale the math font size to match the text font size locally? In the following MWE text is scaled to 10pt but math still appears

Re: [NTG-context] How to scale math with text?

2018-06-04 Thread Alan Braslau
On Tue, 5 Jun 2018 10:37:12 +1200 Henri Menke wrote: > Dear list, > > probably I'm just missing something obvious. How can I scale the > math font size to match the text font size locally? In the following > MWE text is scaled to 10pt but math still appears at 12pt. > &g

[NTG-context] How to scale math with text?

2018-06-04 Thread Henri Menke
Dear list, probably I'm just missing something obvious. How can I scale the math font size to match the text font size locally? In the following MWE text is scaled to 10pt but math still appears at 12pt. \starttext {\tfx ABC $DEF$ GHI\par} \stoptext Cheers, Henri

Re: [NTG-context] Fwd: Re: roadmap

2018-05-16 Thread Hans Hagen
On 5/16/2018 7:59 PM, Pablo Rodriguez wrote: On 05/16/2018 05:37 PM, Hans Hagen wrote: [...] actually it was something that came up when talking with Hermann Zapf years ago: he suggested to just vertically scale the text area (i actully implemented that an hour later) ... his opinion

Re: [NTG-context] Fwd: Re: roadmap

2018-05-16 Thread Pablo Rodriguez
On 05/16/2018 05:37 PM, Hans Hagen wrote: >>> [...] >>> actually it was something that came up when talking with Hermann Zapf >>> years ago: he suggested to just vertically scale the text area (i >>> actully implemented that an hour later) ... his opinion was t

[NTG-context] Fwd: Re: roadmap

2018-05-16 Thread Hans Hagen
pf years ago: he suggested to just vertically scale the text area (i actully implemented that an hour later) ... his opinion was that only a very small percentage of readers will notice (at that time we did experiments with hz, the expansion in pdftex: in fact nobody noticed that too, real

Re: [NTG-context] roadmap

2018-05-16 Thread Pablo Rodriguez
terline space in the present page). >> >> Would it be possible to add this feature to ConTeXt? > > actually it was something that came up when talking with Hermann Zapf > years ago: he suggested to just vertically scale the text area (i > actully implemented that a

Re: [NTG-context] roadmap

2018-05-15 Thread Hans Hagen
to the next page to avoid widows (increasing the interline space in the present page). Would it be possible to add this feature to ConTeXt? actually it was something that came up when talking with Hermann Zapf years ago: he suggested to just vertically scale the text area (i actully implemented

Re: [NTG-context] Font fallback scaling

2018-04-13 Thread Magnus J
][rscale=1.05,range=math:somesymbols] \definefontfamily[mainface][serif][Adobe Garamond Pro] \definefontfamily[mainface][math][TeX Gyre Termes Math][scale=0.9] \setupbodyfont[mainface,11pt] % footnotes \defineconversion[avhset][\m{\wedge},\m{\prime}] \setupnotation

Re: [NTG-context] Font fallback scaling

2018-04-12 Thread Hans Hagen
On 4/12/2018 6:17 PM, Magnus J wrote: I use Adobe Garamond Pro in combination with Termes Math for math (the latter for missing glyphs, Garamond is not very complete). How can I scale size of Termes Math without decreasing the size of the Garamond glyphs in math mode? /MJO     % define

[NTG-context] Font fallback scaling

2018-04-12 Thread Magnus J
I use Adobe Garamond Pro in combination with Termes Math for math (the latter for missing glyphs, Garamond is not very complete). How can I scale size of Termes Math without decreasing the size of the Garamond glyphs in math mode? /MJO % define the characters to use for Garamond in math

Re: [NTG-context] \basegrid ignores color

2018-03-22 Thread Henri Menke
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 {\getbuffer} \startuseM

Re: [NTG-context] about makempy (metapost outlines)

2018-02-19 Thread Hans Hagen
On 2/19/2018 3:21 AM, Jeong Dal wrote: tex error       > tex error on line 4 in file /Users/graph/Documents/TeXfiles/test-mpgraph.tex: ! Undefined control sequence \setstrut \begstrut \getheadtitle                                   \endstrut \MPLIBgraphictext ...\startTEXpage [scale=10

Re: [NTG-context] about makempy (metapost outlines)

2018-02-18 Thread Otared Kavian
e > /Users/graph/Documents/TeXfiles/test-mpgraph.tex: ! Undefined control sequence > > \setstrut \begstrut \getheadtitle > \endstrut > \MPLIBgraphictext ...\startTEXpage [scale=1]#1 > \stopTEXpage > l.4 ...\setstru

[NTG-context] about makempy (metapost outlines)

2018-02-18 Thread Jeong Dal
% tex error > tex error on line 4 in file /Users/graph/Documents/TeXfiles/test-mpgraph.tex: ! Undefined control sequence \setstrut \begstrut \getheadtitle \endstrut \MPLIBgraphictext ...\startTEXpage [scale=1

Re: [NTG-context] image file resolver in Lua?

2018-02-06 Thread Procházka Lukáš Ing .
igname, opts) -- Optional; .scale = .sc, .rotation = .rot, .label, ... opts = opts or {} -- To simplify code bellow local scale, rot, lab = opts.scale or opts.sc, -- I.e. more keys are allowed in long/short alternative opts.rotation or opts.rotate or opts.rot, -

[NTG-context] Scale figure to fill a box

2018-02-04 Thread Wolfgang Schuster
Hi Hans, I want to use a few graphics as page backgrounds but with the \scale command the image always stays within the borders of the page. Can you add a command (probably easier than adding such a function to \scale) which does as same as in the second row of the example below where

Re: [NTG-context] text on every page howto

2018-02-02 Thread Otared Kavian
\myrotatedtext{% \rotate[rotation=90]{% \scale[width=50mm]{\startcolor[darkred] my rotated text\stopcolor} } } \definelayer[myrotatedlayer] [width=30mm, height=100mm, repeat=yes] \setlayer[myrotatedlayer] [x=180mm,y=100mm

Re: [NTG-context] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-12-23 Thread Alan Braslau
XML result > that can be transformed into a PDF by ConTeXt with the bibliography > created according the the selected CSL format. This works well for > documents that do not require significant customization, but may > become cumbersome when you must fiddle with many individual objec

Re: [NTG-context] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-12-23 Thread Rik Kabel
F by ConTeXt with the bibliography created according the the selected CSL format. This works well for documents that do not require significant customization, but may become cumbersome when you must fiddle with many individual objects. I have done this for a book-scale project as a proof of concept, and the

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-02 Thread Jonas Baggett
> Hi Jonas, > A desktop editor, not so much. But it'd be wonderful to have a cloud based > one with Git integration. I've rolled my own with floobits and my own VM, > but that doesn't scale and I can't share it with my students. > > What you describe has already been wor

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-02 Thread Brian Ballsun-Stanton
Hi Jonas, A desktop editor, not so much. But it'd be wonderful to have a cloud based one with Git integration. I've rolled my own with floobits and my own VM, but that doesn't scale and I can't share it with my students. What you describe has already been worked on by overleaf in terms

Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
a good way of doing this. >> If anybody knows a better way, please let me know. > > Not “better,” but maybe simpler: you can just scale the cdot; if you want to > be fancy, you can make a macro and center it vertically, but the basic > process would be: > > \starttext > &g

Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Schmitz Thomas A.
> On 6. Nov 2017, at 21:44, Weber, Matthias <matwe...@indiana.edu> wrote: > > It looks like Metapost is a good way of doing this. > If anybody knows a better way, please let me know. Not “better,” but maybe simpler: you can just scale the cdot; if you want to be fancy, yo

Re: [NTG-context] substituting characters in math font

2017-10-29 Thread Alan Bowen
h: > uppercasegreeknormal] > \definefallbackfamily [mainface] [mm] [BrillItalic] [preset=math: > uppercasegreekitalic] > > \definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94] > > \setupmathematics[ucgreek=normal, lcgreek=italic] > > \setupbodyfont[mainface,10pt

Re: [NTG-context] substituting characters in math font

2017-10-28 Thread Wolfgang Schuster
preset=math:uppercasegreekitalic] \definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94] \setupmathematics[ucgreek=normal, lcgreek=italic] \setupbodyfont[mainface,10pt] \starttext normal: 1234567890\quad math: \m{1234567890} normal: ABCDEFabcdef\quad italic: \emph{ABCDEFabcdef}\quad math: \

Re: [NTG-context] substituting characters in math font

2017-10-27 Thread Henning Hraban Ramm
amily[mainface][mm][TeX Gyre Termes Math][scale=0.94] \definefontfallback [brillmath] [RomanItalic] [mathematicalalphanumericsymbols] [force=yes] \definefontfallback [brillmath] [Roman] [{0x30-0x39}] [force=yes] \definefontfallback [brillmath] [RomanItalic] [{0x41-0x5A, 0x61-0x7A}] [force=yes] \

Re: [NTG-context] substituting characters in math font

2017-10-19 Thread Alan Bowen
[mainface] [mm] [Brill][preset=math:uppercasegreeknormal] \definefallbackfamily [mainface] [mm] [BrillItalic] [preset=math:uppercasegreekitalic] \definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94] \setupmathematics[ucgreek=normal, lcgreek=italic] \setupbodyfont[mainface,10pt] \starttext

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