Re: [NTG-context] Strange result with 2 columns and textbackground
On Sun, 27 Feb 2005 20:26:34 +0100, h h extern [EMAIL PROTECTED] wrote: no, you uncovered a secret: these backgrounds are only supported on one column mode and column sets; i did a quick hackery test and it is possible to add support for multi-columns, but the complication is that it currently interferes with mixed one/multi columns (it only takes a few lines of code, but then you have half a solution. i need to separate the multi column sub-output routine first as well as to add an otr state tracking system in order to get this working robustly; remind in half a year or so ntw, if you want just backgrounds behind columns: \setupcolors[state=start] \setupcolumns[option=background,background=color,backgroundcolor=red] \starttext \chapter{Chapter TEST} \input tufte \startcolumns \section{tufte.tex} \input tufte \section{knuth.tex} \input knuth \stopcolumns \input tufte \stoptext Thank you. Q. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] shortcut to TOC page from any page
Hi, I would like to make a shortcut to TOC page in my document. The idea is from any page of the doc when I do this shortcut (keyboard or mouse) I return to the TOC. Anyone know if there is a way to do this in ConTeXt ? Thank you, Q. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lettrine.sty, but not LaTeX
Mats Broberg wrote: - I tested with the inital H and [Lines=4,Hang=.1,Nindent=20pt,Findent=20pt]. This makes the H itself be indented too (see enclosed dump). It seems that Findent adds space both before and after the dropcap, when it only should add after the dropcap. That was a bug, so, although I promised I wouldn't do this ... here is version four. ;-) - The text font seems to be defaulted to small capitals. However, this is merely one of the conventions how text after a dropcap is set. Other conventions include e.g. roman or italic caps, roman or italic lower case etc. You can set the 'TextFont' parameter to something else. - Regarding the slope one should be able to set indentation separately for each line. This depends on the fact that some characters call for a different type of intendation of the lines - e.g. the character L. I will keep this in mind for a future extension - Sometimes there is a need to indent the dropcap slightly itself, e.g. if one uses a quotation mark before the dropcap. So a parameter to control that would be great. You can set the 'Hang' parameter to a negative value. Greetings, Taco t-lettri.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problem with \placefigure before \startcolumns
Hi, I have a problem, when I place a graphic on a page, start columns, and use a \chapter in that column. The following code demonstrates it. I get the space needed for the graphic in the column, but the graphic is already placed above the \startcolumns. Without the \chapter the space vanishs. \starttext \placefigure[left]{}{\framed[height=2cm]{graphic}} \input tufte \par \startcolumns[n=2] \chapter{} \dorecurse{4}{\input tufte \par} \stopcolumns \stoptext I use ConTeXt ver: 2005.01.31 fmt: 2005.2.7 from TeTeX 3.0. Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shortcut to TOC page from any page
VnPenguin wrote: Hi, I would like to make a shortcut to TOC page in my document. The idea is from any page of the doc when I do this shortcut (keyboard or mouse) I return to the TOC. Anyone know if there is a way to do this in ConTeXt ? all lists automatically generate a reference, so \goto {contents} [contents] should work 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] TeX run : 8 (vs. 2 ?)
Hi, a ConTeXt document that is typeset under WinXP needs 2 runs. The same document (and the same typescript, map files, font files) when typeset under OSX (Gerbens i-installer used) needs 8 runs!!! Each time it is typeset! For the result looks the same I assume it's a kind of bug. Anybody knows what to do? Thank you, Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX run : 8 (vs. 2 ?)
Steffen Wolfrum wrote: Hi, a ConTeXt document that is typeset under WinXP needs 2 runs. The same document (and the same typescript, map files, font files) when typeset under OSX (Gerbens i-installer used) needs 8 runs!!! Each time it is typeset! For the result looks the same I assume it's a kind of bug. Anybody knows what to do? weird, is the tui/tuo file changing/writable/etc? 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shortcut to TOC page from any page
On Mon, 28 Feb 2005 12:36:29 +0100, Hans Hagen [EMAIL PROTECTED] wrote: VnPenguin wrote: I would like have, if possible, a shortcut keyboard (Ctl-x ?) or mouse (double click ?) in order to return to TOC page without additional link in every pages. that's not possible in pdf oh, So could I use the page number for this link \goto {contents} [contents] ? Could you show me how one can add the link into the page number please. Thank you, Q. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bleeding background
Hello, What is the most simple way to obtain a bleeding colour background? Thanks in advance Piotr -- Piotr Kopszak, Ph.D. Polish Art Gallery, National Museum in Warsaw -http://kopszak.mnw.art.pl/ http://www.magnatune.com/artists/altri_stromenti ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bleeding background
Piotr Kopszak wrote: What is the most simple way to obtain a bleeding colour background? [,backgroundoffset=-3pt] - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] shortcut to TOC page from any page
On Mon, 28 Feb 2005 13:17:33 +, VnPenguin [EMAIL PROTECTED] wrote: On Mon, 28 Feb 2005 12:36:29 +0100, Hans Hagen [EMAIL PROTECTED] wrote: VnPenguin wrote: I would like have, if possible, a shortcut keyboard (Ctl-x ?) or mouse (double click ?) in order to return to TOC page without additional link in every pages. that's not possible in pdf oh, So could I use the page number for this link \goto {contents} [contents] ? Could you show me how one can add the link into the page number please. Found myself : \def\mypagenum#1{\goto{#1}[tocrefpage]} \setuppagenumbering [left={--~},right={~--},command=\mypagenum] So I'm happy with this solution :) Thanks Hans all, Q. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Additional steps taken since the first e-mail
Hans, OK, and what should I do to remedy this? I am using ConTeXt out of the box, as it is when you install MikTeX. Should I download something else from your site? A more recent distribution? My log says: ConTeXt ver: 2005.01.24 Best regards, Mats Broberg On Behalf Of h h extern However, when I run the test file, I still get the unknown file type: texmfscripts as the first entry, but the test file seem to be processed anyway. Does this mean I can forget about this warning? seesm like your tex binaries and context scripts are not in sync; ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setting up even and odd pages
Mari Voipio wrote: Paul Tremblay wrote: On Fri, Feb 25, 2005 at 10:56:55AM +0100, Hans Hagen wrote: There are several methods, like: \setuplayout[left] [] \setuplayout[right][] this only sets them up (\definelayout is normally used for new ones) these layouts are set automatically when in doublesided mode 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Additional steps taken since the first e-mail
Mats Broberg wrote: Hans, OK, and what should I do to remedy this? I am using ConTeXt out of the box, as it is when you install MikTeX. Should I download something else from your site? A more recent distribution? if things run fine, you can just ignore the message; normally more methods are used to locate files 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lack of hyphenation
On Mon, 28 Feb 2005 20:54:07 +0100, Mats Broberg [EMAIL PROTECTED] wrote: Dear listmembers, I would say that the risk of getting rivers in text typeset using TeX children is minimum, as long as you choose sensible values for typesize and column width. And much, much less than in MS Word, InDesign, QuarkXPress etc. Btw, here are a few 'Typographical Dreams' of mine, regarding ConTeXt: - Penalty if consecutive lines have the same words typeset exactly above each other - e.g. in the beginning of a line, in the middle of the line etc. Catches your eye. - Penalty for a hyphenated word as the last word on a page. And not putting it in an \mbox. - In Swedish, if the last line in a column is the first line in a new paragraph, this last line is called simple child of a whore. If the first line on a new page is the last line of the preceding page's last paragraph, this line is called double child of a whore. Now, in InDesign and QuarkXPress you can set the software to move over the simple child of a whore to the next page, and, for double child of a whore, to move over a few extra lines to the new page. However, this leaves you with a page that is one or more lines short. When working in these software, you can then slightly, slightly increase the spacing between letters on the page (perhaps only a few thousands of an em). If you are lucky, one of the preceding paragraph expands just enough for its last line move over to a second line, and you're home free. However, for book projects hundreds of pages long, this is something you'd want to automate. Don't know if it is possible in ConTeXt to automate this, but it would be great if it was. Best regards, Mats Broberg Hej Mats! I would like to recommend the interesting document http://www.pragma-ade.com/general/manuals/style.pdf Mvh, Micke P PS Fun to see another swede here on the list DS ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lack of hyphenation
Mats Broberg wrote: Btw, here are a few 'Typographical Dreams' of mine, regarding ConTeXt: - Penalty if consecutive lines have the same words typeset exactly above each other - e.g. in the beginning of a line, in the middle of the line etc. Catches your eye. since it has to do with extending tex ... that one is for patrick gundlach - Penalty for a hyphenated word as the last word on a page. And not putting it in an \mbox. hm, the problem with such things is that when tex breaks the page, the paragraph is already set; you're looking for some breed between widow/club and hyphenpenalties - In Swedish, if the last line in a column is the first line in a new paragraph, this last line is called simple child of a whore. If the first line on a new page is the last line of the preceding page's last paragraph, this line is called double child of a whore. Now, in InDesign and QuarkXPress you can set the software to move over the simple child of a whore to the next page, and, for double child of a whore, to move over a few extra lines to the new page. However, this leaves you with a page that is one or more lines short. When working in these software, you can then slightly, slightly increase the spacing between letters on the page (perhaps only a few thousands of an em). If you are lucky, one of the preceding paragraph expands just enough for its last line move over to a second line, and you're home free. However, for book projects hundreds of pages long, this is something you'd want to automate. Don't know if it is possible in ConTeXt to automate this, but it would be great if it was. i did play with strategies and strategy passes long ago; strategies could be - make inter-column spacing a bit bigger/smaller - make page slightly larger/smaller - increse/decrease bodyfont size - etc the problem is that one can end up in oscillating 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lack of hyphenation
Hej Mats! I would like to recommend the interesting document http://www.pragma-ade.com/general/manuals/style.pdf Mvh, Micke P PS Fun to see another swede here on the list DS Thanks - I knew about that manual already. Best regards, Mats Broberg P.S. Likewise...! D.S. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] controlling blank pages at end of part
How does one control headers and footers at the end of a part, such as a chapter? There are two scenarios I am trying to figure out, one in which the the blank pages at the end of a part have headers, and one in which they don't. I can't figure out how to do either. Instead, I am getting a mixture of headers and non headers. First page in first part. \page Second page in first part. \page Third page in first part. \page[quadruple] \setuphead[part][header=high, page=right] \part{} This gives me two empty (no headers) pages, followed by a page with a header, followed by the first page in the next part. If I replace \page[quadruple] with \page[blank], my last page in the previous part loses its border. I can do: Third page in first part. \page \page[blank] But then the first page in the next part loses its headers. I suppose there is a way to turn the headings off for a page or two? \page \setupheader[state=stop] \part{} \setupheader[statue=normal] % this code also does not work! Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context