Re: [NTG-context] Bar within math (amended)

2020-06-15 Thread Henning Hraban Ramm
> Am 11.06.2020 um 13:41 schrieb Axel Kielhorn : > >> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster >> : >> >> Use a textbackground to highlight parts of your text. >> >> \definetextbackground >> [Highlight] >> [frame=off, >> background=color, >> backgroundcolor=yellow] >> >> \starttext

Re: [NTG-context] Bar within math (amended)

2020-06-11 Thread Axel Kielhorn
> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster > : > > Use a textbackground to highlight parts of your text. > > \definetextbackground > [Highlight] > [frame=off, > background=color, > backgroundcolor=yellow] > > \starttext > > \m{1 + 2 = \unit{3 kilo newton}} > > \m{1 + 2 =

Re: [NTG-context] Bar within math (amended)

2020-06-09 Thread Wolfgang Schuster
Lukas/ConTeXt schrieb am 09.06.2020 um 20:28: Hello, it seems that bar (even with option 'continue=yes') is not rendered in place of '~' within math. See the sample: \definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes] \starttext 1 + 2 = \startbar

[NTG-context] Bar within math (amended)

2020-06-09 Thread Lukas/ConTeXt
Hello, it seems that bar (even with option 'continue=yes') is not rendered in place of '~' within math. See the sample: \definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes] \starttext 1 + 2 = \startbar[MyBar]3~kN\stopbar % OK $1 + 2 = \startbar

[NTG-context] Bar within math

2020-05-30 Thread context
Hello, it seems that bar (even with option 'continue=yes') is not rendered in place of '~' within math. See the sample: \definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes] \starttext 1 + 2 = \startbar[MyBar]3~kN\stopbar $1 + 2 = \startbar[MyBar

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Paul Schalck
I have just tested the latest beta (2019-04-29). The new option works as expected in both Acrobat Reader 11 and DC. Thanks again. Paul ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-28 um 12:27 schrieb Hans Hagen : > On 4/27/2019 6:07 PM, Paul Schalck wrote: >> Hi, >> I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get >> a cleaner interface. To this end, I usually hack lpdf-mis.lua after

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread luigi scarso
On Sun, Apr 28, 2019 at 10:38 PM Paul Schalck wrote: > @luigi: Version 11. I know, it isn't supported anymore since October 2017. > https://linuxconfig.org/how-to-install-latest-adobe-acrobat-reader-dc-on-ubuntu-18-04-bionic-beaver-linux-with-wine seems to work, I have installed

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Paul Schalck
@luigi: Version 11. I know, it isn't supported anymore since October 2017. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread luigi scarso
On Sun, Apr 28, 2019 at 9:42 PM Paul Schalck wrote: > > I use Acrord because I'm used to it and because I think it still has the > best subpixel rendering, at least in the Linux world (with Wine). Mozilla's > PDF.js comes close though. > which version of adobe reader are you using? -- luigi

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Paul Schalck
@Hans: Thanks a lot, I'm looking forward to testing it. @Alan: Like Hans said. It's a new option, and I have it activated in my local environment file. It's the only and clumsy way to control the interface setting since Adobe Reader cannot save the state of the menu bar permanently (which

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Hans Hagen
On 4/28/2019 5:25 PM, Alan Braslau wrote: On 28Apr19, at 04:27, Hans Hagen wrote: \setupinteractionscreen[option=nomenubar] switch. I wonder if it would be possible to add this little feature to the source code. Why don’t you simply put this setup in your local environment (texmf-local)

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Alan Braslau
> On 28Apr19, at 04:27, Hans Hagen wrote: > >> \setupinteractionscreen[option=nomenubar] switch. >> I wonder if it would be possible to add this little feature to the source >> code. Why don’t you simply put this setup in your local environment (texmf-local) as I do not believe that it

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Hans Hagen
On 4/27/2019 6:07 PM, Paul Schalck wrote: Hi, I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get a cleaner interface. To this end, I usually hack lpdf-mis.lua after a ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. I wonder i

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
Hi, I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get a cleaner interface. To this end, I usually hack lpdf-mis.lua after a ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. I wonder if it would be possible to add this litt

[NTG-context] error bar gap with pgfplots/tikz and custom colour

2014-01-20 Thread Joshua Krämer
Dear list, I'm using pgfplots to create some bar charts with error bars, and I want to use custom colours for them. This works, but if I mix a custom colour with another colour, it results in a gap between the error bar line and the error bar mark. If two custom colours are mixed, the gap seems

[NTG-context] vertical bar spacing in Antykwa-Poltawskiego

2013-07-23 Thread Alan Bowen
I am using Antykwa-Poltawskiego to set a French text that includes ancient Greek. In the Greek text, there is a vertical bar (to mark the end of a column). The custom is to set the spacing about the bar so that (a) when the bar is inside a word, the bar appears as a normal character (b) when

Re: [NTG-context] vertical bar spacing in Antykwa-Poltawskiego

2013-07-23 Thread Wolfgang Schuster
Am 23.07.2013 um 13:20 schrieb Alan Bowen bowenala...@gmail.com: I am using Antykwa-Poltawskiego to set a French text that includes ancient Greek. In the Greek text, there is a vertical bar (to mark the end of a column). The custom is to set the spacing about the bar so that (a) when

Re: [NTG-context] vertical bar spacing in Antykwa-Poltawskiego

2013-07-23 Thread Hans Hagen
On 7/23/2013 1:32 PM, Wolfgang Schuster wrote: Am 23.07.2013 um 13:20 schrieb Alan Bowen bowenala...@gmail.com: I am using Antykwa-Poltawskiego to set a French text that includes ancient Greek. In the Greek text, there is a vertical bar (to mark the end of a column). The custom is to set

Re: [NTG-context] vertical bar spacing in Antykwa-Poltawskiego

2013-07-23 Thread Alan Bowen
\test middle \test right \stoptext which looks good on the page—\quad\textbar\quad puts too much space around the bar. Again, thanks! Alan On Tue, Jul 23, 2013 at 7:46 AM, Hans Hagen pra...@wxs.nl wrote: On 7/23/2013 1:32 PM, Wolfgang Schuster wrote: Am 23.07.2013 um 13:20 schrieb Alan

Re: [NTG-context] vertical bar spacing in Antykwa-Poltawskiego

2013-07-23 Thread Wolfgang Schuster
\textbar \fi} \setcharacterspacing[frenchpunctuation] \starttext left\test middle \test right \stoptext which looks good on the page—\quad\textbar\quad puts too much space around the bar. You can use \letterbar instead of \|. \textbar and \letterbar produce different

Re: [NTG-context] vertical bar spacing in Antykwa-Poltawskiego

2013-07-23 Thread Alan Bowen
good on the page—\quad\textbar\quad puts too much space around the bar. You can use \letterbar instead of \|. \textbar and \letterbar produce different output because \letterbar is taken from the text font which has padding on the left and right side while \textbar is taken from the math font

Re: [NTG-context] bar graphs, m-graph, sarith

2013-07-08 Thread John Kitzmiller
= (scantokens v1, scantokens v2); augment.p(x,0); augment.p(x,y); x := x + 0.4 ; augment.p(x,y); augment.p(x,0); Alan On Sat, 6 Jul 2013 22:01:06 -0400 John Kitzmiller k...@inradius.net wrote: When trying to make a bar graph with m-graph.mkiv and sarith, the command Ssub (string subtract

Re: [NTG-context] bar graphs, m-graph, sarith

2013-07-07 Thread Alan BRASLAU
On Sat, 6 Jul 2013 22:01:06 -0400 John Kitzmiller k...@inradius.net wrote: When trying to make a bar graph with m-graph.mkiv and sarith, the command Ssub (string subtract) seems to augment.p(v1 Sadd 0.4,v2);Sadd instead. An mwe of a bar graph: (data1 is a separate file containing 01 02 02

[NTG-context] bar graphs, m-graph, sarith

2013-07-06 Thread John Kitzmiller
When trying to make a bar graph with m-graph.mkiv and sarith, the command Ssub (string subtract) seems to Sadd instead. An mwe of a bar graph: (data1 is a separate file containing 01 02 02 03) \usemodule[m-graph] \startMPpage[instance=graph] input sarith; draw begingraph(5cm,5cm); gdata

Re: [NTG-context] Horizontal bar vs emdash

2009-06-07 Thread Hans Hagen
Maurí­cio wrote: Hi, I know I can input an emdash with: \emdash Is there an alternative when I want an horizontal bar? See this, where I found they can be different: http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage#Quotation_dash They have different unicode numbers, U+2014

[NTG-context] Horizontal bar vs emdash

2009-06-06 Thread Maurí­cio
Hi, I know I can input an emdash with: \emdash Is there an alternative when I want an horizontal bar? See this, where I found they can be different: http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage#Quotation_dash They have different unicode numbers, U+2014 and U+2015

Re: [NTG-context] \bar missing in euler

2006-09-15 Thread Taco Hoekwater
Hans Hagen wrote: Aditya Mahajan wrote: I wish Hermann Zapf had added these accents in Euler. i'll pass the question when the occasion is there ... Hans, why is mathring accent missing from all collections except fourier? dunno, and if taco does notknow it either, who knows -)

Re: [NTG-context] \bar missing in euler

2006-09-14 Thread Hans Hagen
Aditya Mahajan wrote: I wish Hermann Zapf had added these accents in Euler. i'll pass the question when the occasion is there ... Hans, why is mathring accent missing from all collections except fourier? dunno, and if taco does notknow it either, who knows -)

Re: [NTG-context] \bar missing in euler

2006-09-12 Thread Aditya Mahajan
On Fri, 21 Jul 2006, Aditya Mahajan wrote: On Tue, 11 Jul 2006, Hans Hagen wrote: Adam Lindsay wrote: Makes sense. I'll look at the new definitions you just sent. On the user side, what do you imagine it would look like: \definetypeface [e] [mm] [math] [euler] [euler] [encoding=ec] ^^^

Re: [NTG-context] \bar missing in euler

2006-09-12 Thread Hans Hagen
Aditya Mahajan wrote: On Fri, 21 Jul 2006, Aditya Mahajan wrote: it's eul \startmathcollection[eul:texnansi] \definemathsymbol [breve] [accent] [tf] [15] \stopmathcollection \startmathcollection[eul:ec] \definemathsymbol [breve] [accent] [tf] [08] \stopmathcollection \definetypeface

Re: [NTG-context] \bar missing in euler

2006-09-12 Thread Aditya Mahajan
] [tf] [12] \definemathsymbol [ddot] [accent] [tf] [A8] \definemathsymbol [tilde][accent] [tf] [98] \definemathsymbol [bar] [accent] [tf] [16] \definemathsymbol [breve][accent] [tf] [15] \definemathsymbol [check][accent] [tf] [14] \definemathsymbol [hat

Re: [NTG-context] \bar missing in euler

2006-07-21 Thread Aditya Mahajan
On Tue, 11 Jul 2006, Hans Hagen wrote: Adam Lindsay wrote: Makes sense. I'll look at the new definitions you just sent. On the user side, what do you imagine it would look like: \definetypeface [e] [mm] [math] [euler] [euler] [encoding=ec] ^^^ this one (actually it listens to the outer

Re: [NTG-context] \bar missing in euler

2006-07-11 Thread Hans Hagen
Aditya Mahajan wrote: I have no knowledge of how Context's font stuff works. The first definition looks better to me, as one would not need to worry about the encoding while defining symbols (one needs to worry about the encoding while defining \textbreve etc, anyway). Though the second

Re: [NTG-context] \bar missing in euler

2006-07-11 Thread Hans Hagen
Aditya Mahajan wrote: I do not know what is the equivalent of 'operators' family in context. Any idea how to pull them out of the text fonts? if this is only euler, we may use something euler:ec otherwise we end up with all other math encodings being messed up Hans

Re: [NTG-context] \bar missing in euler

2006-07-11 Thread Adam Lindsay
Hans Hagen wrote: Aditya Mahajan wrote: I do not know what is the equivalent of 'operators' family in context. Any idea how to pull them out of the text fonts? if this is only euler, we may use something I believe this is euler only. The other math fonts I have dug into have been

Re: [NTG-context] \bar missing in euler

2006-07-11 Thread Hans Hagen
Adam Lindsay wrote: Makes sense. I'll look at the new definitions you just sent. On the user side, what do you imagine it would look like: \definetypeface [e] [mm] [math] [euler] [euler] [encoding=ec] ^^^ this one (actually it listens to the outer encoding) Hans

[NTG-context] \bar missing in euler

2006-07-06 Thread Aditya Mahajan
Hi, %- \usetypescript[palatino] [ec] \definetypeface [palatino] [mm] [math] [euler] [euler] [rscale=1.03] \setupbodyfont[palatino,11pt] \starttext $\bar a$ \stoptext % gives just a. I

Re: [NTG-context] \bar missing in euler

2006-07-06 Thread Adam Lindsay
Aditya Mahajan wrote: gives just a. I do not get any bar over a. Yup. You seem to be the first to have noticed (or complained), as well. This is how eulervm.sty defines these characters for T1 encoding. ... That's the key, though, it apparently pulls in the text accents as well

Re: [NTG-context] \bar missing in euler

2006-07-06 Thread Aditya Mahajan
On Thu, 6 Jul 2006, Adam Lindsay wrote: Aditya Mahajan wrote: gives just a. I do not get any bar over a. Yup. You seem to be the first to have noticed (or complained), as well. This is how eulervm.sty defines these characters for T1 encoding. ... That's the key, though, it apparently

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
Taco, Mojca, Thanks for the response on lengthening the main fraction bar? Any way to make the main fraction bar wider? There is a genfrac command in amslatex. Anything similar in Context? On Jul 2, 2006, at 4:00 AM, Taco Hoekwater wrote: David Arnold wrote: All, How can I extend

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
On Tue, 4 Jul 2006, David Arnold wrote: Taco, Mojca, Thanks for the response on lengthening the main fraction bar? Any way to make the main fraction bar wider? There is a genfrac command in amslatex. Anything similar in Context? m-newmat.tex defines genfrac. \usemodule[newmat] \def

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
Aditya, Thanks. You are very helpful. On Jul 4, 2006, at 9:08 PM, Aditya Mahajan wrote: On Tue, 4 Jul 2006, David Arnold wrote: Taco, Mojca, Thanks for the response on lengthening the main fraction bar? Any way to make the main fraction bar wider? There is a genfrac command in amslatex

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
Question. Is this genfrac identical to the one in ams definitions? On Jul 4, 2006, at 9:08 PM, Aditya Mahajan wrote: On Tue, 4 Jul 2006, David Arnold wrote: Taco, Mojca, Thanks for the response on lengthening the main fraction bar? Any way to make the main fraction bar wider

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
Question. Is this genfrac identical to the one in ams definitions? AFAIK, yes. The syntax of genfrac is \genfrac{left-delim}{right-delim}{bar-thickness}{mathstyle}{numberator}{denominator} in both context and ams. One difference is that in amsmath, for mathstyle you can use integer vales 0-3

Re: [NTG-context] Extend the fraction bar

2006-07-02 Thread Taco Hoekwater
David Arnold wrote: All, How can I extend the main fraction bar in the following expression, making it a tad longer? Just add a bit of whitespace to the right and left: \dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,} {\,\dfrac{4x^3-9x}{2x^2+5x-12}\,} You may want to add a \vphantom

Re: [NTG-context] Extend the fraction bar

2006-07-02 Thread Mojca Miklavec
On 7/2/06, David Arnold wrote: All, How can I extend the main fraction bar in the following expression, making it a tad longer? \placeformula \startformula \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. \stopformula I don't know what \dfrac should be (I assumed \let

[NTG-context] Extend the fraction bar

2006-07-01 Thread David Arnold
All, How can I extend the main fraction bar in the following expression, making it a tad longer? \placeformula \startformula \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. \stopformula ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] lb bar/Unicode 2114 symbol

2006-05-02 Thread Peter Rolf
Johannes Graumann wrote: Hello, I'm using the following encoding commands \usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern] and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html #8468;). My current hack looks like

Re: [NTG-context] lb bar/Unicode 2114 symbol

2006-05-02 Thread Johannes Graumann
Peter Rolf wrote: \def\lbbar% {% \raise.28em\hbox{--}% \kern-.535eml% \kern-.1emb% } but I'm underwhelmed by the thinness of the bar ... \hbox{\smash[w {\raise.545em\hbox{\blackrule[width=.45em,height=.6pt]}}% \kern-.035eml% \kern-.075emb}% still needs some

[NTG-context] lb bar/Unicode 2114 symbol

2006-05-01 Thread Johannes Graumann
Hello, I'm using the following encoding commands \usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern] and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html #8468;). My current hack looks like this: \def\lbbar% {% \raise

Re: [NTG-context] core-bar in latest ConTeXt?

2006-03-26 Thread Hans Hagen
Gerben Wierda wrote: The automatic updated ConTeXt updater i-Package installs the new ConTeXt on Mac OS X but while rebuilding the formats, complains: ! I can't find file `core-bar.tex'. l.299 \input core-bar.tex Please type another input file name: ! Emergency stop. l.299 \input

[NTG-context] core-bar in latest ConTeXt?

2006-03-25 Thread Gerben Wierda
The automatic updated ConTeXt updater i-Package installs the new ConTeXt on Mac OS X but while rebuilding the formats, complains: ! I can't find file `core-bar.tex'. l.299 \input core-bar.tex Please type another input file name: ! Emergency stop. l.299 \input core-bar.tex G

[NTG-context] problem with goto - was: How to implement a changing navigation bar?

2004-09-23 Thread Stefan Wachter
Hi Hans, I implemented my changing navigation bar like you proposed, i.e. using a layer that is refreshed by the footer text: \definelayer[navbar] \setupbackgrounds[text][leftmargin][background=navbar] \startsetups NavBar ... some quite complicated code setting up the navigation bar layer

Re: [NTG-context] How to implement a changing navigation bar?

2004-08-19 Thread Hans Hagen
Stefan Wachter wrote: Hi all, I use an overlay to implement a navigation bar in the left margin of a document. It seems to me that the processing of the overlay is done only once and not for every page again. In addition, the \lastpage is not available. page, paper and text backgrounda

Re: [NTG-context] How to implement a changing navigation bar?

2004-08-17 Thread Hans Hagen
Vit Zyka wrote: Stefan Wachter wrote: Hi all, I use an overlay to implement a navigation bar in the left margin of a document. It seems to me that the processing of the overlay is done only once and not for every page again. In addition, the \lastpage is not available. Does anyone know

[NTG-context] How to implement a changing navigation bar?

2004-08-16 Thread Stefan Wachter
Hi all, I use an overlay to implement a navigation bar in the left margin of a document. It seems to me that the processing of the overlay is done only once and not for every page again. In addition, the \lastpage is not available. Does anyone know a solution? Maybe headers/footers

Re: [NTG-context] Re: How to implement a changing navigation bar?

2004-08-16 Thread Vit Zyka
--Stefan PS: Is there some documentation about \appendtoks around? Of course: grep -i \appendtoks tex/context/base/*.tex ;-) \every* are defined/decribed(?) in core-var.tex Vit ___ ntg-context mailing list [EMAIL PROTECTED]

Re: [NTG-context] (Mathe)Problem with $\tilde x$ and $\bar x$

2004-05-26 Thread Hans Hagen
Hopefully, Hans can add these for the next release. :D adam sure Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] (Mathe)Problem with $\tilde x$ and $\bar x$

2004-05-25 Thread Adam Lindsay
. \definemathsymbol [acute][accent] [mr] [1] \definemathsymbol [grave][accent] [mr] [0] \definemathsymbol [ddot] [accent] [mr] [4] \definemathsymbol [tilde][accent] [mr] [3] \definemathsymbol [bar] [accent] [mr] [9] \definemathsymbol [breve][accent] [mr] [8] \definemathsymbol

Re: [NTG-context] (Mathe)Problem with $\tilde x$ and $\bar x$

2004-05-25 Thread Hans Hagen
[fourier][ec] \setupbodyfont[fourier,12pt] \starttext $\tilde x$ ~~=~~ Median, Zentralwert \crlf $\bar x$ ~~=~~ Arithmetischer Mittelwert \stoptext probably the file math-fou.tex is incomplete, so if you can figure out what to add ... you can use \showfont[fontname] to get a map Hans

Re: [NTG-context] Double bar means hyphen?

2003-06-17 Thread Adam T. Lindsay
[this is going to bounce, because I'm posting from my travel account. forward only if you feel it necessary] Hans Hagen said this at Sat, 14 Jun 2003 10:57:13 +0200: \setuphyphenmark[sign=-] (This relates to an issue I mentioned earlier: anyone notice how these compound word marks *don't*

Re: [NTG-context] Double bar means hyphen?

2003-06-13 Thread Ed L Cashin
On Fri, Jun 13, 2003 at 02:50:53PM -0500, [EMAIL PROTECTED] wrote: On Fri, 13 Jun 2003 15:31:41 -0400 John Culleton [EMAIL PROTECTED] wrote: In some of the sample texts that come with Context (Zapf etc.) the double bar is used to indicate a hyphen, perhaps an unbreakable hyphen

Re: [NTG-context] Double bar means hyphen?

2003-06-13 Thread Adam Lindsay
Ed L Cashin said this at Fri, 13 Jun 2003 17:12:13 -0400: I always use explicit hyphen like this: Don't second|-|guess me. If it really is always, you can save a little effort with: \setuphyphenmark[sign=-] (This relates to an issue I mentioned earlier: anyone notice how these compound word