Re: [NTG-context] Turn off interaction in some TOC levels?
2007/10/22, Wolfgang Schuster <[EMAIL PROTECTED]>: > > > > 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 > > You use the following code to disable the hyperlinks in your list format, the options for interactive are now "all" or "no". \unprotect \def\dodofixdlistelementEFG#1#2#3#4#5#6#7#8% {\noindent \bgroup \def\makelistelement##1##2% {\doifelse{\listparameter\c!interaction}{##1} % better \doifinsetelse {\setbox0\hbox{#2{\showcontrastlocation\??ia{#8}{##2}}}% \linklisttoelement{#4}{#7}{#8}{\box0}} {#2{##2}}}% \makelistelement\v!all % why not text {\dostartlistattributes\c!style\c!color\empty \ignorespaces\dontconvertfont\setstrut \begstrut \limitatedlistentry{#6}% \endstrut \dostoplistattributes}% \egroup \par \listparameter\c!inbetween} \protect 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] 14th century music ("Mensuralnotation")
Hi, I'd like to typeset various symbols (as examples included in normal text lines) from musical notation from the 14th century ("Mensuralnotation"). These symbols can be seen in http://www.unicode.org/charts/PDF/U1D100.pdf I just have absolutely no idea e.g. which font these symbols support ... Could someone show me a way? Thanks, Steffen ___ 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] 14th century music ("Mensuralnotation")
Steffen Wolfrum wrote: > Hi, > > I'd like to typeset various symbols (as examples included in normal > text lines) from musical notation from the 14th century > ("Mensuralnotation"). These symbols can be seen in > > http://www.unicode.org/charts/PDF/U1D100.pdf > > I just have absolutely no idea e.g. which font these symbols support ... > > > Could someone show me a way? Some fast googling found this: http://icking-music-archive.org/software/musixtex/add-ons/readme-of.txt http://icking-music-archive.org/software/musixtex/add-ons/old-feta.tar.gz For just a few symbols using these fonts directly should do, but if you want to typeset music you probably should be using lilypond. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] metapost question
Just wanted to renew my thanks. I used the code from these pages to produce the slides for my lecture, and I really liked the way the polyhedra came out. I always got an error about a "redundant equation" when compiling, but the pdf looks fine. So here's the link (the image with the Platonic solids is on p. 35): http://www.uni-bonn.de/www/Philologie/Personal/Schmitz/Dateien/bilder/ 07_10_23.pdf Thanks Thomas On Oct 8, 2007, at 8:10 PM, Jesse Alama wrote: And here's a page dedicated to the MetaPost package that's used for those polyhedra: http://melusine.eu.org/syracuse/poulecl/geometriesyr16/ Download: http://melusine.eu.org/syracuse/poulecl/geometriesyr16/distrib/ geometriesyr16.tgz Jesse Otared Kavian <[EMAIL PROTECTED]> writes: Hi Thomas, I think you can find what you are looking for at: http://melusine.eu.org/syracuse/poulecl/albums/espace3/ Best regards: OK On 8 oct. 2007, at 15:47, Thomas A. Schmitz wrote: Just because I hope that someone may have done this already: does anyone have metapost code to draw the "Platonic solids" (I hope the attachment comes through). All best Thomas ___ 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] metapost question
Thomas A. Schmitz wrote: > Just wanted to renew my thanks. I used the code from these pages to > produce the slides for my lecture, and I really liked the way the > polyhedra came out. I always got an error about a "redundant equation" > when compiling, but the pdf looks fine. So here's the link (the image use := instead of = then - 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 ___
[NTG-context] luatex
Hi, at the risk of sounding rude or impatient: I'd love to know when new releases of luatex and ConTeXt mkiv can be expected. The latest luatex trunk has some problems (no ligatures, hyphenation flaky) and doesn't work with some of my fonts. Latest ConTeXt beta only works with trunk of luatex. Hans mentioned some fundamental changes in luatex, so I was just wondering. Thanks! Thomas ___ 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] 14th century music ("Mensuralnotation")
Steffen Wolfrum wrote: > Hi, > > I'd like to typeset various symbols (as examples included in normal > text lines) from musical notation from the 14th century > ("Mensuralnotation"). These symbols can be seen in > > http://www.unicode.org/charts/PDF/U1D100.pdf > > I just have absolutely no idea e.g. which font these symbols support ... Hi Steffen, You might want to have a look at this font: http://openfontlibrary.org/media/files/Eimai/191 (though I'm not sure this font covers all the symbols you need.) A good resource for finding fonts is: http://www.alanwood.net/unicode/fonts.html HTH, Jelle ___ 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] luatex
Thomas A. Schmitz wrote: > Hi, > > at the risk of sounding rude or impatient: I'd love to know when new > releases of luatex and ConTeXt mkiv can be expected. The latest > luatex trunk has some problems (no ligatures, hyphenation flaky) and > doesn't work with some of my fonts. Latest ConTeXt beta only works > with trunk of luatex. Hans mentioned some fundamental changes in > luatex, so I was just wondering. later this week there will be a new beta 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 - ___ 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] Fixed floats and header placement
Hi, I have a small document with a few figures and all of them should be placed where I write them in the document. ConTeXt has the 'force' for placefloat to get this but the key has also many sideeffects. Take the following example, the second headers appears at page 4 but the rest of the page is empty and the figures continue at page 5. I tried to use another value \fixedfloatmethod but none of them give a prefect result. - \chardef\fixedfloatmethod=0 put the socnd header an page 2 - \chardef\fixedfloatmethod=1 put the second header at the bottom of the first page - \chardef\fixedfloatmethod=2 put the second header at the bottom of page 3 and the figures continue an page 4 - \chardef\fixedfloatmethod=3 is the default with a empty page 4 except the second header \setupfloat[figure][default=force] \starttext \dorecurse{2} {\section{Section} \dorecurse{6}{\placefigure{none}{\framed[width=12cm,height=8cm]{ \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 14th century music ("Mensuralnotation")
Hi Jelle, Am 23.10.2007 um 14:58 schrieb Jelle Huisman: > Steffen Wolfrum wrote: >> Hi, >> >> I'd like to typeset various symbols (as examples included in normal >> text lines) from musical notation from the 14th century >> ("Mensuralnotation"). These symbols can be seen in >> >> http://www.unicode.org/charts/PDF/U1D100.pdf >> >> I just have absolutely no idea e.g. which font these symbols >> support ... > > Hi Steffen, > > You might want to have a look at this font: > http://openfontlibrary.org/media/files/Eimai/191 (though I'm not sure > this font covers all the symbols you need.) > > A good resource for finding fonts is: > http://www.alanwood.net/unicode/fonts.html Indeed: via this link (alanwood.net) I found http://users.teilar.gr/ ~g1951d/ and there http://users.teilar.gr/~g1951d/Musical.pdf (plus the corresponding font) Unbelievable stuff! Byzantine notation!! I never dared to hope that all this is available (and even non-commercial) with fonts ... Thank you very much, Steffen ___ 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] Numbered subitems
Hi, I want to make a numbered list as follows *Artikel 1. First artikel *1.1. Text for item 1.1. 1.2. Text for item 1.2 *Artikel 2. Second artikel* 2.1. Text for item 2.1 2.2. Text for item 2.2 etc. I am trying to accomplish this with \setupitemgroup and \defineitemgroup as follows, but the second level start also with Artikel and is indented. I looked at the some of the emails relating to numbered subitems but could not find a working example. Thanks for any help Wim % test code \defineitemgroup[mylist][levels=2] \setupitemgroup[mylist][1][atmargin][n,repeat] \setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel ] \setupitemgroup[mylist][2][atmargin][n,repeat] \setupitemgroup[mylist][2][width=2em,stopper=.,left=] \startext \startmylist \head First artikel \startmylist \item Text for item 1.1. \item Text for item 1.1. \stopmylist \head Second artikel \startmylist \item Text for item 2.1 \item Text for item 2.2 \stopmylist \stopmylist \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] 14th century music ("Mensuralnotation")
> Unbelievable stuff! Byzantine notation!! I never dared to hope that > all this is available (and even non-commercial) with fonts ... It's part of Unicode, that's why. If I remember correctly there was a talk at TUG'04 (in Greece!) about that (but I doubt the devised macro package was Unicode-compliant). Arthur ___ 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] 14th century music ("Mensuralnotation")
Steffen Wolfrum wrote: > Hi Jelle, > > > Am 23.10.2007 um 14:58 schrieb Jelle Huisman: >> Steffen Wolfrum wrote: >>> Hi, >>> >>> I'd like to typeset various symbols (as examples included in normal >>> text lines) from musical notation from the 14th century >>> ("Mensuralnotation"). These symbols can be seen in >>> >>> http://www.unicode.org/charts/PDF/U1D100.pdf >>> >>> I just have absolutely no idea e.g. which font these symbols >>> support ... >> Hi Steffen, >> >> You might want to have a look at this font: >> http://openfontlibrary.org/media/files/Eimai/191 (though I'm not sure >> this font covers all the symbols you need.) >> >> A good resource for finding fonts is: >> http://www.alanwood.net/unicode/fonts.html > > > Indeed: via this link (alanwood.net) I found http://users.teilar.gr/ > ~g1951d/ and there > > http://users.teilar.gr/~g1951d/Musical.pdf > (plus the corresponding font) > > Unbelievable stuff! Byzantine notation!! I never dared to hope that > all this is available (and even non-commercial) with fonts ... indeed how about adding such top level links to the wiki (some font resource page) 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 - ___ 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] MKIV: encoding for pdf-strings
Hi Peter, On Tue, 23 Oct 2007 13:30:23 -0600, Peter Münster <[EMAIL PROTECTED]> wrote: > When using luatex, utf encoding is not taken into account in > pdf-strings. Minimal example: > > % engine=luatex > \enableregime[utf] > \setupinteraction[state=start,author=Peter Münster] > \starttext > Peter Münster > \stoptext > > Output of pdfinfo: > Author: Peter Münster Hmm, it works here... === Author: Peter Münster Creator:ConTeXt - 2007.08.07 17:52 Producer: luaTeX-0.10.1 === But why are you using \enableregime[utf]? I think that's redundant... A curiosity: With \enableregime[utf] commented the file size is 2919 bytes, with it uncommented it's 2918 bytes. I wonder where the extra 1-byte savings with \enableregime[utf] is coming from... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] MKIV: encoding for pdf-strings
Hello, When using luatex, utf encoding is not taken into account in pdf-strings. Minimal example: % engine=luatex \enableregime[utf] \setupinteraction[state=start,author=Peter Münster] \starttext Peter Münster \stoptext Output of pdfinfo: Author: Peter Münster Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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] MKIV: encoding for pdf-strings
Peter Münster wrote: > Hello, > > When using luatex, utf encoding is not taken into account in > pdf-strings. Minimal example: > > % engine=luatex > \enableregime[utf] > \setupinteraction[state=start,author=Peter Münster] > \starttext > Peter Münster > \stoptext > > Output of pdfinfo: > Author: Peter Münster some day soon i will rewrite the pdf backend for mkiv 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 - ___ 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] MKIV: encoding for pdf-strings
On 10/23/07, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote: > A curiosity: With \enableregime[utf] commented the file size is 2919 > bytes, with it uncommented it's 2918 bytes. > > I wonder where the extra 1-byte savings with \enableregime[utf] is coming > from... The '%', perhaps? ;) I'd have guessed the 'ü' (U+00FC) can be encoded as the two-byte utf-8 stream or as a single Windows-1252 character, except that it's the utf-8 version that's shorter… --Joel ___ 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] metapost question
On Oct 23, 2007, at 2:26 PM, Hans Hagen wrote: > use := instead of = then > Well yes, but this was a pretty intricate package with lots of included files, so I found it difficult to trace down which equation was causing the trouble. However, I found the resilt very nice. Best Thomas ___ 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] MKIV: encoding for pdf-strings
On Tue, 23 Oct 2007, Idris Samawi Hamid wrote: > > % engine=luatex > > \enableregime[utf] > > Hmm, it works here... > > === > Author: Peter Münster > Creator:ConTeXt - 2007.08.07 17:52 > Producer: luaTeX-0.10.1 > === Perhaps, it's the luaTeX version: mine is 0.11.2 > But why are you using \enableregime[utf]? I think that's redundant... With this line, it's easier to compare against MKII: you only need to change engine=luatex to engine=pdftex. Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 ___