Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-11-04 Thread Pablo Rodriguez
ich doesn't compile: >>> >>> >>> \starttext >>>   \startitemize >>>     \item >>>   A\footnote{% >>>     B >>>     \startitemize >>>   \item C >>>     \stopitemize >>>

Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-31 Thread context
agen wrote: On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote: Hello, here is a minimal sample which doesn't compile: \starttext   \startitemize     \item   A\footnote{%     B     \startitemize   \item C     \stopitemize   }\crlf   D     \item E %

Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-22 Thread Hans Hagen
On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote: Hello, here is a minimal sample which doesn't compile: \starttext   \startitemize     \item   A\footnote{%     B     \startitemize   \item C     \stopitemize   }\crlf   D     \item E

[NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-22 Thread context
Hello, here is a minimal sample which doesn't compile: \starttext \startitemize \item A\footnote{% B \startitemize \item C \stopitemize }\crlf D \item E % <<<< This sample compiles when this line

Re: [NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-07 Thread Henning Hraban Ramm
Am 2014-03-06 um 19:16 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: Am 06.03.2014 um 11:02 schrieb Thangalin thanga...@gmail.com: \nomarking is currently broken and will likely be removed from mkiv; use \select instead… You don’t need select, when you use MkIV you can set

[NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-06 Thread Henning Hraban Ramm
Hi, I’m trying to get a linebreak into a heading, but not in the ToC. I thought \nomarking{\crlf} would be the way to go, but \crlf seems to be undefined, as well as \nomarking?? (Latest beta on OSX.) \starttext \startchapter[title={It’s a long way to Tipperary,\nomarking{\crlf} it’s a long

Re: [NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-06 Thread Thangalin
Hi, From the docs: http://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect \nomarking is currently broken and will likely be removed from mkiv; use \select instead... ___ If your question is of interest to

Re: [NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-06 Thread Wolfgang Schuster
Am 06.03.2014 um 11:02 schrieb Thangalin thanga...@gmail.com: Hi, From the docs: http://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect \nomarking is currently broken and will likely be removed from mkiv; use \select instead… You don’t need select, when you use MkIV you

[NTG-context] crlf in textext?

2011-12-15 Thread Hans van der Meer
Is it correct that the use of textext(label,pos) in MetApost pictures does not honor \crlf? I could not make a twoline text with textext(abc\crlf xyz,pos), it comes out as one line abcxyz. Is it a feature or a defect? Hans van der Meer

Re: [NTG-context] crlf in textext?

2011-12-15 Thread Aditya Mahajan
On Thu, 15 Dec 2011, Hans van der Meer wrote: Is it correct that the use of textext(label,pos) in MetApost pictures does not honor \crlf? I could not make a twoline text with textext(abc\crlf xyz,pos), it comes out as one line abcxyz. Is it a feature or a defect? textext(...) is a hbox. So

Re: [NTG-context] crlf in textext?

2011-12-15 Thread Meer, H. van der
) in MetApost pictures does not honor \crlf? I could not make a twoline text with textext(abc\crlf xyz,pos), it comes out as one line abcxyz. Is it a feature or a defect? textext(...) is a hbox. So you need to either use textext(\vbox{... \crlf ...}) or textext(\noexpand\framed[align

Re: [NTG-context] crlf in textext?

2011-12-15 Thread Hans Hagen
On 15-12-2011 16:06, Aditya Mahajan wrote: textext(\noexpand\framed[align=normal]{... \crlf ...}) no need for a \noexpand here - Hans Hagen | PRAGMA ADE Ridderstraat 27

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-16 Thread Wolfgang Schuster
Am 16.08.2011 um 00:05 schrieb Cecil Westerhof: I think it is an obscure bug. If I take your code but change the following: \setupTABLE[c][1][align=right,width=.35\textwidth] \setupTABLE[c][2][width=.65\textwidth] I have the same problem. Change “align=right” to

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-16 Thread Cecil Westerhof
2011/8/16 Wolfgang Schuster schuster.wolfg...@googlemail.com I think it is an obscure bug. If I take your code but change the following: \setupTABLE[c][1][align=right,width=.35\textwidth] \setupTABLE[c][2][width=.65\textwidth] I have the same problem. Change “align=right”

[NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Cecil Westerhof
On of the things I need to do for the manual about ConTeXt is a list of the most frequently used commands. I am using some macros to display them correctly in a table. Attached a strange effect I got. The second row is displayed wrongly. The third is the same row, but with a \crlf added

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Wolfgang Schuster
. The third is the same row, but with a \crlf added. This displays correctly. But I am wondering why it is needed. Use “align=right” for the first column. Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Cecil Westerhof
wrongly. The third is the same row, but with a \crlf added. This displays correctly. But I am wondering why it is needed. Use “align=right” for the first column. I changed: \setupTABLE[c][1][width=.35\textwidth] into: \setupTABLE[c][1][align=right, width=.35\textwidth] But it does

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Wolfgang Schuster
a strange effect I got. The second row is displayed wrongly. The third is the same row, but with a \crlf added. This displays correctly. But I am wondering why it is needed. Use “align=right” for the first column. I changed: \setupTABLE[c][1][width=.35\textwidth

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Cecil Westerhof
. Attached a strange effect I got. The second row is displayed wrongly. The third is the same row, but with a \crlf added. This displays correctly. But I am wondering why it is needed. Use “align=right” for the first column. I changed: \setupTABLE[c][1][width=.35\textwidth

[NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Marco Pessotto
\stopalignment \startalignment[hyphenated] Why this is not centered?\crlf Becaouse of the \textbackslash crlf \stopalignment \startalignment[hyphenated, middle] this is centered. \crlf No problem \stopalignment centered \stopalignment regular \stoptext cut here Best wishes -- Marco

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 10:53 schrieb Marco Pessotto: Hello there! I've found a problem with the latest ConTeXt, but I guess it's been present for a while. Use \par or an empty line. Wolfgang ___ If your question

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 26.05.2011 um 10:53 schrieb Marco Pessotto: Hello there! I've found a problem with the latest ConTeXt, but I guess it's been present for a while. Use \par or an empty line. Wolfgang The workaround was already present in

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Wolfgang Schuster
. Wolfgang The workaround was already present in the minimal example (setting again the middle alignment). I was just reporting a problem. \par (or a empty line) isn’t a workaround, it’s the correct way to end a paragraph and \crlf is the workaround which doesn’t work in all cases. Wolfgang

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Marco Pessotto
and \crlf is the workaround which doesn’t work in all cases. So what's the correct way to force a line break without starting a new paragraph, like \\ in LaTeX? Maybe the paragraph is marked also by more spacing, and that particular linebreak is not meant to be a paragraph ending. Like, e.g., for poems

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Wolfgang Schuster
. And I believed the \crlf was the correct way to do it. Please correct me if I'm wrong. To suppress whitespace between paragraph you can use the packed environment. For poems i suggest to use the lines environment where the end of each line is also the end of a paragraph, you can also change

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Marco Pessotto
is not meant to be a paragraph ending. Like, e.g., for poems. And I believed the \crlf was the correct way to do it. Please correct me if I'm wrong. To suppress whitespace between paragraph you can use the packed environment. For poems i suggest to use the lines environment where the end of each

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Wolfgang Schuster
” is necessary because \crlf use a flag insert \hfill at the end of the line where it was put when you have left aligned text. This flag is reset with \setupalign and also \startalignment and the command thinks you have left aligned text unless you add the “middle” keyword and \crlf does now know

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Marco Pessotto
something in the inheritance that breaks. The “middle” is necessary because \crlf use a flag insert \hfill at the end of the line where it was put when you have left aligned text. This flag is reset with \setupalign and also \startalignment and the command thinks you have left aligned text unless you

[NTG-context] \crlf breaks unexpected in title

2011-04-12 Thread Markus Finke
\completecontent \starttext % linebreak in title: \chapter{Influences in the 20th century:\\{}an introduction} % linebreak in ToC *and* title: \chapter{Influences in the 20th century:\crlf an introduction} \stoptext Linebreak in the ToC only is required. Is there a new command? TIA

Re: [NTG-context] \crlf breaks unexpected in title

2011-04-12 Thread Markus Finke
Am 2011-04-12 16:02, schrieb Wolfgang Schuster: \startchapter [title={Influences in the 20th century: an introduction}, list={Influences in the 20th century:\crlf an introduction}] Thank you! I consulted the ConTEXt reference manual, but now it’s running fine. Markus

Re: [NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-12 Thread Wolfgang Schuster
[before=,after=] One Two Three \stoplines} % ...then compare with \crlf. \framed[width=fit,align=right]{One\crlf Two\crlf Three} \framed [width=fit,align=right] {One\\Two\\Three} Wolfgang

Re: [NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-12 Thread mathew
On Mar 12, 2011, at 02:15, Wolfgang Schuster wrote: \framed [width=fit,align=right,strut=no] {\startlines[before=,after=] One Two Three \stoplines} Awesome, thanks. I added a note to the wiki page about \framed, and subsequently discovered the information was hidden on the page

[NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-11 Thread mathew
% First request no space before \setuplines[before=\nowhitespace,after=\nowhitespace] % Now use startlines... \framed[width=fit,align=right]{\startlines One Two Three\stoplines} % ...then compare with \crlf. \framed[width=fit,align=right]{One\crlf Two\crlf Three} Why do these give

[NTG-context] CRLF is interpreted as a Greek letter in LuaLaTeX

2010-06-08 Thread Jaroslav Hajtmar
Hi, When I want to write in LuaLaTeX by tex.print command some text string that is defined in an external lua-file, so crlf characters in LuaLaTeX appear as the Greek letter omega. The Greek letter omega has in the font CM code 0x0A, which is a line feed. It seems that the end of the line

Re: [NTG-context] CRLF is interpreted as a Greek letter in LuaLaTeX

2010-06-08 Thread Taco Hoekwater
luatex list lua...@tug.org. that is defined in an external lua-file, so crlf characters in LuaLaTeX appear as the Greek letter omega. The Greek letter omega has in the font CM code 0x0A, which is a line feed. It seems that the end of the line is interpreted not as the end of the line, but a letter

Re: [NTG-context] CRLF is interpreted as a Greek letter in LuaLaTeX

2010-06-08 Thread Jaroslav Hajtmar
direct lualuatex questions to the general luatex list lua...@tug.org. OK. I apologize and I accept your admonition :-). LuaLaTeX I do not use. I modify only my ConTeXt application to run under the LuaLaTeX. that is defined in an external lua-file, so crlf characters in LuaLaTeX appear as the Greek

Re: [NTG-context] hskip and crlf

2009-07-22 Thread Hans Hagen
Flavien Lambert wrote: Dear all, can you explain why the following code does not produce an horizontal spacing for the second line ? I am using MarkIV. \starttext \hskip2em a\crlf \hskip4em a\crlf \stoptext because the par builder will discard the second skip; instead use: \hskip2em a\crlf

Re: [NTG-context] hskip and crlf

2009-07-22 Thread Flavien Lambert
Thanks ! 2009/7/22 Hans Hagen pra...@wxs.nl Flavien Lambert wrote: Dear all, can you explain why the following code does not produce an horizontal spacing for the second line ? I am using MarkIV. \starttext \hskip2em a\crlf \hskip4em a\crlf \stoptext because the par builder

Re: [NTG-context] newbie question (\crlf)

2009-05-27 Thread Wolfgang Schuster
Am 27.05.2009 um 00:49 schrieb Vyatcheslav Yatskovsky: Thanks for all! I have just one notice: to completely simulate \centeredbox, I need \vfill before and after. \define[2]\maketitlepage {\starttextmakeup[align=middle] \vfill{\bfd#1} \blank Version #2\vfill

[NTG-context] newbie question (\crlf)

2009-05-26 Thread Vyatcheslav Yatskovsky
Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext Regards, Vyatcheslav

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext is an hbox ... maybe use: \define[2

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Wolfgang Schuster
Am 26.05.2009 um 18:31 schrieb Hans Hagen: Vyatcheslav Yatskovsky wrote: Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Hans Hagen
Wolfgang Schuster wrote: Am 26.05.2009 um 18:31 schrieb Hans Hagen: Vyatcheslav Yatskovsky wrote: Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Wolfgang Schuster
Am 26.05.2009 um 19:22 schrieb Hans Hagen: sure, although in the case of a real titlepage i nowadays always tend to set up a layer in combination with a makeup me too, it gives more control about the placement of the texts but for the beginning a simple markup env with centered text is

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Vyatcheslav Yatskovsky
Thanks for all! I have just one notice: to completely simulate \centeredbox, I need \vfill before and after. \define[2]\maketitlepage {\starttextmakeup[align=middle] \vfill{\bfd#1} \blank Version #2\vfill \stoptextmakeup} However, what is \starttextmakeup? What is can be