[NTG-context] bibmod question
Hi I'm using the bibmod module with the 'ams' style (bibl-ams.tex). If I have two (or more) references by the same author, from the same year, in my bibtex database. The years are printed in the reference list as eg. 2000a, 2000b, etc., even if I only quote one of the. Since the 'ams' style is citing by number, there is no use for these additional letters. Is there a way to turn those off? Thanks, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] margins
On Wed, Mar 26, 2008 at 8:12 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 10:55 PM, Peter I. Hansen [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 9:06 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-03-25 um 01:51 schrieb Joel C. Salomon: In other words, you want large inner margins and small outer margins. However, the standard behaviour seems to be the opposite. For very good reason. When a two-page spread is laid flat, it usually looks best if the outer margins are both approximately equal in width to the combined inner margins. The default layout takes that into account. While the binding of a book does eat some of the inner margin, it's probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on the binding method), and often the print shop can correct for that. (If you need to be exact, measure against a book bound where your book will be and in the same method.) It depends on the binding method. The traditional margin sizes are only good for thread-stitching. If your book's bound threadless (perfect binding, Wire-O etc.) your inner margins need to be bigger (not always bigger as the outer, but at least bigger than the traditional measures). It's not only that the bookbinder mills away a few millimeters of the page - you can't open a adhesive bound book as much as a thread- stitched, so you need a wider gutter to be able to read the book without destroying the binding. (Or in case of spiral binding the holes for the wire need enough space.) And if you need to send your PDF print-ready to your printshop (maybe books-on-demand maker), there's nobody else who will correct for that. Insofar the OP's question is well justified. Even if he could have found the answer easily himself: Of course you can define your page layout at will, see http://wiki.contextgarden.net/Layout Well, the information here does not solv my problem completely. The thing is, that while I do want the inner margins to be larger than the outer, my description also implies that the odd numbered pages are right pages, which is sometimes a requirement for printed books. I have tried to define the margins following the Layout section of the manual, but I can't figure out how to change that the odd pages are assumed to be left pages. \setuppagenumbering[alternative=doublesided] \setuplayout [backspace=4cm, cutspace=2cm, width=fit] %\setuplayout % [backspace=4cm, % width=15cm] \starttext \dorecurse{100}{\input knuth\par} \stoptext Thanks Wolfgang, this works. -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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] margins
On Tue, Mar 25, 2008 at 9:06 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-03-25 um 01:51 schrieb Joel C. Salomon: In other words, you want large inner margins and small outer margins. However, the standard behaviour seems to be the opposite. For very good reason. When a two-page spread is laid flat, it usually looks best if the outer margins are both approximately equal in width to the combined inner margins. The default layout takes that into account. While the binding of a book does eat some of the inner margin, it's probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on the binding method), and often the print shop can correct for that. (If you need to be exact, measure against a book bound where your book will be and in the same method.) It depends on the binding method. The traditional margin sizes are only good for thread-stitching. If your book's bound threadless (perfect binding, Wire-O etc.) your inner margins need to be bigger (not always bigger as the outer, but at least bigger than the traditional measures). It's not only that the bookbinder mills away a few millimeters of the page - you can't open a adhesive bound book as much as a thread- stitched, so you need a wider gutter to be able to read the book without destroying the binding. (Or in case of spiral binding the holes for the wire need enough space.) And if you need to send your PDF print-ready to your printshop (maybe books-on-demand maker), there's nobody else who will correct for that. Insofar the OP's question is well justified. Even if he could have found the answer easily himself: Of course you can define your page layout at will, see http://wiki.contextgarden.net/Layout Well, the information here does not solv my problem completely. The thing is, that while I do want the inner margins to be larger than the outer, my description also implies that the odd numbered pages are right pages, which is sometimes a requirement for printed books. I have tried to define the margins following the Layout section of the manual, but I can't figure out how to change that the odd pages are assumed to be left pages. -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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] margins
Hi I'm typesetting a document to be printed in book format. For this purpose I need the left margin of an odd numbered page to be larger than the right margin, and the right margin of an even numbered page to be larger than the left margin. However, the standard behaviour seems to be the opposite. Can any of you give me an example of how to reverse this? Thanks, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] amsmath features
Hi, In context I would very much like to use the intlimits feature from amsmath. I LaTex this would be done by: \usepackage[intlimits]{amsmath} I've seached google and contextgarden but didn't find any related hint. Do any of you guys know? thanks, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] place figures at the end of document
Hi, Is there a way in ConTeXt to place figures (and other floats) at the very end of the document? More specifically I would like to keep on having to placefigure code at the relevant place in the text where I would normally typeset with the option [here], but sometimes readers want all figures moved to the end of the document and it would be handy if this could be done by changing a keyword. thanks, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] patch to bibl-ams.tex
On Dec 4, 2007 10:01 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: Peter I. Hansen wrote: Hi I'm typesetting a document using the context bib/bibltx modules and the 'ams' style. In the printed bibliography, entries with many authors are converted into: Hansen et al. as they should, but printed as: Hansenet al. which looks bad. My output looks much better using the following very simple tweak of the file 'bibl-ams.tex' 99c99 \c!artauthoretaltext={ {\it et al.\/}}] --- \c!artauthoretaltext={ {\it\ et al.\/}}] Just wanted to post is in case someone finds this handy. I thought I had fixed that (semi!)recently, IIRC the problem was not in the bibl- file but a missing \relax in the core module. Is http://modules.contextgarden.net/bib still wrong? I just know that it didn't work the way I wanted. I use the version provided by debian Sid (http://packages.debian.org/sid/texlive-base) which seems to be numbered 2007-13. -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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] patch to bibl-ams.tex
Hi I'm typesetting a document using the context bib/bibltx modules and the 'ams' style. In the printed bibliography, entries with many authors are converted into: Hansen et al. as they should, but printed as: Hansenet al. which looks bad. My output looks much better using the following very simple tweak of the file 'bibl-ams.tex' 99c99 \c!artauthoretaltext={ {\it et al.\/}}] --- \c!artauthoretaltext={ {\it\ et al.\/}}] Just wanted to post is in case someone finds this handy. -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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] typesetting a formula as a figure
Hi I would like to typeset a formula as a figure, so that the formula enters the numbering scheme of figures and that I gain the possibility of adding a figure caption. An example were this would be practical is when using ppchtex. I've been googling but having trouble finding hints on how to make such a construction. Is it possible at all? Thanks, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] typesetting a formula as a figure
On Nov 20, 2007 11:23 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Hi Peter, On Tue, 20 Nov 2007 15:15:35 -0700, Peter I. Hansen [EMAIL PROTECTED] wrote: Hi I would like to typeset a formula as a figure, so that the formula enters the numbering scheme of figures and that I gain the possibility of adding a figure caption. An example were this would be practical is when using ppchtex. I've been googling but having trouble finding hints on how to make such a construction. Is it possible at all? See Section 13.5 page 300 (absolute page 303) of cont-eni.pdf. Uses a buffer and a tmp-file name. This works nicely, thanks. -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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fancyhdr equivalent
On 7/2/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Mon, 2 Jul 2007, Peter I. Hansen wrote: On 7/1/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Sun, 1 Jul 2007, Peter I. Hansen wrote: Hello Just getting started with ConTeXt, and liking it so far :) However, I would like to use something similar to the LaTeX 'fancyhdr' package. I've been poking around trying to find such a thing and the closest I could get is: http://osdir.com/ml/tex.context/2001-10/msg00094.html I can't find it in the manual, so if it is built in maybe one of you guys can tell how to use it? Look at Section 4.17 of ConTeXt manual http://www.pragma-ade.com/general/manuals/cont-enp.pdf What I would like to do is for example to frame the headertext, and I tried with eg. \setupheadertexts [chapter][pagenumber] \setupheader [style=\inframed] But this creates a framed chapter text and a framed pagenumber. How do I put both in one frame? \setupbackgrounds [header][text][frame=on] To get a decent visual effect, you need to set the header height to be something reasonable, for example \setuplayout[header=2\lineheight] Thanks, this works for me. One thing though, I would like to turn the framing off on pages where a chapter begins. I tried \setuphead[chapter][header=empty], but this just gives me an empty frame. Is there a way to selectively turn of backgounds on for example chapter pages? ___ 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 ___
Re: [NTG-context] fancyhdr equivalent
On 7/2/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/2, Peter I. Hansen [EMAIL PROTECTED]: Thanks, this works for me. One thing though, I would like to turn the framing off on pages where a chapter begins. I tried \setuphead[chapter][header=empty], but this just gives me an empty frame. Is there a way to selectively turn of backgounds on for example chapter pages? \setuphead [chapter] [%before={\blank[force,\dimexpr\headerheight+\headerdistance\relax]}, header=high] \setupbackgrounds[header][text][frame=on] \starttext \dorecurse{4} {\chapter{Knuth} \dorecurse{12} {\input knuth\par}} \stoptext Beautifull. One problem arise, if you put a \placecontent after \starttext the first chapter will stil have the frame on. ___ 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 ___
Re: [NTG-context] fancyhdr equivalent
On 7/2/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/2, Peter I. Hansen [EMAIL PROTECTED]: On 7/2/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/2, Peter I. Hansen [EMAIL PROTECTED]: Thanks, this works for me. One thing though, I would like to turn the framing off on pages where a chapter begins. I tried \setuphead[chapter][header=empty], but this just gives me an empty frame. Is there a way to selectively turn of backgounds on for example chapter pages? \setuphead [chapter] [%before={\blank[force,\dimexpr\headerheight+\headerdistance\relax]}, header=high] \setupbackgrounds[header][text][frame=on] \starttext \dorecurse{4} {\chapter{Knuth} \dorecurse{12} {\input knuth\par}} \stoptext Beautifull. One problem arise, if you put a \placecontent after \starttext the first chapter will stil have the frame on. do you mean \starttext \placecontent \chapter{Knuth} \stoptext I see only a frame on the first page with the table of contents and this normal because there is no chapter on this page. use \completecontent and not \placecontent if this is not what you mean send a example \completecontent seems to solve my problem so far... To see what my problem was try out the following example: \setuplayout[location=middle, header=\lineheight, headerdistance=\lineheight] \setuppagenumbering [alternative=doublesided,location=] \setupheadertexts [section][pagenumber] [pagenumber][chapter] \setuphead [chapter] [%before={\talkingk[force,\dimexpr\headerheight+\headerdistance\relax]}, header=high] \setupbackgrounds [header][text][frame=off,bottomframe=on] \starttext \placecontent %\completecontent \dorecurse{3} {\chapter{Test} \dorecurse{250}{talking talking talking } } \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fancyhdr equivalent
On 7/2/07, Peter I. Hansen [EMAIL PROTECTED] wrote: On 7/2/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/2, Peter I. Hansen [EMAIL PROTECTED]: On 7/2/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/2, Peter I. Hansen [EMAIL PROTECTED]: Thanks, this works for me. One thing though, I would like to turn the framing off on pages where a chapter begins. I tried \setuphead[chapter][header=empty], but this just gives me an empty frame. Is there a way to selectively turn of backgounds on for example chapter pages? \setuphead [chapter] [%before={\blank[force,\dimexpr\headerheight+\headerdistance\relax]}, header=high] \setupbackgrounds[header][text][frame=on] \starttext \dorecurse{4} {\chapter{Knuth} \dorecurse{12} {\input knuth\par}} \stoptext Beautifull. One problem arise, if you put a \placecontent after \starttext the first chapter will stil have the frame on. do you mean \starttext \placecontent \chapter{Knuth} \stoptext I see only a frame on the first page with the table of contents and this normal because there is no chapter on this page. use \completecontent and not \placecontent if this is not what you mean send a example \completecontent seems to solve my problem so far... To see what my problem was try out the following example: \setuplayout[location=middle, header=\lineheight, headerdistance=\lineheight] \setuppagenumbering [alternative=doublesided,location=] \setupheadertexts [section][pagenumber] [pagenumber][chapter] \setuphead [chapter] [%before={\talkingk[force,\dimexpr\headerheight+\headerdistance\relax]}, header=high] \setupbackgrounds [header][text][frame=off,bottomframe=on] \starttext \placecontent %\completecontent \dorecurse{3} {\chapter{Test} \dorecurse{250}{talking talking talking } } \stoptext Actually, if I add something before the content, eg. \subject{Preface}\page[yes] then things go bad again... There is something about this I can't grasp. ___ 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 ___
[NTG-context] fancyhdr equivalent
Hello Just getting started with ConTeXt, and liking it so far :) However, I would like to use something similar to the LaTeX 'fancyhdr' package. I've been poking around trying to find such a thing and the closest I could get is: http://osdir.com/ml/tex.context/2001-10/msg00094.html I can't find it in the manual, so if it is built in maybe one of you guys can tell how to use it? Thanks, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fancyhdr equivalent
On 7/1/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Sun, 1 Jul 2007, Peter I. Hansen wrote: Hello Just getting started with ConTeXt, and liking it so far :) However, I would like to use something similar to the LaTeX 'fancyhdr' package. I've been poking around trying to find such a thing and the closest I could get is: http://osdir.com/ml/tex.context/2001-10/msg00094.html I can't find it in the manual, so if it is built in maybe one of you guys can tell how to use it? Look at Section 4.17 of ConTeXt manual http://www.pragma-ade.com/general/manuals/cont-enp.pdf What I would like to do is for example to frame the headertext, and I tried with eg. \setupheadertexts [chapter][pagenumber] \setupheader [style=\inframed] But this creates a framed chapter text and a framed pagenumber. How do I put both in one frame? ___ 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 ___