Re: [NTG-context] Numbering in Table of Content
and it doesn't work. The title and subject parts never get into the generated TOC. Any idea why? Thanks very much! Not sure, seems to work for me. Though I do get two TOCs, one for front matter, one for body matter -- the limit of my knowledge is reached here. Are you all current and updated? Martin toc entries.pdf Description: video/flv ___ 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] Trouble with customising section heads
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.08.10 17:02, schrieb Elias Oltmanns: In the attempt to customise my section headings by means of \setuphead[section][...command=] I followed the instructions at http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings . For the purposes of testing, I've installed a current minimals distribution. As it turns out, neither MkII nor MkIV processes the attached example as expected: MkII The table of contents is incomplete, even though the wiki says it shouldn't be; MkIV \currentheadnumber seems to be 0 all the time. [...] %% \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum] \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect }{}] Since I need customised headings like above in the same document that also features footnotes in the margin, I'm wedged now. As explained in http://archive.contextgarden.net/message/20100812.153552.6606809c.en.html , I'm forced to use MkII to get footnote ordering right. On the other hand, only MkIV produces a complete table of contents when I customise the headings in that document. Is there any chance to get one of those bugs fixed or to find a suitable workaround in either of the two versions of ConTeXt? Thank you ever so much for any help, Elias ___ 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] Issues with MetaPost boxes
On 08/14/2010 05:40 PM, taco wrote: Andreas Schneider wrote: Since some weeks I have strange problems with MetaPost in MKIV (beta). The attached example should (and did in the past) output a central box (Fakt) surrounded by five boxes named Dimension. However some of them (in that particular example one) is drawn wrong: the box is on the right spot, but the label seems to be at 0,0. It seems to happen whenever the boxes are drawn from within a loop - at least all of my problems with boxes show similar symptoms and only occur within loops. Any ideas what goes wrong here? Probably a metapost bug, I'll check. There were actually two metapost bugs from that single example. Next week's luatex beta will have a fix for both. Bug 1: show 45[; % 1.502 gives true, should be false Bug 2: pair a[]b; a1b = (50,50); pair a[]c; show known a1b; % 1.502 gives false, should be true 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 ___
[NTG-context] xits font in ~/.fonts
Hi, I cannot use xits fonts if they are placed in $HOME/.fonts. For example, if I use \setupbodyfont[xits] I get a series of messages define fonts forced type otf of xits-regular not found define fonts font with name xits-regular is not found define fonts unknown font xits-regular, loading aborted define fonts unable to define xits-regular.otf as \*xits11ptrmtfc* I also tried to use the fonts with simplefonts. \usemodule[simplefonts] \setmainfont[XITS] \setmathfont[XITS Math] falls back to LM math while \usemodule[simplefonts] \setmainfont[XITS] \setmathfont[XITS] gives XITS-Regular as the math font (and not XITS-Math). Other fonts in $HOME/.fonts, in particular cambria, work with both methods. \setupbodyfont[cambria] and \usemodule[simplefonts] \setmainfont[Cambria] \setmathfont[Cambria] both work. Here is the output of mtxrun --script font --list cambria* --all cambria cambriabold /home/adityam/.fonts/microsoft/cambriab.ttf cambriabold cambriabold /home/adityam/.fonts/microsoft/cambriab.ttf cambriabolditalic cambriabolditalic /home/adityam/.fonts/microsoft/cambriaz.ttf cambriaitalic cambriaitalic /home/adityam/.fonts/microsoft/cambriai.ttf cambriamath cambriamath /home/adityam/.fonts/microsoft/cambria.ttcindex: 0 cambriamathnormal cambriamath /home/adityam/.fonts/microsoft/cambria.ttcindex: 0 cambrianormal cambriaitalic /home/adityam/.fonts/microsoft/cambriai.ttf and mtxrun --script font --list xits* --all brushscriptxitalic brushscriptxitalic BrushScriptX-Italic.afm venturissansadfexitalic venturissansadfexitalic VenturisSansADFEx-Italic.otf venturissansadfno2exitalic venturissansadfno2exitalic VenturisSansADFNo2Ex-Italic.otf xits xits /home/adityam/.fonts/xits-math/xits-regular.otf xitsbold xitsbold /home/adityam/.fonts/xits-math/xits-bold.otf xitsbolditalic xitsbolditalic /home/adityam/.fonts/xits-math/xits-bolditalic.otf xitsitalic xitsitalic /home/adityam/.fonts/xits-math/xits-italic.otf xitsmath xitsmath /home/adityam/.fonts/xits-math/xits-math.otf xitsmathnormal xitsmath /home/adityam/.fonts/xits-math/xits-math.otf xitsmathregular xitsmath /home/adityam/.fonts/xits-math/xits-math.otf xitsnormal xitsitalic /home/adityam/.fonts/xits-math/xits-italic.otf xitsregular xits /home/adityam/.fonts/xits-math/xits-regular.otf Any idea what is going on. If I move the fonts inside $TEXMF everything works. 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 ___
[NTG-context] [PATCH] small corrections for the ConTeXt-correspondence manual
Dear ConTeXt folks, this is my first post and I am looking forward to get more acquainted with ConTeXt. I read the ConTeXt-correspondence manual (module letter [1]) and attached you will find some formal fixes for the source files gotten from [2]. If I should sent each patch as a separate message, please tell me. I was not able to get a PDF created with my Debian Sid/unstable system, so I could not test my changes. $ texexec correspondence.tex […] ! Undefined control sequence. l.139 \doifolderversionelse \contextversion{\currentmoduleparameter\c!context... I hope this is the right way to contact the authors and to submit the patches. If not, please tell me the preferred way. As a last remark, I would really love to see the sources and documentation of modules under SCM so contributing would be easier. There are some free services for free software projects as for example Gitorious [3]. Thanks, Paul [1] http://modules.contextgarden.net/letter [2] ftp://tug.ctan.org/pub/tex-archive/macros/context/contrib/context-letter [3] http://www.gitorious.org/ From e913be0481970c11a99240c1705a1b279ad92e93 Mon Sep 17 00:00:00 2001 From: Paul Menzel paulepan...@users.sourceforge.net Date: Fri, 13 Aug 2010 18:26:06 +0200 Subject: [PATCH 1/6] correspondence-introduction.tex: Corrected. Signed-off-by: Paul Menzel paulepan...@users.sourceforge.net --- correspondence-introduction.tex | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/correspondence-introduction.tex b/correspondence-introduction.tex index 6466e41..2603c81 100644 --- a/correspondence-introduction.tex +++ b/correspondence-introduction.tex @@ -14,15 +14,15 @@ The core for the first version was based on the letter manual from Hans Hagen the module. As the time past more and more parts had been added to the package and it ended up -in a similar interface as the \LaTeX-classes but with it’s own commands to set user -values. Because of it’s origin in Hans module the user interface and the low level -parts are split in two different files and many more interfaces for the users are +in a similar interface as the \LaTeX-classes but with its own commands to set user +values. Because of its origin in Hans’ module the user interface and the low level +parts are split in two different files and many more interfaces for users are possible, one of them tries to mimic the style of Hans module. -As the time past the author wrote generic version of the complete setup commands +As the time past the author wrote a generic version of the complete setup commands and a few other in the letter core and created the new file \filename{t-correspondence.tex} which holds now the low level code. As a result of this the new file -\filename{t-resume.tex} became part of the package with it’s own setup commands +\filename{t-resume.tex} became part of the package with its own setup commands and external style and interface files. \stopcomponent -- 1.7.1 From 89801b34cadcf27e568f974ab6aa4de851a486d5 Mon Sep 17 00:00:00 2001 From: Paul Menzel paulepan...@users.sourceforge.net Date: Fri, 13 Aug 2010 19:07:44 +0200 Subject: [PATCH 2/6] c-l-beginner.tex: Typos, typography, formulations and additions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. I cannot test my changes since my ConTeXt environment is too old. 2. I am not a native English speaker. So please review my corrections. 3. Use correct apostrophee ’ and ellipse …. 4. Added example text to `\ps{}`, `\encl{}` and `\cc{}`. Signed-off-by: Paul Menzel paulepan...@users.sourceforge.net --- correspondence-letter-beginner.tex | 82 ++-- 1 files changed, 41 insertions(+), 41 deletions(-) diff --git a/correspondence-letter-beginner.tex b/correspondence-letter-beginner.tex index 6854591..05925b0 100644 --- a/correspondence-letter-beginner.tex +++ b/correspondence-letter-beginner.tex @@ -2,11 +2,11 @@ \environment correspondence-environment -\chapter{Beginners guide} +\chapter{Beginners’ guide} -The most important in the module for the users is the interface to write the letter text and to set the values for one or more letters. +The most important thing in the module for the users is the interface to write the letter text and to set the values for one or more letters. -You will learn how to write a letter with the module step by step, beginning with just a few lines of text, following with opening and closing sentences and at the end after you know how to set every kind of information you will finally learn how to change the position of the reference line and how to change the texts for the labels and to customise their style and color. +You will learn how to write a letter with the module step by step, beginning with just a few lines of text, following with opening and closing sentences and at the end, after you know how to set
[NTG-context] subject kills bookmarks?
Hi, Why does subject kill bookmarks when used as first entry? See attached example. (I am not sure whether I misunderstood the structural logic that's used for bookmarks.) Steffen \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \setupbodyfont[mscore,12pt] \defineconversion [greekone] [α,β,γ,δ,ε,ζ,η,θ,ι,κ,λ,μ,ν,ξ,ο,π,ρ,σ,τ,υ,φ,χ,ψ,ω] \setuphead [chapter] [sectionsegments=2:2,conversion=numbers,sectionstarter={},sectionstopper={.}] \setuphead [section] [sectionsegments=3:3,conversion=characters,sectionstarter={},sectionstopper={)}] \setuphead [subsection] [sectionsegments=4:4,conversion=greekone,sectionstarter={(},sectionstopper={)}] \placebookmarks[chapter,section,subsection,subsubsection,subject][all][force=yes] \starttext \placelist[chapter,section,subsection,subsubsection,subject][criterium=all] \subject{Vorwort}% Here bookmarks are killed? \chapter{Eins} % \subject{Vorwort}% Here it would work! \section{Klein A} \section{Klein B} \subsection{Alpha} \subsection{Beta} \chapter{Zwei} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Issues with MetaPost boxes
On Sun, 15 Aug 2010 17:34:25 +0200, Taco Hoekwater t...@elvenkind.com wrote: There were actually two metapost bugs from that single example. Next week's luatex beta will have a fix for both. Thanks for investigating and fixing it so fast! (well, I hope; we will see ;-)) 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 ___
[NTG-context] Bib Module: \cite can kill spaces
Hi, I don't know how exactly it happens, but in the attached example the last footnote is missing a space before the inserted \cite. In my real document that happens a lot and kills the layout. Anything I can do to fix that? Best Regards, Andreas.\mainlanguage[de] \usemodule[bib] \setuppublications[alternative=apa-de] \startpublication[k=Bellinger2004,t=article, a={{Bellinger},{}},y=2004, n=3,s=BCM04] \artauthor[]{G.}[G.]{}{Bellinger} \artauthor[]{D.}[D.]{}{Castro} \artauthor[]{A.}[A.]{}{Mills} \pubyear{2004} \arttitle{Data, information, knowledge, and wisdom} \journal{Retrieved August} \volume{31} \pages{2004} \stoppublication \def\prefix{Vgl. } \starttext \footnote{\prefix\cite[alternative=data][Bellinger2004]} \footnote{\prefix{}other text} \footnote{\prefix\cite[alternative=authorkey][Bellinger2004]} \footnote{\prefix\cite[alternative=data][Bellinger2004]} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bib Module: \cite can kill spaces
On Sun, 15 Aug 2010 19:14:53 +0200 Andreas Schneider ak...@gmx.de wrote: Hi, I don't know how exactly it happens, but in the attached example the last footnote is missing a space before the inserted \cite. In my real document that happens a lot and kills the layout. Anything I can do to fix that? Best Regards, Andreas. Ugly workaround: \def\prefix{Vgl. \strut} % or \null But I have no idea what's happening here, maybe Hans or Taco can come up with a real solution. \cite[alternative=data] seems to eat any horizontal space before it; I don't know if this is a bug or a feature. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bib Module: \cite can kill spaces
Thomas Schmitz wrote: On Sun, 15 Aug 2010 19:14:53 +0200 Andreas Schneider ak...@gmx.de wrote: Hi, I don't know how exactly it happens, but in the attached example the last footnote is missing a space before the inserted \cite. In my real document that happens a lot and kills the layout. Anything I can do to fix that? Best Regards, Andreas. Ugly workaround: \def\prefix{Vgl. \strut} % or \null But I have no idea what's happening here, maybe Hans or Taco can come up with a real solution. \cite[alternative=data] seems to eat any horizontal space before it; I don't know if this is a bug or a feature. It probably does an \unskip to get rid of bad vertical space in the publication list. Use the workaround Thomas offered, as it is not safe to change that. 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 ___
[NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
2009/12/17 Boštjan Vesnicer bostjan.vesni...@gmail.com: Do the typescripts for the MathTime fonts exist? I have the same question. Anyone could give us some typescripts for MathTimePro 2 please. Thanks, On Wed, Dec 16, 2009 at 9:12 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: FYI, http://www.texdev.net/2009/12/16/mathtime-lite-fonts-for-free/ 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] Bib Module: \cite can kill spaces
On Sun, 15 Aug 2010 20:09:07 +0200, taco t...@elvenkind.com wrote: Thomas Schmitz wrote: Ugly workaround: \def\prefix{Vgl. \strut} % or \null But I have no idea what's happening here, maybe Hans or Taco can come up with a real solution. \cite[alternative=data] seems to eat any horizontal space before it; I don't know if this is a bug or a feature. It probably does an \unskip to get rid of bad vertical space in the publication list. Use the workaround Thomas offered, as it is not safe to change that. Best wishes, Taco I always learn something new here. And by the way: you guys are really damn fast :-) Thank you very much! (once again :-)) 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 ___
Re: [NTG-context] beta: PDF/X interface
On Tue, Aug 10, 2010 at 9:42 PM, Peter Rolf indi...@gmx.net wrote: Hi, a quick description of the PDF/X interface for all testers. More documentation in the (hopefully near) future. http://wiki.contextgarden.net/PDFX -- 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 ___