Re: [NTG-context] Some short questions
On Thu, 29 Apr 2010 07:41:52 +0200 Antoine Cailliau antoinecaill...@gmail.com scribit: Hi, I'm looking for two specific tricks: First, declaring one (and only one) page as empty. I mean with no footer/header texts. This is for my cover page, and some page left intentionnaly blank. essaye: \page\noheaderandfooterlines Second, I want to change the layout (margin, textwidth, etc) of a page. I know there is a clean way to declare a new layout for a specific page but I can't find my source again. Thanks in advance for your answers, Antoine ___ 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 ___ -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___ 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] Some short questions
Am 29.04.10 07:41, schrieb Antoine Cailliau: Hi, I'm looking for two specific tricks: First, declaring one (and only one) page as empty. I mean with no footer/header texts. This is for my cover page, and some page left intentionnaly blank. \page[empty] or \starttextmakeup \stoptextmakeup Second, I want to change the layout (margin, textwidth, etc) of a page. I know there is a clean way to declare a new layout for a specific page but I can't find my source again. \definelayout[myspecialpage][width=...,height=...,] \starttext ... \page \setuplayout[myspecialpage] ... \page \setuplayout[reset] ... \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] bibliography overprinting and out of order
For example, with this .bbl file: \setuppublicationlist[samplesize={Gob06},totalnumber=3] \startpublication[k=siBrochure,t=techreport, a={{Gobel}},y=2006, n=1,s=Gob06] \author[]{E.}[E.]{}{Gobel} \pubyear{2006} \title{The international system of units} \pubname{Organisation Intergouvernementale de la Convention} \stoppublication \startpublication[k=siNist,t=techreport, a={{Taylor},{Thompson}},y=2008, n=2,s=TT08] \author[]{Barry~N.}[B.~N.]{}{Taylor} \author[]{Ambler}[A.]{}{Thompson} \pubyear{2008} \title{The international system of units ({\addff{sc}si})} \bibtype{{\addff{sc}nist} Special Publication} \volume{330} \city{Washington, {\addff{sc}dc}} \pubname{The National Institute of Standards and Technology ({\addff{sc}nist}), United States Department of Commerce} \note{http://physics.nist.gov/Pubs/SP330/sp330.pdf} \stoppublication \startpublication[k=siGuide,t=techreport, a={{Thompson},{Taylor}},y=2008, n=3,s=TT08] \author[]{Ambler}[A.]{}{Thompson} \author[]{Barry~N.}[B.~N.]{}{Taylor} \pubyear{2008} \title{Guide for the use of the international system of units ({\addff{sc}si})} \bibtype{{\addff{sc}nist} Special Publication} \volume{811} \city{Washington, {\addff{sc}dc}} \pubname{The National Institute of Standards and Technology ({\addff{sc}nist}), United States Department of Commerce} \note{http://www.nist.gov/physlab/pubs/sp811/index.cfm} \stoppublication and these commands: \usemodule[bib] \setupbibtex[database=Mydatabase] \setuppublications[numbering=yes,alternative=ams,setupinteraction=start] \startext \placepublications[criterium=all] \stoptext ...I get 3 and 2 printing out on top of each other (text overprinting text), and out of order. I'd like the references to be alphabetical (so you can find them by looking in the bibliography), numbered in order, and these numbers used to print the citations. I'd also like to prevent text from printing on top of text (that's so you can read it). ___ 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] Why page is breaking after combined itemize list?
I forgot furnish, that first itemize list is twocolumn (or threecolumn etc.) Jaroslav Dne 29.4.2010 7:17, Jaroslav Hajtmar napsal(a): Hi, all. I want make enumeration list as per: 1. a) b) 2. a) b) etc. When I use: \startitemize[n,columns] \item \startitemize[a][stopper=)] \item Pravděpodobnost \item Logaritmická funkce a~její vlastnosti \stopitemize \item \startitemize[a][stopper=)] \item Rovina a~přímka v~analytické geometrii \item Exponenciální rovnice a~nerovnice \stopitemize etc. \item \startitemize[a][stopper=)] \item Komplexní čísla v~algebraickém tvaru a~operace s~nimi \item Řezy těles \stopitemize \stopitemize %% And here is a regular text after the list : then page page is breaking afer \stopitemize command (and regular text is on next page) although bottom on page with list is enough place. My pagesetup is : \enableregime[utf-8] \mainlanguage[cz] \setuppagenumbering[state=stop] \setuplayout[width=middle, topspace=1cm, header=0mm, footer=0mm] Where is a problem? Thankx Jaroslav ___ 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] Some short questions
Hi, First, declaring one (and only one) page as empty. I mean with no footer/header texts. This is for my cover page, and some page left intentionnaly blank. \page[empty] or \starttextmakeup \stoptextmakeup Second, I want to change the layout (margin, textwidth, etc) of a page. I know there is a clean way to declare a new layout for a specific page but I can't find my source again. \definelayout[myspecialpage][width=...,height=...,] \starttext ... \page \setuplayout[myspecialpage] ... \page \setuplayout[reset] ... \stoptext That was the trick :) Thanks all for your answers. Antoine C. ___ 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] table of contents
Hello, There must be two tables of contents in my document, one in a native language and the other in english. In LaTeX I made new commands \enchapter, \ensection, etc., which I use just after the \chapter or \section command. How do I make such commands in ConTeXt, so that these commands just insert a line into the english table of contents, but do not insert chapter or section in the current page? Thanks, Marius ___ 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] bibliography overprinting and out of order
Michael Saunders wrote: For example, with this .bbl file: ...I get 3 and 2 printing out on top of each other (text overprinting Not here, looks fine. text), and out of order. I'd like the references to be alphabetical (so you can find them by looking in the bibliography), numbered in It should be possible to control this using \setuppublications[sorttype=bbl] but it does not work for me, I get a lua error. I'll create a context bug tracker item. 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] table of contents
Am 29.04.10 12:12, schrieb Marius: Hello, There must be two tables of contents in my document, one in a native language and the other in english. In LaTeX I made new commands \enchapter, \ensection, etc., which I use just after the \chapter or \section command. How do I make such commands in ConTeXt, so that these commands just insert a line into the english table of contents, but do not insert chapter or section in the current page? \mainlanguage[de] \starttext \completecontent %\start\language[en] \start\mainlanguage[en] \completecontent \stop \chapter{\translate[en=Chapter One,de=Kapitel Eins]} \chapter{\translate[en=Chapter Two,de=Kapitel Zwei]} \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 ___
Re: [NTG-context] table of contents
Thank you, Wolfgang for the example. I can't believe this is so simple in ConTeXt. I added this example to wiki. http://wiki.contextgarden.net/Table_of_Contents On Thu, Apr 29, 2010 at 1:19 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 29.04.10 12:12, schrieb Marius: Hello, There must be two tables of contents in my document, one in a native language and the other in english. In LaTeX I made new commands \enchapter, \ensection, etc., which I use just after the \chapter or \section command. How do I make such commands in ConTeXt, so that these commands just insert a line into the english table of contents, but do not insert chapter or section in the current page? \mainlanguage[de] \starttext \completecontent %\start\language[en] \start\mainlanguage[en] \completecontent \stop \chapter{\translate[en=Chapter One,de=Kapitel Eins]} \chapter{\translate[en=Chapter Two,de=Kapitel Zwei]} \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 ___
Re: [NTG-context] How to use musical symbols from a font
Hi, Thanks, Willi, for the idea, but I cannot get it to work. My version of the script \starttext \definefontsynonym[Wingdings][Wingdings.ttf] \definesymbol[box][\getglyph{Wingdings}{\char113}] %\def\Check% % {{\tfa\symbol[box]}} \symbol[box] \stoptext gives the following error (I have Wingdings.ttf in my Windows/Fonts folder): !define font: forced type ttf of Wingdings not found !define font: font with name Wingdings is not found !define font: unknown font Wingdings, loading aborted ! Font \thedefinedfont=Wingdings.ttf at 12pt not loadable: metric data not found or bad. to be read again \relax \symbolicsizedfont ...cale \scaledfontsize \relax \thedefinedfont \getglyph #1#2-{\symbolicfont {#1} \doifnumberelse {#2}\char \donothing #2} \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi to be read again \stoptext l.8 \stoptext ? The approach to using symbols could be done along the following line: \definefontsynonym[Dingbats][uzdr] \definesymbol[box][\getglyph{Dingbats}{\char113}] \def\Check% {{\tfa\symbol[box]}} -- Best Regards, Vyatcheslav Yatskovsky ___ 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] table of contents
One more question regarding the table of contents. I have looked in the wiki and manuals and can't figure out how to enable entries for \title, \subject, \subsubject ... in the table of contents? Thanks, Marius ___ 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] requesting multipass
On 2010-04-27 23:47:03, Hans Hagen wrote: On 27-4-2010 11:09, Philipp Gesang wrote: On 2010-04-2720:02:27, Hans Hagen wrote: On 27-4-2010 5:04, Philipp Gesang wrote: Hi all, how do I trigger another pass? \starttext test \startluacode jobvariables.tobesaved.MyPersonalChecksum = file.checksum(MyName) or no checksum \stopluacode \stoptext the context runner will take care of extra runs then. (I'll think about a more robust user space for such status variables but as long as you use UpperCased names you quite safe.) Nice, following to your advice I just appended an adapted macro to \everybye and it works great. Many, many thanks! Philipp - 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 ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpqgePRJk3Fz.pgp Description: PGP 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] How to use musical symbols from a font
Apparently the font is not found. So make sure that TeX can find the font. Probably you need to check whether the OSFONTDIR is set correctly. Otherwise copy the to a place e.g. texmf-local en run luatools --generate. I hop this helps. Willi On 29 Apr 2010, at 21:53, Vyatcheslav Yatskovsky wrote: Hi, Thanks, Willi, for the idea, but I cannot get it to work. My version of the script \starttext \definefontsynonym[Wingdings][Wingdings.ttf] \definesymbol[box][\getglyph{Wingdings}{\char113}] %\def\Check% % {{\tfa\symbol[box]}} \symbol[box] \stoptext gives the following error (I have Wingdings.ttf in my Windows/Fonts folder): !define font: forced type ttf of Wingdings not found !define font: font with name Wingdings is not found !define font: unknown font Wingdings, loading aborted ! Font \thedefinedfont=Wingdings.ttf at 12pt not loadable: metric data not found or bad. to be read again \relax \symbolicsizedfont ...cale \scaledfontsize \relax \thedefinedfont \getglyph #1#2-{\symbolicfont {#1} \doifnumberelse {#2}\char \donothing #2} \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi to be read again \stoptext l.8 \stoptext ? The approach to using symbols could be done along the following line: \definefontsynonym[Dingbats][uzdr] \definesymbol[box][\getglyph{Dingbats}{\char113}] \def\Check% {{\tfa\symbol[box]}} -- Best Regards, Vyatcheslav Yatskovsky ___ 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] right aligned footnote
Thanks for the answer, but it does not work. I tried MKII and MKIV. Text is still on the left. min example \setupoutput[pdftex] \starttext \setupfootnotes[location=page] \setupnotedefinition[footnote][location=right,align=flushright] a\footnotetext{blabla} b\footnotetext{bububu} \stoptext Dne Thu, 22 Apr 2010 15:58:37 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com napsal(a): Am 20.04.10 23:16, schrieb Honza Pohanka: Hello, I can't find out, how to place footnote on the right side of the page. \setupfootnotes[location=page] \setupnotedefinition[footnote][location=right] This places the number on the right, but the text remains on the left. \setupnotedefinition[footnote][location=right,align=flushright] 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 ___ -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ 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] How to use musical symbols from a font
A-ha! The solution that file name should be wingding.ttf versus wingdings.ttf. OSFONTDIR is ok, my installer sets it properly :) Thanks for help. works perfectly. I only cannot understand what the following do: \def\Check% {{\tfa\symbol[box]}} Apparently the font is not found. So make sure that TeX can find the font. Probably you need to check whether the OSFONTDIR is set correctly. Otherwise copy the to a place e.g. texmf-local en run luatools --generate. I hop this helps. -- Best Regards, Vyatcheslav Yatskovsky ___ 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] Referencing a Figure
I am trying to reference a figure, and the results are not as expected. Here is my snippet. \placefigure[fig:myfigure]{A beautiful circle}{ \startMPcode draw fullcircle scaled 72; \stopMPcode } Isn't Figure \in[fig:myfigure] beautiful? When this code renders, the text says Isn't Figure ?? beautiful? How can I get the correct figure number? Thanks, Troy ___ 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] Referencing a Figure
On Thu, 29 Apr 2010, Troy Henderson wrote: I am trying to reference a figure, and the results are not as expected. Here is my snippet. \placefigure[fig:myfigure]{A beautiful circle}{ \placefigure[][fig:myfigure]{...}{...} \startMPcode draw fullcircle scaled 72; \stopMPcode } Isn't Figure \in[fig:myfigure] beautiful? When this code renders, the text says Isn't Figure ?? beautiful? How can I get the correct figure number? When \placefigure is used with only one optional argument, the optional argument is interpreted as the placement specifier (here, left, right, top, bottom), rather than the label. Aditya ___ 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] Referencing a Figure
Beautiful. Thanks. ___ 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 ___