Hello,
On Thu, Jun 30, 2005 at 05:20:45PM -0400, Karl Berry wrote:
>
> "defines \nonarrowing to inhibit narrowing at next level down."
> My knowledge of English betrays me here. "next level down" means
> "the next level", or "all levels below?"
>
> Well, the text as written would mean "the next level", but I'm not sure
> the comment was written with such a precise meaning in mind.
Implemented and committed, patch attached to this mail.
> I guess I can imagine @cartouche being used like this, though I'm not
> sure it ever has been in actual practice:
>
> @cartouche
> Here is some descriptive text we've boxed off in a display.
>
> @example
> x = y + z; # some code inside the display
> @end example
>
> Some more text after the code.
>
> @end cartouche
>
> In this case, the embedded example should presumably be indented
> relative to the descriptive text.
It's arguable. If the surrounding text is short, it might be better to
have the example without any indentation.
> Can you try it out? (I hate @cartouche. :)
No. Let's wait for a bug report. ;-)
Have a nice day,
Stepan
2005-07-01 Stepan Kasal <[EMAIL PROTECTED]>
* doc/texinfo.tex (\nonarrowing): Update the description.
(\cartouche): Set \nonarrowing to "t", not \comment.
(\nonfillstart, \quotation): Reset \nonarrowing.
Index: doc/texinfo.tex
===================================================================
RCS file: /cvsroot/texinfo/texinfo/doc/texinfo.tex,v
retrieving revision 1.191
diff -u -r1.191 texinfo.tex
--- doc/texinfo.tex 30 Jun 2005 15:19:17 -0000 1.191
+++ doc/texinfo.tex 1 Jul 2005 06:17:38 -0000
@@ -4934,7 +4934,8 @@
\let\afterenvbreak = \aboveenvbreak
-% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins.
+% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
+% also clear it, so that its embedded environments do the narrowing again.
\let\nonarrowing=\relax
% @cartouche ... @end cartouche: draw rectangle w/rounded corners around
@@ -4971,7 +4972,7 @@
% each corner char, and rule thickness
\normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
% Flag to tell @lisp, etc., not to narrow margin.
- \let\nonarrowing=\comment
+ \let\nonarrowing = t%
\vbox\bgroup
\baselineskip=0pt\parskip=0pt\lineskip=0pt
\carttop
@@ -5011,11 +5012,11 @@
\parskip = 0pt
\parindent = 0pt
\emergencystretch = 0pt % don't try to avoid overfull boxes
- % @cartouche defines \nonarrowing to inhibit narrowing
- % at next level down.
\ifx\nonarrowing\relax
\advance \leftskip by \lispnarrowing
\exdentamount=\lispnarrowing
+ \else
+ \let\nonarrowing = \relax
\fi
\let\exdent=\nofillexdent
}
@@ -5115,6 +5116,7 @@
\advance\leftskip by \lispnarrowing
\advance\rightskip by \lispnarrowing
\exdentamount = \lispnarrowing
+ \else
\let\nonarrowing = \relax
\fi
\parsearg\quotationlabel
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-texinfo