Re: [NTG-context] No number on first page
Pablo Rodriguez gmx.es> writes: > Minimal working sample: > > \setuppapersize[A6] > \setuphead[chapter][header=empty] > \starttext > \dorecurse{5}{\chapter{Digital typography} > \dorecurse{5}{\input zapf\par}} > \stoptext > Thank you, that is great. -Richard ___ 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] No number on first page
Wolfgang Schuster gmail.com> writes: > \starttext > > \noheaderandfooterlines > > \dorecurse{10}{\input knuth\par} > ... > > \stoptext > > Wolfgang Thank you. More time with the manuals for me. -Richard ___ 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] No number on first page
On 11/27/2014 12:59 AM, Richard Sherman wrote: > Hi all, > > I have seen this question asked several times and not answered in a way > that has worked for me. > > To suppress a page number on the first page, in LaTeX I would use > > \thispagestyle{empty} Hi Richard, \setuphead[chapter][header=empty] is what you need. Minimal working sample: \setuppapersize[A6] \setuphead[chapter][header=empty] \starttext \dorecurse{5}{\chapter{Digital typography} \dorecurse{5}{\input zapf\par}} \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___ 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] No number on first page
> Am 27.11.2014 um 00:59 schrieb Richard Sherman : > > Hi all, > > I have seen this question asked several times and not answered in a way > that has worked for me. > > To suppress a page number on the first page, in LaTeX I would use > > \thispagestyle{empty} > > but I cannot find how to accomplish the same thing in ConTeXt. I have > seen the suggestions > > \setupheader[1][header=0mm] > > which is not what is intended, and also does not result in page numbers > on pages 2, 3, ..., > > and > > \noheaderandfooterlines > > which is also not successful, and doesn't seem like it should be, and > > \definelayout[1][header=0mm] > \definelayout[2][reset] > > which doesn't work either. > > I'd like to > > 1. Have the header appear on each page > > and > > 2. Have no page number on the first page > > and > > 3, Have page numbers beginning on the second page > > which seems like it should have a simple solution, but after a couple of > days of searching here and in the manuals I haven't been able to find it. > > A solution that puts a \page in somewhere fails, since I don't know > when the second page will begin. You have to provide a example because \noheaderandfooterlines removes the pagenumber in the following example. \starttext \noheaderandfooterlines \dorecurse{10}{\input knuth\par} \page \noheaderandfooterlines \dorecurse{10}{\input knuth\par} \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 ___
[NTG-context] No number on first page
Hi all, I have seen this question asked several times and not answered in a way that has worked for me. To suppress a page number on the first page, in LaTeX I would use \thispagestyle{empty} but I cannot find how to accomplish the same thing in ConTeXt. I have seen the suggestions \setupheader[1][header=0mm] which is not what is intended, and also does not result in page numbers on pages 2, 3, ..., and \noheaderandfooterlines which is also not successful, and doesn't seem like it should be, and \definelayout[1][header=0mm] \definelayout[2][reset] which doesn't work either. I'd like to 1. Have the header appear on each page and 2. Have no page number on the first page and 3, Have page numbers beginning on the second page which seems like it should have a simple solution, but after a couple of days of searching here and in the manuals I haven't been able to find it. A solution that puts a \page in somewhere fails, since I don't know when the second page will begin. Thanks much in advance, -Richard ___ 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] beta
Sorry for the noise, after a fresh install of standalone, everything is fine again. Don't know, why this happened. Christian 2014-11-26 21:48 GMT+01:00 Hans Hagen : > On 11/26/2014 9:29 PM, Christian Prim wrote: > >> Hi Hans, >> >> the tikz-example on the wiki (which worked in last beta) doesn't compile >> too. >> >> http://wiki.contextgarden.net/TikZ >> > > it works here so it's prob ably the already discussed tikz library issue > > Hans > > - > 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 > > ___ > ___ 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] beta
On 11/26/2014 9:29 PM, Christian Prim wrote: Hi Hans, the tikz-example on the wiki (which worked in last beta) doesn't compile too. http://wiki.contextgarden.net/TikZ it works here so it's prob ably the already discussed tikz library issue Hans - 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 ___
Re: [NTG-context] beta
On 11/26/2014 9:06 PM, Pablo Rodriguez wrote: On 11/26/2014 08:28 PM, Hans Hagen wrote: Hi, I uploaded a new beta. Hans, I’m afraid that this sample cannot be compiled with the new beta: \starttext \section{What is \ConTeXt?} \stoptext ah, a missing \protect .. i'll fix it - 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 ___
Re: [NTG-context] beta
Hi Hans, the tikz-example on the wiki (which worked in last beta) doesn't compile too. http://wiki.contextgarden.net/TikZ Christian 2014-11-26 21:06 GMT+01:00 Pablo Rodriguez : > On 11/26/2014 08:28 PM, Hans Hagen wrote: > > Hi, > > > > I uploaded a new beta. > > Hans, > > I’m afraid that this sample cannot be compiled with the new beta: > > \starttext > \section{What is \ConTeXt?} > \stoptext > > > Pablo > -- > http://www.ousia.tk > > ___ > 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 > > ___ > ___ 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] beta
On 11/26/2014 08:28 PM, Hans Hagen wrote: > Hi, > > I uploaded a new beta. Hans, I’m afraid that this sample cannot be compiled with the new beta: \starttext \section{What is \ConTeXt?} \stoptext Pablo -- http://www.ousia.tk ___ 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] beta
Hi, I uploaded a new beta. The most interesting new thing is that the Lua based hyphenator is now better integrated. I showed that one (plus some features) at the last context meeting, and decided to clean it up a bit and prepare it for extensions. It might become the default hyphenator at some point. Performance is quite ok, especially when you take into account that the amount of time spent on hyphenating is not that large. You can test it with: \setuphyhenation[method=traditional] enables it and as by default we are a bit more tolerant to what a word is, you can enforce a more strict behaviour with \sethyphenationfeatures[strict] It is possible to control some aspects (even within a paragraph) but some of that is experimental. I'm working on a manual that explains details about how hyphenation works and how one can write plugins. There is already support for explicit hyphens and joiners (the default set) and patterns as discussed in "Hyphenation in OpenOffice.org" (TUGboat, Volume 27, 2006) should also work; you can for instance register additional patterns like this: \registerhyphenationpattern[en][eigh1tee/t=t,5,1] But that's for the happy few who understand and/or love such weird syntaxes. Anyway, this is the time to ask for more if you are in need, Hans - 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 ___
Re: [NTG-context] drops: arbitrary path examples
On 11/26/2014 7:56 PM, Peter Rolf wrote: A 2-3 years old PC should be able to handle the examples in acceptable time (judging from my hardware). But not only hardware power is needed, the software can be crucial too. Indeed sumatra (mupdf) views them fast and I think also in good quality. Memory consumption is quite ok and fits into the 4 gig limits of 32 bit os's. (I use sumatra when possible, also on linux (wine)). Acrobat also views ok but memory will jump a few gig so it might be a virtual memory issue at your end. Indeed Acrobat Reader and Pro X are way slower (I have no newer acrobat than x to test). Very nice drawings. Hans - 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 ___
[NTG-context] drops: arbitrary path examples
Hi, just two example documents I made while testing arbitrary paths with the 'drops' module. I plan to release the module soon, so this is not more than an appetizer. The code is still messy and unfinished, but I probably don't have the time to change that. Creating the examples took away all my free time. Take it as it is or just wait two more years.. Now, before I write down the download link some ** SERIOUS WARNING!!! I MEAN SERIOUS!!! SOMEWHAT SERIOUS!!! ** Both documents use a considerable number of graphics and can significantly slow down or even freeze your hardware. Open the examples at your own risk (especially with products from Adobe)! [whew, just lost 87% of the viewers here] A 2-3 years old PC should be able to handle the examples in acceptable time (judging from my hardware). But not only hardware power is needed, the software can be crucial too. Viewers tested so far (rating in front), all on Windows 7. [++] SumatraPDF: no problems, lightning speed and very good viewing quality (love it!) [+] PDFExchangeViewer: no problems, good speed (you can still watch how the graphics are stacked) and viewing quality (color management if off though) [--] Adobe Acrobat 9 Pro: 'out of memory' error after three pages (puddle), very slow speed, probably best viewing quality A real shame that the only viewer with problems is from the inventor of PDF. The 'pile' example from 2012 even crashed the viewer (v10), so this is still an improvement. Just let me know if there are any general problems. I will file a bug report then. Finally, the download link (you have been warned) :-D https://spideroak.com/browse/share/indiego/public/ConTeXt/drops/ Some technical info about the examples: [sigh, lost all my viewers right here] leafs: 150 leafs (six different colored bitmaps), resolution = 300ppi based on this graphic (thanks for sharing) http://openclipart.org/detail/10517/leaf-by-yves_guillou-10517 puddle: 200 MP graphics, resolution = 600ppi Only one shadow graphic is created for the main object (which is also reused then). Variation comes from scaling/rotation. The big 'drops' text in Copperplate is a MP graphic, but in theory it should be possible to add shadows to glyph paths. We will see. To ensure the readability of the few other text elements, both documents use the drops module to lighten the underlying background. A simple 'boxshadow' with a bright shadowcolor and a proper radius (maybe plus some offset) is all you need for that. This is a feature that I always wanted, way better than editing/creating the background areas by hand (correct position/size? a lot of try and error, a real pita). All done on the fly now, which is nice (me lazy). [OK.. all said, stopping now; so much text for a stupid link] Have fun, 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 ___
Re: [NTG-context] Is there an overview of getting mathematical symbols in ConTeXt?
> Am 26.11.2014 um 18:34 schrieb Gerben Wierda : > > I am looking for instructions to write Aleph, pi and so forth. I assume I > need special font instructions outside of plain TeX. Correct? Take a look at the attached example. Wolfgang math.tex Description: Binary data ___ 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] Is there an overview of getting mathematical symbols in ConTeXt?
I am looking for instructions to write Aleph, pi and so forth. I assume I need special font instructions outside of plain TeX. Correct? G ___ 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] Trying to force a particular page sequence
Answering myself: don’t use \page, use \startstandardmakeup…\stopstandardmakeup with page=no and doubledsided=no G On 26 Nov 2014, at 15:57, Gerben Wierda wrote: > I’m having trouble to produce a particular page sequence, all pages without > page numbers: > > Title page (I have that) > First left page with a text block in the lower left corner > First right page with a statement centered, 1/3 down > > I’ve been trying working with \page, but what I get is > > Title page > Empty page (first left) > Right page with text (not yet in the lower left corner > Left page with statement > Right page with page number on top > > This is what I have in my prd_book.tex. What is a cleaner way to do this and > also one that works? ;-): > > \starttext > \start > \startstandardmakeup \ss > \hairline \start > \blank[line] > \switchtobodyfont[16pt]\bf > \leftaligned{Foo}% > \blank[line] > \leftaligned{bar bar bar bar}% > \blank[line] > \leftaligned{Foo}% > \stop > \hairline \blank[line] > \leftaligned{Foo bar foo bar bar bar bar}% > \hairline \blank[line]\rightaligned{Gerben Wierda}% > \blank[6cm]\start\leftskip=10cm\hairline\stop > \rightaligned{2014}% > \stopstandardmakeup > \stop > Copyright notice (should be lower left on first lefthand side page) > \page[yes] > \start > \switchtobodyfont[16pt] > ~%otherwise \blank does nothing > \blank[6cm] > \midaligned{Statement, centered first righthand side page} > \stop > \startfrontmatter > > ___ > 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 > ___ ___ 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] Trying to force a particular page sequence
I’m having trouble to produce a particular page sequence, all pages without page numbers: Title page (I have that) First left page with a text block in the lower left corner First right page with a statement centered, 1/3 down I’ve been trying working with \page, but what I get is Title page Empty page (first left) Right page with text (not yet in the lower left corner Left page with statement Right page with page number on top This is what I have in my prd_book.tex. What is a cleaner way to do this and also one that works? ;-): \starttext \start \startstandardmakeup \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line] \leftaligned{bar bar bar bar}% \blank[line] \leftaligned{Foo}% \stop \hairline \blank[line] \leftaligned{Foo bar foo bar bar bar bar}% \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[6cm]\start\leftskip=10cm\hairline\stop \rightaligned{2014}% \stopstandardmakeup \stop Copyright notice (should be lower left on first lefthand side page) \page[yes] \start \switchtobodyfont[16pt] ~%otherwise \blank does nothing \blank[6cm] \midaligned{Statement, centered first righthand side page} \stop \startfrontmatter ___ 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] Defining and using font weights
Hello, I'm not able to figure out how I can make use of a font with "custom" font weights. I have a font that comes with "regular", "bold", "half-bold" and "ultra bold". I currently define the font like this: \definefontfamily[myfont][rm][myfont][sc=file:MyFontRegular,bf=file:MyFontBold] Which at least makes it possible to use the default font and \bf ... But simply adding something like hb=... or ult=... doesn't seem to cut it. So how would I define this font to be able to also use the half-bold and ultra weights? (preferably with a switch like \bf, \it, etc.) Best regards, Andreas ___ 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 ___