Re: [NTG-context] debian context updates
HI Sanjoy! (Taking of Mike, I am not sure whether he is interested in bug reports, he only gets all my announces since he was the first/most active tester) On Die, 02 Jan 2007, Sanjoy Mahajan wrote: I'm using Ubuntu 6.10, so context_2006.12.27-1_all.deb wouldn't install without a --force-conflicts,overwrite,depends given to dpkg (Ubuntu still uses tetex 3.0). With that caveat, which may explain the buglet I saw, it mostly worked fine. Isn't texlive in ubuntu? Maybe not in 6.10. Well all the forces are necessary, tetex and context provide some same files in /usr/bin The buglet: The context formats that the package installed in /var/lib/texmf/web2c/pdfetex are not found. For example, pdfetex 'cont-en' tries to run mktexfmt. So I made a symlink from Strange, does your texmf.cnf contain the following TEXFORMAT line: TEXFORMATS = .;$TEXMF/web2c/{$engine,} /var/lib/texmf/web2c/pdfetex to /var/lib/texmf/web2c/pdftex and then 'texexec' worked fine on my current document (a 50-page mathematics textbooklet). (BTW, can you send me this file in private with all support stuff, I need context test documents, I wont publish it ;-) I'm pretty sure the problem arose because I now use pdftex 1.40.0, which (I think) sets the engine to pdftex, even when it is called as pdfetex. Umpf, yes. Well. If you prefer to hack everything yourself you have to expect bad things... Not sure what the best solution is. The symlink is a bit of a hack. THere is none. Stick with pdf(e)tex as shipped by tetex. In the long run, it's good to get rid of the pdfetex/pdftex This will be in TeX Live 2006... engine. So until all surrounding programs are taught to use pdftex as the engine, this problem will occur and maybe the symlink is the solution. All this will go into texlive-* 2006, as there is pdftex 1.40.0 Before I did the dpkg --force..., I was trying to simulate its effect in a custom script. So I looked through the ctxfmtutil script and was surprised to find that this texexec command (on line 38) worked: No idea about this, `Not all those who wander are lost.' (J.R.R. Tolkien) ;-) Best wishes Norbert --- Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena Debian Developer [EMAIL PROTECTED] Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- One's never alone with a rubber duck. --- Douglas Adams, The Hitchhikers Guide to the Galaxy ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
� wrote: I've upgraded to the most recent version of ConTeXt now. I try to set Norwegian hyphenation by saying \language[no] \setuplanguage[no] however, as opposed to in the previous version, there are no hyphenations at all. I wonder if it is to do with the pattern file used � how do I set that? and how can I make sure that the correct patterns are used? There should be (in the latest) zip 2,392 lang-no.hyp 215,824 lang-no.pat I found out that the norwegian pattern files went from nohyph.tex - nohyph1.tex - nohyph2.tex - nohyphb.tex - nohyphbx.tex and we can only guess what name we will have next; no bigger mess than pattern mess. 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
Re: [NTG-context] debian context updates
Hello, 2007/1/3, Norbert Preining [EMAIL PROTECTED]: On Die, 02 Jan 2007, Sanjoy Mahajan wrote: I'm using Ubuntu 6.10, so context_2006.12.27-1_all.deb wouldn't install without a --force-conflicts,overwrite,depends given to dpkg (Ubuntu still uses tetex 3.0). With that caveat, which may explain the buglet I saw, it mostly worked fine. Isn't texlive in ubuntu? Maybe not in 6.10. Both tetex 3 and texlive 2005 are in Ubuntu 6.10. Yours, Karsten ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
Hans Hagen wrote: � wrote: I've upgraded to the most recent version of ConTeXt now. I try to set Norwegian hyphenation by saying \language[no] \setuplanguage[no] however, as opposed to in the previous version, there are no hyphenations at all. I wonder if it is to do with the pattern file used � how do I set that? and how can I make sure that the correct patterns are used? Did you uncomment this line in cont-usr.tex: % \installlanguage [\s!no] [\c!state=\v!start] % norwegian ? Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] debian context updates
Isn't texlive in ubuntu? Maybe not in 6.10. It is there, but if you've upgraded from 6.06, you start and remain with tetex. But I've just managed to get rid of the tetex packages and replace them with the texlive ones. I installed the 7.04 tex-common package (0.42) by hand , and could then install your context packages (which need tex-common = 0.35) without any --force. Progress! (BTW, can you send me this file in private with all support stuff, I need context test documents, I wont publish it ;-) It's in a pathetic state (in terms of being a decent book) right now, but it mostly compiles and I'll fix a few glitches and send you a .tgz. It'll soon all go on the web (in the next few weeks). Not sure what the best solution is. The symlink is a bit of a hack. There is none. Stick with pdf(e)tex as shipped by tetex. (or as shipped by texlive, which is v1.30) Then I cannot test context with the latest pdftex. The symlink hack is working, so I'll stick with that for the moment. -Sanjoy `A nation of slaves is always prepared to applaud the clemency of their master who, in the abuse of absolute power, does not proceed to the last extremes of injustice and oppression.' (Gibbon) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] debian context updates 2007.01.02
Hi all! New context and context-nonfree based on 2007.01.02 release are on the TUG server. I will leave the current versions available in the Debian NEW queue and hope that the pass. After the inclusion I will upload new packages (which don't have to go through the NEW queue). Best wishes Norbert --- Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena Debian Developer [EMAIL PROTECTED] Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- LITTLE URSWICK (n.) The member of any class who most inclines a teacher towards the view that capital punishment should be introduced in schools. --- Douglas Adams, The Meaning of Liff ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
2007/1/3, Sanjoy Mahajan [EMAIL PROTECTED]: Maybe I missing a trick, but the draftmode didn't save much time. I guess I should make the test file read in a few huge images? Yes. And if you then generate PDF 1.5 with object stream and compression, you can gain much. I have a test case which goes from 17.8s to 1.2s. On an [EMAIL PROTECTED] Best Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] debian context updates
On Mit, 03 Jan 2007, Ralf Stubner wrote: Strange, does your texmf.cnf contain the following TEXFORMAT line: TEXFORMATS = .;$TEXMF/web2c/{$engine,} Wasn't this a rather recent change in tex-common? In principle it would be tex-common 0.36, 25 Oct 2006 good if Ubuntu would ubdate their tex-common in 6.10 (AFAIK they have an integrated update scheme). Not least because of 'TeX on Debian', which is not yet part of Ubuntu 6.10. I cannot care for this, this is up to others. Best wishes Norbert --- Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena Debian Developer [EMAIL PROTECTED] Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- CURRY MALLET (n.) A large wooden or rubber cub which poachers use to despatch cats or other game which they can only sell to Indian resturants. For particulary small cats the price obtainable is not worth the cost of expending ammunition. --- Douglas Adams, The Meaning of Liff ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] debian context updates
Norbert Preining wrote: Isn't texlive in ubuntu? Maybe not in 6.10. AFAIK Ubuntu 6.10 has texlive in 'universe'. tetex is still the default, though. Strange, does your texmf.cnf contain the following TEXFORMAT line: TEXFORMATS = .;$TEXMF/web2c/{$engine,} Wasn't this a rather recent change in tex-common? In principle it would be good if Ubuntu would ubdate their tex-common in 6.10 (AFAIK they have an integrated update scheme). Not least because of 'TeX on Debian', which is not yet part of Ubuntu 6.10. cheerio ralf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
On 3. jan. 2007, at 9:41, Taco Hoekwater wrote: Did you uncomment this line in cont-usr.tex: % \installlanguage [\s!no] [\c!state=\v!start] % norwegian ? yes. I've tried with showhyphens, and it seems that certain tricky words are hyphenated correctly. however, ConTeXt no longer hyphenates “psykolog”, and “psykometriker” is hyphenated as psykometrik-er. I use \installlanguage [no] [spacing=broad, leftsentence=, rightsentence=, leftsubsentence=, rightsubsentence=, leftquote=\leftguillemot, rightquote=\rightguillemot, leftquotation=\leftguillemot, rightquotation=\rightguillemot, date={month,\ ,day,{,\ },year}, default=no, state=stop] \language[no] \setuplanguage[no] and get the error message systems : system commands are disabled (/usr/local/gwTeX/texmf.local/tex/context/user/cont-roffe.tex language: patterns for no not loaded check : missing or ungrouped '=' after 'no' in line 25 (@@lano) Line 25 is the first line after \setuplanguage[no] Is this in any way significant? -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
� wrote: On 3. jan. 2007, at 9:41, Taco Hoekwater wrote: Did you uncomment this line in cont-usr.tex: % \installlanguage [\s!no] [\c!state=\v!start] % norwegian ? yes. I've tried with showhyphens, and it seems that certain tricky words are hyphenated correctly. however, ConTeXt no longer hyphenates �psykolog�, and �psykometriker� is hyphenated as psykometrik-er. that's why i asked ... what encoding are those files in (i assume ec but if not, we need to correct for that (grep ctxtools for 'no')) 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
Re: [NTG-context] ConTeXt, hyphenation
Taco Hoekwater wrote: Hans Hagen wrote: � wrote: I've upgraded to the most recent version of ConTeXt now. I try to set Norwegian hyphenation by saying \language[no] \setuplanguage[no] however, as opposed to in the previous version, there are no hyphenations at all. I wonder if it is to do with the pattern file used � how do I set that? and how can I make sure that the correct patterns are used? Did you uncomment this line in cont-usr.tex: % \installlanguage [\s!no] [\c!state=\v!start] % norwegian with --all this is not needed - 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] ConTeXt, hyphenation
On 3. jan. 2007, at 1:16, Hans Hagen wrote: that's why i asked ... what encoding are those files in (i assume ec but if not, we need to correct for that (grep ctxtools for 'no')) oh. the documents are utf-8, whereas the font encoding I use is texnansi. -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
� wrote: On 3. jan. 2007, at 1:16, Hans Hagen wrote: that's why i asked ... what encoding are those files in (i assume ec but if not, we need to correct for that (grep ctxtools for 'no')) oh. the documents are utf-8, whereas the font encoding I use is texnansi. input encoding and font encoding are indepedent -- - 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] [Fwd: [pdftex] pdftex 1.40]
On 1/2/07, Taco Hoekwater [EMAIL PROTECTED] wrote: Hi, The next message probably also is interestering to a few of you that are not subscribed to the pdftex list. Oh, i'm one of the few... by the way http://www.logosrl.it/context/pdftex/1.40.0-2.2 Also, greping pdftex list I found http://pdfedit.petricek.net/pdfedit.index_e luigi. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
On 3. jan. 2007, at 2:32, Hans Hagen wrote: � wrote: On 3. jan. 2007, at 1:16, Hans Hagen wrote: that's why i asked ... what encoding are those files in (i assume ec but if not, we need to correct for that (grep ctxtools for 'no')) oh. the documents are utf-8, whereas the font encoding I use is texnansi. input encoding and font encoding are indepedent I would know, being the one who talked Tom Rokicki into adding support for font encoding vectors to dvips. -- Rolf Lindgren [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
� wrote: On 3. jan. 2007, at 2:32, Hans Hagen wrote: � wrote: On 3. jan. 2007, at 1:16, Hans Hagen wrote: that's why i asked ... what encoding are those files in (i assume ec but if not, we need to correct for that (grep ctxtools for 'no')) oh. the documents are utf-8, whereas the font encoding I use is texnansi. input encoding and font encoding are indepedent I would know, being the one who talked Tom Rokicki into adding support for font encoding vectors to dvips. the hyphenation files that context uses are either in a neutral (verbose format) or in utf format (standard now) so the question is ... what encoding are the original nohyph* files in 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
Re: [NTG-context] A couple of questions on heads.
Message: 8 Date: Tue, 2 Jan 2007 20:20:31 -0500 (EST) From: Aditya Mahajan [EMAIL PROTECTED] Subject: Re: [NTG-context] A couple of questions on heads. To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 2 Jan 2007, Elliot Clifton wrote: I'm typesetting a journal. I use \chapter to divide it into articles. I've defined my own heads, and I need to redefine \appendix, however despite reading the manual I cant get them behave as I want. Problems: 1. Each article may have appendices. I've tried defining my own 'appendix' head to replace the default one, but I can't decide which to use, should I derive from chapter or section? The problem with using section as the base, is that the count from my previous sections is inherited. I don't want numbers of the form 1.1, 1.2, etc, either. I want to number my appendices independently, starting from 1 without the chapter number. Also, I would like to use roman numerals. You can separate the appendices by a section block. For example % appendix is already a section block. By default, a section % block starts a new page, you may not want that in a journal \setupsectionblock[appendix][page=] % Change the conversion for sections in appendices. \setupsection [section-3] [appendixconversion=Romannumerals] \starttext \section{Test} \startappendices \section{An Appendix} \stopappendices \stoptext HTH, Yep. Thanks. I am now using section blocks to create meta-sections, so that inside the body-matter sections have no numbers whilst the appendices do. It works great. One minor problem though. I need the appendices to have labels, like: Appendix I, etc.. \setuplabeltext[appendix=Appendix] does not work in this situation what is the correct way of doing it? Thanks, Elliot ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
Sanjoy Mahajan wrote: From the texexec man page: --fast Typeset the document(s) as fast as possible without causing problems. --final Perform a final run without skipping anything. This option is typically used with --fast. So --fast --final could be the pair of switches to add. But I tried an experiment with mediocre results, using this test file: == q.tex = \doifnotmode{*last}{\pdfdraftmode=1} \starttext \completecontent \chapter{A} \dorecurse{500}{\input tufte\par} \chapter{B} \dorecurse{400}{\input tufte\par} \chapter{C} \dorecurse{100}{\input tufte\par} \stoptext I ran it with the attached Makefile, which produced this output: ctxtools --purge --all /dev/null rm -f q.pdf texexec --verbose --fast --final q.tex run.log Total runs: 4 (counted by grepping run.log for running: pdfetex) Draftmode runs: 3 (counted by grepping run.log for pdfdraftmode) TeXExec | runtime: 7.987485 Then I commented out the first line and reran it: ctxtools --purge --all /dev/null rm -f q.pdf texexec --verbose --fast --final q.tex run.log Total runs: 4 Draftmode runs: 0 (just to check) TeXExec | runtime: 8.307869 So the draftmode saves 4% in the runtime. But the fastest is to not use the draftmode and not use --final (which causes an extra run). Maybe I missing a trick, but the draftmode didn't save much time. I guess I should make the test file read in a few huge images? try bigger stuff, say a file with some 100 meg pictures and 25 fonts ; that's what draftmode is for (one of those ideas that popped up during eurotex 2006 at our usual pdftex dev chat). 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
Re: [NTG-context] Easy insertion of Unicode symbols?
On 2007-01-02, at 22:00.0, Henning Hraban Ramm wrote: Am 2006-12-31 um 15:59 schrieb [EMAIL PROTECTED]: I need to insert a few Unicode symbols...(Just the symbols for the solar system planets)... Is this going to be easy - doable inside ConTeXt with a few preparatory mystic runes, or will it require running scripts, moving files around, etc...? The wiki suggests: Use \enableregime[utf] in order to be able to typeset in unicode under ConTeXt. But is it as simple as it looks? Have a deeper look at the wiki: http://wiki.contextgarden.net/Symbols http://homepage.mac.com/atl/tex/ http://source.contextgarden.net/symb-uni.tex Of course you need the fonts containing the symbols in place... Thanks! I'm looking for a level 1 solution (ie one that doesn't require me to go into the Terminal and start typing commands and moving files). Adam's document was interesting but looked a bit too daunting - a level 2 solution. Nothing wrong with that, just that I've got to find the time and skill to do it. The symbol set reference was great - the planet symbols are accessible in: \usesymbols[mvs] \showsymbolset[astronomic] so I may not have to go to a unicode-font at all. I just wish there was some way of accessing all the standard fonts and symbols that are already a few millimetres away on the hard disk... :-) thanks again! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with mathalign
Hello, I wanted to keep Aditya busy now that he finished his wonderful new module ;), so ... I first wanted to ask how to number subformulas in a certain way, but that I figured out that numbering is already causing some problems on its own. Consider the following examples: \starttext This is almost OK, but has one formula number too much here: \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] a =b A =B \\ c =d C =D \\ \stopalign \stopformula \stopbuffer \typebuffer \getbuffer This results in a very weird formula numbering \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR \NC c \NC =d \NC C \NC =D \NR \stopalign \stopformula \stopbuffer \typebuffer \getbuffer Adding [+] helps, but than we have the same problem as at the beginning: \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR[+] \NC c \NC =d \NC C \NC =D \NR[+] \stopalign \stopformula \stopbuffer \typebuffer \getbuffer Without placeforumla, but with [+] we don't get any numbering at all: \startbuffer \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR[+] \NC c \NC =d \NC C \NC =D \NR[+] \stopalign \stopformula \stopbuffer \typebuffer \getbuffer \stoptext CtxTools | context version: 2006.12.27 11:34 (After running ctxtools --update I just managed to break everything.) Any clue? Thanks, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] A couple of questions on heads.
On Wed, 3 Jan 2007, Elliot Clifton wrote: Message: 8 Date: Tue, 2 Jan 2007 20:20:31 -0500 (EST) From: Aditya Mahajan [EMAIL PROTECTED] Subject: Re: [NTG-context] A couple of questions on heads. To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 2 Jan 2007, Elliot Clifton wrote: I'm typesetting a journal. I use \chapter to divide it into articles. I've defined my own heads, and I need to redefine \appendix, however despite reading the manual I cant get them behave as I want. Problems: 1. Each article may have appendices. I've tried defining my own 'appendix' head to replace the default one, but I can't decide which to use, should I derive from chapter or section? The problem with using section as the base, is that the count from my previous sections is inherited. I don't want numbers of the form 1.1, 1.2, etc, either. I want to number my appendices independently, starting from 1 without the chapter number. Also, I would like to use roman numerals. You can separate the appendices by a section block. For example % appendix is already a section block. By default, a section % block starts a new page, you may not want that in a journal \setupsectionblock[appendix][page=] % Change the conversion for sections in appendices. \setupsection [section-3] [appendixconversion=Romannumerals] \starttext \section{Test} \startappendices \section{An Appendix} \stopappendices \stoptext HTH, Yep. Thanks. I am now using section blocks to create meta-sections, so that inside the body-matter sections have no numbers whilst the appendices do. It works great. One minor problem though. I need the appendices to have labels, like: Appendix I, etc.. \setuplabeltext[appendix=Appendix] does not work in this situation what is the correct way of doing it? You also need to tell context to use the labeltext, by saying \setuphead [section] [appendixlabel=appendix, placehead=yes] % Make sure that \setuplabeltext[section=] is empty. % By default it is empty. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
On 1/3/07, Hans Hagen [EMAIL PROTECTED] wrote: the hyphenation files that context uses are either in a neutral (verbose format) or in utf format (standard now) so the question is ... what encoding are the original nohyph* files in I don't know anything about the language itself, but it seems to me that the encoding doesn't matter. All the special letters used in that file are the same in both ec and texnansi (from the first sight). Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, hyphenation
Mojca Miklavec wrote: On 1/3/07, Hans Hagen [EMAIL PROTECTED] wrote: the hyphenation files that context uses are either in a neutral (verbose format) or in utf format (standard now) so the question is ... what encoding are the original nohyph* files in I don't know anything about the language itself, but it seems to me that the encoding doesn't matter. All the special letters used in that file are the same in both ec and texnansi (from the first sight). in that case ctxtools --pat --utf no should generate the right ones 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
Re: [NTG-context] Easy insertion of Unicode symbols?
[EMAIL PROTECTED] wrote: On 2007-01-02, at 22:00.0, Henning Hraban Ramm wrote: Am 2006-12-31 um 15:59 schrieb [EMAIL PROTECTED]: I need to insert a few Unicode symbols...(Just the symbols for the solar system planets)... Is this going to be easy - doable inside ConTeXt with a few preparatory mystic runes, or will it require running scripts, moving files around, etc...? The wiki suggests: Use \enableregime[utf] in order to be able to typeset in unicode under ConTeXt. But is it as simple as it looks? Have a deeper look at the wiki: http://wiki.contextgarden.net/Symbols http://homepage.mac.com/atl/tex/ http://source.contextgarden.net/symb-uni.tex Of course you need the fonts containing the symbols in place... Thanks! I'm looking for a level 1 solution (ie one that doesn't require me to go into the Terminal and start typing commands and moving files). Adam's document was interesting but looked a bit too daunting - a level 2 solution. Nothing wrong with that, just that I've got to find the time and skill to do it. The symbol set reference was great - the planet symbols are accessible in: \usesymbols[mvs] \showsymbolset[astronomic] so I may not have to go to a unicode-font at all. I just wish there was some way of accessing all the standard fonts and symbols that are already a few millimetres away on the hard disk... :-) later this year when we go to native open type with on the fly font composition, fallback etc etc etc 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
Re: [NTG-context] Problems with mathalign
On Wed, 3 Jan 2007, Mojca Miklavec wrote: Hello, I wanted to keep Aditya busy now that he finished his wonderful new module ;), so ... I first wanted to ask how to number subformulas in a certain way, but that I figured out that numbering is already causing some problems on its own. Consider the following examples: \starttext This is almost OK, but has one formula number too much here: \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] a =b A =B \\ c =d C =D \\ \stopalign \stopformula \stopbuffer \typebuffer \getbuffer Do not use the latex syntax. This results in a very weird formula numbering Something is broken. AFAIK, this should not give you any number. \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR \NC c \NC =d \NC C \NC =D \NR \stopalign \stopformula \stopbuffer \typebuffer \getbuffer Adding [+] helps, but than we have the same problem as at the beginning: Adding [+] is necessary. \startbuffer \placeformula \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR[+] \NC c \NC =d \NC C \NC =D \NR[+] \stopalign \stopformula \stopbuffer \typebuffer \getbuffer I can confirm that there is an extra number. I do not know what is causing this. I am not aware of anything in core-mat has changed. I compiled My Way on mathalign, and everything has an extra number. hmm... Without placeforumla, but with [+] we don't get any numbering at all: Yes you need the placefurmula. \startbuffer \startformula \startalign[m=2,distance=3cm] \NC a \NC =b \NC A \NC =B \NR[+] \NC c \NC =d \NC C \NC =D \NR[+] \stopalign \stopformula \stopbuffer \typebuffer \getbuffer \stoptext CtxTools | context version: 2006.12.27 11:34 (After running ctxtools --update I just managed to break everything.) Any clue? Something is broken. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Easy insertion of Unicode symbols?
On 1/3/07, [EMAIL PROTECTED] wrote: so I may not have to go to a unicode-font at all. I just wish there was some way of accessing all the standard fonts and symbols that are already a few millimetres away on the hard disk... :-) thanks again! Do you want to say that you would like to use an existing font on your system for those symbols? What about using XeTeX? The following example is not very ConTeXt-ish, but it should work (if you got the unicode glyph right): \font\astro='name of your font with astro symbols or unicode font' \def\neptune{{\astro ♆}} \starttext \neptune \stoptext Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
luigi scarso wrote: On 1/2/07, Taco Hoekwater [EMAIL PROTECTED] wrote: Hi, The next message probably also is interestering to a few of you that are not subscribed to the pdftex list. Oh, i'm one of the few... the pdftex list nowadays is mostly a latex bug/support report list ; pdftex and luatex development have their own lists 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
[NTG-context] engine should be pdftex
Hello, texexec --make --all puts the formats in the subdirectory pdfetex but I think it should be pdftex now. Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] cannot generate format with XeTeX
Hello, with XeTeX 3.141592-0.996 (Web2C 7.5.6) and ConTeXt-2007.1.2 I get the following error when issuing texexec --make --xtx en: ) (/opt/TeX-live/texmf-context/tex/context/base/enco-pfr.tex loading : Context Encoding Macros (pdf) ! Undefined control sequence. l.63 \ifcase\pdfgentounicode \else \expandafter \endinput \fi Do you have a solution? 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] Easy insertion of Unicode symbols?
The symbol set reference was great - the planet symbols are accessible in: \usesymbols[mvs] \showsymbolset[astronomic] so I may not have to go to a unicode-font at all. The symbol set was (Roland Waldi's symbols AKA wasysym) contains even more astronomic symbols; check which fit your needs better. was wasn't mentioned on the symbols page until now, but comes with the distribution. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] semi-smart quotes in verbatim text?
This is puzzling me. If i type this in a text editor: \starttext These are 'quotes'. \starttyping let a = 'quoted string' \stoptyping \stoptext I'm using dumb quotes (hex 27). ConText renders this as this: These are ’quotes’. let a = ’quoted string’ ie the quotes have been educated - although only half-educated, since the opening one should be an opening one, if you see what I mean. But I really don't want characters in the verbatim (typing) section to change...because when you copy them from the PDF into an editor, the code listings don't work! There must be some kind of switch somewhere that stops ConteXt changing them? thanks for any help ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] engine should be pdftex
texexec --make --all puts the formats in the subdirectory pdfetex but I think it should be pdftex now. If 'now' means with pdftex 1.40.0, I think you're right. But that would break context with earlier pdftex's. I've made a symlink from /var/lib/texmf/web2c/pdftex to pdfetex and all is okay now. TexLive2006 works without that hack, because it doesn't put the context formats in an $engine subdirectory, which may cause other problems. See the thread debian context updates (Tue, 02 Jan 2007 20:39:40 GMT). -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
Re: [NTG-context] A couple of questions on heads.
Message: 2 Date: Wed, 3 Jan 2007 12:32:30 -0500 (EST) From: Aditya Mahajan [EMAIL PROTECTED] Subject: Re: [NTG-context] A couple of questions on heads. To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 3 Jan 2007, Elliot Clifton wrote: Message: 8 Date: Tue, 2 Jan 2007 20:20:31 -0500 (EST) From: Aditya Mahajan [EMAIL PROTECTED] Subject: Re: [NTG-context] A couple of questions on heads. To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 2 Jan 2007, Elliot Clifton wrote: I'm typesetting a journal. I use \chapter to divide it into articles. I've defined my own heads, and I need to redefine \appendix, however despite reading the manual I cant get them behave as I want. Problems: 1. Each article may have appendices. I've tried defining my own 'appendix' head to replace the default one, but I can't decide which to use, should I derive from chapter or section? The problem with using section as the base, is that the count from my previous sections is inherited. I don't want numbers of the form 1.1, 1.2, etc, either. I want to number my appendices independently, starting from 1 without the chapter number. Also, I would like to use roman numerals. You can separate the appendices by a section block. For example % appendix is already a section block. By default, a section % block starts a new page, you may not want that in a journal \setupsectionblock[appendix][page=] % Change the conversion for sections in appendices. \setupsection [section-3] [appendixconversion=Romannumerals] \starttext \section{Test} \startappendices \section{An Appendix} \stopappendices \stoptext HTH, Yep. Thanks. I am now using section blocks to create meta-sections, so that inside the body-matter sections have no numbers whilst the appendices do. It works great. One minor problem though. I need the appendices to have labels, like: Appendix I, etc.. \setuplabeltext[appendix=Appendix] does not work in this situation what is the correct way of doing it? You also need to tell context to use the labeltext, by saying \setuphead [section] [appendixlabel=appendix, placehead=yes] % Make sure that \setuplabeltext[section=] is empty. % By default it is empty. Thanks. That does the trick. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Easy insertion of Unicode symbols?
On 2007-01-03, at 20:01.0, Henning Hraban Ramm wrote: The symbol set reference was great - the planet symbols are accessible in: \usesymbols[mvs] \showsymbolset[astronomic] so I may not have to go to a unicode-font at all. The symbol set was (Roland Waldi's symbols AKA wasysym) contains even more astronomic symbols; check which fit your needs better. was wasn't mentioned on the symbols page until now, but comes with the distribution. Thanks. I'll try to get this working too! It will be something like this, i expect: \usesymbols[was] \showsymbolset[astronomy] only this doesn't work... :-) I really appreciate the help of you guys - steep learning curves etc . ! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Easy insertion of Unicode symbols?
On 1/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 2007-01-03, at 20:01.0, Henning Hraban Ramm wrote: The symbol set was (Roland Waldi's symbols AKA wasysym) contains even more astronomic symbols; check which fit your needs better. was wasn't mentioned on the symbols page until now, but comes with the distribution. Thanks. I'll try to get this working too! It will be something like this, i expect: \usesymbols[was] \showsymbolset[astronomy] only this doesn't work... :-) Take a look into symb-was.tex. It's \showsymbolset[wasy astronomy]. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] engine should be pdftex
Sanjoy Mahajan wrote: texexec --make --all puts the formats in the subdirectory pdfetex but I think it should be pdftex now. If 'now' means with pdftex 1.40.0, I think you're right. But that would break context with earlier pdftex's. I've made a symlink from /var/lib/texmf/web2c/pdftex to pdfetex and all is okay now. TexLive2006 works without that hack, because it doesn't put the context formats in an $engine subdirectory, which may cause other problems. See the thread debian context updates (Tue, 02 Jan 2007 20:39:40 GMT). You need to delete all traces of pdfetex, pdfetex.pool, pdfetex, pdfetex.exe, pdfetex.dll, trhe pdfetex engine path, etc If texexec finds something pdfetex, it assumes pdfetex is there (unfortunately downward compatiility is not one of the strong points of tex distributions; they often assume wipe-out-install-new. texexec tries to cope with this as good as possible but we need to take older binary installations into account (else we could drop any reference to pdfetex) 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
Re: [NTG-context] cannot generate format with XeTeX
� wrote: Hello, with XeTeX 3.141592-0.996 (Web2C 7.5.6) and ConTeXt-2007.1.2 I get the following error when issuing texexec --make --xtx en: ) (/opt/TeX-live/texmf-context/tex/context/base/enco-pfr.tex loading : Context Encoding Macros (pdf) ! Undefined control sequence. l.63 \ifcase\pdfgentounicode \else \expandafter \endinput \fi Do you have a solution? %D \module %D [ file=enco-pfr, %Dversion=2000.12.10, % adapted 2005.08.14 to more delayed loading %D title=\CONTEXT\ Encoding Macros, %D subtitle=PDF Font Resource Inclusion, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \ Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. \beginXETEX \endinput \endXETEX \ifx\pdffontresource\undefined\else\endinput\fi \writestatus{loading}{Context Encoding Macros (pdf)} - 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] Problems with mathalign
Aditya Mahajan wrote: I can confirm that there is an extra number. I do not know what is causing this. I am not aware of anything in core-mat has changed. There is that extra stuff in \everymathematics. Could that be it? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
Aditya Mahajan wrote: which makes be believe that it will not work for normal cases. However, how about adding a switch to texexec, say --draft, which will run the document in draftmode until no more runs are needed, and will then run a final typesetting run without the draftmode. This may speed up the execution time for long documents significantly. indeed remind me to play with this feature 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
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
Martin wrote: 2007/1/3, Aditya Mahajan [EMAIL PROTECTED]: which makes be believe that it will not work for normal cases. However, how about adding a switch to texexec, say --draft, which will run the document in draftmode until no more runs are needed, and will then run a final typesetting run without the draftmode. This may speed up the execution time for long documents significantly. It helps especially if your document produces a large pdf and/or includes many and/or large images. and it probably also makes a difference when one uses many fonts (hz or so - less file access, no vector calculations, etc) 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
Re: [NTG-context] semi-smart quotes in verbatim text?
[EMAIL PROTECTED] wrote: This is puzzling me. If i type this in a text editor: \starttext These are 'quotes'. \starttyping let a = 'quoted string' \stoptyping \stoptext I'm using dumb quotes (hex 27). ConText renders this as this: These are �quotes�. let a = �quoted string� ie the quotes have been educated - although only half-educated, since the opening one should be an opening one, if you see what I mean. But I really don't want characters in the verbatim (typing) section to change...because when you copy them from the PDF into an editor, the code listings don't work! There must be some kind of switch somewhere that stops ConteXt changing them? context does nothing with the quotes, its the font 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
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
which makes be believe that it will not work for normal cases. However, how about adding a switch to texexec, say --draft, which will run the document in draftmode until no more runs are needed, and will then run a final typesetting run without the draftmode. This may speed up the execution time for long documents significantly. indeed remind me to play with this feature When you do: --final could do what Aditya suggests by default (if making pdf). Then no need to add another switch to texexec. -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] Storing temporary files in a different location
Hello, Context places a bunch of temporary files into the same folder where my source and output files are. Is there a way to tell texexec to store temporary files in a different location, say, in a \temp folder? With best regards, Vyatcheslav ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Storing temporary files in a different location
On Thu, 4 Jan 2007, Vyatcheslav Yatskovsky wrote: Hello, Context places a bunch of temporary files into the same folder where my source and output files are. Is there a way to tell texexec to store temporary files in a different location, say, in a \temp folder? No, but you can ask texexec to get rid of them at the end of the run with texexec --purge file Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Help --- Arithmetic Overflow: Weird error
All, Anyone see what I am doing wrong here? \setupcolors[state=start] \definecolor[gridlines][s=0.7] \startMPinclusions color mygridcolor; mygridcolor=\MPcolor{gridlines}; \stopMPinclusions \starttext \startbuffer[one] % initialize scale numeric u; 10u=4cm; % draw grid for k=-5u step 1u until 5u: draw (-5u,k)--(5u,k) withcolor mygridcolor; draw (k,-5u)--(k,5u) withcolor mygridcolor; endfor; % draw axes drawdblarrow (-5.2u,0)--(5.2u,0); drawdblarrow (0,-5.2u)--(0,5.2u); % label axes label.rt(btex $\tfx x$ etex, (5.2u,0)); label.top(btex $\tfx y$ etex, (0,5.2.u)); label.bot(btex $\tfx 5$ etex, (5u,0)); label.lft(btex $\tfx 5$ etex, (0,5u)); %draw the given line and the parallel line drawdblarrow (-5u,-4.5u)--(5u,0.5u) withcolor blue; label.bot(btex $\tfx x-2y=4$ etex, (-5u,-4.5u)); %pairs pair Q, R; R:=(4u,0u); Q:=(0u,-2u); %labels dotlabel.lrt(btex $\tfx R(4,0)$ etex, R); dotlabel.lrt(btex $\tfx Q(0,-2)$ etex, Q); \stopbuffer \startbuffer[two] % initialize scale numeric u; 10u=4cm; % draw grid for k=-5u step 1u until 5u: draw (-5u,k)--(5u,k) withcolor mygridcolor; draw (k,-5u)--(k,5u) withcolor mygridcolor; endfor; % draw axes drawdblarrow (-5.2u,0)--(5.2u,0); drawdblarrow (0,-5.2u)--(0,5.2u); % label axes label.rt(btex $\tfx x$ etex, (5.2u,0)); label.top(btex $\tfx y$ etex, (0,5.2.u)); label.bot(btex $\tfx 5$ etex, (5u,0)); label.lft(btex $\tfx 5$ etex, (0,5u)); %draw the given line and the parallel line drawdblarrow (-5u,-4.5u)--(5u,0.5u) withcolor blue; label.bot(btex $\tfx x-2y=4$ etex, (-5u,-4.5u)); drawdblarrow (-4u,5u)--(1u,-5u) withcolor blue; %pairs pair P, Q, R; P:=(-3u,3u); Q:=(-3u,1u); R:=(-2u,1u); draw P--Q--R withpen pencircle scaled 1pt withcolor red; label.lft(btex $\tfx \Delta y=-2$ etex, 0.5[P,Q]); label.bot(btex $\tfx \Delta x=1$ etex, 0.5[Q,R]); %labels dotlabel.urt(btex $\tfx (-3,3)$ etex, P); \stopbuffer \startbuffer[combined] \startcombination[2*1] {\processMPbuffer[one]}{(a)} {\processMPbuffer[two]}{(b)} \stopcombination \stopbuffer \startlinecorrection[blank] \midaligned{\getbuffer[combined]} \stoplinecorrection %\startlinecorrection[blank] %\midaligned{\processMPbuffer[two]} %\stoplinecorrection \stoptext I am getting this error: ! Arithmetic overflow. recently read \@@raggedskipb \setraggedness ...e \@@raggedskipa \@@raggedskipb \hyphenpenalty \@@raggedsk... \raggedcenter -\setraggedness \middleraggedness \setraggedskips 2 \middlerag... \@@align@@middle ...gedcenter \else \raggedcenter \fi \fi \next2 #1,-\dodosetupalign {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.3 {\processMPbuffer[two]}{( b)} ? It doesn't seem to be the Metapost code, because if you uncomment and comment the last few lines like this: %\startbuffer[combined] % \startcombination[2*1] %{\processMPbuffer[one]}{(a)} %{\processMPbuffer[two]}{(b)} % \stopcombination %\stopbuffer % %\startlinecorrection[blank] %\midaligned{\getbuffer[combined]} %\stoplinecorrection \startlinecorrection[blank] \midaligned{\processMPbuffer[two]} \stoplinecorrection It compiles fine. So does this: I'm stymied. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
Sanjoy Mahajan wrote: which makes be believe that it will not work for normal cases. However, how about adding a switch to texexec, say --draft, which will run the document in draftmode until no more runs are needed, and will then run a final typesetting run without the draftmode. This may speed up the execution time for long documents significantly. indeed remind me to play with this feature When you do: --final could do what Aditya suggests by default (if making pdf). Then no need to add another switch to texexec. maybe later, when i feel comfortable enough with it; for the moment i added --draft 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
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
On Thu, 4 Jan 2007, Hans Hagen wrote: Sanjoy Mahajan wrote: which makes be believe that it will not work for normal cases. However, how about adding a switch to texexec, say --draft, which will run the document in draftmode until no more runs are needed, and will then run a final typesetting run without the draftmode. This may speed up the execution time for long documents significantly. indeed remind me to play with this feature When you do: --final could do what Aditya suggests by default (if making pdf). Then no need to add another switch to texexec. maybe later, when i feel comfortable enough with it; for the moment i added --draft Great. Is there someplace where I can download pdftex binaries for windows? The sarovar site only has source code. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
2007/1/4, Aditya Mahajan [EMAIL PROTECTED]: Is there someplace where I can download pdftex binaries for windows? The sarovar site only has source code. Akira's W32TeX: http://www.fsci.fuk.kindai.ac.jp/~kakuto/win32-ptex/web2c75-e.html Or get the latest TexLive test image. Best Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Help --- Arithmetic Overflow: Weird error
Mojca, Does the code I sent crash on your system with an overflow error? On Jan 3, 2007, at 5:34 PM, Mojca Miklavec wrote: Btw: use \sometxt{$\tfx x-2y=4$} instead of btex $\tfx x-2y=4$ etex It's much more efficient. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Help --- Arithmetic Overflow: Weird error
Mojca, Mac OS X 10.4.8. Gerben's GWTeX. LinearFunctions $ texmfstart texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD On Jan 3, 2007, at 5:45 PM, Mojca Miklavec wrote: david.pdf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]
On Thu, 4 Jan 2007, Martin Schröder wrote: 2007/1/4, Aditya Mahajan [EMAIL PROTECTED]: Is there someplace where I can download pdftex binaries for windows? The sarovar site only has source code. Akira's W32TeX: http://www.fsci.fuk.kindai.ac.jp/~kakuto/win32-ptex/web2c75-e.html Thanks Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Help --- Arithmetic Overflow: Weird error
Mojca, Attached. Meanwhile, I guess I should try to update my Context and see if that makes a difference. I found that I needed to update my installer and now I am realizing that I am a bit behind the times. In trying Context Updater in the update i-installer, I get this message: You are now installing in the location for de deprecated gwTeX 2003-2005 i-Package in part based on teTeX. This is probably not what you want. I suggest you make sure you have the gwTeX i-Package based on TeX Live installed. Then the best thing is to reset this i-Package to its default package properties. It will then pick up the new default location. Looks like it wants me to install the latest tex. Any advice? On Jan 3, 2007, at 6:01 PM, Mojca Miklavec wrote: On 1/4/07, David Arnold [EMAIL PROTECTED] wrote: Mojca, Mac OS X 10.4.8. Gerben's GWTeX. LinearFunctions $ texmfstart texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD (I also use gwTeX here.) Can you send me complete file+logs? Mojca junk.tex Description: Binary data junk.log Description: Binary data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Help --- Arithmetic Overflow: Weird error
On 1/4/07, David Arnold wrote: Mojca, Attached. You've sent one line too few from your log: [MP to PDF] (./junk-mpgraph.1) color : currentcolor (def) is not defined [MP junk-mpgraph.2] ! Arithmetic overflow. This implies too old ConTeXt anyway (ctxtools --contextversion), I'm not sure about the metapost (I don't know how old metapost may be for the latest ConTeXt to work). Meanwhile, I guess I should try to update my Context and see if that makes a difference. I found that I needed to update my installer and now I am realizing that I am a bit behind the times. Not so much behind the time ... TeXLive hasn't been officially released yet. In trying Context Updater in the update i-installer, I get this message: You are now installing in the location for de deprecated gwTeX 2003-2005 i-Package in part based on teTeX. This is probably not what you want. I suggest you make sure you have the gwTeX i-Package based on TeX Live installed. Then the best thing is to reset this i-Package to its default package properties. It will then pick up the new default location. Looks like it wants me to install the latest tex. Any advice? Always update ConTeXt before reporting problems ;) Now, as a punisment, you're invited to test TeXLive images ;) If you have a broad internet connection and some time available, just uninstall context, uninstall tex, install texlive and then install context again. ctxtools --update might also work, but the first way is suggested anyway. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] GWTEX -- Uninstall before installing the new?
All, GWTeX has some serious updates. Should I uninstall the deprecated tex before installing the new? Or can they both be installed at the same time (in case the new doesn't work well with my old files). ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cdwincontext
Has anyone modified the batch file in cdwincontext so that it will run on Windows98? If so, can I get a copy of the batch file? Yes, I have done this in the past. But I have updated my windows and deleted the old stuff. If nobody else has working files I can summarize, what I have done. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] GWTEX -- Uninstall before installing the new?
I did both, and both work methods work - I haven't tried to reuse the deprecated version though. You have to change in TeXshop the engine from /usr/local/teTeX/bin/ powerpc-apple-darwin-current to /usr/local/gwTeX/bin/powerpc-apple- darwin-current to make it work. If you modified your TeX installation, you might need to do a little more work... Matthias On Jan 3, 2007, at 9:40 PM, David Arnold wrote: All, GWTeX has some serious updates. Should I uninstall the deprecated tex before installing the new? Or can they both be installed at the same time (in case the new doesn't work well with my old files). ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Help --- Arithmetic Overflow: Weird error
Mojca, Well, I just finished installing gwtex, the newer version. It is in / usr/local/gwTeX. I am just finishing installing CM Super fonts. I'll then do Freetype, libwmf, and ImageMagick and ghostscript. Then I'll do the contextupdater. There's something about a preference pane but I haven't found that yet. At the moment, from my command line, I am finding the old tex. darnold $ which pdflatex /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex Advice welcome as I proceed. On Jan 3, 2007, at 7:45 PM, Mojca Miklavec wrote: On 1/4/07, David Arnold [EMAIL PROTECTED] wrote: Mojca, What is ctxtools --contextversion It tells you the version of ConTeXt rather than the version of texexec. Perhaps you need to use texmfstart ctxtools --contextversion (before upgrading) Evn if you uninstall tex.ii2, you can still install it agin if something fails. The problem might be that if you don't uninstall tex.ii2, context might install under tetex and then you won't be able to update context itself (although the version should be OK) Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Help --- Arithmetic Overflow: Weird error
Mojca, Looks like I did it. Thanks for the help. All is well at the moment. On Jan 3, 2007, at 8:19 PM, Mojca Miklavec wrote: On 1/4/07, David Arnold [EMAIL PROTECTED] wrote: OK. I am starting anew. I uninstalled the old. Now, I do have some stuff in ~/Library/texmf, and I am at a point in the installation where I am getting this message: I found (a) personal configuration file(s) for user(s): David Arnold. These users will not fully use system-wide settings and their TeX configuration is not fully covered by this system-wide configuration phase. I suspect they are related. However, I don't want to just delete these as some would be hard to recover. Can I put them in a tmp directory somewhere? And, after the installation completes, is thre a proper new place to move them to? I did mv texmf texmf2 You can recover them later if needed by copying single files or folders back. In my case there were only format files. I had to do that because I got format file mismatch - there were ConTeXt formats in there, but they were older as they should be. Probably it would be OK if I just regenerated the formats again. Don't bother too much. If something causes you troubles, just rename the whole tree. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cdwincontext
Wolfgang, Thanks. I'll wait to see if someone can come up with a file. If not, I'll get back to you. Anyone out there have an existing file for win98 that works? On Jan 3, 2007, at 5:46 PM, Wolfgang Werners-Lucchini wrote: Has anyone modified the batch file in cdwincontext so that it will run on Windows98? If so, can I get a copy of the batch file? Yes, I have done this in the past. But I have updated my windows and deleted the old stuff. If nobody else has working files I can summarize, what I have done. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt 2007.01.02
On Tuesday 02 January 2007 06:19, Taco Hoekwater wrote: * footnote referencing fix Taco, The problem seems to have changed but it is still there. New test case: \starttext \chapter[A]{One} \footnote{foot} \chapter[B]{Two} \somewhere{before}{after}[B] \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Hello, on html and LaTeX
hello, my first post. I am looking for tools to convert Html to LaTeX. It has been suggestd to me that ConTeXt could be used to do so. Is it the case? If yes, how? Thanks Regards mario ps pls. cc to my personal address below too. -- mario [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] palet option in typing not working
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All (especially Hans :-) ), It seems user palets don't work (anymore?), just downloaded the new version but still has the same problem as the version I used before (aug 2006). Sample file: - -- % interface=en \setupbodyfont [postscript,16pt] \setupcolors [state=start] \setupalign [hyphenated] \definepalet [MYcolorpretty] [prettyone=colorprettyone, prettytwo=colorprettytwo, prettythree=colorprettythree, prettyfour=colorprettyfour] \setuptyping [TEX] [palet=MYcolorpretty] \starttext \startTEX \this \is \a \test \stopTEX \stoptext - -- As you will see, there are no colors anymore. My tex and context versions: This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 2007.1.4) 4 JAN 2007 20:14 entering extended mode ConTeXt ver: 2007.01.02 13:44 MK II fmt: 2007.1.4 int: english/english - -- Live long and prosper, Berend de Boer PS: This email has been digitally signed if you wonder what the strange characters are that your outdated email client displays. PGP public key: http://www.pobox.com/~berend/berend-public-key.txt -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/ iD8DBQFFnKnoIyuuaiRyjTYRAv+VAJ0VIYai3VEQ+dJAAz2QSWFXJYXwLwCg6Pcx rA6PYx8/DeeCsLHXjLMGwdU= =8DU/ -END PGP SIGNATURE- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Hello, on html and LaTeX
On 1/3/07, mario wrote: hello, my first post. I am looking for tools to convert Html to LaTeX. It has been suggestd to me that ConTeXt could be used to do so. Is it the case? If yes, how? There is no html2latex command available in ConTeXt (if that's what you're looking for), but if you're ready to invest some time, you can get quality out of XML documents. You'll probably get better answers, but here are a few pages: http://wiki.contextgarden.net/Category:XML ps pls. cc to my personal address below too. I would suggest you to subscribe to the list anyway. You can select no mail option, otherwise you might have to wait up to one day before any of your posts will be accepted. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse
Not sure if the following are new behaviors or are the correct ones but I'm just misunderstanding. The following jjj.tex file doesn't correctly generate and include the static metapost figure unless I set \runMPgraphicstrue and \runMPTEXgraphicstrue in cont-sys.rme and set shell_escape = t. If \runMPgraphicsfalse and \runMPTEXgraphicsfalse but shell_escape = t, then the generated pdf figure is only 1pt wide but is included. If all settings are false, then there's a grey square saying 'dummy' etc. It all works fine if all three settings are true. But I thought that one can leave all three settings false, and texexec will still produce the same pdf just with more runs? This is with context 2006.12.27 (from the Debian context package), pdftex 1.40.0, metapost 0.993, plus mostly texlive 2005. === begin: jjj.tex == \starttext \startstaticMPfigure{fig:ellipse} path p; p := fullcircle scaled 2in yscaled 0.5; label(btex hello etex, origin); draw p; \stopstaticMPfigure \placefigure[right,none]{}{\usestaticMPfigure[fig:ellipse]} \input tufte \stoptext === end: jjj.tex == -Sanjoy `A nation of slaves is always prepared to applaud the clemency of their master who, in the abuse of absolute power, does not proceed to the last extremes of injustice and oppression.' (Gibbon) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problem using mptopdf with Metapost containing LaTeX
Hi, I am not really a ConTeXt user but use the mptopdf script to convert my mp drawings directly into pdf which was working great in the past. Yesterday and the day before i updated my TeX system using Gerben's i-Installer to the new gwTeX foundation and to the latest ConTeXt beta and since then I get an error if my Metapost file contains LaTeX control sequences: MPtoPDF 1.3.2 : running 'texexec --mptex ' TeXExec | processing graphic 'mp-minimal.mp' TeXExec | using internal mptotex converter TeXExec | processing document 'mp-minimal-temp.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | writing option file mp-minimal-temp.top TeXExec | using randomseed 1177 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en This is pdfTeX, Version 3.141592-1.40.0-rc4 (Web2C 7.5.5) (/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx) entering extended mode (./mp-minimal-temp.tex ConTeXt ver: 2007.01.02 13:44 MK II fmt: 2007.1.3 int: english/english language: language en is active system : cont-new loaded (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-new.mkii)) system : cont-old loaded (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/gwTeX/texmf.pkgs/tex/context/user/cont-sys.rme (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-exa.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-syn.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-enc.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-siz.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-map.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-spe.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en-ec:ec-1-2:3 uk-ec:ec-2-2:3 de-texnansi:tex nansi-3-2:3 de-ec:ec-4-2:3 fr-texnansi:texnansi-5-2:3 fr-ec:ec-6-2:3 es-ec:ec-7-2:3 pt-texnansi:texnansi-8-2:3 pt-ec:ec-9-2:3 it-texnansi :texnansi-10-2:3 it-ec:ec-11-2:3 nl-texnansi:texnansi-12-2:3 nl-ec:ec- 13-2:3 cz-il2:il2-14-2:3 cz-ec:ec-15-2:3 sk-il2:il2-16-2:3 sk-ec:ec -17-2:3 pl-pl0:pl0-18-2:3 pl-ec:ec-19-2:3 pl-qx:qx-20-2:3 loaded specials: tex,postscript,rokicki loaded system : mp-minimal-temp.top loaded (./mp-minimal-temp.top specials: loading definition file dvi (/usr/local/gwTeX/texmf.pkgs/tex/context/base/spec-dvi.tex) specials: tex loaded specials: loading definition file ps (/usr/local/gwTeX/texmf.pkgs/tex/context/base/spec-ps.tex) specials: tex,postscript loaded specials: loading definition file tr (/usr/local/gwTeX/texmf.pkgs/tex/context/base/spec-tr.tex) specials: tex,postscript,rokicki loaded ) systems : system commands are disabled (/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-def.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.tex) systems : begin file mp-minimal-temp at line 42 ! Undefined control sequence. l.44 \documentclass [12pt,a4paper]{article} ? ! Emergency stop. l.44 \documentclass [12pt,a4paper]{article} No pages of output. Transcript written on mp-minimal-temp.log. TeXExec | runtime: 0.529086 This is MetaPost, Version 0.993 (Web2C 7.5.5) (/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx) (mp-minimal.mp mp-minimal.mp mp-minimal.mpx ! Unable to make mpx file. l.9 label(btex Test etex, (1,1) ); Transcript written on mp-minimal.log. TeXExec | runtime: 0.865779 MPtoPDF 1.3.2 : no filename matches mp-minimal Here is my minimal example: prologues:=2; verbatimtex \documentclass[12pt,a4paper]{article} \begin{document} etex beginfig(1); label(btex Test etex, (1,1) ); endfig; end I tried to understand which script is actual called when i call mptopdf but got kind of lost in the sequence of shell script calling ruby scripts calling perl scripts, etc. So, I wasn't able to find out the right command line options, etc. for making mpost aware of calling latex instead of tex. Can someone help me out here? Best regards Martin -- If you didn't get caught, did you really do it? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context