[NTG-context] Inline math spacing

2023-12-03 Thread Alexandre Christe
Dear list, I’m facing some strange spacing with inline maths. Sometimes the space is ok (like around the first two fractions), but sometimes it is way too little. Do I miss to configure something? Thanks in advance, A. Christe

[NTG-context] Inline mathematics is stretched

2023-10-29 Thread Mia Bikey
Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbodyfont[10pt, mono] This is how it

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Aditya Mahajan via ntg-context
On Fri, 19 May 2023, Jeroen via ntg-context wrote: > Many thanks. Is there a proper way to add some space (a couple of pt or em) > to the left and the right of the text itself so the frame does not get so > close to the text? \framed[loffset=0.2ex, roffset=0.2ex]{...} Also see:

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
Many thanks. Is there a proper way to add some space (a couple of pt or em) to the left and the right of the text itself so the frame does not get so close to the text? Op vr 19 mei 2023 om 14:10 schreef Wolfgang Schuster via ntg-context < ntg-context@ntg.nl>: > Jeroen via ntg-context schrieb am

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Wolfgang Schuster via ntg-context
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22: In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed   [frame=on,   corner=00, radius=2mm,offset=-1.5pt]   {\ttx \bf example} \stoptext Since this has come-up

[NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt] {\ttx \bf example} \stoptext Since this has come-up more and more often, I created the following:

Re: [NTG-context] Inline Fractions

2021-01-25 Thread Hans Hagen
On 1/25/2021 1:58 PM, Johann Birnick wrote: Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext

[NTG-context] Inline Fractions

2021-01-25 Thread Johann Birnick
Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2}

[NTG-context] inline fractions

2019-06-26 Thread Alan Bowen
The following mwe \definefontfeature[fraction][frac=yes] \definehighlight[textfraction][style={\feature[+][fraction]}] \starttext a fraction \m{\frac{1}{n}}, \textfraction{1/n}, \vulgarfraction{1}{n} in the text \stoptext works for all but \textfraction in the latest beta (luatex, luametatex).

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-16 Thread Eric Scmidt
Since it's purely a font issue I did some research on fonts. I found out that \enablemode[lmmath] does the trick (https://www.contextgarden.net/Math_fonts is useful resource). Oh well, everything is fine again and I can keep contexing stuff :) Thank you!   -Eric

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-16 Thread Henri Menke
On 16/05/19 7:46 AM, Eric Scmidt wrote: > Thank for your efforts to help me. This time I used the exact code snippet > you > wrote, but the results for inline math is still not what I would like to have > since I do see a clear difference in the limits placement. Please see this > image >

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-16 Thread Eric Scmidt
Thank for your efforts to help me.  This time I used the exact code snippet you wrote, but the results for inline math is still not what I would like to have since I do see a clear difference in the limits placement. Please see this image where I have tried to make more clear what I really want to

Re: [NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-12 Thread Henri Menke
To me the following two MWEs look pretty much the same: \setupbodyfont[10pt] % same font size as LaTeX \starttext $\sum_{k=1}^{n} a_k$ \startformula \sum\nolimits_{k=1}^{n} a_k \stopformula \stoptext \documentclass{article} \begin{document} $\sum_{k=1}^{n} a_k$ \[ \sum\nolimits_{k=1}^{n} a_k \]

[NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour

2019-05-11 Thread Eric Scmidt
Hello everyone!   So, I have some inline math in my document,and it's looking too big or "airy"; a bit like when \nolimits is specified in display mode but smaller. The limits are placed next to the symbol when using for example pdflatex, and I prefer this tight way for inline math. Is the

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-16 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Taco Hoekwater wrote: On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote: I guess it works fine for me on beta 2019.01.07 16:10. Thanks for testing. Sorry, I should have checked myself. On 15 Jan 2019, at 15:22, Hans Hagen wrote: works her ebut better is

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Taco Hoekwater wrote: Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Taco Hoekwater
> On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote: > > I guess it works fine for me on beta 2019.01.07 16:10. Thanks for testing. Sorry, I should have checked myself. > On 15 Jan 2019, at 15:22, Hans Hagen wrote: > works her ebut better is probably: > > \definebar[tacobar]

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Hans Hagen
On 1/15/2019 2:36 PM, Taco Hoekwater wrote: Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Mohammad Hossein Bateni
I guess it works fine for me on beta 2019.01.07 16:10. On Tue, Jan 15, 2019 at 8:37 AM Taco Hoekwater wrote: > Hi, > > Quick explanation: I am trying to implement the concept of the HTML > tag, > which is supposed to be like a font switch, but doing underlining. I have > a > bunch of french

[NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Taco Hoekwater
Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_ underlining and uppercasing :( Because of its

[NTG-context] inline code in XML

2017-07-28 Thread Pablo Rodriguez
Hans, many thanks for having added \xmlprettyprinttext to ConTeXt. I have now another problem with inline code: \definetype[TeX][option=TEX, lines=hyphenated] \starttext \startTEXpage[offset=1em] This is inline code: \TeX{\command[option=value]{final text}} \startXML Inline code:

Re: [NTG-context] Inline stacking of text

2017-04-14 Thread Meer, Hans van der
The following was in answer to 3/11/2017 4:52 PM, Pavneet Arora: On 13 Mar 2017, at 00:27, Hans Hagen > wrote: \starttext \start \definefont[whatever][Sans at 50pt] \dontleavehmode\inframed [foregroundstyle=whatever,

Re: [NTG-context] Inline stacking of text

2017-03-12 Thread Hans Hagen
On 3/11/2017 4:52 PM, Pavneet Arora wrote: Really simple problem that has had me bashing my head for a while, so I thought that I would reach out and ask for help: I need to create large type title/sub-title combinations in-line. I need the sub-titles to be stacked so that they share the same

[NTG-context] Inline stacking of text

2017-03-11 Thread Pavneet Arora
Really simple problem that has had me bashing my head for a while, so I thought that I would reach out and ask for help: I need to create large type title/sub-title combinations in-line. I need the sub-titles to be stacked so that they share the same baseline as the title. Unfortunately, I

Re: [NTG-context] inline footnotes

2015-01-30 Thread mf
Hi Massi, Could you possibly provide a small pdf sample that illustrates exactly what you are looking for? Thanks and Best wishes Idris Thanks for your reply, Idris. Here's an example: *** traditional (stacked) footnotes *** *** 1. This is the text

Re: [NTG-context] inline footnotes

2015-01-30 Thread Wolfgang Schuster
Am 30.01.2015 um 22:44 schrieb mf mass...@fastwebnet.it: Hi Massi, Could you possibly provide a small pdf sample that illustrates exactly what you are looking for? Thanks and Best wishes Idris Thanks for your reply, Idris. Here's an example: *** traditional (stacked) footnotes

Re: [NTG-context] inline footnotes

2015-01-30 Thread Idris Samawi Hamid ادريس سماوي حامد
@ntg.nl Reply To: mass...@fastwebnet.it Subject: [NTG-context] inline footnotes Hello, I'd like to know how to get inline footnotes with ConTeXt. There are some packages in LaTeX (option para in footmisc, manyfoot, bigfoot) providing that feature. How can I do that in ConTeXt? Thanks, Massi

[NTG-context] inline footnotes

2015-01-30 Thread massifr
Hello, I'd like to know how to get inline footnotes with ConTeXt. There are some packages in LaTeX (option para in footmisc, manyfoot, bigfoot) providing that feature. How can I do that in ConTeXt? Thanks, Massi ___

Re: [NTG-context] Inline math in table in combination fails

2013-09-19 Thread Hans Hagen
On 9/19/2013 1:27 AM, Marco Patzer wrote: Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \math{2}

[NTG-context] Inline math in table in combination fails

2013-09-18 Thread Marco Patzer
Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \math{2} \VL\NR \stoptable}{} \stopcombination

Re: [NTG-context] Inline itemize

2012-01-07 Thread Hans Hagen
On 6-1-2012 00:25, Wolfgang Schuster wrote: Am 06.01.2012 um 00:06 schrieb Wagner Macedo: As I know, yes, this is the intended behavior. You should be thinking in a WYSIWYG way, but TeX, as most languages (except Python, that I know) works apart you write every code in one line or write

Re: [NTG-context] Inline itemize

2012-01-06 Thread Vianney le Clément
On Fri, Jan 6, 2012 at 00:25, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: No, this is a bug because with the “text” keyword you can create a inline item which doesn’t start a new paragraph. Wolfgang Thanks for the confirmation. I hope it will be fixed soon. Vianney

[NTG-context] Inline itemize

2012-01-05 Thread Vianney le Clément
Hello, If I type Blabla. \startitemize[a,text] \item one \item two \stopitemize Blabla. I get a linebreak before and after the itemize. Is this the intended behaviour? How can I get a fully inline enumeration? Thanks, Vianney

Re: [NTG-context] Inline itemize

2012-01-05 Thread Wagner Macedo
As I know, yes, this is the intended behavior. You should be thinking in a WYSIWYG way, but TeX, as most languages (except Python, that I know) works apart you write every code in one line or write pretty indented. I hope you understood. -- Wagner Macedo 2012/1/5 Vianney le Clément

Re: [NTG-context] Inline itemize

2012-01-05 Thread Wolfgang Schuster
Am 06.01.2012 um 00:06 schrieb Wagner Macedo: As I know, yes, this is the intended behavior. You should be thinking in a WYSIWYG way, but TeX, as most languages (except Python, that I know) works apart you write every code in one line or write pretty indented. No, this is a bug because

Re: [NTG-context] Inline itemize

2012-01-05 Thread Wagner Macedo
Ah... sorry. I read the manual but I didn't remember this feature. -- Wagner Macedo On 5 January 2012 20:25, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: No, this is a bug because with the “text” keyword you can create a inline item which doesn’t start a new paragraph.

[NTG-context] Inline verbatim?

2011-04-27 Thread Alasdair McAndrew
Is there a ConTeXt version of the LaTeX \verb command, for inline typsetting of code fragments? Thanks, Alasdair ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Inline verbatim?

2011-04-27 Thread Aditya Mahajan
On Thu, 28 Apr 2011, Alasdair McAndrew wrote: Is there a ConTeXt version of the LaTeX \verb command, for inline typsetting of code fragments? \type{...} or \type|...| (or any other character, just like \verb) Aditya

Re: [NTG-context] Inline verbatim?

2011-04-27 Thread Alasdair McAndrew
Thanks very much! -Alasdair On Thu, Apr 28, 2011 at 1:53 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 28 Apr 2011, Alasdair McAndrew wrote: Is there a ConTeXt version of the LaTeX \verb command, for inline typsetting of code fragments? \type{...} or \type|...| (or any other

[NTG-context] Inline enumerations

2010-10-09 Thread Marcin Borkowski
Hi, is there an easy way to adapt ConTeXt's enumerations not to start another paragraph? Something like (a) this (b) is (c) a short enumeration. In fact, I'd like to be able to something even more tricky: I would like to be able to prepare a teacher's version and a student's version of a

Re: [NTG-context] Inline enumerations

2010-10-09 Thread Wolfgang Schuster
Am 09.10.2010 um 11:52 schrieb Marcin Borkowski: Hi, is there an easy way to adapt ConTeXt's enumerations not to start another paragraph? Something like (a) this (b) is (c) a short enumeration. \starttext text \startitemize[n,text][textdistance=medium,stopper=]% \item one \item two

Re: [NTG-context] Inline enumerations

2010-10-09 Thread Marcin Borkowski
Dnia Sat, Oct 09, 2010 at 04:51:17PM +0200, Wolfgang Schuster napisa#322;(a): Am 09.10.2010 um 11:52 schrieb Marcin Borkowski: Hi, is there an easy way to adapt ConTeXt's enumerations not to start another paragraph? Something like (a) this (b) is (c) a short enumeration.

Re: [NTG-context] Inline enumerations

2010-10-09 Thread Aditya Mahajan
On Sun, 10 Oct 2010, Marcin Borkowski wrote: Dnia Sat, Oct 09, 2010 at 04:51:17PM +0200, Wolfgang Schuster napisa#322;(a): Am 09.10.2010 um 11:52 schrieb Marcin Borkowski: Hi, is there an easy way to adapt ConTeXt's enumerations not to start another paragraph? Something like (a) this (b)

Re: [NTG-context] \inline[…]

2009-11-07 Thread Hans Hagen
Andreas Harder wrote: Hello Hans! If referencing to the same line, the line will be displayed twice. I tried Wolfgangs patch: http://archive.contextgarden.net/message/20091018.091419.18877aa9..en.html http://archive.contextgarden.net/message/20091018.091419.18877aa9.en.html but it did not

[NTG-context] inline-graphics and unwanted line-break

2007-11-29 Thread Peter Schorsch
Hi, I have a small metapost graphic I like to use inline. But the arragement behaves a little bit unpractically. As soon there is no character in front of the graphic context will break the line after the graphic - but as soon there is a character in front of the graphic, context does not

Re: [NTG-context] inline-graphics and unwanted line-break

2007-11-29 Thread Wolfgang Schuster
2007/11/29, luigi scarso [EMAIL PROTECTED]: write \dontleavehmode\hbox{...}, this is normal TeX bahaviour and has nothing special to do with ConTeXt. also \hskip1sp\hbox{...} the invisible touch effect :)) \hskip\zeropoint\hbox{} ;-) Wolfgang

Re: [NTG-context] inline-graphics and unwanted line-break

2007-11-29 Thread luigi scarso
write \dontleavehmode\hbox{...}, this is normal TeX bahaviour and has nothing special to do with ConTeXt. also \hskip1sp\hbox{...} the invisible touch effect :)) -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org

Re: [NTG-context] inline-graphics and unwanted line-break

2007-11-29 Thread luigi scarso
\dontleavehmode is \dontleavehmode=\quitvmode. and \quitvmode is a primitive stricly speacking we don't see a space, but a command that switch to a mode to another. And it's also sound good: you have put a command to change status. \hskip\zeropoint\hbox{} ;-) here we see a space of 0pt. Can be a

Re: [NTG-context] inline diagrams/charts?

2007-08-17 Thread Henning Hraban Ramm
2007/8/16, Wolfgang Schuster [EMAIL PROTECTED]: sparklines? Thank you, that's what I meant. I had in mind there was some TeX solution? But never mind, I need them in an InDesign layout anyway. there was a pgf solution on Tuftes page:

Re: [NTG-context] inline diagrams/charts?

2007-08-16 Thread Henning Hraban Ramm
sparklines? http://en.wikipedia.org/wiki/Sparkline Thank you, that's what I meant. I had in mind there was some TeX solution? But never mind, I need them in an InDesign layout anyway. Greetlings from Lake Constance! Hraban

Re: [NTG-context] inline diagrams/charts?

2007-08-16 Thread Wolfgang Schuster
2007/8/16, Henning Hraban Ramm [EMAIL PROTECTED]: sparklines? http://en.wikipedia.org/wiki/Sparkline Thank you, that's what I meant. I had in mind there was some TeX solution? But never mind, I need them in an InDesign layout anyway. Greetlings from Lake Constance! Hraban Hi Hraban,

Re: [NTG-context] inline diagrams/charts?

2007-08-16 Thread luigi scarso
On 8/16/07, Adam Lindsay [EMAIL PROTECTED] wrote: sparklines? http://en.wikipedia.org/wiki/Sparkline Welcome back ? -- luigi If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] inline diagrams/charts?

2007-08-15 Thread Henning Hraban Ramm
Hi there! A long time ago there was a discussion about some kind of tiny block charts that run within the text. Now I would need such for the summary of a poll. But I can't remember the name, and thus I can't find the thread and website. Can you help me? Greetlings from Lake Constance!

Re: [NTG-context] inline diagrams/charts?

2007-08-15 Thread Adam Lindsay
sparklines? http://en.wikipedia.org/wiki/Sparkline Henning Hraban Ramm wrote: Hi there! A long time ago there was a discussion about some kind of tiny block charts that run within the text. Now I would need such for the summary of a poll. But I can't remember the name, and thus I can't

Re: [NTG-context] inline MP refresh problem

2005-07-26 Thread Taco Hoekwater
It still doesn't work here. There have been complaints about arguments not numeric on line 1889, but changing == to eq had no influence on the final result. Still need an additional run. As you said, the problem does not occur when you use runtime MP processing, and would have gone unnoticed if

Re: [NTG-context] inline MP refresh problem

2005-07-26 Thread Eckhart Guthöhrlein
On Mon, 25 Jul 2005 at 23:56:53+0200, Hans Hagen wrote: how do you define the graphic? \startreusableMPgraphic{kreis} fill fullcircle scaled 1cm withcolor red; \stopreusableMPgraphic \starttext \reuseMPgraphic{kreis} \stoptext When I remove 'withcolor red', nothing changes

[NTG-context] inline MP refresh problem

2005-07-25 Thread Eckhart Guthöhrlein
Hi all, when I change inline MP graphics, these are not recreated during the subsequent texexec run. I need to call texexec once again to have them refreshed. I have just installed a new box, but I think I have thought of the usual stuff in texmf.cnf and cont-sys.tex, and I am a little clueless

Re: [NTG-context] inline MP refresh problem

2005-07-25 Thread Eckhart Guthöhrlein
On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote: when I change inline MP graphics, these are not recreated during the subsequent texexec run. I need to call texexec once again to have them refreshed. I have just installed a new box, but I think I have thought of the usual stuff in

Re: [NTG-context] inline MP refresh problem

2005-07-25 Thread Hans Hagen
Eckhart Guthöhrlein wrote: On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote: when I change inline MP graphics, these are not recreated during the subsequent texexec run. I need to call texexec once again to have them refreshed. I have just installed a new box, but I think I have