Re: [NTG-context] Letter Module: backaddress
Am 09.10.2009 um 01:24 schrieb Andreas Harder: Hello Wolfgang, thank you for your explanations! When I think about the default setup this would make more sense: \setupletterstyle[backaddress=no] \setupletterstyle[backaddress][alternative=auto] WHat do you think? One more question: it would be nice if the rule under the back- address would have the same length an the back-addres. Is there a convenient way? I tried something with \textbackgrounds (example below) but without success. \setupletterstyle [backaddress] [frame] [width=fit] 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 ___
Re: [NTG-context] Letter Module: backaddress
Hello Wolfgang, thank you for your explanations! One more question: it would be nice if the rule under the back-address would have the same length an the back-addres. Is there a convenient way? I tried something with \textbackgrounds (example below) but without success. % from the wiki: \startuseMPgraphic{underline} \iftracepositions show_multi_pars \else draw_multi_pars \fi ; path p ; p := boundingbox currentpicture ; currentpicture := currentpicture shifted (0,-StrutDepth/3) ; setbounds currentpicture to p ; \stopuseMPgraphic \definetextbackground [underline] [location=text,alternative=1,background=underline,frame=off] \setupletterstyle [backaddress] [alternative=yes, before={\starttextbackground[underline]}, after=\stoptextbackground] 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 ___
Re: [NTG-context] Letter Module: backaddress
Am 08.10.2009 um 16:01 schrieb Andreas Harder: Hi, now that the foldmarks work … how to set the backaddress? Another thing to document, I already forgot who it works. \setupletterstyle [option] [backaddress=yes] This setting is not necessary because most elements are enable by default, you could also drop the first bracket pair for global parameters. \setupletterstyle [backaddress] [bottomframe=on] \setupletterstyle [backaddress] [alternative=yes, % default: no bottomframe=on] For alternative you can select between: - no : no content for the backaddress - yes : use 'fromname' and 'fromaddress' - auto : check if there is text in the 'backaddress' key, if not then use 'fromname' and 'fromaddress' The separator between each element in the backaddress can be changed with \setupletterstyle [backaddress] [separator=...] the default value is ', ' (comma + space). 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] Letter Module: backaddress
Hi, now that the foldmarks work … how to set the backaddress? \usemodule[letter] \setupletterstyle [option] [backaddress=yes] \setupletterstyle [backaddress] [bottomframe=on] \setupletter [fromname={Max Mustermann}, fromaddress={Musterstr. 12\\123456 Musterstadt}] \setupletter [toname={Empfänger}, toaddress={Postfach 123456\\60498 Frankfurt am Main}] \starttext \startletter [opening={Sehr geehrte Damen und Herren,}, closing={Mit freundlichen Grüßen}] \input tufte \stopletter \stoptext 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 ___
[NTG-context] unsubscribe
___ 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] inserting pdf
thank you both. why can't u just extend the the original macro to take a page range? e.g., [page=1-2] Taco Hoekwater wrote: luigi scarso wrote: hmm maybe \copypages Or, if you need more control, something like this: \getfiguredimensions[x.pdf]% \imgcount=\noffigurepages\relax \dorecurse {\the\imgcount} {\externalfigure [x.pdf] [page=\recurselevel]} Best wishes, Taco ___ 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] inserting pdf
Hi Mohamed! Mohamed Bana schrieb: hi folks, assuming x.pdf has more than 1 page, this only inserts the first. i'd like to insert all the pages. how would i do that? \filterpages[file.pdf][1:6][width=18cm] see http://wiki.contextgarden.net/Including_pages_from_PDF_document for more details. Best wishes, Peter startTEXpage \externalfigure[x.pdf] \stopTEXpage \externalfigure[x.pdf][page=1-2] doesn't work either. I have to do; \startTEXpage \externalfigure[x.pdf][page=1] \stopTEXpage \startTEXpage \externalfigure[x.pdf][page=2] \stopTEXpage I'm using $ pdftex --version pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7) and whatever comes with texlive 2008. regards, Mohamed ___ 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] inserting pdf
luigi scarso wrote: > hmm maybe > \copypages Or, if you need more control, something like this: \getfiguredimensions[x.pdf]% \imgcount=\noffigurepages\relax \dorecurse {\the\imgcount} {\externalfigure [x.pdf] [page=\recurselevel]} Best wishes, Taco ___ 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] inserting pdf
On Thu, Oct 8, 2009 at 2:36 PM, Mohamed Bana wrote: > hi folks, > > assuming x.pdf has more than 1 page, this only inserts the first. i'd like > to insert all the pages. how would i do that? > > startTEXpage > \externalfigure[x.pdf] > \stopTEXpage > > > > \externalfigure[x.pdf][page=1-2] > > doesn't work either. I have to do; > > \startTEXpage > \externalfigure[x.pdf][page=1] > \stopTEXpage > > \startTEXpage > \externalfigure[x.pdf][page=2] > \stopTEXpage > > > I'm using > > $ pdftex --version > pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7) > > and whatever comes with texlive 2008. > > regards, > Mohamed > > ___ > 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 > > ___ > hmm maybe \copypages -- luigi ___ 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] inserting pdf
hi folks, assuming x.pdf has more than 1 page, this only inserts the first. i'd like to insert all the pages. how would i do that? startTEXpage \externalfigure[x.pdf] \stopTEXpage \externalfigure[x.pdf][page=1-2] doesn't work either. I have to do; \startTEXpage \externalfigure[x.pdf][page=1] \stopTEXpage \startTEXpage \externalfigure[x.pdf][page=2] \stopTEXpage I'm using $ pdftex --version pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7) and whatever comes with texlive 2008. regards, Mohamed ___ 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] titlepage without page number
Hi! I guess this is a faq, but I didn’t find a way to do it … I want to use pagenumbers in the headings, but no pagenumber on the title page. I try it with: \setupheadertexts[] \setupheadertexts[\setups{header left}][pagenumber][pagenumber][\setups{header right}] \setupfooter[][] \startsetups[header right] \hfill \getmarking[chapter] \stopsetups \startsetups[header left] \getmarking[section] \hfill \stopsetups which gives me the headers I want. (Although I don’t understand why I have to specify the pagenumber two times) But on the titlepage, there is still a number, when I use it with the title module and say: \setuptitle[ page=no, title=…, header=empty, footer=empty ] \startfrontmatter \placetitle \stopfrontmatter I guess, I’m doing somthing wrong, but I cannot figure out what. And btw: Is there a possibility to just print the pagenumber? Hope I made the problem clear, cheers Arno signature.asc Description: OpenPGP digital signature ___ 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] OT: Kindle
On Oct 8, 2009, at 6:27 AM, Mohamed Bana wrote: what does everyone think is the best reader for someone in the UK? i'm thinking of the Kindle DX or the Sony Reader. They're a bit different. If you need the screensize, the Kindle DX is the only real choice (and does support .pdfs) until the PRS-900 comes out (and it has a different screen proportion which IMO isn't going to be as serviceable as the Kindle DX's). I have a Sony PRS-505 which has the same size as the Sony PRS-600, and while it's workable for re-flowable text, and quite nice for text which have been especially formatted for its screen size (excellent example here: http://people.umass.edu/klement/russell-imp.html ), for any technical material w/ charts or figures which one wants to refer to along w/ the matching text, it's sub-optimal. They're both great units and the main reason I chose the PRS-505 over a 1st generation Kindle is that the latter wouldn't fit in my (rather large) shirt pockets. William (who once had shirts tailor-made w/ pockets to hold his Newton MessagePad) -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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] OT: Kindle
> I guess the question is whether or not you are happy with being > able to order from the Amazon store alone. Here is a (i think) > useful comparison chart (by iReX, a competitor): I saw a presentation form iRex yesterday, and got to hold a few of their projects. Pretty neat, the latest ones even have 3G connectivity (US only for now, they're working on covering Europe as well). What's particularly cool about their readers is that they run on Linux and allow customization and installing / developing of applications. Gr. Matthijs signature.asc Description: Digital signature ___ 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] OT: Kindle
Mohamed Bana wrote: what does everyone think is the best reader for someone in the UK? i'm thinking of the Kindle DX or the Sony Reader. Can I get some thoughts please. I guess the question is whether or not you are happy with being able to order from the Amazon store alone. Here is a (i think) useful comparison chart (by iReX, a competitor): http://www.irexreader.com/pdf/IREX-comparison-readers.pdf Best wishes, Taco ___ 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] OT: Kindle
what does everyone think is the best reader for someone in the UK? i'm thinking of the Kindle DX or the Sony Reader. Can I get some thoughts please. Wolfgang Schuster wrote: Hi all, Amazon sells his Kindle now also outside of the US: http://bit.ly/IGfV9 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 ___ ___ 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] [OT] Courier
http://gizmodo.com/5370223/courier-tablet-runs-windows-7-hardware-made-by-microsoft -- luigi ___ 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] composed words and hanging punctuation
I figured it out. Jeremy Hughes writes: > Hi all, > > Dashes in composed words do not hang when hanging punctuation is > used. When a line break falls after `whisky' in this sentence: > >the repellent whisky|-|craving woman > > the dash doesn't hang. To make the dash hang I resort to this: > >the repellent whisky-\allowbreak craving woman > > Is there a better way? Added the following definitions: \definetextmodediscretionary {} {\hyphenliketextmodediscretionary{–}{–}} \definetextmodediscretionary - {\hyphenliketextmodediscretionary{-}{-}} > A related question: > I want |<| and |>| to allow breaking on either side. > >\zerowidthspace---\zerowidthspace > > works when placed directly in the text, but not when used as the > definition of `leftsentence' in the `setuplanguage' command. How do I > change this behavour? And these ones: \setuplanguage [en] [leftsentence={\allowbreak—}, rightsentence={—\allowbreak}] Now it's all peachy :-) Jeremy ___ 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] OT: Kindle
Hi all, Amazon sells his Kindle now also outside of the US: http://bit.ly/IGfV9 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 ___