[NTG-context] mathml linebreak?

2013-06-09 Thread Steffen Wolfrum
Hi, usually it is possible to break long formulas. But is there a way to do so, when formula is coded in mathml (see example below)? Thanks, Steffen --- \placeformula\startformula[9pt] \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML; msub

[NTG-context] Linebreak in formual

2024-01-15 Thread Shiv Shankar Dayal
I have following formula \sum_{k=0\\ k\equiv p + 1(\mathrm{mod}\;2)}^{p -1} but the \\ does not break the line below Sigma. How can I achieve this because AFAIK it will work in LaTeX? -- Respect, Shiv Shankar Dayal

[NTG-context] Bad linebreak in ToC

2011-12-05 Thread Markus Finke
Hello, I don’t understand the behaviour in the second line – this line is not really filled, but there is a linebreak (in case of some hyphenations quite ugly too) Any solution? Markus \usemodule [simplefonts

[NTG-context] math formula linebreak

2012-08-09 Thread Steffen Wolfrum
Hi, for nice linebreaking we can adjust math formulas by the use of NC, NR alignment. But if someone only wants long formulas to fit in a defined area, and want them to break automatically ... is there a handy solution? (Below are examples that don't work) Thanks, Steffen ---

[NTG-context] bookmark linebreak and indentation

2013-01-04 Thread ShcO
dear list, i have two problem need your help 1. if use \\, there will show a '\' in bookmark, how to ignore it. 2. if use \midaligned, the next pargraph's indentation will not work properly. there is no problem with using \startalignment[middle]. ex: \setupinteraction[state=start]

[NTG-context] linebreak in part title

2010-11-08 Thread Michael Goerz
Hi everyone, I want part titles to appear on the own (empty) page, centered horizontally and vertically, and in small caps. To this end, I've set up the \part command as \def\Partcommand#1#2{\centerline{\smcp #2}} \setuphead[part][ placehead=yes, number=no,

[NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
Hi, I stumbled across the same problem that was discussed earlier this month: \type doesn't break, even if there are opportunities. I tried to follow the suggestions given in that thread, but with no success: \setuppapersize[A4][A4] \starttext \setuptype[space=stretch]

[NTG-context] Re: Linebreak in formual

2024-01-15 Thread Shiv Shankar Dayal
It works nicely. You are a lifesaver. Thanks a lot. On Mon, Jan 15, 2024 at 7:30 PM Mikael Sundqvist wrote: > Hi, > > you can try something like > > \sum_{\mstack{k=0, k\equiv p + 1 (\mtext{mod }2)}}^{p -1} > > but it will not be too pretty with such a large sub-index to the sum. > > /Mikael >

[NTG-context] Re: Linebreak in formual

2024-01-15 Thread Mikael Sundqvist
Hi, you can try something like \sum_{\mstack{k=0, k\equiv p + 1 (\mtext{mod }2)}}^{p -1} but it will not be too pretty with such a large sub-index to the sum. /Mikael On Mon, Jan 15, 2024 at 2:41 PM Shiv Shankar Dayal wrote: > > I have following formula > \sum_{k=0\\ k\equiv p +

[NTG-context] Re: Linebreak in formual

2024-01-15 Thread Shiv Shankar Dayal
Thanks a lot, Aditya. On Mon, Jan 15, 2024 at 8:41 PM Aditya Mahajan wrote: > On Mon, 15 Jan 2024, Mikael Sundqvist wrote: > > > Hi, > > > > you can try something like > > > > \sum_{\mstack{k=0, k\equiv p + 1 (\mtext{mod }2)}}^{p -1} > > > > but it will not be too pretty with such a large

[NTG-context] Re: Linebreak in formual

2024-01-15 Thread Aditya Mahajan
On Mon, 15 Jan 2024, Mikael Sundqvist wrote: > Hi, > > you can try something like > > \sum_{\mstack{k=0, k\equiv p + 1 (\mtext{mod }2)}}^{p -1} > > but it will not be too pretty with such a large sub-index to the sum. There is also \sum_{\startsubstack \NC a \NR \NC b \NR \stopsubstack}

[NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
Hi, \chapter{First line\\second line} gives a linebreak in the chapter's title but not in the corresponding toc entry. I need it the other way round: a line break at a specific point of the toc entry *and not* in the chapters title. Is this possible? Steffen

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Hans Hagen
Steffen Wolfrum wrote: Hi, \chapter{First line\\second line} gives a linebreak in the chapter's title but not in the corresponding toc entry. I need it the other way round: a line break at a specific point of the toc entry *and not* in the chapters title. Is this possible

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Idris Samawi Hamid
On Tue, 30 Oct 2007 14:08:54 -0600, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 30.10.2007 um 20:43 schrieb Hans Hagen: Steffen Wolfrum wrote: Hi, \chapter{First line\\second line} gives a linebreak in the chapter's title but not in the corresponding toc entry. I need it the other

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
Am 30.10.2007 um 21:19 schrieb Idris Samawi Hamid: On Tue, 30 Oct 2007 14:08:54 -0600, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 30.10.2007 um 20:43 schrieb Hans Hagen: Steffen Wolfrum wrote: Hi, \chapter{First line\\second line} gives a linebreak in the chapter's title

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Taco Hoekwater
Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR{ } \chapter{First line\CR second line} \stoptext

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Idris Samawi Hamid
On Tue, 30 Oct 2007 15:47:53 -0600, Taco Hoekwater [EMAIL PROTECTED] wrote: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf}

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
Am 30.10.2007 um 20:43 schrieb Hans Hagen: Steffen Wolfrum wrote: Hi, \chapter{First line\\second line} gives a linebreak in the chapter's title but not in the corresponding toc entry. I need it the other way round: a line break at a specific point of the toc entry

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-30 Thread Steffen Wolfrum
Am 30.10.2007 um 22:47 schrieb Taco Hoekwater: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR{ }

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-31 Thread Wolfgang Schuster
2007/10/30, Taco Hoekwater [EMAIL PROTECTED]: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR{ }

Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-31 Thread Steffen Wolfrum
Phhh! Hot stuff Wolfgang. This one should definitely go into the wiki (maybe plus a little documentation?) Very convenient option, amazing what goodies ConTeXt provides – thank you very, very much Hans! And thank you Wolfgang for remembering this ... even the master himself forgot it ;o)

[NTG-context] Linebreak between Chapter Number and Name

2012-02-26 Thread Marc Trius
Hi, I am trying to format a chapter heading so that there is a linebreak between the number and the name. The only way I managed to do this is this: \setuphead[ chapter][command=\ChapTitle] \def\ChapTitle#1#2% {\framed[height=2cm,width=broad]{#1\\#2} } But this limits me to a fixed height

[NTG-context] Linebreak in a framed for a chapter setuphead

2012-02-29 Thread Charles
Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher size, on the right side. The \mychap seems to work while used directly. Any solution? Thanks Charles

Re: [NTG-context] Linebreak in a framed for a chapter setuphead

2012-02-29 Thread Wolfgang Schuster
Am 29.02.2012 um 12:19 schrieb Charles: Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher size, on the right side. The \mychap seems to work while used directly. Any solution?

Re: [NTG-context] Linebreak in a framed for a chapter setuphead

2012-02-29 Thread Charles
Le 29/02/2012 12:42, Wolfgang Schuster a écrit : Am 29.02.2012 um 12:19 schrieb Charles: Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher size, on the right side. The \mychap seems to

Re: [NTG-context] Linebreak in a framed for a chapter setuphead

2012-02-29 Thread Wolfgang Schuster
Am 29.02.2012 um 16:05 schrieb Charles: Le 29/02/2012 12:42, Wolfgang Schuster a écrit : Am 29.02.2012 um 12:19 schrieb Charles: Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title on the left side and the number, with higher

Re: [NTG-context] Linebreak in a framed for a chapter setuphead

2012-02-29 Thread Charles
Le 29/02/2012 16:18, Wolfgang Schuster a écrit : Am 29.02.2012 um 16:05 schrieb Charles: Le 29/02/2012 12:42, Wolfgang Schuster a écrit : Am 29.02.2012 um 12:19 schrieb Charles: Hi, I have a problem with the following definition of chapter header. I would like to have the chapter title

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Aditya Mahajan
On Thu, 9 Aug 2012, Steffen Wolfrum wrote: Hi, for nice linebreaking we can adjust math formulas by the use of NC, NR alignment. But if someone only wants long formulas to fit in a defined area, and want them to break automatically ... is there a handy solution? Short answer: No easy

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Sietse Brouwer
Steffen Wolfrum wrote: them to break automatically ... is there a handy solution? Aditya Mahajan wrote: Short answer: No easy solution exists. Is this because allowing automatic line breaks in math mode is itself hard to implement, or is the basic mechanism possible but preventing stupid/ugly

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Aditya Mahajan
On Thu, 9 Aug 2012, Sietse Brouwer wrote: Steffen Wolfrum wrote: them to break automatically ... is there a handy solution? Aditya Mahajan wrote: Short answer: No easy solution exists. Is this because allowing automatic line breaks in math mode is itself hard to implement, or is the basic

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Sietse Brouwer
Hi Aditya, I wish that the breqn algorithm were described somethere; then one could play around implementing it in luatex. Have you seen the new User's Guide yet? It's from last May, very recent, so it may not have been there yet when last you looked. It includes the entire source code, and

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Prashanth
On 09/08/12 09:37, Steffen Wolfrum wrote: Hi, for nice linebreaking we can adjust math formulas by the use of NC, NR alignment. But if someone only wants long formulas to fit in a defined area, and want them to break automatically ... is there a handy solution? (Below are examples that

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Sietse Brouwer
Addendum: I just bumped into Morten Høgholm's bachelor's thesis. Automatic line-breaking of displayed math expressions https://sites.google.com/site/mortenhoegholm/breqn-thesis.pdf That thesis contains a conceptual explanation of the breqn algorithm (or at least the algorithm he used when

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Hans Hagen
On 9-8-2012 20:53, Aditya Mahajan wrote: On Thu, 9 Aug 2012, Sietse Brouwer wrote: Steffen Wolfrum wrote: them to break automatically ... is there a handy solution? Aditya Mahajan wrote: Short answer: No easy solution exists. Is this because allowing automatic line breaks in math mode is

Re: [NTG-context] math formula linebreak

2012-08-09 Thread Steffen Wolfrum
Am 09.08.2012 um 22:21 schrieb Prashanth: On 09/08/12 09:37, Steffen Wolfrum wrote: Hi, for nice linebreaking we can adjust math formulas by the use of NC, NR alignment. But if someone only wants long formulas to fit in a defined area, and want them to break automatically ... is

Re: [NTG-context] bookmark linebreak and indentation

2013-01-04 Thread Wolfgang Schuster
Am 04.01.2013 um 10:56 schrieb ShcO nightmaretroubad...@gmail.com: dear list, i have two problem need your help 1. if use \\, there will show a '\' in bookmark, how to ignore it. 2. if use \midaligned, the next pargraph's indentation will not work properly. there is no problem with using

[NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green
Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This used to produce a line break between Green and Assistant so the output would look like this: Michael

Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Wolfgang Schuster
Am 18.11.2008 um 17:47 schrieb Michael Green: Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This used to produce a line break between Green and Assistant

Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green
On Nov 18, 2008, at 10:46 AM, Wolfgang Schuster wrote: Am 18.11.2008 um 17:47 schrieb Michael Green: Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This

Re: [NTG-context] letter module: no linebreak in signature

2008-11-19 Thread Wolfgang Schuster
Am 19.11.2008 um 02:54 schrieb Michael Green: \setuppapersize[letter][letter] Do you need lettersize for all your letters? Yes, I have to use US lettersize paper (8.5 inches x 11 inches) for the physical paper on which my letters are printed. For long letters, I use a narrower textarea,

Re: [NTG-context] letter module: no linebreak in signature

2008-11-19 Thread Michael Green
Wolfgang Schuster wrote: You can write the setting for the paper size in a new file with the namer user.nls and put it somewhere in your TeX directory where ConTeXt could find it. It's similiar to cont-usr.tex because my module loads for every letter you write. Ah, I see. That's an

[NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); Can I have it appear in the figure as Do you see this label text. Quite long. Need to break it across

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); label.rt(textext(\framed[frame=no,width=5cm]{}, (3,5)) ;

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan adityam at umich.edu writes: For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); label.rt(textext(\framed[frame=no,width=5cm]{}, (3,5)) ; Aditya Thanks Aditya. Sorry but that does not

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Aditya Mahajan adityam at umich.edu writes: For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); label.rt(textext(\framed[frame=no,width=5cm]{}, (3,5)) ; Aditya Thanks

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
and on the web but could not find anything. I am not yet clear about the logic. When I saw that I could color labels using the \color[red]{red} command by putting it between btex...etex, it seemed to me that any context command would work if put in there. So I tried \crlf to get a linebreak and that did

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
to get a linebreak and that did not work. So I thought maybe only very few specific commands work. Now after seeing your solution, again I am wondering, what determines which commands work and which do not. Anyhow, I am not asking for an explanation, because it will most probably beyond me and may

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Wolfgang Schuster
Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use streams and local footnotes. Wolfgang

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan adityam at umich.edu writes: Here is a simplified picture. Basically, anything inside btex ... etex (or textext(...) or \sometxt{...}) is in what is known as TeX's horizontal mode. Think of this as what you will get if you put the same argument in a \hbox (see the TeXbook

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Sat, 28 Mar 2009, Wolfgang Schuster wrote: Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use

Re: [NTG-context] linebreak in part title

2010-11-08 Thread Michael Murphy
On 09/11/2010 00:30, Michael Goerz wrote: Hi everyone, I want part titles to appear on the own (empty) page, centered horizontally and vertically, and in small caps. To this end, I've set up the \part command as \def\Partcommand#1#2{\centerline{\smcp #2}} \setuphead[part][

Re: [NTG-context] linebreak in part title

2010-11-08 Thread Michael Goerz
Hi Michael! Thanks for your answer! On Tue, Nov 9, 2010 at 1:01 AM, Michael Murphy michael.mur...@uni-ulm.de wrote: On 09/11/2010 00:30, Michael Goerz wrote: Hi everyone, I want part titles to appear on the own (empty) page, centered horizontally and vertically, and in small caps. To this

Re: [NTG-context] linebreak in part title

2010-11-08 Thread Wolfgang Schuster
Am 09.11.2010 um 00:30 schrieb Michael Goerz: Hi everyone, I want part titles to appear on the own (empty) page, centered horizontally and vertically, and in small caps. To this end, I've set up the \part command as \def\Partcommand#1#2{\centerline{\smcp #2}} \setuphead[part][

Re: [NTG-context] linebreak in part title

2010-11-09 Thread Michael Murphy
On Tue, 2010-11-09 at 01:20 +0100, Michael Goerz wrote: Hmm... that doesn't seem to do linebreaks. It shifts the part title a bit horizontally. It also does weird things to some my *chapter* titles (add a large space after the first word), which is configured as \setuphead[chapter][ That

Re: [NTG-context] linebreak in part title

2010-11-09 Thread Michael Goerz
On Tue, Nov 9, 2010 at 6:26 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 09.11.2010 um 00:30 schrieb Michael Goerz: I want part titles to appear on the own (empty) page, centered horizontally and vertically, and in small caps. To this end, I've set up the \part command as

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 11:59 schrieb Andreas Schneider: Hi, I stumbled across the same problem that was discussed earlier this month: \type doesn't break, even if there are opportunities. I tried to follow the suggestions given in that thread, but with no success:

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang It's kinda depressing how easy some solutions are, that one could have found themselves if one just looked beyond the own walls.

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 12:54 schrieb Andreas Schneider: On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang It's kinda depressing how easy some solutions are, that one could have

[NTG-context] wrong linebreak with latest LMTX

2020-10-05 Thread Pablo Rodriguez
Dear list, I don’t have a minimal sample, but the following images display problems in linebreaks using LMTX (LuaTeX 2.07 20200920 + ConTeXt MkIV 2020.09.20 23:02). 1. https://pdf.ousia.tk/wrong-linebreak.png. 2. https://pdf.ousia.tk/wrong-linebreak-again.png. 3. https://pdf.ousia.tk/wrong

[NTG-context] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BAR whatever]

Re: [NTG-context] Bad linebreak in figure caption

2021-12-02 Thread Marco Patzer via ntg-context
On Mon, 29 Nov 2021 16:44:07 +0100 Marco Patzer via ntg-context wrote: > Why does ConTeXt not break the line between "unnecessary" and "FOO"? Any ideas how to fix this? Marco ___ If your question is of interest to

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Taco Hoekwater via ntg-context
> On 2 Dec 2021, at 19:37, Marco Patzer via ntg-context > wrote: > > On Mon, 29 Nov 2021 16:44:07 +0100 > Marco Patzer via ntg-context wrote: > >> Why does ConTeXt not break the line between "unnecessary" and "FOO"? > > Any ideas how to fix this? Captions have their own alignment setting:

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Marco Patzer via ntg-context
On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment setting: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.g. framed

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Denis Maier via ntg-context
Patzer via ntg-context Gesendet: Freitag, 3. Dezember 2021 13:21:40 An: mailing list for ConTeXt users Cc: Marco Patzer Betreff: Re: [NTG-context] Bad linebreak in figure caption On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment sett

[NTG-context] no linebreak before footnote after vertical line

2008-08-13 Thread Steffen Wolfrum
Hi, to prevent long abbreviations from being hyphenated I use the vertical line. That's fine in most cases. Only, bad luck if there is a footnote following and this at the end of the line: \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla

Re: [NTG-context] no linebreak before footnote after vertical line

2008-08-13 Thread Wolfgang Schuster
On Wed, Aug 13, 2008 at 10:36 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, to prevent long abbreviations from being hyphenated I use the vertical line. That's fine in most cases. Only, bad luck if there is a footnote following and this at the end of the line: \starttext bla bla bla

Re: [NTG-context] no linebreak before footnote after vertical line

2008-08-13 Thread Steffen Wolfrum
? \hyphenation{WikiPOBia} well, I meant a more general solution, like tuning up the vertikal line to a no hyphen inbetween and no linebreak afterwards - character?! Steffen ___ If your question is of interest

Re: [NTG-context] no linebreak before footnote after vertical line

2008-08-13 Thread Taco Hoekwater
meant a more general solution, like tuning up the vertikal line to a no hyphen inbetween and no linebreak afterwards - character?! Actually, you are misusing the || command. It is supposed to be used to explicitly *allow* breaking at the left of the first and at the right of the second |. The fact

Re: [NTG-context] no linebreak before footnote after vertical line

2008-08-13 Thread Steffen Wolfrum
this bad coincidence? \hyphenation{WikiPOBia} well, I meant a more general solution, like tuning up the vertikal line to a no hyphen inbetween and no linebreak afterwards - character?! Actually, you are misusing the || command. It is supposed to be used to explicitly *allow* breaking at the left

[NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Peter Schorsch
Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext \completecontent[criterium=all] \chapter{A very,\\very long long

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Thomas A. Schmitz
On 7/17/11 4:51 PM, Peter Schorsch wrote: Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext \completecontent

[NTG-context] right and left alignment in header w/ linebreak sign

2011-07-17 Thread Peter Schorsch
expect it. But as soon I have a linebreak in the heading (via \\) I get following error message: structuresectioning chapter @ level 2 : 0.1 - A very,\\very long long title ! Extra }, or forgotten \endgroup. system tex error on line 1 in file

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 16:51 schrieb Peter Schorsch: Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext

Re: [NTG-context] right and left alignment in header w/ linebreak sign

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 17:48 schrieb Peter Schorsch: % define header \define\CurrentChapter% {\doiftextelse {\getmarking[chapternumber]}% {\getmarking[chapternumber].~\getmarking[chapter]}% {\getmarking[chapter]}% } \appendtoks\def\\{

Re: [NTG-context] Linebreak between Chapter Number and Name

2012-02-26 Thread Rogers, Michael K
On Feb 26, 2012, at 7:13 PM, Marc Trius wrote: Hi, I am trying to format a chapter heading so that there is a linebreak between the number and the name. The only way I managed to do this is this: \setuphead[ chapter][command=\ChapTitle] \def\ChapTitle#1#2% {\framed[height=2cm,width=broad]{#1

Re: [NTG-context] Linebreak between Chapter Number and Name

2012-02-26 Thread Wolfgang Schuster
Am 27.02.2012 um 02:47 schrieb Rogers, Michael K: On Feb 26, 2012, at 7:13 PM, Marc Trius wrote: Hi, I am trying to format a chapter heading so that there is a linebreak between the number and the name. The only way I managed to do this is this: \setuphead[ chapter][command

Re: [NTG-context] Linebreak between Chapter Number and Name

2012-02-27 Thread Aditya Mahajan
On Mon, 27 Feb 2012, Wolfgang Schuster wrote: Am 27.02.2012 um 02:47 schrieb Rogers, Michael K: On Feb 26, 2012, at 7:13 PM, Marc Trius wrote: I am trying to format a chapter heading so that there is a linebreak between the number and the name. The only way I managed to do

[NTG-context] Newbie question: Linebreak after number in figure caption?

2006-08-23 Thread william s
Hello, I would like to have Figure captions that look like this (centered, a newline between the number and the description): Figure 1 The description of the figure For now I put the linebreak manually in each caption text as you can see below. Putting the linebreak

Re: [NTG-context] Composing a header/logo with layers, linebreak issues

2011-03-05 Thread Wolfgang Schuster
Am 05.03.2011 um 18:39 schrieb C.: Hello, I guess this is an easy one. How do I get the top lines to behave like the second example? Why is the newline ignored in the top one? \setlayer use a \hbox for the argument but you can around this with \setlayerframed, e.g.

Re: [NTG-context] Composing a header/logo with layers, linebreak issues

2011-03-05 Thread C.
\setlayerframed[mybg][align=right,frame=off]{.} That does the trick :) Thank you for your quick reply. -Christian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] example of better linebreak with 2014.05.17 compared to 2014.07.07

2014-07-09 Thread Sanjoy Mahajan
Out of curiosity and as a ConTeXt stress test, I installed 2014.07.07 MkIV and recompiled my book with it, and looked at the pixel-by-pixel comparison between it and the version compiled with 2014.05.17. There were many changes. I am going through them one at a time in case any could be bugs in

Re: [NTG-context] example of better linebreak with 2014.05.17 compared to 2014.07.07

2014-07-09 Thread Hans Hagen
On 7/9/2014 12:39 PM, Sanjoy Mahajan wrote: Out of curiosity and as a ConTeXt stress test, I installed 2014.07.07 MkIV and recompiled my book with it, and looked at the pixel-by-pixel comparison between it and the version compiled with 2014.05.17. There were many changes. I am going through

Re: [NTG-context] example of better linebreak with 2014.05.17 compared to 2014.07.07

2014-07-09 Thread Sanjoy Mahajan
Hans Hagen pra...@wxs.nl writes: it can happen if patterns or fonts changed ...so, best make two small test files and we can look into it with tracing There's just one test file for both (see below). I think I verified that the texgyrepagella font is the same in both context minimals. But

Re: [NTG-context] example of better linebreak with 2014.05.17 compared to 2014.07.07

2014-07-10 Thread Hans Hagen
On 7/10/2014 5:06 AM, Sanjoy Mahajan wrote: Hans Hagen pra...@wxs.nl writes: it can happen if patterns or fonts changed ...so, best make two small test files and we can look into it with tracing There's just one test file for both (see below). I think I verified that the texgyrepagella font

[NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Henri Menke
Dear devs, there seems to be a bug in LMTX. In the MWE below, the letter right after the linebreak is black instead of gray. I'm using the latest beta. mtx-context | main context file: /opt/context-lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version

Re: [NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Hans Hagen
On 8/7/2019 12:36 PM, Henri Menke wrote: Dear devs, there seems to be a bug in LMTX. In the MWE below, the letter right after the linebreak is black instead of gray. I'm using the latest beta. fixed in next lmtx update Hans

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-24 Thread Benjamin Buchmuller
Hi Rik, thank you as well, this works also nicely. I’ve created a wiki page meanwhile for wrapping text containing both solutions and the post on SHA keys. https://www.contextgarden.net/Wrapping Cheers Benjamin > On 24 Apr 2020, at 00:45, Rik Kabel wrote: > > > > On 4/23/2020 17:50,

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Rik Kabel
On 4/23/2020 15:01, Benjamin Buchmuller wrote: Sorry, I have just realized that the problem might not be \WORD{} actually, so this one hyphenates: \define[2]\mycommand{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD #2 \stopxcell \stopxrow }

[NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Benjamin Buchmuller
Hi again, I am reading a CSV file into ConTeXt which contains long DNA sequences (>> 40 characters) to place in xtables. So far, this works fine. However, I need to uppercase the entries and need to \tt them. When I do this inside \WORD however, they don’t hyphenate any more. I’m using:

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Benjamin Buchmuller
Sorry, I have just realized that the problem might not be \WORD{} actually, so this one hyphenates: \define[2]\mycommand{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD #2 \stopxcell \stopxrow } Whereas these ones don’t:

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Rik Kabel
On 4/23/2020 17:50, Wolfgang Schuster wrote: Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Benjamin Buchmuller
ontents of ntg-context digest..." > Today's Topics: > > 1. Re: Hyphentation/Linebreak after x characters inside \WORD? > (Rik Kabel) > > From: Rik Kabel > Subject: Re: [NTG-context] Hyphentation/Linebreak after x characters inside > \WORD? > Date: 23 A

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which seems to work for your sample string, but not

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Benjamin Buchmuller
Thanks Wolfgang, this works perfectly. I will add this hint tomorrow to the Wiki. > On 23 Apr 2020, at 23:50, Wolfgang Schuster > wrote: > > Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: >> Hi Rik, >> Thanks for the fast reply! Your example works indeed nicely. However, within >> this

Re: [NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-15 Thread 黄复雄 via ntg-context
Thanks, Hans I modified my list to: 2873 : par vmodepar> 3113 : glue indentskip> 3119 : glue parinitleftskip> 2879 : glue parinitrightskip> 2891 : glyph unset> ... 639 : glyph unset> 3089 : kern userkern> 2334 : glue userskip> 3095 : rule normal> 3101 : glue

[NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-15 Thread 黄复雄 via ntg-context
MTX fmt: 2022.7.12 int: english/english yesterday and got a error message in using tex.linebreak(head) as follow: luatex warning > linebreak: no [ leftinit | rightinit | leftfill | rigthfill] expected I can't get any information about them. The head and the list going to tex.linebreak(

Re: [NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-29 Thread 黄复雄 via ntg-context
Thanks, Hans. My module works again now, with the help of tex.preparelinebreak(). For potential readers: tex.preparelinebreak(list) modifyed my list for tex.linebreak(list) to: # by user in advance, necessary # by user in advance, necessary ... # The last glue here, in the end of the

Re: [NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-15 Thread Hans Hagen via ntg-context
I just updated my ConTeXt to system          > ConTeXt  ver: 2022.07.06 21:42 LMTX  fmt: 2022.7.12  int: english/english yesterday and got a error message in using tex.linebreak(head)  as follow: luatex warning  > linebreak: no [ leftinit | rightinit | leftfill | rigthfill] expected I c

Re: [NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-15 Thread Hans Hagen via ntg-context
I just updated my ConTeXt to system          > ConTeXt  ver: 2022.07.06 21:42 LMTX  fmt: 2022.7.12  int: english/english yesterday and got a error message in using tex.linebreak(head)  as follow: luatex warning  > linebreak: no [ leftinit | rightinit | leftfill | rigthfill] expected I c