Re: [NTG-context] Problems with bibtex and @incollection
En/na Taco Hoekwater ha escrit: Xan wrote: Hi, When I put one reference as @incollection Bibtex does not show me the title of the article in the book, but yes the booktitle. Why?. Anyone could help me please. I attached the files Nearly the same answer I gave to Charles Doherty two weeks ago seems to apply: In bibl-ams.tex, the \insertarttitle is commented out (line 286). I have no idea whether that is 'officially' correct or not, but you could remove the comment sign and see if the result pleases you. Best wishes, Taco Thanks, Taco. Moreover the file (that is located at /usr/share/texmf/tex/context/bib/bibl-ams.tex) has incorrect style: by default the title is join (with no space and no comma) of author. I send you the correct style: \setuppublicationlayout[incollection]{% \insertartauthors{}{}{\insertthekey{}{, }{}}% \insertarttitle{, \bgroup }{\egroup}{}% \inserttitle {, in % \bgroup\it}% {\egroup \inserteditors{, edited by }% {}% {} \insertseries {\insertvolume{, number }{~in }{ }}% {}% {}% \insertchap{\unskip, }{ }{ }% \insertpubyear{(% \insertpublisher{}%{, }%{}% }{)\insertEdition{, }{ ed. }{}}{}% \insertpages{\unskip, p.~}{. }{\unskip. }% }% {In \insertcrossref{}{}{}% \insertchap{\unskip, }{ }{ }% \insertpages{\unskip, p.~}{. }{\unskip. }% }% \insertNote{ }{.}{}% } Thanks a lot and I hope that this will be fixed soon. Xan. ___ 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] Horizontal bar vs emdash
Maurício wrote: Hi, I know I can input an emdash with: \emdash Is there an alternative when I want an horizontal bar? See this, where I found they can be different: http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage#Quotation_dash They have different unicode numbers, U+2014 and U+2015. (Is there something similar to \showcharacters? I read in tex/texmf-context/tex/context/base/enco-ini.mkiv it's in a todo list, but I thought it's worth asking.) there's actually a lot of 'show' code ... for instance \usemodule[fnt-10] \ShowCompleteFont{name:texgyrepagella-regular}{10pt}{1} as encoding is no longer a real issue, such helpers will not end up in the core anymore but be replaced by variants in modules 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] Bug in mkiv math mode: missing \longrightarrow
Otared Kavian wrote: On 5 juin 09, at 14:38, Aditya Mahajan wrote: On Fri, 5 Jun 2009, Otared Kavian wrote: […] In mkiv nothing appears for \longrightarrow, although the typesetting goes through. Currently, \longrightarrow (and few other composed symbols) only work with unicode fonts (cambria and asana math). We need to figure out a clean way to deal with composed symbols in mkiv. Aditya Thanks Aditya, I understand. Should I gather such bugs in a file and submit it later, without cluttering the mailing list with each of them? that would help also, it would be nice to have a collection of test files (the same for structure) - 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] 3D PDF support (AKA asymptote support)
Michail Vidiassov wrote: Dear Hans, On Fri, 5 Jun 2009, Hans Hagen wrote: a draft for an analog of LaTeX movie15 package for including Adobe Reader compatible 3d models into PDF files is at i'll have a look at it next week; the interface needs some more thinking from my side; in principle we should not use externalfigure here but the rendering mechanism BTW, the mechanism ConTeXt uses to include movies (it served me as a starting point) is described in part 13.4 Movies of PDF 32000-1:2008 ISO/Adobe spec, but preceded there with the following note: The features described in this sub-clause are obsolescent and their use is no longer recommended. They are superseded by the general multimedia framework described in 13.2, ???Multimedia.??? Thus even more thinking may be desirable... well, the multimedia support has been there already for a while in context (not documented because when i played with it those parts of acrobat reader were not that stable yet) ... (x-res-50 uses some of it) and it's for this reason that the code sits in cont-new.tex - 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] Substititute ?
Nicolas Girard wrote: Hi, shouldn't substititute be substi..., err..., replaced with substitute, in rlxtools.rb, lines 115, 148 and 207 ? sure - 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] unicode no-break spaces
Peter Münster wrote: Hello, This used to work with MKIV, but with today's version, it does not: \starttext X X THIN SPACE (U+2009)\blank X X NARROW NO-BREAK SPACE (U+202F)\blank X X NO-BREAK SPACE (U+00A0)\blank \stoptext Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) - 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] unicode no-break spaces
On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \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 ___
[NTG-context] Crop marks and \setuplayout[nx,ny]
Hi, the following code, which I ran with context --mode=print shows crop marks in the middle if the sheet, overlapping the pages. It is legitimate to specify dy=0pt in order to minimize paper cuts. It seems to me like, in the case when dy=0pt, the code dealing with crop marks should try not to overlap the pages, or suppress the marks between two columns of pages. What do you think ? Is there currently a solution to this ? Cheers, Nicolas \definepapersize[BC][width=85mm,height=54mm] \definelayer[blocks][width=85mm,height=54mm] \doifmodeelse{print}{ \setuppapersize[BC][A4] \setuplayout[nx=2,ny=5,dx=1cm,dy=0pt] \setuplayout[location=middle,width=fit,height=fit,marking=on] }{ \setuppapersize[BC][BC] \showframe[edge] } \setuppagenumbering[location=,state=stop] \def\ZapfinoMedium{} \def\ZapfinoBig{} \setupbackgrounds[page][background=blocks] \starttext \startstandardmakeup \setlayer[blocks][preset=rightbottom]{% \externalfigure[g-wurf][height=4.7cm]} \setlayer[blocks][preset=middletop,voffset=1mm]% {\ZapfinoMedium Title} \startbuffer \vbox{% \startlines Some Names of Some Cats \vskip-3pt\tfx smaller \vskip-5pt text \stoplines} \stopbuffer \setlayer[blocks][voffset=1.5cm,hoffset=2mm]{\getbuffer} \startbuffer \vbox{% Name and\hfill\break Address }% \stopbuffer \setlayer[blocks][preset=leftbottom,offset=1.5mm,hoffset=0.5mm]{\getbuffer} \setlayer[blocks][preset=rightbottom,offset=1.5mm]{www.samtfeld.de} \stopstandardmakeup \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] unicode no-break spaces
Alan BRASLAU wrote: On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \stoptext no surprise, as math has its own spacing model so it all depends on the definitions; i'm not even sure if we shoule support an active ~ in math mode at all 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] labels and new structure code
Thomas A. Schmitz wrote: Hi all, Hans, here is a bug that remains with the new structure code after Hans fixed many things two weeks ago. I want a counter that is reset at every odd chapter. This works as expected in mkii (and used to work in mkiv), but complains about a Missing number, treated as zero and fails to compile in current beta: ok, fixed in the beta the problem is that the old code was somewhat crippled as it uses this two step method (determine and usage) due to expansion issues in the current beta mkiv code we can do: \setuphead [section] [after=\setups{section:after}, expansion=yes] \startsetups section:after \ifodd\namedheadnumber{section}\relax \resetSlideNumber\incrementSlideNumber \else \incrementSlideNumber \fi \blank \stopsetups btw, you misuse 'command' which in turn has side effects; use after instead - 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] Crop marks and \setuplayout[nx,ny]
Nicolas Girard wrote: Hi, the following code, which I ran with context --mode=print shows crop marks in the middle if the sheet, overlapping the pages. It is legitimate to specify dy=0pt in order to minimize paper cuts. It seems to me like, in the case when dy=0pt, the code dealing with crop marks should try not to overlap the pages, or suppress the marks between two columns of pages. What do you think ? Is there currently a solution to this ? i'll add marking=page for that purpose - 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] labels and new structure code
On Jun 7, 2009, at 2:12 PM, Hans Hagen wrote: ok, fixed in the beta the problem is that the old code was somewhat crippled as it uses this two step method (determine and usage) due to expansion issues in the current beta mkiv code we can do: \setuphead [section] [after=\setups{section:after}, expansion=yes] \startsetups section:after \ifodd\namedheadnumber{section}\relax \resetSlideNumber\incrementSlideNumber \else \incrementSlideNumber \fi \blank \stopsetups btw, you misuse 'command' which in turn has side effects; use after instead OK, thanks a lot Hans! Have replaced command with after; now my test document compiles cleanly. Two questions though: \nextSlideNumber used to simply expand to 2 3 etc. Now I get SlideNumber 1.2 SlideNumber 1.3. How can I get the old behavior back? And: I'm doing this in xml documents, and here, the counter is not reset. I assume you want a new example document :-) 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] labels and new structure code
Thomas A. Schmitz wrote: On Jun 7, 2009, at 2:12 PM, Hans Hagen wrote: ok, fixed in the beta the problem is that the old code was somewhat crippled as it uses this two step method (determine and usage) due to expansion issues in the current beta mkiv code we can do: \setuphead [section] [after=\setups{section:after}, expansion=yes] \startsetups section:after \ifodd\namedheadnumber{section}\relax \resetSlideNumber\incrementSlideNumber \else \incrementSlideNumber \fi \blank \stopsetups btw, you misuse 'command' which in turn has side effects; use after instead OK, thanks a lot Hans! Have replaced command with after; now my test document compiles cleanly. Two questions though: \nextSlideNumber used to simply expand to 2 3 etc. Now I get SlideNumber 1.2 SlideNumber 1.3. How can I get the old behavior back? And: I'm doing this in xml documents, and here, the counter is not reset. I assume you want a new example document :-) yeah you need to reset the prefix, like prefix=no ; depends a bit on your definition (i need to figure out a proper default scheme for a whole doc which is kind of tricky since we have more control now) - 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] unicode no-break spaces
On Sunday 07 June 2009 14:10:10 Hans Hagen wrote: Alan BRASLAU wrote: On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \stoptext no surprise, as math has its own spacing model so it all depends on the definitions; i'm not even sure if we shoule support an active ~ in math mode at all I do not have any strong feelings about this, but do believe that ~ has always provided an unbreakable white space in TeX, both in text and math mode. I also feel that ~ is more readable than \,. Alan ___ 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] Crop marks and \setuplayout[nx,ny]
2009/6/7 Hans Hagen pra...@wxs.nl: i'll add marking=page for that purpose Hi Hans, thanks in advance, that'd be great. I intend to typeset business cards in Context in the near future, i just hope i'll have climbed up the learning curve enough by then. When you dedicate some time to the marking code, it would be also great if you could get the markings to be properly shifted when using \definepageshift / \setuppageshift. Cheers, Nicolas ___ 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] unicode no-break spaces
Alan BRASLAU wrote: On Sunday 07 June 2009 14:10:10 Hans Hagen wrote: Alan BRASLAU wrote: On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \stoptext no surprise, as math has its own spacing model so it all depends on the definitions; i'm not even sure if we shoule support an active ~ in math mode at all I do not have any strong feelings about this, but do believe that ~ has always provided an unbreakable white space in TeX, both in text and math mode. I also feel that ~ is more readable than \,. The activeness of ~ isn't that important, but there really should be a non-breakable space in math mode, and an active ~ is the most logical choice because of 20 years of TeX input. You can pick something else, but it is definately needed, and it should be shorter than \penalty1 \ 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] unicode no-break spaces
Taco Hoekwater wrote: Alan BRASLAU wrote: On Sunday 07 June 2009 14:10:10 Hans Hagen wrote: Alan BRASLAU wrote: On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: Peter Münster wrote: Should this work, or should we rather use ~ and \, as in the past? repaired in next beta (was unwanted side effect of optimization) ~, by the way, appears not to be respected in math mode; example: \starttext $3\times 10^{-9}~\text{m}$ $3\times 10^{-9}\,\text{m}$ \stoptext no surprise, as math has its own spacing model so it all depends on the definitions; i'm not even sure if we shoule support an active ~ in math mode at all I do not have any strong feelings about this, but do believe that ~ has always provided an unbreakable white space in TeX, both in text and math mode. I also feel that ~ is more readable than \,. The activeness of ~ isn't that important, but there really should be a non-breakable space in math mode, and an active ~ is the most logical choice because of 20 years of TeX input. You can pick something else, but it is definately needed, and it should be shorter than \penalty1 \ hm, currently ~ is \penalty \plustenthousand\space which gives no space in math as spaces are ignored i have this definition probably for a reason so i tend to be careful with a change in text mode - 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] Can't set typescript
I'm trying this small test: % \enableregime[utf] \usetypescriptfile[type-xtx] \usetypescript[gentium] \setupbodyfont[gentium] \starttext \showbodyfont \stoptext % It's supposed to select 'gentium' as typeface, but the chart shown by 'showbodyfont' says I'm using 'modern'. Am I missing something? I'm using minimal install, updated yesterday (although I have this problem for at least two weeks). Thanks, Maurício ___ 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] Can't set typescript
Am 07.06.2009 um 17:38 schrieb Maurí cio: I'm trying this small test: % \enableregime[utf] \usetypescriptfile[type-xtx] \usetypescript[gentium] \setupbodyfont[gentium] \starttext \showbodyfont \stoptext % It's supposed to select 'gentium' as typeface, but the chart shown by 'showbodyfont' says I'm using 'modern'. Am I missing something? I'm using minimal install, updated yesterday (although I have this problem for at least two weeks). 1. Do you use XeTeX to process your file? 2. Do you have the Gentium fonts on your system? 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] ntg-context Digest, Vol 60, Issue 25
Hi, I have emacs 23.0.91.1 on Windows XP. I downloaded cedet-1.0pre6 and followed the instructions in the file cedet-build.el, ie 1) M-x eval-buffer 2) M-x cedet-build-in-default-emacs I get following status report from the build process: CEDET BYTE COMPILATION STATUS: Step 1: Byte compile EIEIO...not needed Step 2: EDE Autloads...done. Step 3: Semantic Autloads...done. Step 4: SRecode Autloads...done. Step 5: Load common/cedet.el ...done Step 6: Turning on EDE ... During step 6, i get the following message in the echo area: wrong type argument: number-or-marker-p (2048 1 . 59092) Could someone suggest a solution for this? On Fri, Jun 5, 2009 at 3:30 PM, ntg-context-requ...@ntg.nl wrote: Send ntg-context mailing list submissions to ntg-context@ntg.nl To subscribe or unsubscribe via the World Wide Web, visit http://www.ntg.nl/mailman/listinfo/ntg-context or, via email, send a message with subject or body 'help' to ntg-context-requ...@ntg.nl You can reach the person managing the list at ntg-context-ow...@ntg.nl When replying, please edit your Subject line so it is more specific than Re: Contents of ntg-context digest... Today's Topics: 1. Bug in mkiv math mode: missing \longrightarrow (Otared Kavian) 2. LilyPond module 2009-06-05 (Henning Hraban Ramm) 3. Re: Bug in treatment of spaces in mathmode mkiv (Hans Hagen) -- Message: 1 Date: Fri, 5 Jun 2009 10:08:45 +0200 From: Otared Kavian ota...@gmail.com Subject: [NTG-context] Bug in mkiv math mode: missing \longrightarrow To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: 670838dc-f3a0-472e-b178-f4f9b85f9...@gmail.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Hi Hans, Testing your last night's beta, LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.06.04 22:20 MKIV fmt: 2009.6.4 int: english/ english I noticed that \longrightarrow is missing in mkiv, while everything is correct in mkii. Here is a minimal example: %%% begin example \starttext Consider a continuous function $f : (0,1) \longrightarrow E$, where $E $ is a Banach space, as above. Consider a continuous function $f : (0,1) \rightarrow E$, where $E$ is a Banach space, as above. \stoptext %%% end example In mkiv nothing appears for \longrightarrow, although the typesetting goes through. Thanks for your attention: OK -- Message: 2 Date: Fri, 5 Jun 2009 10:19:28 +0200 From: Henning Hraban Ramm hra...@fiee.net Subject: [NTG-context] LilyPond module 2009-06-05 To: mailing ConTeXt users list for ntg-context@ntg.nl Message-ID: c4e18f24-4283-4a88-ab40-01654f581...@fiee.net Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Just released the latest version with some fixes: - pstopdf is only called if there's no pdf created (seems like LilyPond creates PDFs by itself even in EPS mode now) - before trying to move a file, the target gets deleted if it already exists - some more code cleanup Is someone in need of a MkII version? (I could make that, but only without the file system features.) BTW Mojca is planning for a general tempdir feature for all modules; probably the setup syntax will change a bit if it's ready. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) -- Message: 3 Date: Fri, 05 Jun 2009 10:37:07 +0200 From: Hans Hagen pra...@wxs.nl Subject: Re: [NTG-context] Bug in treatment of spaces in mathmode mkiv To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: 4a28d933.6000...@wxs.nl Content-Type: text/plain; charset=windows-1252; format=flowed Aditya Mahajan wrote: colon needs a bit more care. The literal : should be a mathrel, while \colon should be a punctuation. I do not know how to set this using mathspec. hm, we had two mathname=colon's, so i removed the 0x003A - 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] ntg-context Digest, Vol 60, Issue 25
Please ignore the previous mail... Accidentally sent to the wrong mailing list. Regards Abhishek On Sun, Jun 7, 2009 at 9:40 PM, Abhishek Seth abhs...@gmail.com wrote: Hi, I have emacs 23.0.91.1 on Windows XP. I downloaded cedet-1.0pre6 and followed the instructions in the file cedet-build.el, ie 1) M-x eval-buffer 2) M-x cedet-build-in-default-emacs I get following status report from the build process: CEDET BYTE COMPILATION STATUS: Step 1: Byte compile EIEIO...not needed Step 2: EDE Autloads...done. Step 3: Semantic Autloads...done. Step 4: SRecode Autloads...done. Step 5: Load common/cedet.el ...done Step 6: Turning on EDE ... During step 6, i get the following message in the echo area: wrong type argument: number-or-marker-p (2048 1 . 59092) Could someone suggest a solution for this? On Fri, Jun 5, 2009 at 3:30 PM, ntg-context-requ...@ntg.nl wrote: Send ntg-context mailing list submissions to ntg-context@ntg.nl To subscribe or unsubscribe via the World Wide Web, visit http://www.ntg.nl/mailman/listinfo/ntg-context or, via email, send a message with subject or body 'help' to ntg-context-requ...@ntg.nl You can reach the person managing the list at ntg-context-ow...@ntg.nl When replying, please edit your Subject line so it is more specific than Re: Contents of ntg-context digest... Today's Topics: 1. Bug in mkiv math mode: missing \longrightarrow (Otared Kavian) 2. LilyPond module 2009-06-05 (Henning Hraban Ramm) 3. Re: Bug in treatment of spaces in mathmode mkiv (Hans Hagen) -- Message: 1 Date: Fri, 5 Jun 2009 10:08:45 +0200 From: Otared Kavian ota...@gmail.com Subject: [NTG-context] Bug in mkiv math mode: missing \longrightarrow To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: 670838dc-f3a0-472e-b178-f4f9b85f9...@gmail.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Hi Hans, Testing your last night's beta, LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.06.04 22:20 MKIV fmt: 2009.6.4 int: english/ english I noticed that \longrightarrow is missing in mkiv, while everything is correct in mkii. Here is a minimal example: %%% begin example \starttext Consider a continuous function $f : (0,1) \longrightarrow E$, where $E $ is a Banach space, as above. Consider a continuous function $f : (0,1) \rightarrow E$, where $E$ is a Banach space, as above. \stoptext %%% end example In mkiv nothing appears for \longrightarrow, although the typesetting goes through. Thanks for your attention: OK -- Message: 2 Date: Fri, 5 Jun 2009 10:19:28 +0200 From: Henning Hraban Ramm hra...@fiee.net Subject: [NTG-context] LilyPond module 2009-06-05 To: mailing ConTeXt users list for ntg-context@ntg.nl Message-ID: c4e18f24-4283-4a88-ab40-01654f581...@fiee.net Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Just released the latest version with some fixes: - pstopdf is only called if there's no pdf created (seems like LilyPond creates PDFs by itself even in EPS mode now) - before trying to move a file, the target gets deleted if it already exists - some more code cleanup Is someone in need of a MkII version? (I could make that, but only without the file system features.) BTW Mojca is planning for a general tempdir feature for all modules; probably the setup syntax will change a bit if it's ready. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) -- Message: 3 Date: Fri, 05 Jun 2009 10:37:07 +0200 From: Hans Hagen pra...@wxs.nl Subject: Re: [NTG-context] Bug in treatment of spaces in mathmode mkiv To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: 4a28d933.6000...@wxs.nl Content-Type: text/plain; charset=windows-1252; format=flowed Aditya Mahajan wrote: colon needs a bit more care. The literal : should be a mathrel, while \colon should be a punctuation. I do not know how to set this using mathspec. hm, we had two mathname=colon's, so i removed the 0x003A - 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
[NTG-context] [OT] Donald Knuth: Mathematical Ideas, or Algorithms, Should Not Be Patented
http://www.groklaw.net/article.php?story=20090603224807259 -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't set typescript
I'm trying this small test: % \enableregime[utf] \usetypescriptfile[type-xtx] \usetypescript[gentium] \setupbodyfont[gentium] \starttext \showbodyfont \stoptext % It's supposed to select 'gentium' as typeface, but the chart shown by 'showbodyfont' says I'm using 'modern'. Am I missing something? I'm using minimal install, updated yesterday (although I have this problem for at least two weeks). 1. Do you use XeTeX to process your file? 2. Do you have the Gentium fonts on your system? I use the minimal install from pragma site, as prescribed in the 'simple' version of instructions in: http://wiki.contextgarden.net/ConTeXt_Minimals Aren't XeTeX and Gentium supposed to be there? I can find these files: context/tex/texmf-linux/xetex context/tex/texmf-linux/bin/xetex context/tex/texmf/fonts/enc/dvips/gentium context/tex/texmf/fonts/truetype/public/gentium context/tex/texmf/fonts/tfm/public/gentium context/tex/texmf/fonts/map/pdftex/gentium context/tex/texmf/tex/context/third/gentium Thanks, Maurício ___ 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] Can't set typescript
Am 07.06.2009 um 20:25 schrieb Maurí cio: I'm trying this small test: % \enableregime[utf] \usetypescriptfile[type-xtx] \usetypescript[gentium] \setupbodyfont[gentium] \starttext \showbodyfont \stoptext % It's supposed to select 'gentium' as typeface, but the chart shown by 'showbodyfont' says I'm using 'modern'. Am I missing something? I'm using minimal install, updated yesterday (although I have this problem for at least two weeks). 1. Do you use XeTeX to process your file? 2. Do you have the Gentium fonts on your system? I use the minimal install from pragma site, as prescribed in the 'simple' version of instructions in: http://wiki.contextgarden.net/ConTeXt_Minimals 1. You don't need \enablregime[utf] for XeTeX or LuaTeX (you need it only when you want to process your document with pdfTeX too) 2. type-xtx is loaded for XeTeX by default 3. This should work: \usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium] \starttext ... \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 ___
[NTG-context] Intersection symbol, Set theory
Hi, I want the intersection symbol in the file. I tried $\cap$, however that does not work. I am using This is LuaTeX, Version snapshot-0.35.0 (Learn_Corbae_Stinchcombe_Zeman.tex ConTeXt ver: 2009.03.18 21:58 MKIV fmt: 2009.3.31 int: english/english I get the following error: ! Undefined control sequence. \normalcap -\dohandlemathtoken {cap} l.25 ...t A $ then $ f(A \cap B) \subset f(A) \cap f(B) $. Do I need to upgrade to a newer version? ___ 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] labels and new structure code
On Jun 7, 2009, at 3:04 PM, Hans Hagen wrote: yeah you need to reset the prefix, like prefix=no ; depends a bit on your definition (i need to figure out a proper default scheme for a whole doc which is kind of tricky since we have more control now) Oops, I am sorry, resetting the counter works in my xml files as well; I had a second after= assignment which confused ConteXt. It's almost perfect, but there's a spurious space creeping in somewhere. Reusing my old example: \startsetups section:after \ifodd\namedheadnumber{section}\relax \resetSlideNumber\incrementSlideNumber \else \incrementSlideNumber \fi \blank[0*line] \stopsetups \setuphead [section] [after=\setups{section:after}, page=yes, expansion=yes, before={\blank[0*big]}] \definelabel[SlideNumber][headstyle=normal,way=bytext,prefix=no,text=] \define\SLN{\color[red]{[\nextSlideNumber]}} \starttext \section{One} should be 2: \SLN \section{Two} should be 4: \SLN \section{Three} should be 2 again: \SLN \section{Four} should be 4 again: \SLN \stoptext Thanks for your help, and best wishes! 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] Can't set typescript
\usetypescriptfile[type-xtx] \usetypescriptfile[type-gentium] Thanks! How did you know that (or, better, where should I have looked for)? I had used what I read in table 1.11 of typography pdf from main context wiki page. Best, Maurício ___ 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 ___