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
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
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
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
---
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]
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,
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]
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
>
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 +
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
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}
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
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
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
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
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
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}
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
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{ }
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{ }
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)
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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)) ;
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
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
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
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
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
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
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
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][
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
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][
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
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
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:
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.
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
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
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]
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
> 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:
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
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
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
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
?
\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
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
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
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
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
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
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
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\\{
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
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
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
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
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.
\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 :
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
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
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
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
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
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
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,
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
}
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:
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:
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
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
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
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
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
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(
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
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
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
99 matches
Mail list logo