Re: [NTG-context] PDF grayscale conversion (OT)
try convert (in image magick) On Tue, Mar 10, 2009 at 10:38 AM, Alan Bowen acbo...@princeton.edu wrote: I have used to ConTeXt to generate a hefty PDF file with b/w text and color images. Is there a way to convert this file to a PDF file with b/w text and grayscale images (256 shades)? I know I could always convert the images first and then reset the book, but I was wondering if there was a simpler more direct way before I start doing that. (There are over 70 images.) Best, Alan___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] pdftex error
Mojca: This problem is still not fixed. Try to add both kpathsea357.dll (required by luatex) and kpathsea357-dev.dll (required by pdftex, xetex, mpost) into your fetch script. Yue Wang On Mon, Mar 9, 2009 at 4:17 PM, Yue Wang yuleo...@gmail.com wrote: Yes. she needs to add that line into her script. for now you can manually get that from w32tex's luatex-dev package. On Mon, Mar 9, 2009 at 12:25 PM, Fengnan fnst...@hotmail.com wrote: When I updated my context minimal earlier today, at the end of the update process, the cmd window pops up a error message box which says Unable to find kpathsea357-dev.dll, so this program cannot be started ( I translate from Chinese). Just pure guess, did Mojca forget to put the file in the right place? Fengnan Gao fnst...@hotmail.com ___ 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] PDF grayscale conversion (OT)
On Tue, Mar 10, 2009 at 2:38 PM, Yue Wang yuleo...@gmail.com wrote: try convert (in image magick) convert book.pdf -colorspace Gray book.jpg might help. (it will generate book-xx.jpg) Yue Wang ___ 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] A few minor questions
Vyatcheslav Yatskovsky wrote: Hello, 1) I use \setupindenting[yes, big]. How to make the first paragraph (after the section title) to be indented too? \setuphead[section][indentnext=yes] 2) I made a command for abstracts (a few lines in the beginning of the paper, one paragraph only). Please, look at my definition, i'd like to know how to implement it in more elegant, ConTeXt way. \startsetups abstract:before \startalignment[middle] \switchtobodyfont[11pt] \bgroup\it \stopsetups \startsetups abstract:after \egroup \stopalignment \blank[big] \stopsetups \definestartstop [Abstract] [before=\directsetup{abstract:before}, after=\directsetup{abstract:after}] \startAbstract ... \stopAbstract Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Vyatcheslav Yatskovsky wrote: Is there a script which can be called font-win.tex, which describes all OS-shipped fonts on Windows platform? If not, why? :o) IIRC, every Windows platform ships with a slightly different list. There are the 12 basic TimesNewRoman, Arial and Courier fonts, but not all versions of those fonts have the same glyph repertoire. For Hans, this would be a useful addition to mtx-fonts: mtxrun --script=fonts --list --tree=\$OSFONTDIR Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Consistent row spacing in TABLEs
Hello, I have a problem to get consistent row spacing in TABLEs when the whitespace in the document is set to any other than 'none'. Example: % coding: utf-8 \enableregime[utf] \setupwhitespace[medium] % \setupwhitespace[none] %% with this it works fine \setupTABLE [spaceinbetween=7pt,split=yes] \starttext \bTABLE \dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR} \eTABLE \stoptext The row spacing after the page break seems to be correct, but on the first page the vertical space is heavily reduced (as it is in one-page TABLEs). The only solution I found was to change the whitespace setting to none before each table. Is there any other workaround? Or am I doing something completely wrong? ConTeXt ver: 2009.02.25 14:43 MKII Thanks in advance Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] protrusion and \quotation{…}
Hello, is it volitional/known that there is no protrusion if one using \quotation{…} (under mkiv)? \definefontfeature[protrusion][default][protrusion=quality] \definefont[test][Serif*protrusion at 24pt] \setupalign[hanging] \starttext \showframe \test\setupinterlinespace \quotation{Hello World}\hfill \quotation{Hello World}\crlf “Hello World”\hfill “Hello World” \blank \de \quotation{Hello World}\hfill \quotation{Hello World}\crlf „Hello World“\hfill „Hello World“ \quote{Hello World}\hfill \quote{Hello World}\crlf ‚Hello World‘\hfill ‚Hello World‘ \blank \setuplanguage [de] [ leftquote=\rightsubguillemot, leftquotation=\rightguillemot, rightquote=\leftsubguillemot, rightquotation=\leftguillemot] \quotation{Hello World}\hfill \quotation{Hello World}\crlf »Hello World«\hfill »Hello World« \blank \setuplanguage [de] [ leftquote=›, leftquotation=», rightquote=‹, rightquotation=«] \quotation{Hello World}\hfill \quotation{Hello World}\crlf »Hello World«\hfill »Hello World« \quote{Hello World}\hfill \quote{Hello World}\crlf ›Hello World‹\hfill ›Hello World‹ \blank \hfill ||Hello World||\crlf \null\hfill –~Hello World~– \stoptext Greetings Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] protrusion and \quotation{… }
Am 10.03.2009 um 11:16 schrieb Andreas Harder: Hello, is it volitional/known that there is no protrusion if one using \quotation{…} (under mkiv)? You need a different method for quotations. \setupdelimitedtext[quotation][method=font] or \setupquotation[method=font] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Am 10.03.2009 um 09:46 schrieb Taco Hoekwater: Vyatcheslav Yatskovsky wrote: Is there a script which can be called font-win.tex, which describes all OS-shipped fonts on Windows platform? If not, why? :o) IIRC, every Windows platform ships with a slightly different list. There are the 12 basic TimesNewRoman, Arial and Courier fonts, but not all versions of those fonts have the same glyph repertoire. That's not a reason why we can't ship typescript files for Windows and Mac. We still have type-msw with typescripts for Verdana and Arial and type-xtx with typescripts for the Mac (a lot of them for XeTeX only). I think it makes sense to provide two new files type-win for fonts included in Windows Vista and type-mac for Mac OS (are .dfont fonts working in LuaTeX 0.40). Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Wolfgang Schuster wrote: type-mac for Mac OS (are .dfont fonts working in LuaTeX 0.40). That would be nice, but I am not sure I will get around to implementing it (besides time constraints, it is never easy to develop for a platform one doesn't actually have). It would be nice if there was a volunteer Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliography module and ibid./ebd.
Hello again, is it possible to achieve with the t-bib-module that the second (third, … ) of two or more consecutive \cite-command with the same tag will be replaced with ebid. (ebd. in German)? I found an older posting http://archive.contextgarden.net/message/20020903.072930.995836b4.en.html on this list, but in the actual manual it's mentioned nowhere … Thank you in advance Adreas ___ 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] Bibliography module and ibid./ebd.
Andreas Harder wrote: Hello again, is it possible to achieve with the t-bib-module that the second (third, … ) of two or more consecutive \cite-command with the same tag will be replaced with ebid. (ebd. in German)? No can do, sorry. I found an older posting http://archive.contextgarden.net/message/20020903.072930.995836b4.en.html on this list, but in the actual manual it's mentioned nowhere … In a way, I am still working on bib module 2.0: it never appeared. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Am 10.03.2009 um 11:58 schrieb Taco Hoekwater: type-mac for Mac OS (are .dfont fonts working in LuaTeX 0.40). That would be nice, but I am not sure I will get around to implementing it (besides time constraints, it is never easy to develop for a platform one doesn't actually have). It would be nice if there was a volunteer I thought this because you mentioned it in the announcement for 0.31.0 (as point on your todo list). Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Wolfgang Schuster wrote: Am 10.03.2009 um 11:58 schrieb Taco Hoekwater: type-mac for Mac OS (are .dfont fonts working in LuaTeX 0.40). That would be nice, but I am not sure I will get around to implementing it (besides time constraints, it is never easy to develop for a platform one doesn't actually have). It would be nice if there was a volunteer I thought this because you mentioned it in the announcement for 0.31.0 (as point on your todo list). I know, I know. Foot in mouth etc. ___ 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] font-win.tex
It would be nice if there was a volunteer I'm the one, but for Windows XP at the moment. Then I will add Vista fonts. IMHO, the previous versions of Windows are not worth to consider. Vyatcheslav ___ 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] A few minor questions (Taco Hoekwater)
Thanks a lot, Taco, for your definition of my abstract. However, I'd prefer to use it like \Abstract{No more then one paragraph inside} How its definition could look like? Best, Vyatcheslav ___ 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] font-win.tex
Am 10.03.2009 um 12:37 schrieb Vyatcheslav Yatskovsky: It would be nice if there was a volunteer I'm the one, but for Windows XP at the moment. Then I will add Vista fonts. IMHO, the previous versions of Windows are not worth to consider. I can provide typescripts for the new Vista Cxxx fonts. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Dear Taco and All, Taco Hoekwater wrote: type-mac for Mac OS (are .dfont fonts working in LuaTeX 0.40). That would be nice, but I am not sure I will get around to implementing it (besides time constraints, it is never easy to develop for a platform one doesn't actually have). BTW, how the multiplatformity is handled now? Is there a regular multiplatform build farm? Do developers use remote access to computers with platforms they do not have at home (if no - due to lack of hardware or interest)? And what are the platforms blessed to be owned by developers? Sincerely, Michail ___ 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] My printer vs. Times New Roman
Am 2009-03-10 um 05:59 schrieb Michail Vidiassov: /* Offtopic Is go and get a PostScript 3 printer or use GhostScript, both are dirt cheap an answer backed by the collective wisdom of ConTeXt/LuaTeX/pdfTeX users? */ In my experience no regarding PS3 printers being cheap. And there are sometimes printing problems with Adobe Acrobat/Reader as well as with GhostScript and GS-based applications, regardless of the source of the PDF, on some printers - even those that claim to contain genuine PostScript interpreters. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) PGP.sig Description: Signierter Teil der Nachricht ___ 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] A few minor questions (Taco Hoekwater)
Vyatcheslav Yatskovsky wrote: Thanks a lot, Taco, for your definition of my abstract. However, I'd prefer to use it like \Abstract{No more then one paragraph inside} How its definition could look like? You could add this after my stuff: \def\Abstract#1{\startAbstract #1\stopAbstact} or use the \directsetup calls directly (then you don't need the \definestartstop, and keep on using \define): \define[1]\Abstract {\directsetup{abstract:before}#1\directsetup{abstract:after}} Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font-win.tex
Michail Vidiassov wrote: Dear Taco and All, Taco Hoekwater wrote: type-mac for Mac OS (are .dfont fonts working in LuaTeX 0.40). That would be nice, but I am not sure I will get around to implementing it (besides time constraints, it is never easy to develop for a platform one doesn't actually have). BTW, how the multiplatformity is handled now? Is there a regular multiplatform build farm? In a way. Luatex runs piggyback on the context garden distribution. http://wiki.contextgarden.net/ConTeXt_Minimals#Supported_platforms (although that page may be a little bit outdated) Also, once a year we sync with texlive (that adds the somewhat outlandish AIX and hpux, as well as OpenBSD on i386). Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF grayscale conversion (OT)
Luigi, Yue—many thanks. I will look into with both Ghostscript and ImageMagick to see what I can do. Best, Alan On Mar 10, 2009, at 02;14,12 , luigi scarso wrote: On Tue, Mar 10, 2009 at 3:38 AM, Alan Bowen acbo...@princeton.edu wrote: I have used to ConTeXt to generate a hefty PDF file with b/w text and color images. Is there a way to convert this file to a PDF file with b/w text and grayscale images (256 shades)? I know I could always convert the images first and then reset the book, but I was wondering if there was a simpler more direct way before I start doing that. (There are over 70 images.) Maybe with ghostscript -- luigi On Mar 10, 2009, at 02;43,11 , Yue Wang wrote: On Tue, Mar 10, 2009 at 2:38 PM, Yue Wang yuleo...@gmail.com wrote: try convert (in image magick) convert book.pdf -colorspace Gray book.jpg might help. (it will generate book-xx.jpg) Yue Wang ___ 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] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed
Hi! Long time no post. Anyway, I’m writing a document where I’m using abbreviations. In neither --lua nor --xtx do I get a list of abbreviations with \completelistofabbreviations. The bookmark text is \headtext {abbreviations} for both. With --pdf I get a list of abbreviations and the bookmark text is abbreviations. Here's a minimal example: \setupheadtext[en][abbreviations={Abbreviations Used in This Document}] \abbreviation{CSS}{Cascading Style Sheets} \setupinteraction [state=start, menu=on] \placebookmarks[chapter] \starttext \startbodymatter \CSS\ stands for \infull{CSS}. \stopbodymatter \startbackmatter \completelistofabbreviations \stopbackmatter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] protrusion and \quotation{…}
Thank you very much. Curious, with \hfill\quotation{…} there is still no protrusion on the right side (in regular text, without \hfill, it works as expected). Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] paragraph question (the return :O)
Hi, Re: files in attachment Why is step 3 typeset in chapter 2's first paragraph instead of chapter 1's first paragraph and how to correct ? -- Alan countlines.tex Description: TeX document countlines.pdf Description: Adobe PDF document ___ 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] paragraph question (the return :O)
Am 10.03.2009 um 16:06 schrieb Alan Stone: Hi, Re: files in attachment Why is step 3 typeset in chapter 2's first paragraph instead of chapter 1's first paragraph and how to correct ? I still say it's not a very good idea to do this but here is a fixed version of your macros. You should always take care to keep scratch counters/dimenens/... local. \def\doCountLines#1\par{% \begingroup \setbox\scratchbox\vbox{#1\par}% \getnoflines{\htdp\scratchbox}% \global\parlines=\number\numexpr\noflines (step 2: P\space\the\parnumber, \the\parlines\space L)\relax \ifnum \parlines = 1 (step 3: P\space \the\parnumber, \the\parlines\space L)% \fi \endgroup#1\par} \def\CountLines{% \global\parnumber=0 \EveryPar{% \advance\parnumber by 1 % (step 1: P\space\the\parnumber, \the\parlines\space L) \ifnum \parnumber = 1 \expandafter\doCountLines \fi}} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Spacing after \cite
Hi Taco, Normally, while using \cite one does not need to worry about adding an explicit space after the command. So, you can write \cite[something] says rather than \cite[something]\ says But something has changed in core ConTeXt which has changed this behaviour. Consider the test file: \usemodule [bib] \setuppublications[alternative=num] \starttext Test~\cite[something] is wrong \stoptext I have two versions of ConTeXt. With ConTeXt 2009.01.18 (which has t-bib version=2008.10.27), I get (notice the space after [] and is) %--- Test [] is wrong %- With ConTeXt 2009.03.09 (which has t-bib version=2008.12.01) I get (notice that there is no space after [] and is) %--- Test []is wrong %- The behaviour is the same whether I use pdftex or luatex. There is no major difference between the two versions of t-bib. The changelog says %D \item Catalan translation of 'References' (10/11/2008) %D \item 'chapter' - 'chapitre' in bibl-apa-fr (27/11/2008) %D \item Run bibtex via os.execute in mkiv modee (01/12/2008) So I am guessing that the difference is because of something else, but I cannot see any differences. Any suggestions? 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] Spacing after \cite
On Tue, 10 Mar 2009, Aditya Mahajan wrote: So I am guessing that the difference is because of something else, but I cannot see any differences. The old version gives \dodoubleempty #1-\noshowargumenterror \doifnextcharelse [{\dodoubletestempty #1} {\dodoublefakeempty #1} #1-\dododocite The new one gives \dodoubleempty #1-\noshowargumenterror \doifnextoptionalelse {\dodoubletestemp ty #1} {\dodoublefakeempty #1} #1-\dododocite So, \doifnextcharelse vs \doifnextoptionalelse. 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] paragraph question (the return :O)
On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I still say it's not a very good idea to do this In order to make an informed decision, what are you refering to Wolfgang ? but here is a fixed version of your macros. You should always take care to keep scratch counters/dimenens/... local. \def\doCountLines#1\par{% \begingroup \setbox\scratchbox\vbox{#1\par}% \getnoflines{\htdp\scratchbox}% \global\parlines=\number\numexpr\noflines (step 2: P\space\the\parnumber, \the\parlines\space L)\relax \ifnum \parlines = 1 (step 3: P\space \the\parnumber, \the\parlines\space L)% \fi \endgroup#1\par} \def\CountLines{% \global\parnumber=0 \EveryPar{% \advance\parnumber by 1 % (step 1: P\space\the\parnumber, \the\parlines\space L) \ifnum \parnumber = 1 \expandafter\doCountLines \fi}} I apologize for my ignorance, I'm still confused with this one (see attachments)... \def\doCountLines#1\par{% \begingroup \setbox\scratchbox\vbox{#1\par}% \getnoflines{\htdp\scratchbox}% \global\parlines=\number\numexpr\noflines % (step 2: P\space\the\parnumber, \the\parlines\space L) \ifnum \parlines = 1 (step 3: P\space \the\parnumber, \the\parlines\space L)% \fi \endgroup#1\par} \def\CountLines{% \global\parnumber=0 \EveryPar{% \advance\parnumber by 1 % (step 1: P\space\the\parnumber, \the\parlines\space L) \ifnum \parnumber = 1 \expandafter\doCountLines \fi}} Wolfgang countlines2.tex Description: TeX document countlines2.pdf Description: Adobe PDF document ___ 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] paragraph question (the return :O)
Am 10.03.2009 um 17:35 schrieb Alan Stone: On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I still say it's not a very good idea to do this In order to make an informed decision, what are you refering to Wolfgang ? Your \EveryPar hackery. I apologize for my ignorance, I'm still confused with this one (see attachments)... Why? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] paragraph question (the return :O)
On Tue, Mar 10, 2009 at 5:46 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2009 um 17:35 schrieb Alan Stone: On Tue, Mar 10, 2009 at 4:35 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I still say it's not a very good idea to do this In order to make an informed decision, what are you refering to Wolfgang ? Your \EveryPar hackery. What is it about it that it's a bad idea ? I apologize for my ignorance, I'm still confused with this one (see attachments)... Why? code: \ifnum \parlines = 1 (step 3: P\space \the\parnumber, \the\parlines\space L)% \fi output: 2 Chapter 2 (step 3: P 1, 3 L)Thus, I came to the... (step 3: ...) is typeset one first paragraph too far. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
On Mon, Mar 9, 2009 at 21:06, Xan wrote: Do you have any cafepress/spreadshirt acount for selling t-shirts, tea cups, etc.? I think it could be useful for fans of ConTeXt. No, but I have a pile of please-send-me-asap I LOVE ConTeXt T-shirts from the last conference (sorry, I keep sending them for at least a decade already) and there are still some spare ones. If you want one, let me know. Mojca ___ 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] hyphenation patters for Ukrainian
On Tue, Mar 10, 2009 at 00:06, Vyatcheslav Yatskovsky wrote: Hello, What bout hyphenation patters for Ukrainian? \language[ru] seems to work, but \language[ua] does not. There is one issue that needs to be fixed first - the ??? needs to be replaced with proper language code: mtx-patterns.lua:{ ??, hyph-uk.tex,ukrainian }, Then, Hans needs to rerun the script to generate patterns and then you need to resolve the language synonym problem. Ukrainian should have been uk, not ua. Mojca ___ 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] New beta
Hi all, the new beta has been so quietly accepted that I'm wondering if I'm the only one who can't use it. With every file, I get this error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/ 408a90c432ceda2c1e4a80ad5d0e5350/trees/168418f5ffa37b7a35ee75166c53fe90 ...ex/texmf-context/scripts/context/lua/mtx-metatex.lua:64: invalid option '%%' to 'format' All the others are having success using this beta? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
Am 10.03.2009 um 20:33 schrieb Thomas A. Schmitz: Hi all, the new beta has been so quietly accepted that I'm wondering if I'm the only one who can't use it. With every file, I get this error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/ web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/ 408a90c432ceda2c1e4a80ad5d0e5350/trees/ 168418f5ffa37b7a35ee75166c53fe90 ...ex/texmf-context/scripts/context/lua/mtx-metatex.lua:64: invalid option '%%' to 'format' All the others are having success using this beta? No problems on my side so far, did it help to update the scripts. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
On Mar 10, 2009, at 8:45 PM, Wolfgang Schuster wrote: No problems on my side so far, did it help to update the scripts. Wolfgang Interesting. I just checked, and I get the same error on linux and OS X. Minimals, updated to 2009.03.08 23:41. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
On Tue, Mar 10, 2009 at 9:14 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Mar 10, 2009, at 8:45 PM, Wolfgang Schuster wrote: No problems on my side so far, did it help to update the scripts. Wolfgang Interesting. I just checked, and I get the same error on linux and OS X. Minimals, updated to 2009.03.08 23:41. true -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
Thomas A. Schmitz wrote: On Mar 10, 2009, at 8:45 PM, Wolfgang Schuster wrote: No problems on my side so far, did it help to update the scripts. Wolfgang Interesting. I just checked, and I get the same error on linux and OS X. Minimals, updated to 2009.03.08 23:41. mtxrun --selfupdate luatools --selfupdate - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
On Tue, Mar 10, 2009 at 11:03 PM, Hans Hagen pra...@wxs.nl wrote: Thomas A. Schmitz wrote: On Mar 10, 2009, at 8:45 PM, Wolfgang Schuster wrote: No problems on my side so far, did it help to update the scripts. Wolfgang Interesting. I just checked, and I get the same error on linux and OS X. Minimals, updated to 2009.03.08 23:41. mtxrun --selfupdate luatools --selfupdate hmm $ ./first-setup.sh $ cd tex ; . setuptex ; cd .. $ mtxrun --selfupdate $ luatools --selfupdate $ luatools --generate $context test.tex MtxRun | loading configuration for /opt/luatex/minimals-beta/tex/texmf/web2c from /opt/luatex/minimals-beta/tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/trees/e9e4d7636cf4b26ea90087f897dde4ca ...ex/texmf-context/scripts/context/lua/mtx-metatex.lua:64: invalid option '%%' to 'format' -- 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 ___
[NTG-context] minimals broken ?
# ./first-setup.sh # cd tex; . setuptex ; cd .. # luatools --generate # luatools --make cont-en # # context test.tex MtxRun | unknown script 'metatex.lua' or 'mtx-metatex.lua' # luatex This is LuaTeX, Version snapshot-0.35.0-2009022702 (Web2C 7.5.7) What is wrong ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
On Mar 10, 2009, at 11:03 PM, Hans Hagen wrote: mtxrun --selfupdate luatools --selfupdate OK, for a change, I now get a different error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/ 408a90c432ceda2c1e4a80ad5d0e5350/trees/168418f5ffa37b7a35ee75166c53fe90 /Users/tas/context/tex/texmf-osx-intel/bin/mtxrun:8438: bad argument #2 to 'format' (string expected, got nil) but the format has been successfully created, AFAICS. Btw, I just compiled luatex --version This is LuaTeX, Version snapshot-0.36.0-2009031020, build 1979 Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
luigi scarso wrote: # ./first-setup.sh # cd tex; . setuptex ; cd .. # luatools --generate # luatools --make cont-en # # context test.tex MtxRun | unknown script 'metatex.lua' or 'mtx-metatex.lua' # luatex This is LuaTeX, Version snapshot-0.35.0-2009022702 (Web2C 7.5.7) What is wrong ? can you check what context.sh does? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
Thomas A. Schmitz wrote: On Mar 10, 2009, at 11:03 PM, Hans Hagen wrote: mtxrun --selfupdate luatools --selfupdate OK, for a change, I now get a different error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/408a90c432ceda2c1e4a80ad5d0e5350/trees/168418f5ffa37b7a35ee75166c53fe90 /Users/tas/context/tex/texmf-osx-intel/bin/mtxrun:8438: bad argument #2 to 'format' (string expected, got nil) but the format has been successfully created, AFAICS. Btw, I just compiled luatex --version This is LuaTeX, Version snapshot-0.36.0-2009031020, build 1979 i uploaded a new zip - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
Am 10.03.2009 um 23:21 schrieb luigi scarso: # ./first-setup.sh # cd tex; . setuptex ; cd .. # luatools --generate # luatools --make cont-en # # context test.tex MtxRun | unknown script 'metatex.lua' or 'mtx-metatex.lua' # luatex This is LuaTeX, Version snapshot-0.35.0-2009022702 (Web2C 7.5.7) What is wrong ? Do you have the file 'mtx-metatex.lua' in your minimals directory? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
can you check what context.sh does? minimals/tex/texmf-linux/bin# context MtxRun | unknown script 'metatex.lua' or 'mtx-metatex.lua' minimals/tex/texmf-linux/bin# cat context #!/bin/sh#!/bin/sh mtxrun --script metatex $@ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
Do you have the file 'mtx-metatex.lua' in your minimals directory? opt/luatex/minimals# find . -name *metatex* gives nothing for minimals-beta luatex/minimals-beta# find . -name *metatex* ./tex/texmf-context/tex/context/base/metatex.tex ./tex/texmf-context/scripts/context/lua/mtx-metatex.lua ./tex/texmf-context/scripts/context/stubs/mswin/metatex.cmd ./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats/metatex.log ./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats/metatex.luc ./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats/metatex.fmt ./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats/metatex.lua -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
Do you have the file 'mtx-metatex.lua' in your minimals directory? If I copy mtx-metatex.lua from minimal-beta now I have # context test-curios.tex MtxRun | loading configuration for /opt/luatex/minimals/tex/texmf/web2c from /opt/luatex/minimals/tex/texmf-cache/luatex-cache/context/4330c3ed7721ca11f9d108c60c58eea4/trees/257cb664e33fa436e2a64b07b5d4b874 /opt/luatex/minimals/tex/texmf-linux/bin/mtxrun:8044: bad argument #2 to 'format' (string expected, got nil) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
On Mar 10, 2009, at 11:32 PM, Hans Hagen wrote: OK, for a change, I now get a different error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/ web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/ 408a90c432ceda2c1e4a80ad5d0e5350/trees/ 168418f5ffa37b7a35ee75166c53fe90 /Users/tas/context/tex/texmf-osx- intel/bin/mtxrun:8438: bad argument #2 to 'format' (string expected, got nil) but the format has been successfully created, AFAICS. Btw, I just compiled luatex --version This is LuaTeX, Version snapshot-0.36.0-2009031020, build 1979 i uploaded a new zip Still the same error. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
On Tue, Mar 10, 2009 at 11:45 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: can you check what context.sh does? minimals/tex/texmf-linux/bin# context MtxRun | unknown script 'metatex.lua' or 'mtx-metatex.lua' minimals/tex/texmf-linux/bin# cat context #!/bin/sh#!/bin/sh mtxrun --script metatex $@ huh? where does that come from? from minimals Just deleted context ; then ./first-setup.sh and again $cat context #!/bin/sh mtxrun --script metatex $@ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
Am 10.03.2009 um 23:39 schrieb luigi scarso: Do you have the file 'mtx-metatex.lua' in your minimals directory? opt/luatex/minimals# find . -name *metatex* gives nothing Use the beta from Hans site, it has all files. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
luigi scarso wrote: On Tue, Mar 10, 2009 at 11:45 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: can you check what context.sh does? minimals/tex/texmf-linux/bin# context MtxRun | unknown script 'metatex.lua' or 'mtx-metatex.lua' minimals/tex/texmf-linux/bin# cat context #!/bin/sh#!/bin/sh mtxrun --script metatex $@ huh? where does that come from? from minimals Just deleted context ; then ./first-setup.sh and again $cat context #!/bin/sh mtxrun --script metatex $@ bad server-side symlink? ___ 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] minimals broken ?
huh? where does that come from? aha, thank you . Just fixed context with #!/bin/sh mtxrun --script context $@ and minimals are ok now -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals broken ?
On Tue, Mar 10, 2009 at 11:50 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2009 um 23:39 schrieb luigi scarso: Do you have the file 'mtx-metatex.lua' in your minimals directory? opt/luatex/minimals# find . -name *metatex* gives nothing Use the beta from Hans site, it has all files. yes , i will try it -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
On Tue, Mar 10, 2009 at 11:47 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Mar 10, 2009, at 11:32 PM, Hans Hagen wrote: OK, for a change, I now get a different error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/408a90c432ceda2c1e4a80ad5d0e5350/trees/168418f5ffa37b7a35ee75166c53fe90 /Users/tas/context/tex/texmf-osx-intel/bin/mtxrun:8438: bad argument #2 to 'format' (string expected, got nil) but the format has been successfully created, AFAICS. Btw, I just compiled luatex --version This is LuaTeX, Version snapshot-0.36.0-2009031020, build 1979 i uploaded a new zip Still the same error. Around line 64 of mtx-metatex.lua local formatfile, scriptfile = input.locate_format(metatex) if formatfile and scriptfile then local command = string.format(luatex --fmt=%s --lua=% %s, string.quote(formatfile), string.quote(scriptfile), string.quote(filename)) input.report(running command: %s,command) os.spawn(command) Is local command = string.format(luatex --fmt=%s --lua=% %s, string.quote(formatfile), string.quote(scriptfile), string.quote(filename)) correct ? Why not local command = string.format(luatex --fmt=%s --lua=%s %s, string.quote(formatfile), string.quote(scriptfile), string.quote(filename)) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New beta
Thomas A. Schmitz thomas.schm...@uni-bonn.de writes: On Mar 10, 2009, at 11:32 PM, Hans Hagen wrote: OK, for a change, I now get a different error: MtxRun | loading configuration for /Users/tas/context/tex/texmf/ web2c from /Users/tas/context/tex/texmf-cache/luatex-cache/context/ 408a90c432ceda2c1e4a80ad5d0e5350/trees/ 168418f5ffa37b7a35ee75166c53fe90 /Users/tas/context/tex/texmf-osx- intel/bin/mtxrun:8438: bad argument #2 to 'format' (string expected, got nil) but the format has been successfully created, AFAICS. Btw, I just compiled luatex --version This is LuaTeX, Version snapshot-0.36.0-2009031020, build 1979 i uploaded a new zip Still the same error. Same for me. -- Jesse Alama (al...@stanford.edu) ___ 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] modife the style of taspresent
On Mon, Mar 09, 2009 at 10:53:08AM +0100, Thomas A. Schmitz wrote: On Mar 9, 2009, at 3:36 AM, Bill Long wrote: Thanks! The grammar is right, but it still can't work. I just can't make a photo as my background. Since I wrote that module... Your description is not very descriptive. What do you mean it can't work? Any error messages, what's going wrong? Moreover: taspresent was my first attempt at providing something; Aditya and I have now been working towards a better module called simpleslides. So if you're really thinking about doing presentations in ConTeXt, better get the git repository at http://github.com/adityam/simple-slides/tree/master . The module is functional; it's lacking documentation... I will take a try. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] pinyin in context
I input pinyin above Chinese character in bellow way: --- \documentclass{article} \usepackage[overlap, CJK]{ruby} \usepackage{pinyin} \usepackage{CJK} \begin{CJK*}{UTF8}{song} \begin{document} \renewcommand{\rubysep}{.3ex} \renewcommand{\rubysize}{.5} \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} \end{CJK*} \end{document} but it has poor line break, Does contex support pinyin ? and how to implement? Thanks. -- 卷829_3 【怀香炉峰道人】贯休 常思峰顶叟,石窟土为床。日日先见日,烟霞多异香。 冥心同槁木,扫雪带微阳。终必相寻去,斯人不可忘。 ___ 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] pinyin in context
post the result you want to have here so context developers can help you. 2009/3/11 Bill Long longwei...@sohu.com: I input pinyin above Chinese character in bellow way: --- \documentclass{article} \usepackage[overlap, CJK]{ruby} \usepackage{pinyin} \usepackage{CJK} \begin{CJK*}{UTF8}{song} \begin{document} \renewcommand{\rubysep}{.3ex} \renewcommand{\rubysize}{.5} \ruby{静}{\jing4} \ruby{夜}{\ye4}\ruby{思}{\si1} \end{CJK*} \end{document} but it has poor line break, Does contex support pinyin ? and how to implement? Thanks. -- 卷829_3 【怀香炉峰道人】贯休 常思峰顶叟,石窟土为床。日日先见日,烟霞多异香。 冥心同槁木,扫雪带微阳。终必相寻去,斯人不可忘。 ___ 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] New beta
On Mar 11, 2009, at 12:17 AM, luigi scarso wrote: Is local command = string.format(luatex --fmt=%s --lua=% %s, string.quote(formatfile), string.quote(scriptfile), string.quote(filename)) correct ? Why not local command = string.format(luatex --fmt=%s --lua=%s %s, string.quote(formatfile), string.quote(scriptfile), string.quote(filename)) Good catch! Looks like this fixed it for me! Thanks Luigi. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___