Strange behaviour of indentation
Dear all, I have some strange problem with indentation. I'm trying to typeset text with some verses. I use indentation in the text, however I would like to suppress it below the verse. So, inside the macro for verses, I use: indenting[next] This works fine, however for some strange reason, the indentation of the text paragraph isn't suppressed at some cases. The macro I use for the verses is a bit more compliated, but I managed to reduce the problem to the simple example below. The first 7 pairs of quote and line are fine, then the text line is indented although it shouldn't be. (Please see the attached PDF.) Please, does anyone know what to do with this problem? Thank you very much. Best regards, Tomas \setuppapersize[A6][A6] \setupindenting[small,yes] \def\startMyQuote{ \startlines} \def\stopMyQuote{ \stoplines \indenting[next] } \starttext \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \startMyQuote Quote line \stopMyQuote Text line \stoptext
I'm sorry, the original PDF file was not completely according to the sources below. The right one is attached here. Thank you, Tomas On 11/30/2009 01:00 PM, Tomas Bures wrote:
Dear all,
I have some strange problem with indentation.
I'm trying to typeset text with some verses. I use indentation in the text, however I would like to suppress it below the verse. So, inside the macro for verses, I use: indenting[next]
This works fine, however for some strange reason, the indentation of the text paragraph isn't suppressed at some cases.
The macro I use for the verses is a bit more compliated, but I managed to reduce the problem to the simple example below. The first 7 pairs of quote and line are fine, then the text line is indented although it shouldn't be. (Please see the attached PDF.)
Please, does anyone know what to do with this problem? Thank you very much.
Best regards, Tomas
\setuppapersize[A6][A6]
\setupindenting[small,yes]
\def\startMyQuote{ \startlines}
\def\stopMyQuote{ \stoplines \indenting[next] }
\starttext
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line \stoptext
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
I tried the workaround for the text direction bug in luatex as suggested by Taco and Hans while ago for my other problem. It works even for this case. \let\textdir\gobblethreearguments Thank you. Tomas On 11/30/2009 01:03 PM, Tomas Bures wrote:
I'm sorry, the original PDF file was not completely according to the sources below. The right one is attached here.
Thank you, Tomas
On 11/30/2009 01:00 PM, Tomas Bures wrote:
Dear all,
I have some strange problem with indentation.
I'm trying to typeset text with some verses. I use indentation in the text, however I would like to suppress it below the verse. So, inside the macro for verses, I use: indenting[next]
This works fine, however for some strange reason, the indentation of the text paragraph isn't suppressed at some cases.
The macro I use for the verses is a bit more compliated, but I managed to reduce the problem to the simple example below. The first 7 pairs of quote and line are fine, then the text line is indented although it shouldn't be. (Please see the attached PDF.)
Please, does anyone know what to do with this problem? Thank you very much.
Best regards, Tomas
\setuppapersize[A6][A6]
\setupindenting[small,yes]
\def\startMyQuote{ \startlines}
\def\stopMyQuote{ \stoplines \indenting[next] }
\starttext
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line
\startMyQuote Quote line \stopMyQuote
Text line \stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Taco Hoekwater wrote:
Tomas Bures wrote:
I tried the workaround for the text direction bug in luatex as suggested by Taco and Hans while ago for my other problem. It works even for this case.
\let\textdir\gobblethreearguments
That is getting weird. We will investigate this further.
Yet another luatex bug. Best wishes, Taco
participants (2)
-
Taco Hoekwater
-
Tomas Bures