Hi, under certain circumstances, ConTeXt swallows text. This happens with both MkII and MkIV and a fairly recent minimals distribution. | ConTeXt ver: 2009.11.24 10:13 MKII fmt: 2009.11.25 int: english/english | ConTeXt ver: 2009.11.24 10:13 MKIV fmt: 2009.11.25 int: english/english Sadly, I noticed not until the booklet was already printed. (Actually, it was my customer who noticed.) :-( Best regards, olli % ----------------------------------- \enableregime[utf-8] \setupbodyfont[ss,10pt] \setupinterlinespace[line=2.6ex] \setuppapersize[A4][A4] \setuplayout[backspace=2cm,width=middle, offset=0mm, topspace=0cm,height=middle, location=middle, ] \setupcolors[state=start] \setuptolerance[tolerant,verytolerant] \definefloat[grafik] \setupcaption[grafik][number=no,location=bottom] \definecolumnset[ergebnisse][n=3] \definecolumnsetarea [title][left] [x=1,y=1,nx=6,ny=42,page=2,state=start] \starttext \startcolumnset[ergebnisse] \dorecurse{10}{\input tufte} \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} \subject{Victoria Beckham pregnant again!} Barack Obama is the father! Confronted with this fact, her husband David Beckham said\,\dots (Actually, this is a very important news the world should knew about!) \dorecurse{3}{\input tufte} \stopcolumnset \stoptext % -----------------------------------
On Tue, Jan 19, 2010 at 7:22 PM, Oliver Heins
Hi,
under certain circumstances, ConTeXt swallows text. This happens with both MkII and MkIV and a fairly recent minimals distribution.
| ConTeXt ver: 2009.11.24 10:13 MKII fmt: 2009.11.25 int: english/english | ConTeXt ver: 2009.11.24 10:13 MKIV fmt: 2009.11.25 int: english/english
Sadly, I noticed not until the booklet was already printed. (Actually, it was my customer who noticed.) :-(
Best regards, olli
% ----------------------------------- \enableregime[utf-8] \setupbodyfont[ss,10pt] \setupinterlinespace[line=2.6ex]
\setuppapersize[A4][A4] \setuplayout[backspace=2cm,width=middle, offset=0mm, topspace=0cm,height=middle, location=middle, ] \setupcolors[state=start] \setuptolerance[tolerant,verytolerant]
\definefloat[grafik] \setupcaption[grafik][number=no,location=bottom]
\definecolumnset[ergebnisse][n=3] \definecolumnsetarea [title][left] [x=1,y=1,nx=6,ny=42,page=2,state=start]
\starttext
\startcolumnset[ergebnisse]
\dorecurse{10}{\input tufte}
\placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]}
\subject{Victoria Beckham pregnant again!}
Barack Obama is the father! Confronted with this fact, her husband David Beckham said\,\dots (Actually, this is a very important news the world should knew about!)
\dorecurse{3}{\input tufte}
\stopcolumnset
\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 ___________________________________________________________________________________
Why nx=6 and width=1.95\textwidth ? What about this ? \enableregime[utf-8] \setupbodyfont[ss,10pt] \setupinterlinespace[line=2.6ex] \setuppapersize[A4][A4] \setuplayout[backspace=2cm,width=middle, offset=0mm, topspace=0cm,height=middle, location=middle, ] \setupcolors[state=start] \setuptolerance[tolerant,verytolerant] \definefloat[grafik] \setupcaption[grafik][number=no,location=bottom] \definecolumnset[ergebnisse][n=3] \definecolumnsetarea [title][left] [x=1,y=1,nx=2,ny=42,page=2,state=start] \setupcolumnsetareatext[title][left][{\externalfigure[cow][width=1.95\textwidth]}] \starttext \startcolumnset[ergebnisse] \dorecurse{10}{\input tufte} %\placegrafik[btlr]{none}{\externalfigure[cow][width=1.95\textwidth]} \subject{foo fooo fooof oof fooo} \dorecurse{5}{\input tufte} \stopcolumnset \stoptext -- luigi
Hi Luigi,
luigi scarso
Why nx=6
Because of the layout of the booklet. The area should fit over two pages (= 6 columns).
and width=1.95\textwidth ?
I played around with the width to see if the problem still happens. For some reason, I stuck with 1.95\textwidth. In my original setup, I had lines=19 :-)
What about this ?
That's a completely different layout. You can find the relevant pages of the booklet at http://sopos.org/olli/armut-fail.pdf Regards, olli -- Oliver Heins heins@sopos.org http://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html
On Tue, Jan 19, 2010 at 10:05 PM, Oliver Heins
Hi Luigi,
luigi scarso
writes: Why nx=6
Because of the layout of the booklet. The area should fit over two pages (= 6 columns). ok
You can find the relevant pages of the booklet at http://sopos.org/olli/armut-fail.pdf
If I understand well, you want an automatic solution instead of a manual solution like this one \defineoverlay [foregraphics] [{\externalfigure[cow][width=5.8\textwidth,lines=41]}] \defineoverlay [backgraphics] [{\externalfigure[mill][width=2\textwidth,lines=20]}] \definecolumnset[ergebnisse][n=3] \definecolumnsetarea [title][left] [x=1,y=1,nx=6,ny=42,page=2,state=start,background={backgraphics,foreground,foregraphics}] \setupcolumnsetareatext[title][left][{% \ruledhbox to \dimexpr 6\textwidth+2\backspace+1cm\relax{\raggedright \ruledvbox to 41\lineheight{\hsize=1.6\textwidth {\bfd 1} \dorecurse{3}{ \input knuth }} \hskip0.5em \ruledvbox to 41\lineheight{\hsize=1.6\textwidth {\bfd 2} \dorecurse{3}{ \input knuth }} \hskip\backspace \ruledvbox to 41\lineheight{\hsize=1.6\textwidth {\bfd 3} \dorecurse{3}{ \input knuth }} \hskip0.5em \ruledvbox to 41\lineheight{\hsize=1.6\textwidth {\bfd 4} \dorecurse{3}{ \input knuth }} } }] -- luigi
Hi Luigi,
luigi scarso
On Tue, Jan 19, 2010 at 10:05 PM, Oliver Heins
wrote:
You can find the relevant pages of the booklet at http://sopos.org/olli/armut-fail.pdf
If I understand well, you want an automatic solution instead of a manual solution like this one
No. I already did that. I want that the | \subject{Victoria Beckham pregnant again!} | | Barack Obama is the father! Confronted with this fact, her husband | David Beckham said\,\dots (Actually, this is a very important news the | world should knew about!) part of my minimal example gets typeset. By now, it doesn't. To me that looks like a pretty big bug in ConTeXt. Best regards, olli -- Oliver Heins heins@sopos.org http://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html
On Wed, Jan 20, 2010 at 10:08 AM, Oliver Heins
Hi Luigi,
luigi scarso
writes: On Tue, Jan 19, 2010 at 10:05 PM, Oliver Heins
wrote: You can find the relevant pages of the booklet at http://sopos.org/olli/armut-fail.pdf
If I understand well, you want an automatic solution instead of a manual solution like this one
No. I already did that. I want that the
| \subject{Victoria Beckham pregnant again!} | | Barack Obama is the father! Confronted with this fact, her husband | David Beckham said\,\dots (Actually, this is a very important news the | world should knew about!)
part of my minimal example gets typeset. By now, it doesn't. To me that looks like a pretty big bug in ConTeXt.
Best regards, olli For what I understand \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} and columnset with n=3 are not compatible. I mean 1.95\textwidth and n=3 are not compatible
In mkii your \subject disappear, in mkiv no but things changes with 1.92\textwidth whiel with 1.0\textwidth things go well. I'm not surprised because columnsets must be carefully managed . I thought you wanted to place this fig in a span of two columns, but I was wrong -- sorry. -- luigi
luigi scarso
On Wed, Jan 20, 2010 at 10:08 AM, Oliver Heins
wrote: luigi scarso
writes: On Tue, Jan 19, 2010 at 10:05 PM, Oliver Heins
wrote: No. I already did that. I want that the
| \subject{Victoria Beckham pregnant again!} | | Barack Obama is the father! Confronted with this fact, her husband | David Beckham said\,\dots (Actually, this is a very important news the | world should knew about!)
part of my minimal example gets typeset. By now, it doesn't. To me that looks like a pretty big bug in ConTeXt.
For what I understand \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} and columnset with n=3 are not compatible. I mean 1.95\textwidth and n=3 are not compatible
Same is true for lines=19. I think this is a bug in ConTeXt, and I wanted to report it, in the hope it will get fixed.
In mkii your \subject disappear, in mkiv no but things changes with 1.92\textwidth whiel with 1.0\textwidth things go well. I'm not surprised because columnsets must be carefully managed .
Sorry, but I won't consider a »feature working properly only under some very rare circumstances« a properly working feature, but a broken one.
I thought you wanted to place this fig in a span of two columns, but I was wrong -- sorry.
No problem. I should be more precise in my phrases. Best regards, olli -- Oliver Heins heins@sopos.org http://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html
On Wed, Jan 20, 2010 at 11:06 AM, Oliver Heins
For what I understand \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} and columnset with n=3 are not compatible. I mean 1.95\textwidth and n=3 are not compatible
Same is true for lines=19. I think this is a bug in ConTeXt, and I wanted to report it, in the hope it will get fixed. no surprise here ,as before
In mkii your \subject disappear, in mkiv no but things changes with 1.92\textwidth whiel with 1.0\textwidth things go well. I'm not surprised because columnsets must be carefully managed .
Sorry, but I won't consider a »feature working properly only under some very rare circumstances« a properly working feature, but a broken one.
I disagree here. In columnsets I always exactly specify what I want to do, to avoid surprise. For example in your situation I use width=1.0\textwidth, because \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} is a non-sense for me: I cannot put a figure large 1.95\textwidth in a column large \textwidth. If I need to do so, then I must reserve a span in a some way. -- luigi
luigi scarso
On Wed, Jan 20, 2010 at 11:06 AM, Oliver Heins
wrote: For what I understand \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} and columnset with n=3 are not compatible. I mean 1.95\textwidth and n=3 are not compatible
Same is true for lines=19. I think this is a bug in ConTeXt, and I wanted to report it, in the hope it will get fixed. no surprise here ,as before
In mkii your \subject disappear, in mkiv no but things changes with 1.92\textwidth whiel with 1.0\textwidth things go well. I'm not surprised because columnsets must be carefully managed .
Sorry, but I won't consider a »feature working properly only under some very rare circumstances« a properly working feature, but a broken one.
I disagree here. In columnsets I always exactly specify what I want to do, to avoid surprise. For example in your situation I use width=1.0\textwidth, because \placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]} is a non-sense for me: I cannot put a figure large 1.95\textwidth in a column large \textwidth.
Yes, but the 1.95\textwidth was just a remainder of my experiments with the width to see where the problem occurs and where not. It occurs with width=2\textwidth, too, as well as with lines=19. And the latter two one make sense. And no, I don't want to put a figure 2 columns wide in a single column. I want it to spawn over two columns.
If I need to do so, then I must reserve a span in a some way.
According to http://www.pragma-ade.com/general/manuals/columns.pdf (page 16ff.) it is perfectly okay to do the way I did. That's what the directive btlr is for: flush from bottom to top and left to right. It's a documented feature, and it's not working properly (at least from what I see). I call this a bug. Best regards, olli -- Oliver Heins heins@sopos.org http://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html
On Wed, Jan 20, 2010 at 12:17 PM, Oliver Heins
According to http://www.pragma-ade.com/general/manuals/columns.pdf (page 16ff.) it is perfectly okay to do the way I did.
That's what the directive btlr is for: flush from bottom to top and left to right.
It's a documented feature, and it's not working properly (at least from what I see). I call this a bug.
Yes can be but I don't mix code from chapter Graphics with code from chapter Areas, so until now my code has worked as expected. (I usually work with Area, so this is why I 've said that 1.95\textwidth is non-sense) This works for example in mkiv and mkii ,so I suspect some not-so-good interaction between Area and Chapter, but I still disagree to call it a bug because typesetting in columns is always hard in TeX, so maybe it's a feature that you need but it's not still implemented . Of course more examples can be usefuls in this sense. \setupbodyfont[ss,10pt] \setupinterlinespace[line=2.6ex] \setuppapersize[A4][A4] \setuplayout[backspace=2cm,width=middle, offset=0mm, topspace=0cm,height=middle, location=middle, ] \setupcolors[state=start] \setuptolerance[tolerant,verytolerant] \definefloat[grafik] \setupcaption[grafik][number=no,location=bottom] \definecolumnset[ergebnisse][n=3] %\definecolumnsetarea %[title][left] %[x=1,y=1,nx=6,ny=42,page=2,state=start] \starttext \startcolumnset[ergebnisse] \definecolumnsethsize{ergebnisse}{1}{2}\Two \dorecurse{10}{\input tufte} \placegrafik[btlr]{none}{\externalfigure[foo][lines=19,width=1.95\textwidth]} \subject{Victoria Beckham pregnant again!} Barack Obama is the father! Confronted with this fact, her husband David Beckham said\,\dots (Actually, this is a very important news the world should knew about!) \dorecurse{8}{\input tufte} \stopcolumnset \stoptext -- luigi
On 20-1-2010 10:08, Oliver Heins wrote:
Hi Luigi,
luigi scarso
writes: On Tue, Jan 19, 2010 at 10:05 PM, Oliver Heins
wrote: You can find the relevant pages of the booklet at http://sopos.org/olli/armut-fail.pdf
If I understand well, you want an automatic solution instead of a manual solution like this one
No. I already did that. I want that the
| \subject{Victoria Beckham pregnant again!} | | Barack Obama is the father! Confronted with this fact, her husband | David Beckham said\,\dots (Actually, this is a very important news the | world should knew about!)
part of my minimal example gets typeset. By now, it doesn't. To me that looks like a pretty big bug in ConTeXt.
columnsets can indeed loose content depending on how you finish them this might be improved in future versions depending on (also) luatex dev which gives me some more info Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans,
Hans Hagen
No. I already did that. I want that the
| \subject{Victoria Beckham pregnant again!} | | Barack Obama is the father! Confronted with this fact, her husband | David Beckham said\,\dots (Actually, this is a very important news the | world should knew about!)
part of my minimal example gets typeset. By now, it doesn't. To me that looks like a pretty big bug in ConTeXt.
columnsets can indeed loose content depending on how you finish them
How can I finish a columnset so that it doesn't loose content?
this might be improved in future versions depending on (also) luatex dev which gives me some more info
:-) Best regards, olli -- Oliver Heins heins@sopos.org http://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html
On 20-1-2010 13:53, Oliver Heins wrote:
Hi Hans,
Hans Hagen
writes: No. I already did that. I want that the
| \subject{Victoria Beckham pregnant again!} | | Barack Obama is the father! Confronted with this fact, her husband | David Beckham said\,\dots (Actually, this is a very important news the | world should knew about!)
part of my minimal example gets typeset. By now, it doesn't. To me that looks like a pretty big bug in ConTeXt.
columnsets can indeed loose content depending on how you finish them
How can I finish a columnset so that it doesn't loose content?
\page after the stopcolumnset also, as luigi remarked, chapter might somehow interfere if it is set up to start with a new page
this might be improved in future versions depending on (also) luatex dev which gives me some more info
:-)
well, keep in mind that tex itself has no concept of columns at all and that all heuristics (and unpredictable cases) have to be dealt with in macros (and developing that is quite timeconsuming) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, Jan 20, 2010 at 2:07 PM, Hans Hagen
How can I finish a columnset so that it doesn't loose content?
\page after the stopcolumnset ^^^ this is fondamental ^^^
My experience says 0) keep start/stopcolumnset as small as possible to flush on a regular basis and 1) use material from chapter Graphics xor 2) use material from chapter Area xor 3) Are you sure that I don't Indesign instead ? -- luigi
Hans Hagen
On 20-1-2010 13:53, Oliver Heins wrote:
How can I finish a columnset so that it doesn't loose content?
\page after the stopcolumnset
Thanks, I didn't know this.
also, as luigi remarked, chapter might somehow interfere if it is set up to start with a new page
this might be improved in future versions depending on (also) luatex dev which gives me some more info
:-)
well, keep in mind that tex itself has no concept of columns at all and that all heuristics (and unpredictable cases) have to be dealt with in macros (and developing that is quite timeconsuming)
I know. Thanks for doing this job so well and sharing the code, Hans! Hopefully, things are getting better with luatex. Best regards, olli
participants (3)
-
Hans Hagen
-
luigi scarso
-
Oliver Heins