Re: [NTG-context] Columns and figures in MKIV
On Thu, Jun 30 2011, Willi Egger wrote: Columnsets provide you the possibility to place column spanning pictures: Thank you for the advice. I was hoping to avoid having to learn about columnsets, but I suppose learning is good. Any hints on getting columnsets and footnotes to play nicely? Here's an example of how I would normally use footnotes, but the footnote is obscured by the text. --8---cut here---start-8--- \definecolumnset[Doublecoltext][n=2,balance=no] \setupcolumnset[Doublecoltext][2][distance=5mm] \starttext \chapter[chap:testing]{Testing} \startcolumnset[Doublecoltext] This is a short paragraph. I think it should have a footnote.\footnote{And so it shall! Unfortunately you won't be able to see it because it is covered up with the text in the columnsets.} \input knuth %\startpostponing \placefigure [btlr][fig:foo] {none} {\externalfigure[mill][width=1.5\textwidth,height=5cm]} %\stoppostponing \input tufte \input knuth \input tufte \input knuth \input tufte \stopcolumnset \stoptext --8---cut here---end---8--- Once again, I am sorry if my question is naive. I am working through the examples in the Columnset manual to try and wrap my head around them, but it is becoming pretty clear to me that it is a tool for layout designers far more accomplished than I am. Jason ___ 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 ___
[NTG-context] Columns and figures in MKIV
I am trying to upgrade an existing document from using texexec and pdftex to context and luatex. Unfortunately, the document relies pretty heavily on columns (using \startcolumns[n=2,tolerant=verytolerant]) and the idea that figures that are too wide to place in a column float to the top of the next page. Unfortunately, this does not seem to be the case with the current minimals. The following example works fine for texexec (even if I comment out the \startpostponing \stoppostponing code). The figure is placed (centered) at the top of page 2. With MKIV, however, the figure stays in the first column and bleeds over into the second column (the postponing code does change it to the next page, but it doesn't force it out of the column). --8---cut here---start-8--- \enableregime[utf-8] \starttext \startcolumns \chapter[chap:testing]{Testing} \startcolumns[n=2, tolerant=verytolerant] \input knuth %\startpostponing \placefigure [center][fig:foo] {none} {\externalfigure[foo][] [width=1.5\textwidth]} %\stoppostponing \input tufte \input knuth \input tufte \input knuth \input tufte \stopcolumns \stoptext--8---cut here---end---8--- I am using the Context minimal distribution (on Linux) and context reports that the current version as: current version: 2011.06.29 09:57 It is quite likely that I am simply doing this wrong, but I have read: http://wiki.contextgarden.net/Columns and it appears to support what I am trying to do. I have experimented a bit with columnsets, but they appear to be overkill for my use. Then again, I am probably doing it wrong. Any advice would be appreciated. Jason Earl ___ 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 ___
Re: [NTG-context] Problem with large space after section header
On Mon, Jun 28 2010, Aditya Mahajan wrote: On Mon, 28 Jun 2010, Jason Earl wrote: In my defense, part of the reason that I did not think of putting in a manual page break before the section is that my real context documents are generated from a script, and I did not want to have to process the output by hand to solve these sorts of problems. I was hoping for some sort of magic that I could put after every section heading that would make Context try harder to keep the content close to the header. However, while I don't pretend to be an expert at typesetting I do understand that automating this stuff is hard, and sometimes there is no real way to fix issues like this. If I have to do a little hand massaging of the output that's acceptable. In an automated setup, you can try \setuphead[section][before={\blank\testpage[4]}] \testpage[n] tests if there is enough space to put n lines in the current page. If not, it insearts a pagebreak. Play around with n to see what gives best result. Thank you so much. That looks like it is going to solve the most problematic spaces without having to manually insert page breaks. In fact, to my untutored eye even without playing with the numbers it looks perfect. That was precisely the magic I needed, and it even came with an explanation that should help me solve similar problems myself in the future. Thanks to Wolfgang for responding as well. I am sorry I was not more clear with my original report. Thanks again, Jason ___ 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 ___
Re: [NTG-context] Division symbol \div does not work
Curiouslearn curiousle...@gmail.com writes: How to obtain the division symbol? Command \div does not work. \setuppapersize[letter][letter] \starttext $ a \div b $ \stoptext gives output a div b I am using an older version of Context, but running texexec on your example gets me the correct output. a รท b Jason ___ 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 ___
Re: [NTG-context] checking spelling of a tex document
Ciro Soto c...@kavyata.com writes: Hi all I wonder what the people in this list is using for checking the spelling of a tex document I am in Linux and I have going back and forth from tex to OOwriter to do this, but that is a pain. Any other suggestion? thank you Ciro What text editor are you currently using? I work on Linux too, and, to be honest I almost couldn't find a text editor that didn't spell check (at least with a little coaxing). I tried Emacs, gvim, gedit, jedit, and geany before I finally hit an editor that didn't have spell checking for context files (scite). Heck, I think even nano will do spell checking. At the risk of starting a flame war, Emacs with AUCTeX handles this and a whole pile of other ConTeXT stuff quite nicely. Jason ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___