ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug
@ 1998-09-13 11:03 Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 1998-09-13 11:03 UTC (permalink / raw)


Hi all, 

When inserting many many floats in a row, something can go wrong. This
big was introduced when I changed the postponing mechanism. Here is the
patch (core-01a.tex): 

\def\douitstellen%
  {\the\everytopofpage
   \ifinuitstellen\else\ifcase\nofpostponedblocks\else
     \global\inuitstellentrue
     \dorecurse{\nofpostponedblocks}
       {\haalbuffer[buf-\recurselevel]}
     \doflushfloats % new but potential dangerous
     \doglobal\newcounter\nofpostponedblocks
     \global\inuitstellenfalse
   \fi\fi}

(the \ifcase...\else is added) 

Sorry for the inconvenience, 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-14 22:43       ` Bug Hans Hagen
@ 2011-02-15  9:09         ` Oliver Buerschaper
  0 siblings, 0 replies; 9+ messages in thread
From: Oliver Buerschaper @ 2011-02-15  9:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>>> I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this
>>> didn't happen… are included files now automatically terminated by an implicit
>>> "\par"? Personally I would find that confusing.
>> 
>> No answer to your question, just a workaround:
>> 
>> \starttext
>> \section{Paragraph}
>> \input tufte
>> \input tufte
>> 
>> \section{No paragraph}
>> {\endlinechar=-1 \input tufte }
>> \input tufte
>> 
>> \section{Limitations of this workaround}
>> {\endlinechar=-1 \input knuth }
>> \input knuth
>> \stoptext
> 
> 
> can you test again?

Fixed. Thanks!

Oliver
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-14 17:34     ` Bug Peter Münster
@ 2011-02-14 22:43       ` Hans Hagen
  2011-02-15  9:09         ` Bug Oliver Buerschaper
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-02-14 22:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

On 14-2-2011 6:34, Peter Münster wrote:
> Oliver Buerschaper<oliver.buerschaper@mpq.mpg.de>  writes:
>
>> I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this
>> didn't happen… are included files now automatically terminated by an implicit
>> "\par"? Personally I would find that confusing.
>
> No answer to your question, just a workaround:
>
> \starttext
> \section{Paragraph}
> \input tufte
> \input tufte
>
> \section{No paragraph}
> {\endlinechar=-1 \input tufte }
> \input tufte
>
> \section{Limitations of this workaround}
> {\endlinechar=-1 \input knuth }
> \input knuth
> \stoptext


can you test again?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-14 18:08     ` Bug Wolfgang Schuster
@ 2011-02-14 18:13       ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2011-02-14 18:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 14-2-2011 7:08, Wolfgang Schuster wrote:
>
> Am 14.02.2011 um 12:25 schrieb Oliver Buerschaper:
>
>> I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this didn't happen… are included files now automatically terminated by an implicit "\par"? Personally I would find that confusing.
>
> Can be a bug in luatex because i can’t find anything where context changes the \input command (except playing with the name).

it's the \everyeof thing ..


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-14 11:25   ` Bug Oliver Buerschaper
  2011-02-14 17:34     ` Bug Peter Münster
@ 2011-02-14 18:08     ` Wolfgang Schuster
  2011-02-14 18:13       ` Bug Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-02-14 18:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.02.2011 um 12:25 schrieb Oliver Buerschaper:

> I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this didn't happen… are included files now automatically terminated by an implicit "\par"? Personally I would find that confusing.

Can be a bug in luatex because i can’t find anything where context changes the \input command (except playing with the name).

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-14 11:25   ` Bug Oliver Buerschaper
@ 2011-02-14 17:34     ` Peter Münster
  2011-02-14 22:43       ` Bug Hans Hagen
  2011-02-14 18:08     ` Bug Wolfgang Schuster
  1 sibling, 1 reply; 9+ messages in thread
From: Peter Münster @ 2011-02-14 17:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de> writes:

> I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this
> didn't happen… are included files now automatically terminated by an implicit
> "\par"? Personally I would find that confusing.

No answer to your question, just a workaround:

\starttext
\section{Paragraph}
\input tufte
\input tufte

\section{No paragraph}
{\endlinechar=-1 \input tufte }
\input tufte

\section{Limitations of this workaround}
{\endlinechar=-1 \input knuth }
\input knuth
\stoptext

See also: http://wiki.contextgarden.net/How_TeX_reads_input

-- 
           Peter
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-13 23:25 ` Bug Wolfgang Schuster
@ 2011-02-14 11:25   ` Oliver Buerschaper
  2011-02-14 17:34     ` Bug Peter Münster
  2011-02-14 18:08     ` Bug Wolfgang Schuster
  0 siblings, 2 replies; 9+ messages in thread
From: Oliver Buerschaper @ 2011-02-14 11:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>> here's a bug with quotations in 2011.02.11 18:18 MKIV:
>> 
>> ---
>> \starttext
>> \startquotation
>> \input tufte
>> \stopquotation
>> \stoptext
>> ---
>> 
>> The closing delimiter should be placed on the same line.
> 
> This isn’t a bug, the included file ends the paragraph before
> \stopquotation adds the right quote and it ends up on a new line.

I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this didn't happen… are included files now automatically terminated by an implicit "\par"? Personally I would find that confusing.

Oliver


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug
  2011-02-13 23:06 Bug Oliver Buerschaper
@ 2011-02-13 23:25 ` Wolfgang Schuster
  2011-02-14 11:25   ` Bug Oliver Buerschaper
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-02-13 23:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.02.2011 um 00:06 schrieb Oliver Buerschaper:

> Hi,
> 
> here's a bug with quotations in 2011.02.11 18:18 MKIV:
> 
> ---
> \starttext
> \startquotation
>  \input tufte
> \stopquotation
> \stoptext
> ---
> 
> The closing delimiter should be placed on the same line.

This isn’t a bug, the included file ends the paragraph before
\stopquotation adds the right quote and it ends up on a new line.

\starttext
\startquotation
The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old-age patient who smokes many packs
of cigarettes per day – and we humans are the cigarettes.
%\par % This happens in your example
\stopquotation
\stoptext

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Bug
@ 2011-02-13 23:06 Oliver Buerschaper
  2011-02-13 23:25 ` Bug Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Oliver Buerschaper @ 2011-02-13 23:06 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi,

here's a bug with quotations in 2011.02.11 18:18 MKIV:

---
\starttext


\startquotation
  \input tufte
\stopquotation


\stoptext
---

The closing delimiter should be placed on the same line.

Oliver
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-15  9:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-13 11:03 Bug Hans Hagen
2011-02-13 23:06 Bug Oliver Buerschaper
2011-02-13 23:25 ` Bug Wolfgang Schuster
2011-02-14 11:25   ` Bug Oliver Buerschaper
2011-02-14 17:34     ` Bug Peter Münster
2011-02-14 22:43       ` Bug Hans Hagen
2011-02-15  9:09         ` Bug Oliver Buerschaper
2011-02-14 18:08     ` Bug Wolfgang Schuster
2011-02-14 18:13       ` Bug Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).