Re: [NTG-context] Index formatting: column leaks over page margin
hmm line map 17, 33, 52, 69, 70, 70, 70, 71, 71, is too much right? I've played with index settings some time ago: I will refresh my memories. luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec ruby problem
Michal Kvasnicka wrote: Good morning. I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1 Linux. I tried to make ruby version of texexec working, but I failed. When I try to run it, I get this error message: /usr/share/texmf/scripts/context/ruby/texexec.rb:10:in `require': no such file to load -- base/switch (LoadError) from /usr/share/texmf/scripts/context/ruby/texexec.rb:10 Can you tell me what package should I install? And is there any difference between the perl and the ruby texexecs? depends on how you cal texexec texmfstart texexec should work ok (texmfstart --make --linux will make stubs for you if they are not yet present) - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Error with --modu for core-mis
There was a problem reading this document (131) I use Adobe Reader 7. If you want, I can send the exact page numbers. It's true, but I think this is a bug of Reader 7 (at least under Linux). But gs 8.54, xpdf don't give this error. At least these work: 1)downgrading to pdf 1.4 (distilling) 2) prepend \pdfminorversion=4 and recompiling. I will test with Acrobat 1.7 and AdobeReader 1.8 . luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Overfull \hbox query
On Jan 14, 2007, at 1:44 PM, Hans Hagen wrote: Alan Bowen wrote: I have been processing a number of files using the same environment file. Each time, early in the log file I get the very same message: (/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) Overfull \hbox (13.2pt too wide) detected at line 63 [] system : module ancientgreek loaded (/Users/acbowen/Library/texmf/tex/context/third/greek/t- ancientgreek.tex loading : module ancientgreek The problem is that I can see no evidence in the document of an overfull \hbox. Moreover, if I change the font from SIL-Gentium to Latin Modern, the message goes away, though it returns once more if I use GFSDidot say (only the line number differs). Can anyone explain what is happening or suggest how I may proceed to determine what is happening and why? if you don't see a problem, just ignore it; it all depends on how overfull \dontcomplain may be your friend Hans Thanks, Hans. I will put this aside: as they say, “Sufficient unto the day is the evil thereof”. Best, Alan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] multiple bibliographies
Dear Thomas, Aditya, Taco, I am trying to produce a book-list for class using Taco's bib module. I would like to produce a separate list for each lecture / topic: Title of Lecture paragraph giving a synopsis of topic list of books/articles and this repeated for x number of lectures. I discovered a thread in the ConTeXt users mailing list for September last for something like this. Has there been a solution? If it would do what I want I would be grateful for a sample or instructions. I am using the latest bib module. Thanks, Charlie Doherty ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multiple bibliographies
On Jan 15, 2007, at 1:59 PM, Charles Doherty wrote: Dear Thomas, Aditya, Taco, I am trying to produce a book-list for class using Taco's bib module. I would like to produce a separate list for each lecture / topic: Title of Lecture paragraph giving a synopsis of topic list of books/articles and this repeated for x number of lectures. I discovered a thread in the ConTeXt users mailing list for September last for something like this. Has there been a solution? If it would do what I want I would be grateful for a sample or instructions. I am using the latest bib module. Thanks, Charlie Doherty Yes, this is possible. Just make every lecture its own section, refer to the titles you want included in every list with \nocite commands at the beginning of every section, have the list typeset with \placepublications[criterium=cite]. If you want continuous numbering for all your lists, add [option=continue]. HTH Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multiple bibliographies
On 15 Jan 2007, at 13:22, Thomas A. Schmitz wrote: Yes, this is possible. Just make every lecture its own section, refer to the titles you want included in every list with \nocite commands at the beginning of every section, have the list typeset with \placepublications[criterium=cite]. If you want continuous numbering for all your lists, add [option=continue]. HTH Thomas Thank you Thomas, It works perfectly. I had not used the \section command. Along with BibDesk this is great. Thanks for your fast reply. Charlie___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multiple bibliographies
Thomas A. Schmitz [EMAIL PROTECTED] explains: Yes, this is possible. Just make every lecture its own section, refer to the titles you want included in every list with \nocite commands at the beginning of every section, have the list typeset with \placepublications[criterium=cite]. If you want continuous numbering for all your lists, add [option=continue]. That's very helpful. I was going to ask the same question in a month or so when I might arrange the references in my math textbook that way. Here's an example file that I'll wikify if a similar example isn't there already and no one finds problems with it. Note in passing: \placepublications[criterium=section] and \placepublications[criterium=cite] should (and do) give the same results in the further-reading section. Taco, For a rainy day, what about \setuppublications[option=continue] that implicitly appends option=continue to all but the first \placepublications commands? (If it does so for the first one then the numbering starts from 37 or thereabouts, as I found out by trying it.) -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) = nocite.tex = % Example of per-chapter bibliographies and a per-chapter 'Further % reading' section. % % 2007-01-15: % Written by Sanjoy Mahajan [EMAIL PROTECTED] based on the % explanation by Thomas Schmitz ('multiple bibliographies', % ntg-context list, 15 Jan 2007). % % Public domain. % \usemodule[bib] \usemodule[bibltx] \setuppublications[alternative=num] \setupbibtex[database=xampl] \starttext \chapter{One} Some useful references are \cite[article-minimal]. See \cite[article-full] for the full bibliography info. \section[sec:further]{Further reading} \nocite[whole-journal,incollection-full] If you are curious, here are a few further readings: \bigskip % criterium=section and =cite give the same results in this case situation \placepublications[criterium=section] %\placepublications[criterium=cite] \section{Chapter references} Here are all the references from this chapter, including the `further reading'. \bigskip \placepublications[criterium=chapter,option=continue] \chapter{Two} \cite[inbook-crossref] is a classic. People should also read \cite[book-minimal] but it can be rough going. \section{Chapter references} Here are the references from this chapter. \bigskip \placepublications[criterium=chapter,option=continue] \title{References for the whole document} Here are the references from the entire document: in all chapters and including the further reading. \bigskip \placepublications[criterium=all,option=continue] \stoptext === ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --mode=xxx --mode=yyy
On Sun, 14 Jan 2007, Hans Hagen wrote: is it possible to make texexec --mode=xxx --mode=yyy behave the same as texexec --mode=xxx,yyy ? I need it, because I have a server that automatically generates pdf-files via texexec --mode=xxx ... and the rest of the command-line can be anything found in the tex-fileheader (for example another --mode=yyy). setupmodes (and therefore the commandline option) does accent comma separated lists Hello Hans, the question is, if you could modify texexec to behave the same way, when used with these 2 command-lines: 1.) texexec --mode=xxx --mode=yyy file 2.) texexec --mode=xxx,yyy file Imagine a command (an alias) my-texexec = texexec --mode=xxx that is used for example like this: my-texexec --mode=yyy file Then, the mode=xxx gets overwritten... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multiple bibliographies
Sanjoy Mahajan wrote: Taco, For a rainy day, what about \setuppublications[option=continue] that implicitly appends option=continue to all but the first \placepublications commands? (If it does so for the first one then the numbering starts from 37 or thereabouts, as I found out by trying it.) Sure, wouldn't be very hard. I hope I don't forget Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] HZ and DVI
Hi! Sanjoy Mahajan wrote: xpdf has a -remote option, so a Makefile rule could make the pdf and then tell xpdf to reload it, via the command line. But I've never managed to get -remote to work with xpdf. I use it that way and -remote option works for me. You open the file with xpdf -remote your_server_name file.pdf your_sever_name is whatever you name it When needed (e.g. *.tex file has chaned) Makefile generates PDF and calls the server to reload it with xpdf -reload -remote your_server_name Jano ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] HZ and DVI
xpdf -remote your_server_name file.pdf your_sever_name is whatever you name it When needed (e.g. *.tex file has chaned) Makefile generates PDF and calls the server to reload it with xpdf -reload -remote your_server_name Thanks, that works! I must have had the syntax wrong before. Now I tried xpdf -remote foo notes.pdf And then both these worked: xpdf -raise -remote foo xpdf -reload -remote foo In practice (for Makefiles) I'll combine them into xpdf -reload -raise -remote foo -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How should I config the ConTeXt in order to use utf-8 encoding chinese characters?
Dear all Now I can use the GBK encoding chinese characters in my ConTeXt, but if I want to use the utf-8 encoding chinese characters in my tex files, this is, I want the tex source file encoded by UTF-8, how should I config the ConTeXt. BYW, all the chinese fonts needed have been installed correctly by me, including the TTFs and the corresponding Type1 fonts. Thanks --- Hongyi Zhao (赵弘毅) GnuPG DSA: 0xD108493B 老子道德经:第十七章 太上,不知有之;其次,亲而誉之; 其次,畏之;其次,侮之。 信不足焉,有不信焉。悠兮,其贵言。 功成事遂,百姓皆谓:“我自然”。 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How should I config the ConTeXt in order to use utf-8 encoding chinese characters?
On Tue, 16 Jan 2007, Hongyi Zhao wrote: Dear all Now I can use the GBK encoding chinese characters in my ConTeXt, but if I want to use the utf-8 encoding chinese characters in my tex files, this is, I want the tex source file encoded by UTF-8, how should I config the ConTeXt. BYW, all the chinese fonts needed have been installed correctly by me, including the TTFs and the corresponding Type1 fonts. Maybe \enableregime[utf]? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How should I config the ConTeXt in order to use utf-8 encoding chinese characters?
On Mon, Jan 15, 2007 at 11:47:04PM -0500, Aditya Mahajan wrote: On Tue, 16 Jan 2007, Hongyi Zhao wrote: Dear all Now I can use the GBK encoding chinese characters in my ConTeXt, but if I want to use the utf-8 encoding chinese characters in my tex files, this is, I want the tex source file encoded by UTF-8, how should I config the ConTeXt. BYW, all the chinese fonts needed have been installed correctly by me, including the TTFs and the corresponding Type1 fonts. Maybe \enableregime[utf]? Thanks, can you give me a minimal sample file, in my case, the chinese font is song. Furthmore, I use Werner's CJK, that is, if I want to invoke the song font with UTF-8 encoding in the normal tex file, I should use the argument like this: [...] \begin{CJK}{UTF8}{song} [...] But, what should I do if I want to use the argument \enableregime[utf] with ConTeXt? --- Hongyi Zhao (赵弘毅) GnuPG DSA: 0xD108493B 老子道德经:第四十九章 圣人常无心,以百姓心为心。 善者吾善之,不善者吾亦善之,德善。 信者吾信之,不信者吾亦信之,德信。 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How should I config the ConTeXt in order to use utf-8 encoding chinese characters?
Hi, Hongyi There is a small example, it should work if your fonts are configured properly: -- \enableregime [utf] \usemodule [chi-00] \starttext 你好 \stoptext - On 1/16/07, Hongyi Zhao [EMAIL PROTECTED] wrote: On Mon, Jan 15, 2007 at 11:47:04PM -0500, Aditya Mahajan wrote: On Tue, 16 Jan 2007, Hongyi Zhao wrote: Dear all Now I can use the GBK encoding chinese characters in my ConTeXt, but if I want to use the utf-8 encoding chinese characters in my tex files, this is, I want the tex source file encoded by UTF-8, how should I config the ConTeXt. BYW, all the chinese fonts needed have been installed correctly by me, including the TTFs and the corresponding Type1 fonts. Maybe \enableregime[utf]? Thanks, can you give me a minimal sample file, in my case, the chinese font is song. Furthmore, I use Werner's CJK, that is, if I want to invoke the song font with UTF-8 encoding in the normal tex file, I should use the argument like this: [...] \begin{CJK}{UTF8}{song} [...] But, what should I do if I want to use the argument \enableregime[utf] with ConTeXt? --- Hongyi Zhao (赵弘毅) GnuPG DSA: 0xD108493B 老子道德经:第四十九章 圣人常无心,以百姓心为心。 善者吾善之,不善者吾亦善之,德善。 信者吾信之,不信者吾亦信之,德信。 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --mode=xxx --mode=yyy
� wrote: On Sun, 14 Jan 2007, Hans Hagen wrote: is it possible to make texexec --mode=xxx --mode=yyy behave the same as texexec --mode=xxx,yyy ? I need it, because I have a server that automatically generates pdf-files via texexec --mode=xxx ... and the rest of the command-line can be anything found in the tex-fileheader (for example another --mode=yyy). setupmodes (and therefore the commandline option) does accent comma separated lists Hello Hans, the question is, if you could modify texexec to behave the same way, when used with these 2 command-lines: 1.) texexec --mode=xxx --mode=yyy file 2.) texexec --mode=xxx,yyy file this will not happen soon since i dislike multiple same-name - options Imagine a command (an alias) my-texexec = texexec --mode=xxx that is used for example like this: my-texexec --mode=yyy file Then, the mode=xxx gets overwritten... yeah, that shat i used it for -) i can add support for modes to the ctx file feature (ctx files control texexec) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context