Re: [NTG-context] Pesky list problem
2007/10/20, John Culleton [EMAIL PROTECTED]: On Friday 19 October 2007 05:24:14 pm [EMAIL PROTECTED] wrote: I tried building my own TOC as follows: ... \definelist[subject][alternative=a] \definelist[subsubject][alternative=a] \definelist[subsubsubject][alternative=a] \definecombinedlist[foo] [subject,subsubject,subsubsubject] [level=subsubsubject,criterium=local] \setupcombinedlist[foo] \starttext \title{Annotated Booklist} ... \placelist[foo] \subject{Top Choices} \subsubject{General Publishing} This set of commands stops with errors. What stupid thing did I do this time? -- John Culleton Gave up on the above attempt, went back to the default chapter, section, subsection, subsubsection and suppressed numbering. Now I am where I wanted to be in the first place. When I set up interaction for subsubsection all the levels became interactive. Don't know why. So for section and subsection I added ...interaction=pagenumber Since I had previously eliminated page numbers for these levels in the TOC that faked out the interaction. Now I need to add a thumbnail for the index so folks can get back there from any point. Will try the pdftex command. Hi John, it's a little bit too late but I found a way to put also subjects to the table of contents, you can do this with a setup command in \setuphead. \setuphead [subject] [incrementnumber=list] This can help you in your next project if you want both a numbered and a unnumbered section header in your document but both of them should appear in the content list. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Turn off interaction in some TOC levels?
2007/10/20, John Culleton [EMAIL PROTECTED]: I want interaction at the subsubsection level but not higher. I have turned off line numbers for section and subsection. However both these levels remain interactive. The whole line is blue. I tried interaction=pagenumber, interaction=sectionnumber, interaction=no, interaction=none, and no interaction parameter at all at these levels. Nevertheless the whole entry remains interactive. some code: \setupcolors[state=start] \setuphead[chapter][head=nomarking,number=no] \setuphead[section][number=no,textcommand=\bf] \setuphead[subsection][number=no] \setuphead[subsubsection][number=no] \setupinteraction[state=start,color=blue] \setuplist[section][alternative=f,style=bold,interaction=sectionnumber] \setuplist[subsection][alternative=f,interaction=no] \setuplist[subsubsection][alternative=a,interaction=all] The good news is that I found a handy way to bookmark just the index in Acrobat Reader. I filched some code from an old Han The Thanh file: \pdfcatalog{/PageMode /UseOutlines} % bookmark window open \newcount\marknumber\marknumber=1 \def\bookmark#1#2{% \pdfdest num \marknumber xyz \pdfoutline goto num \marknumber count #1 {#2} \advance\marknumber by 1} . \bookmark{0}{Index} \placecontent ... The explanation of the format of the \pdfoutline command in the manual wasn't clear to me but the above macro clears it up. -- John Culleton http://wexfordpress.com/tex/shortlist.pdf Hi John, the hyperlinks are hardcoded in the list alternatives e, f and g. The only to get your desired solution is to write your own list alternatives. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Compatiblity option in pdf
I created a short document http://wexfordpress.com/tex/shortlist.pdf using Context and with a clickable TOC and one thumbnail. The thumbnail was created with the Han The Thanh pdftex macro code I mentioned recently. Some users view it fine, others with earlier versions of Acrobat Reader have problems. A friend ftom the InDesign/Distiller world suggests that I recreate the pdf with the compatibility option turned on. Does this suggestion have any meaning in the Context/pdftex world? Can interested readers read the above url OK? -- John Culleton Want to know what I really think? http://apps.wexfordpress.net/blog/ And my must-read (free) short list: http://wexfordpress.com/tex/shortlist.pdf _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ 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] Compatiblity option in pdf
Hi John, John Culleton schrieb: I created a short document http://wexfordpress.com/tex/shortlist.pdf using Context and with a clickable TOC and one thumbnail. The thumbnail was created with the Han The Thanh pdftex macro code I mentioned recently. Some thumbnail or bookmark ? users view it fine, others with earlier versions of Acrobat Reader have problems. A friend ftom the InDesign/Distiller world suggests that I recreate the pdf with the compatibility option turned on. Does this suggestion have any meaning in the Context/pdftex world? just guessing... \pdfminorversion 3 or \pdfobjcompresslevel=0 % 0-3 (default 3); 0= don't compress object streams If I remember it right Acrobat versions 6 can't read pdf with obj stream compression. See pdftex manual for details. Can interested readers read the above url OK? Yep! Greetings, 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] Compatiblity option in pdf
2007/10/22, John Culleton [EMAIL PROTECTED]: problems. A friend ftom the InDesign/Distiller world suggests that I recreate the pdf with the compatibility option turned on. Does this suggestion have any meaning in the Context/pdftex world? No. :-) Can interested readers read the above url OK? It's PDF 1.5, so readers need at least AR6. You can switch to e.g. PDF 1.3 with \pdfminorversion=3 Best Martin ___ 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] Compatiblity option in pdf
2007/10/22, Peter Rolf [EMAIL PROTECTED]: \pdfobjcompresslevel=0 % 0-3 (default 3); 0= don't compress object streams If I remember it right Acrobat versions 6 can't read pdf with obj stream compression. See pdftex manual for details. If they can read PDF 1.5 (i.e. AR6++), they can also handle stream compression. Best Martin ___ 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] Compatiblity option in pdf
2007/10/22, John Culleton [EMAIL PROTECTED]: I created a short document http://wexfordpress.com/tex/shortlist.pdf using Context and with a clickable TOC and one thumbnail. The thumbnail was created with the Han The Thanh pdftex macro code I mentioned recently. Some users view it fine, others with earlier versions of Acrobat Reader have problems. A friend ftom the InDesign/Distiller world suggests that I recreate the pdf with the compatibility option turned on. Does this suggestion have any meaning in the Context/pdftex world? Can interested readers read the above url OK? -- John Culleton Hi John, the output looks fine to me, I see your document on Acrobat 8.1 at a Windows machine and have no problems. Your friend could mean to reduce the PDF version of your document, you could use PDFTeX's \pdfminorversion for this purpose. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Compatiblity option in pdf
Wolfgang Schuster wrote: 2007/10/22, John Culleton [EMAIL PROTECTED]: I created a short document http://wexfordpress.com/tex/shortlist.pdf using Context and with a clickable TOC and one thumbnail. The thumbnail was created with the Han The Thanh pdftex macro code I mentioned recently. Some users view it fine, others with earlier versions of Acrobat Reader have problems. A friend ftom the InDesign/Distiller world suggests that I recreate the pdf with the compatibility option turned on. Does this suggestion have any meaning in the Context/pdftex world? Can interested readers read the above url OK? -- John Culleton Hi John, the output looks fine to me, I see your document on Acrobat 8.1 at a Windows machine and have no problems. Your friend could mean to reduce the PDF version of your document, you could use PDFTeX's \pdfminorversion for this purpose. indeed if one has a full acrobat one can convert it hwile preflighting the document is ok for acrobat = 6; for acrobat 4/5 transparency flattening and/or layer info is to be discarded; - 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 - ___ 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] Compatiblity option in pdf
On Monday 22 October 2007 12:53:21 pm Peter Rolf wrote: Hi John, John Culleton schrieb: I created a short document http://wexfordpress.com/tex/shortlist.pdf using Context and with a clickable TOC and one thumbnail. The thumbnail was created with the Han The Thanh pdftex macro code I mentioned recently. Some thumbnail or bookmark ? Bookmark. I was writing one and thinking the other. -- John Culleton Want to know what I really think? http://apps.wexfordpress.net/blog/ And my must-read (free) short list: http://wexfordpress.com/tex/shortlist.pdf ___ 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 ___