Re: [NTG-context] Buffers (gone) in MK IV
Mojca Miklavec wrote: \def\PDF{texmfstart --ifchanged=\lily!filename.eps pstopdf \lily!filename.eps} \beginLUATEX \savebuffer[lilypond-\the\lily!figures]% \endLUATEX \beginLUATEX is not to be used in a macro \beginLUATEX message to screen bla bla \endLUATEX then becomes \beginLUATEX message to screen bla bla \endLUATEX and all goes to the message just do \ifx\savebuffer\undefined \else \savebuffer[] \fi or so since when don't you read the source code any more -) Hans ___ 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] Bib module and dutch commands
Hello! I have to say that I am new to ConteXt and never worked with LateX. I tried to use the bib-module for my .bib-files (which I created with BibDesk) It works fine when I am using english commands like \starttext, but if I am using dutch commands like \starttekst it just says `undefined control sequence´. Is there a possibilty to change that or do I have to stick with the english commands when using the Bib module? Thank you in advance. Tristan ___ 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] No header text on last page
Hi! On 8/22/07, luigi scarso [EMAIL PROTECTED] wrote: What am I doing wrong? I don't know, but file in attachment compiles well. Maybe something with components. -- luigi I fail to see the link between your file and mine? Jeff ___ 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] No header text on last page
On 8/22/07, Jeff Smith [EMAIL PROTECTED] wrote: Hi! On 8/22/07, luigi scarso [EMAIL PROTECTED] wrote: What am I doing wrong? I don't know, but file in attachment compiles well. Maybe something with components. -- luigi I fail to see the link between your file and mine? I simply merge env_these.tex with chap1.tex without using \startproduct test \environment env_these \startbodymatter \component chap1 \stopbodymatter \stopproduct The result is almost the same, but in my pdf headings are good. I don't know very well \component machinery, are you sure that your file is correct ? -- 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 ___ 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] setting up quotations
hi there, i have just finished reading the archives from the times when there was no \setupquotation only \setupquote i am glad that now a \setupquotation exists, but my problem seems to be that \setupquotation affects all quotations... consider the following example: \setupquotation [style=italic] \quote{I am \quotation{not} here,} he said, then he went on singing \startquotation Maybe I just want to fly\crlf I want to live I don't want to die\crlf Maybe I just want to breath\crlf Maybe I just don't believe\crlf Maybe you're the same as me\crlf We see things they'll never see\crlf You and I are gonna live forever\crlf \stopquotation all 3 quotations are in italics. i think this is incorrect... all 3 quoting styles have their place and function. \startquotation should have some \blank before and after, different margins, etc. that's what i want to set up with \setupquotation a lot of publisher make even typeset these in smaller fonts. how can i make this happen? this is really important for typesetting books, it is not? -f -- if you do nothing, how do you know when you're finished? ___ 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] setting up quotations
Hi f, On Wed, 22 Aug 2007 15:38:03 -0600, frantisek holop [EMAIL PROTECTED] wrote: all 3 quotations are in italics. i think this is incorrect... all 3 quoting styles have their place and function. \startquotation should have some \blank before and after, different margins, etc. that's what i want to set up with \setupquotation a lot of publisher make even typeset these in smaller fonts. how can i make this happen? this is really important for typesetting books, it is not? Just roll your own! Here is what i use: \definestartstop [quote] [before={\startnarrower[1*middle]\blank[big]}, after={\stopnarrower\blank[big]}] This gives you the commands \startquote-\stopquote Just edit the definition to get the effect you want. And/or make new ones! Note that ConTeXt by default is rather bland. The defaults are not intended as some typographic ideal, in contrast to LaTeX. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setting up quotations
hmm, on Wed, Aug 22, 2007 at 04:01:12PM -0600, Idris Samawi Hamid said that Note that ConTeXt by default is rather bland. The defaults are not intended as some typographic ideal, in contrast to LaTeX. thanks. i realize that flexibility is a plus here, on the other hand creating macros even for the most basic functionality becomes counterproductive at some point. there are great basic building blocks in context. some of them are just not as consistent as the others :) i think consistency and 'logic' helps making the learning curve softer and work easier and faster. for example: \quote - \setupquote \quotation - \setupquotation \startquotation - \setupquotationenvironment :) or some such. the problem is, that the manuals are not really verbose and help create wrong assumptions because at some places context is wonderfully 'logical' and consistent. -f -- prayers are always answered. the answer is usually no. ___ 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] TeX-Gyre package?
Dear Hans and gang, Has TeX-Gyre been released as part of MKIV yet? I was in the processing of updating my mswincontext distribution of 2007.08.07 and I noticed that cont-tmf does not contain the TeX-Gyre fonts. The reason I don't want to install the fonts from the official TeX-Gyre site is because, before the release of MKIV, I installed them (with the ConTeXt support files on that site of course) and they did not all work :-( So I'd prefer to install them from a single ConTeXt package/zip so that we could all have easier installation (just unzip) as well as a common benchmark, especially if things go wrong ;-) Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No header text on last page
Hi, I merged the files too and, just as you said, they worked. Toying around a bit with my files, I found out what's the problem, but I can't understand it! It's in my product file: \startproduct test \environment env_these \startbodymatter \component chap1 \stopbodymatter \stopproduduct The culprit is \startbodymatter ... \stopbodymatter. If I remove the bodymatter command and compile, my header text appears on the last page. What's wrong, anyone?! I know that ConTeXt can compile at the product level, but is it because I specify no project at all? I'm going to investigate further in this direction. Thanks! Jeff ___ 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] No header text on last page
On 8/23/07, Jeff Smith [EMAIL PROTECTED] wrote: Hi, I merged the files too and, just as you said, they worked. Toying around a bit with my files, I found out what's the problem, but I can't understand it! It's in my product file: \startproduct test \environment env_these \startbodymatter \component chap1 \stopbodymatter \stopproduduct The culprit is \startbodymatter ... \stopbodymatter. If I remove the bodymatter command and compile, my header text appears on the last page. What's wrong, anyone?! I know that ConTeXt can compile at the product level, but is it because I specify no project at all? I'm going to investigate further in this direction. I don't know very well project/product/component following http://wiki.contextgarden.net/Project_structure these work ok. %%% tprj.tex \startproject tprj \environment env_these \product test \stopproject %%% test.tex \startproduct test \project tprj \component chap1 \stopproduct %%% chap1.tex \startcomponent chap1 \project tprj \product test \Chapitre{Introduction générale} \dorecurse{1}{\input tufte} \dorecurse{2}{\input tufte} \Sujet{Pourquoi l'épistémologie?} \dorecurse{4}{\input knuth} \Sujet{Linguistique et philosophie} \dorecurse{2}{\input tufte} \dorecurse{6}{\input knuth} \Aspect{Épistémologie et philosophie des sciences} \dorecurse{4}{\input knuth} \Aspect{Histoire et philosophie des sciences}\dorecurse{2}{\input knuth} \stopcomponent -- 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 ___ 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] Column enumerations start at zero
I recently observed that column enumerations start at zero instead of at one. Has anyone else seen this? Update, this is already fixed. I'm not sure. I can reproduce the problem with this test file: \starttext \startitemize[n] \item a \stopitemize \stoptext I put it in e.tex and did (via AUCTeX) texexec --once e.tex and the e.pdf numbers the items from 0 rather than from 1. Without the --once, it works fine. This output is with the new Debian ConTeXt packages, which have ConTeXt ver: 2007.08.09 13:04 MKII fmt: 2007.8.16 -Sanjoy 'Intellectual property is intellectual theft.' ___ 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] Column enumerations start at zero
On Thu, 23 Aug 2007, Sanjoy Mahajan wrote: I recently observed that column enumerations start at zero instead of at one. Has anyone else seen this? Update, this is already fixed. I'm not sure. I can reproduce the problem with this test file: \starttext \startitemize[n] \item a \stopitemize \stoptext I put it in e.tex and did (via AUCTeX) texexec --once e.tex and the e.pdf numbers the items from 0 rather than from 1. Without the --once, it works fine. This is because the way itemize works has changed. It stores the number of items in the tui file. The reason for this change is the new 'reverse' key. I think that the --once key does not read data from the temp files. Probably better will be something like --runs=1 (untested). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Column enumerations start at zero
Aditya, Thanks for the explanation. I think that the --once key does not read data from the temp files. Probably better will be something like --runs=1 (untested). Same problem when using --runs=1, but probably the reason is the same as for --once not working. -Sanjoy 'Intellectual property is intellectual theft.' ___ 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] No header text on last page
Hi, Your example works Luigi because it doesn't make use of \startbodymatter ... \stopbodymatter. So, anyone, *where* are those supposed to go? Thanks! Jeff ___ 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] start/stop and sections
On Mon, 20 Aug 2007, Hans Hagen wrote: Hi, There is now an experimental: % options : % dodo: listtext \setupsectionworld [chapter] [before after setups page text number label bookmark] \startsectionworld[chapter][text={Test}] \stopsectionworld Later I will adapt sectioning to working with variables (low level issue) but this is what I needed now -) Interesting. How do you come up with code like this :) \def\csnameexpanded#1#2% [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED] Bookmark does not seem to work correctly. Also can the extra grouping (using begingroup) in \startsectionworld be avoided? \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \def\test{Outside value} \starttext \startsectionworld[section][text={Test},bookmark={changed}] \def\test{Inside value} This is the first chapter \stopsectionworld The value of test is \test. \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Column enumerations start at zero
2007/8/23, Sanjoy Mahajan [EMAIL PROTECTED]: Aditya, Thanks for the explanation. I think that the --once key does not read data from the temp files. Probably better will be something like --runs=1 (untested). Same problem when using --runs=1, but probably the reason is the same as for --once not working. Hi Sanjoy, as Aditya mentioned the counter for itemize is now saved in the tui file and the correct value is read from the tuo file in the second. The --once or --runs=1 option for texexec did not generate a tuo file and the correct start value for itemize will be zero, but Hans corrected this in one of the last releases and itemize did now start with 1 even with the --once option. 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 ___