Re: [NTG-context] structure: products and subfolders
Am Freitag, den 25.03.2011, 06:21 +0100 schrieb Wolfgang Schuster: Am 25.03.2011 um 01:31 schrieb Paul Menzel: Dear ConTeXt folks, following [1] I do not get any PDF output running `context project.tex`. The product files are in a subfolder. I verified that first with [2] in a flat structure and then adding a subfolder where no output is created. Executing ConTeXt with the seperate product files as an argument works. Don’t process project files, only use products or components when you want a PDF. Thank you, I will keep that in mind. I just want to emphasize that this works using the flat structure, i. e. without any subfolders, and contradicts, in my opinion, the manual on page 23. As long as there is one product in this project you can also process project.tex. Thanks, Paul signature.asc Description: This is a digitally signed message part ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Acrobat JavaScript in ConTeXt
Dana 10. ožujka 2011. 14:35 Hans Hagen pra...@wxs.nl je napisao/la: 1) how to deal with commas in strings? MyAlert{Hello, World} displays only Hello. does {{Hello, World}} work? Unfortunately no. Hyperlink no longer gets created. Vedran ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel
Paul Menzel paulepan...@users.sourceforge.net writes: PS: Will an updated version be published sometime? [1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf Hello Paul, This file won't be updated. Corrections will go directly to the new revision of the manual (work in progress). You can find the links on the main wiki page. -- Peter ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel
Dear Peter, Am Freitag, den 25.03.2011, 09:52 +0100 schrieb Peter Münster: Paul Menzel paulepan...@users.sourceforge.net writes: PS: Will an updated version be published sometime? [1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf Hello Paul, This file won't be updated. Corrections will go directly to the new revision of the manual (work in progress). You can find the links on the main wiki page. Do you mean [1]? What is the corresponding document to the current ConTeXt manual? Only `context-commands` seems to have been edited lately? Would not it be possible to still improve the current manual by fixing typos and so on. For example things like mentioning `texexec` which is outdated should *not* be updated. Is the source of the current manual available? Thanks, Paul [1] http://context.aanhet.net/svn/contextman/ signature.asc Description: This is a digitally signed message part ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Help with Times font, footnote symbols and captions
Hi, a document of mine (compiled with the latest mkiv beta) contains the following setup: \usetypescript[times][ec] \setupbodyfont[times,10pt] \defineconversion[onlyasterisks][*,*,*,*,*] \setupnote[footnote][numberconversion=onlyasterisks,bodyfont=9pt] \setupcaptions[inbetween={\blank[6pt]},width=max,align=middle,style=bold, suffix={.}] I have some trouble with the following, however: 1) The asterisks in the footnotes appear in the margin. I can I align the * below the main text? 2) How can I make the text in the captions at 9pt? I have checked in the wiki and in the ConTeXt manual, but I cannot do the above. Besides, is the used font Times New Roman (sorry for the question, but I do not have Acrobat installed right now, and I do not know how to check the font in the pdf file)? If not, how can I use Times New Roman with mkiv? Thanks in advance, Nicola ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
On Fri, Mar 25, 2011 at 12:51 PM, Nicola nvitacolo...@gmail.com wrote: Besides, is the used font Times New Roman (sorry for the question, but I do not have Acrobat installed right now, and I do not know how to check the font in the pdf file)? If not, how can I use Times New Roman with mkiv? with latest minimals %%test.tex \usetypescript[times][ec] \setupbodyfont[times,10pt] \defineconversion[onlyasterisks][*,*,*,*,*] \setupnote[footnote][numberconversion=onlyasterisks,bodyfont=9pt] \setupcaptions[inbetween={\blank[6pt]},width=max,align=middle,style=bold, suffix={.}] \starttext \input knuth\stoptext # pdffonts test.pdf name type emb sub uni object ID - --- --- --- - BFWBPQ+TeXGyreTermes-Regular CID Type 0C yes yes yes 18 0 Also AdobeReader can show the document fonts. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \doif... and Lua
Hello, is it possible to use a block of context code depending on a value of a Lua variable? I tried something like: --- \starttext \directlua{test = true} %\directlua{test = 5} %\directlua{test = a} \doifempty{\directlua{return test}} %\doifempty{\directlua{test}} {Yes} {No} \stoptext --- But this gives me always No. - I'm not sure if this is a good way, and whether attempt to use \doif(...) macro is a good idea at all. Any (better) solution? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
In article AANLkTi=d63vzhdzay27yollyyp-axrhausa4mwx-h...@mail.gmail.com, luigi scarso luigi.sca...@gmail.com wrote: # pdffonts test.pdf That's great! I didn't know about pdffonts… Well, I don't know much about fonts in general :) So, now that's quite complicated (for me). This is what I get: name type emb sub uni object ID - --- --- --- - MAYMBF+TeXGyreTermes-BoldCID Type 0C yes yes yes 18 0 YYCTGW+TeXGyreTermes-Italic CID Type 0C yes yes yes 19 0 MRLZOQ+TeXGyreTermes-Regular CID Type 0C yes yes yes 20 0 PJSRME+txsy Type 1yes yes no 29 0 ADYQWN+TeXGyreTermes-Regular CID Type 0C yes yes yes 30 0 JHYYBD+TeXGyreTermes-Italic Type 1yes yes no 31 0 SDGCFO+rtxmi Type 1yes yes no 32 0 GOISLI+TeXGyreTermes-Regular CID Type 0C yes yes yes 33 0 GQGRIV+LMMono10-Regular CID Type 0C yes yes yes 37 0 VKFEDD+TimesNewRomanPSMT TrueType yes yes no 44 0 WTQJQL+Times-Roman TrueType yes yes no 45 0 WWKUXC+TimesNewRomanPSMT TrueType yes yes no 64 0 GFUUDN+TimesNewRomanPSMT TrueType yes yes no 79 0 YTRUAX+TimesNewRomanPSMT TrueType yes yes no 98 0 UBKRGH+TeXGyreTermes-BoldItalic CID Type 0C yes yes yes113 0 EZQBWI+TimesNewRomanPSMT TrueType yes yes no 120 0 YTUNRR+TimesNewRomanPSMT TrueType yes yes no 135 0 HMXOTK+TimesNewRomanPSMT TrueType yes yes no 150 0 FQSXLW+TimesNewRomanPSMT TrueType yes yes no 171 0 UYMOQM+AppleSymbols TrueType yes yes yes172 0 KKTZRF+TimesNewRomanPSMT TrueType yes yes no 193 0 ZTVNCA+Times-Roman TrueType yes yes no 213 0 LWXRQW+TimesNewRomanPSMT TrueType yes yes no 214 0 I guess Apple Symbols and txsy are there because of mathematical symbols, but what about Termes and Times-Roman? Also, is that TimesNewRomanPSMT the “official” Times New Roman, or a “quasi”-Times? I ask because my publisher seems to have strict font requirements, and has asked me to check that my paper be entirely in Times New Roman… Nicola ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
On Fri, Mar 25, 2011 at 1:16 PM, Nicola nvitacolo...@gmail.com wrote: I guess Apple Symbols and txsy are there because of mathematical symbols, but what about Termes and Times-Roman? Also, is that TimesNewRomanPSMT the “official” Times New Roman, or a “quasi”-Times? I ask because my publisher seems to have strict font requirements, and has asked me to check that my paper be entirely in Times New Roman… About termes: http://www.gust.org.pl/projects/e-foundry/tex-gyre/termes -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \doif... and Lua
Am 25.03.2011 um 13:04 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, is it possible to use a block of context code depending on a value of a Lua variable? I tried something like: --- \starttext \directlua{test = true} %\directlua{test = 5} %\directlua{test = a} \doifempty{\directlua{return test}} %\doifempty{\directlua{test}} {Yes} {No} \stoptext --- But this gives me always No. - I'm not sure if this is a good way, and whether attempt to use \doif(...) macro is a good idea at all. Any (better) solution? \starttext \ctxlua{test = true} Test is \ctxlua{commands.testcase(test)}{True}{False}. \ctxlua{test = false} Test is \ctxlua{commands.testcase(test)}{True}{False}. \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
Am 25.03.2011 um 12:51 schrieb Nicola: Hi, a document of mine (compiled with the latest mkiv beta) contains the following setup: \usetypescript[times][ec] \setupbodyfont[times,10pt] \setupbodyfont is enough, you don’t need \usetypescript here and font encoding (i.e. “ec”) are gone. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Wrong cross references
I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenceformat [ineqn] [left=(,right=),text=equation] to obtain their references. What is going on here? And is there an easier way to obtain parentheses around a reference number, so that we see from equation (6) instead of we see from equation 6? Thanks Alasdair -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \doif... and Lua
Perfect, thanks. Lukas On Fri, 25 Mar 2011 13:25:52 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 25.03.2011 um 13:04 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, is it possible to use a block of context code depending on a value of a Lua variable? I tried something like: --- \starttext \directlua{test = true} %\directlua{test = 5} %\directlua{test = a} \doifempty{\directlua{return test}} %\doifempty{\directlua{test}} {Yes} {No} \stoptext --- But this gives me always No. - I'm not sure if this is a good way, and whether attempt to use \doif(...) macro is a good idea at all. Any (better) solution? \starttext \ctxlua{test = true} Test is \ctxlua{commands.testcase(test)}{True}{False}. \ctxlua{test = false} Test is \ctxlua{commands.testcase(test)}{True}{False}. \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] problem with printing pdf files (MKIV on Mac)
Hello, I'm not sure if anyone will be able to help, but it doesn't hurt to ask. I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). When I try to print the document from Mac (Skim.app) to two different printers, I get pure junk on both of them (bold and italic fonts come out semi-ok, but regular doesn't). If I print an older document or if I compile the same document with MKII, the document prints out fine on the same printer. The document also prints out fine when printing from Linux. I'm using one network PostScript printer and one network printer that is most probably using PCL drivers and both generate junk. I'm using palatino typescript. Mac is well known for displaying Word-generated documents as almost-pure-junk (one gets a different font and screwed up kerning instead of the original font that one would see in Word or in generated PDF when opened with Adobe Acrobat; but I'm not sure if it is Apple or Microsoft that have buggy software in that case) and for crashing on documents using smooth shading patterns. Does anyone have any suggestion how I could figure out what is wrong with the document? I would like to figure out if it is LuaTeX's or Apple's fault that it behaves so weird. (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
On Fri, Mar 25, 2011 at 2:31 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, I'm not sure if anyone will be able to help, but it doesn't hurt to ask. I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). When I try to print the document from Mac (Skim.app) to two different printers, I get pure junk on both of them (bold and italic fonts come out semi-ok, but regular doesn't). If I print an older document or if I compile the same document with MKII, the document prints out fine on the same printer. The document also prints out fine when printing from Linux. I'm using one network PostScript printer and one network printer that is most probably using PCL drivers and both generate junk. I'm using palatino typescript. Mac is well known for displaying Word-generated documents as almost-pure-junk (one gets a different font and screwed up kerning instead of the original font that one would see in Word or in generated PDF when opened with Adobe Acrobat; but I'm not sure if it is Apple or Microsoft that have buggy software in that case) and for crashing on documents using smooth shading patterns. Does anyone have any suggestion how I could figure out what is wrong with the document? I would like to figure out if it is LuaTeX's or Apple's fault that it behaves so weird. (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) opentype vs type 1 pdf version of mkiv vs pdf version of mkii -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel
Paul Menzel paulepan...@users.sourceforge.net writes: Corrections will go directly to the new revision of the manual (work in progress). You can find the links on the main wiki page. Do you mean [1]? No. http://wiki.contextgarden.net/manual_being_revised There is a link on the main wiki page. Would not it be possible to still improve the current manual by fixing typos and so on. For example things like mentioning `texexec` which is outdated should *not* be updated. You can send contributions/patches to the mainling list: http://foundry.supelec.fr/mailman/listinfo/contextman-reference -- Peter ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
Maybe related: Printing on a network printer (from a Mac through Skim) prints the first page correctly, at the top of the second page it prints: ERROR: invalidfont OFFENDING COMMAND: definefont STACK: /Font -dictionary~ /YYMGGN+LinBiolinumO Printing from Acrobat Professional works correctly. Jörg On Mar 25, 2011, at 2:31 PM, Mojca Miklavec wrote: Hello, I'm not sure if anyone will be able to help, but it doesn't hurt to ask. I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). When I try to print the document from Mac (Skim.app) to two different printers, I get pure junk on both of them (bold and italic fonts come out semi-ok, but regular doesn't). If I print an older document or if I compile the same document with MKII, the document prints out fine on the same printer. The document also prints out fine when printing from Linux. I'm using one network PostScript printer and one network printer that is most probably using PCL drivers and both generate junk. I'm using palatino typescript. Mac is well known for displaying Word-generated documents as almost-pure-junk (one gets a different font and screwed up kerning instead of the original font that one would see in Word or in generated PDF when opened with Adobe Acrobat; but I'm not sure if it is Apple or Microsoft that have buggy software in that case) and for crashing on documents using smooth shading patterns. Does anyone have any suggestion how I could figure out what is wrong with the document? I would like to figure out if it is LuaTeX's or Apple's fault that it behaves so weird. (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
On Fri, Mar 25, 2011 at 07:16, Nicola nvitacolo...@gmail.com wrote: I ask because my publisher seems to have strict font requirements, and has asked me to check that my paper be entirely in Times New Roman… Your best bet, then, is to download the MS TT core fonts package. http://corefonts.sourceforge.net/ That installs 'real' Times New Roman, which you can then use in the usual way. mathew [ I'm assuming you're using Linux, because if you're using Windows or a Mac you should already have Times New Roman installed. ] -- URL:http://www.pobox.com/~meta/ ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
In article ec21325a-9931-40ed-ac3c-3bab8...@googlemail.com, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 25.03.2011 um 12:51 schrieb Nicola: Hi, a document of mine (compiled with the latest mkiv beta) contains the following setup: \usetypescript[times][ec] \setupbodyfont[times,10pt] \setupbodyfont is enough, you don’t need \usetypescript here and font encoding (i.e. “ec”) are gone. Ok. Please bear with me, understanding of font handling mechanisms is still beyond my reach. This is the best I was able to do so far to use Times New Roman: \starttypescript [serif] [myfont] \definefontsynonym [Serif] [name:timesnewroman] \definefontsynonym [SerifBold] [name:timesnewromanbold] \definefontsynonym [SerifItalic] [name:timesnewromanitalic] \definefontsynonym [SerifSlanted][name:timesnewromanitalic] \definefontsynonym [SerifBoldItalic] [name:timesnewromanbolditalic] \stoptypescript \definetypeface [myfont] [rm] [serif] [myfont] \definetypeface [myfont] [mm] [math] [times] \setupbodyfont[myfont,rm,10pt] \definefont[FigureCaptionStyle][SerifBold at 9pt] \setupcaptions[inbetween={\blank[6pt]},width=max,align=middle,style=FigureCaption Style,suffix={.}] Is this the mkiv way? Nicola ps: for aligning footnote symbols, I have no clue yet. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
In article nvitacolonna-165382.17254325032...@news.gmane.org, Nicola nvitacolo...@gmail.com wrote: ps: for aligning footnote symbols, I have no clue yet. Never mind, just stumbled upon \setupnotedefinition in the wiki. Nicola ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). When I try to print the document from Mac (Skim.app) to two different printers, I get pure junk on both of them (bold and italic fonts come out semi-ok, but regular doesn't). I have the same setup here and palatino documents print fine. I do both: send the raw pdf to a cups server (let it deal with it) and convert the pdf to pcl prior to sending it to the printer. If I print an older document or if I compile the same document with MKII, the document prints out fine on the same printer. The document also prints out fine when printing from Linux. Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of them is corrupt. You might want to try outline the fonts and strip them from the document: gs -sDEVICE=pswrite -dNOCACHE -sOutputFile=nofont-Myfile.ps -q -dbatch -dNOPAUSE Myfile.pdf -c quit Optionally convert back to pdf with ps2pdf and try print that file. If ghostscript complains right away the problem is not your printer. I'm using one network PostScript printer and one network printer that is most probably using PCL drivers and both generate junk. I'm using palatino typescript. Can you print to CUPS-PDF? Or do you get rubbish as well? (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) Why not? PostScript printers should handle nofont-Myfile.ps (see above). Florian ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
On Fri, Mar 25, 2011 at 17:40, Florian Wobbe wrote: Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of them is corrupt. I don't have it installed. It is in my TeX tree. But if mine is corrupt, everyone's font is corrupt (or my disk is corrupt). You might want to try outline the fonts and strip them from the document: gs -sDEVICE=pswrite -dNOCACHE -sOutputFile=nofont-Myfile.ps -q -dbatch -dNOPAUSE Myfile.pdf -c quit Optionally convert back to pdf with ps2pdf and try print that file. If ghostscript complains right away the problem is not your printer. Ghostscript doesn't complain and the resulting file prints out fine. (The original one still doesn't.) I'm using one network PostScript printer and one network printer that is most probably using PCL drivers and both generate junk. I'm using palatino typescript. Can you print to CUPS-PDF? Or do you get rubbish as well? I need to install that first. (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) Why not? PostScript printers should handle nofont-Myfile.ps (see above). My question is more like how can I do that. I remember using something like copy \path\to\printer on windows long time ago, but I'm not sure how to do the same on Mac. Btw: printer specifications says direct PDF (v 1.4) printing, so I guess that I should be able to send the PDF straight to printer ... if I only knew how to do that. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
On Fri, Mar 25, 2011 at 18:18, Mojca Miklavec wrote: On Fri, Mar 25, 2011 at 17:40, Florian Wobbe wrote: (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) Why not? PostScript printers should handle nofont-Myfile.ps (see above). My question is more like how can I do that. I remember using something like copy \path\to\printer on windows long time ago, but I'm not sure how to do the same on Mac. Answering myself ... I have now found man lpr saying SEE ALSO http://localhost:631/help So I used that file for help and ended up doing lpstat -p to get printer name and then lp -d some_very_weird_printer_name_ myfile.pdf and that works perfectly. Still, I'm very very confused about why most files print out OK. It is most probably a bug in Apple's software then (maybe not handling OpenType fonts properly, but I never had any single problem with TeX-generated files until today). On the other hand I have updated the system to 10.6.7 a few hours ago, but I simply cannot imagine that an update would completely break printing. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta
Hi, I uploaded a new beta. There are quite some changes this time: - backend code has been reorganized and cleaned up and aspects of interaction have been partially reimplemented (like widgets) in a more mkiv-ish way (or actually mkvi); widgets now have an updated inheritance model - the font related lua code has been cleaned up and reorganized as well and; the cached data is different, the memory footprint is somewhat smaller, processing can be a bit faster, font related parameters are better organized in subtables in the font instance, etc - the generic font code (in luatex-fonts) has been stripped from context related features so that it is easier to cook up mkiv specific extensions without too much interference (or side effects) for the generic code - a couple of fixes (like discussed on this list the last few weeks) have been applied Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of them is corrupt. I don't have it installed. It is in my TeX tree. But if mine is corrupt, everyone's font is corrupt (or my disk is corrupt). I have multiple versions from context alone: fonts/type1/public/tex-gyre fonts/opentype/public/tex-gyre I guess, if you add those from TexLive you have several possibilities of what could end up in your pdf depending on whether you use MKII or MKIV. You might want to try outline the fonts and strip them from the document: gs -sDEVICE=pswrite -dNOCACHE -sOutputFile=nofont-Myfile.ps -q -dbatch -dNOPAUSE Myfile.pdf -c quit Optionally convert back to pdf with ps2pdf and try print that file. If ghostscript complains right away the problem is not your printer. Ghostscript doesn't complain and the resulting file prints out fine. (The original one still doesn't.) Next thing I would try is update CUPS. I installed Gutenprint (http://gimp-print.sourceforge.net/MacOSX.php) after experiencing some other issues with the standard CUPS from Apple. (Can I send a document to PostScript printer on specific IP from a Mac without having to use Apple's libraries for handling PDF?) Why not? PostScript printers should handle nofont-Myfile.ps (see above). My question is more like how can I do that. I remember using something like copy \path\to\printer on windows long time ago, but I'm not sure how to do the same on Mac. For a PS printer: cat nofont-Myfile.ps | netcat ip-address port Or with perl sockets if you don't want to use lpr. Btw: printer specifications says direct PDF (v 1.4) printing, so I guess that I should be able to send the PDF straight to printer ... if I only knew how to do that. Then you should make sure you get PDF/X-3:2003 output from context. Default seems to be v1.6 for MKIV. I don't know for MKII. Florian ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
On 25-3-2011 6:43, Florian Wobbe wrote: Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of them is corrupt. I don't have it installed. It is in my TeX tree. But if mine is corrupt, everyone's font is corrupt (or my disk is corrupt). I have multiple versions from context alone: fonts/type1/public/tex-gyre fonts/opentype/public/tex-gyre mkiv will always take the opentype one first Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
I have attached a minimal example that fails to print from Skip. I tried to update ConTeXt to see if that fixes the problem, but the funny part is that if I try to compile \usetypescript[palatino] \setupbodyfont[palatino] \starttext abc \stoptext with the latest version, it won't even compile. I only get: mtx-context | run 1: luatex /.../ (a.tex ConTeXt ver: 2011.03.25 18:03 MKIV fmt: 2011.3.25 int: english/english /.../ fontsotf loading loading: /Users/mojca/context/context-test4/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf (hash: texgyrepagella-regular) fontsotf loading font loaded okay fontsotf loading file size: 144472 fontsencoding loading (extended) adobe glyph list fatal error: this module is not for context system | total runtime: 0.599 Mojca a1.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 2011-03-25 Hans Hagen pra...@wxs.nl wrote: Hi, I uploaded a new beta. There are quite some changes this time: The following doesn't compile: \starttext \input knuth \stoptext Output: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: attempt to index local 'resources' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: in function 'enhancer' ...text/tex/texmf-context/tex/context/base/font-otf.lua:250: in function 'enhance' ...text/tex/texmf-context/tex/context/base/font-otf.lua:471: in function 'load' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1760: in function 'otftotfm' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1787: in function 'read_from_otf' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1866: in function ...text/tex/texmf-context/tex/context/base/font-otf.lua:1855 (tail call): ? (tail call): ? ...text/tex/texmf-context/tex/context/base/font-def.lua:286: in function 'loadfont' ...text/tex/texmf-context/tex/context/base/font-ctx.lua:230: in function 'loadfont' ...text/tex/texmf-context/tex/context/base/font-def.lua:397: in function 'read' ...text/tex/texmf-context/tex/context/base/font-ctx.lua:642: in function 'stage_two' main ctx instance:1: in main chunk. This is LuaTeX, Version beta-0.65.0-2010121317 ConTeXt ver: 2011.03.25 18:03 MKIV Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
Do you have Mac OS X 10.6.7? Not yet. And for obvious reasons I'm not willing to update right now ;) The small attached example is enough to break the printer (both PostScript and PCL) when printing from Skim. May I ask you to try to print this file with 10.6.7? No problem here. BTW: pdfinfo a.pdf Title: a Creator:ConTeXt - 2011.03.11 11:45 Producer: LuaTeX-0.65.0 Page size: 595.276 x 841.89 pts (A4) File size: 5253 bytes PDF version:1.6 pdffonts a.pdf name type emb sub uni object ID - --- --- --- - ZWRPON+TeXGyrePagella-RegularCID Type 0C yes yes yes 18 0 That file was generated with MKIVtexgyrepagella-regular.otf using mkiv? Now if I print that via CUPS-PDF. pdfinfo cups-a.pdf Producer: Apple pstopdf Page size: 595 x 842 pts (A4) File size: 2891 bytes PDF version:1.3 pdffonts cups-a.pdf name type emb sub uni object ID - --- --- --- - CFOFGB+TeXGyrePagella-RegularType 1C yes yes no 4 0 du -b a.pdf cups-a.pdf 5253a.pdf 2891cups-a.pdf So CUPS does some font conversion here. I would assume that will also happen when printing to a regular network printer. Maybe this step breaks on your system. And that is why sending the file to the printer directly causes no trouble. Florian PS: Is there a way to force luatex writing fonts in CFF instead CID format? ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 25-3-2011 7:06, Marco wrote: On 2011-03-25 Hans Hagenpra...@wxs.nl wrote: Hi, I uploaded a new beta. There are quite some changes this time: The following doesn't compile: \starttext \input knuth \stoptext Output: weird ... in font-otp.lua there is in line 347: local reload = not data or data.size ~= size or data.time ~= time can you add there print(data,data and data.size,data and data.time,size,time) and then remake the format and try again? I want to know what gets reported there ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: attempt to index local 'resources' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: in function 'enhancer' ...text/tex/texmf-context/tex/context/base/font-otf.lua:250: in function 'enhance' ...text/tex/texmf-context/tex/context/base/font-otf.lua:471: in function 'load' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1760: in function 'otftotfm' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1787: in function 'read_from_otf' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1866: in function...text/tex/texmf-context/tex/context/base/font-otf.lua:1855 (tail call): ? (tail call): ? ...text/tex/texmf-context/tex/context/base/font-def.lua:286: in function 'loadfont' ...text/tex/texmf-context/tex/context/base/font-ctx.lua:230: in function 'loadfont' ...text/tex/texmf-context/tex/context/base/font-def.lua:397: in function 'read' ...text/tex/texmf-context/tex/context/base/font-ctx.lua:642: in function 'stage_two' main ctx instance:1: in main chunk. This is LuaTeX, Version beta-0.65.0-2010121317 ConTeXt ver: 2011.03.25 18:03 MKIV Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
On 25-3-2011 7:02, Mojca Miklavec wrote: I have attached a minimal example that fails to print from Skip. I tried to update ConTeXt to see if that fixes the problem, but the funny part is that if I try to compile \usetypescript[palatino] \setupbodyfont[palatino] \starttext abc \stoptext with the latest version, it won't even compile. I only get: mtx-context | run 1: luatex /.../ (a.tex ConTeXt ver: 2011.03.25 18:03 MKIV fmt: 2011.3.25 int: english/english /.../ fonts otf loading loading: /Users/mojca/context/context-test4/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf (hash: texgyrepagella-regular) fonts otf loading font loaded okay fonts otf loading file size: 144472 fonts encoding loading (extended) adobe glyph list fatal error: this module is not for context system | total runtime: 0.599 does it work when in font-enc.lua you change font-age into font-agl dofile(resolvers.findfile(font-agl.lua)) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta (broken?)
I'm getting this since today morning: mtx-context | run 1: luatex --fmt=/home/08/reviczky/local32/texlive/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en --lua=/home/08/reviczky/local32/texlive/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui --backend=pdf ./test.tex This is LuaTeX, Version beta-0.65.0-2010121316 \write18 enabled. (test.tex ConTeXt ver: 2011.03.25 18:03 MKIV fmt: 2011.3.25 int: english/english system cont-new.mkiv loaded (/home/08/reviczky/local32/texlive/experimental/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system test.top loaded (test.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/home/08/reviczky/local32/texlive/experimental/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) (/home/08/reviczky/local32/texlive/experimental/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/08/reviczky/local32/texlive/experimental/tex/texmf-context/tex/context/base/type-otf.mkiv){/home/08/reviczky/local32/texlive/experimental/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/08/reviczky/local32/texlive/experimental/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsotf loading loading: /home/08/reviczky/local32/texlive/experimental/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf (hash: lmroman12-regular) fontsotf loading font loaded okay fontsotf loading file size: 110400 fontsencoding loading (extended) adobe glyph list fatal error: this module is not for context system | total runtime: 0.878 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 25-3-2011 7:28, Reviczky, Adam wrote: I'm getting this since today morning: i uploaded a patch - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 2011-03-25 Hans Hagen pra...@wxs.nl wrote: weird ... in font-otp.lua there is in line 347: This line is in font-otf.lua. I added it there. local reload = not data or data.size ~= size or data.time ~= time can you add there print(data,data and data.size,data and data.time,size,time) and then remake the format and try again? I want to know what gets reported there table: a6330d0 110400 1254938640 110400 1254938640 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: attempt to index local 'resources' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: in function 'enhancer' ...text/tex/texmf-context/tex/context/base/font-otf.lua:250: in function 'enhance' ...text/tex/texmf-context/tex/context/base/font-otf.lua:472: in function 'load' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1761: in function 'otftotfm' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1788: in function 'read_from_otf' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1867: in function ...text/tex/texmf-context/tex/context/base/font-otf.lua:1856 (tail call): ? Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Fri, 25 Mar 2011, Hans Hagen wrote: Hi, I uploaded a new beta. There are quite some changes this time: FWIW, the installtion of beta works fine for me. - backend code has been reorganized and cleaned up and aspects of interaction have been partially reimplemented (like widgets) in a more mkiv-ish way (or actually mkvi); widgets now have an updated inheritance model Looks really nice. Do I have to do something different to activate MkVI syntax, or will that work in regular mkiv files as well? - the font related lua code has been cleaned up and reorganized as well and; the cached data is different, the memory footprint is somewhat smaller, processing can be a bit faster, font related parameters are better organized in subtables in the font instance, etc - the generic font code (in luatex-fonts) has been stripped from context related features so that it is easier to cook up mkiv specific extensions without too much interference (or side effects) for the generic code - a couple of fixes (like discussed on this list the last few weeks) have been applied \setuppaersize[A5] appears to be working fine in MKIV. Can you backport the change to MkII also? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Aditya Mahajan adit...@umich.edu writes: \setuppaersize[A5] appears to be working fine in MKIV. Nice! So you can close http://tracker.luatex.org/view.php?id=581 -- Peter ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On 25-3-2011 8:23, Aditya Mahajan wrote: - backend code has been reorganized and cleaned up and aspects of interaction have been partially reimplemented (like widgets) in a more mkiv-ish way (or actually mkvi); widgets now have an updated inheritance model Looks really nice. Do I have to do something different to activate MkVI syntax, or will that work in regular mkiv files as well? a file with suffix mkvi will be handled automatically and files that have % ... macros=mkvi ... on the first line too \setuppaersize[A5] appears to be working fine in MKIV. Can you backport the change to MkII also? hm, needs checking Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 25-3-2011 7:58, Marco wrote: On 2011-03-25 Hans Hagenpra...@wxs.nl wrote: weird ... in font-otp.lua there is in line 347: This line is in font-otf.lua. I added it there. local reload = not data or data.size ~= size or data.time ~= time can you add there print(data,data and data.size,data and data.time,size,time) and then remake the format and try again? I want to know what gets reported there table: a6330d0 110400 1254938640 110400 1254938640 weird, what font is that? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] x-ldx markup tags?
On 15-3-2011 12:27, Philipp Gesang wrote: The elements are defined in the file x-ldx.tex which is no longer part of context (don’t know why). x-ldx.mkiv - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 2011-03-25 Hans Hagen pra...@wxs.nl wrote: and then remake the format and try again? I want to know what gets reported there table: a6330d0 110400 1254938640 110400 1254938640 weird, what font is that? How to obtain that information? These numbers tell me nothing. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 2011-03-25 Hans Hagen pra...@wxs.nl wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. I'm not sure if it's a bug in luatex 0.65 or context 2011.03.25. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
On Fri, Mar 25, 2011 at 19:28, Hans Hagen wrote: On 25-3-2011 7:02, Mojca Miklavec wrote: does it work when in font-enc.lua you change font-age into font-agl dofile(resolvers.findfile(font-agl.lua)) Yes, it does, thanks a lot. (But I have no printer at the moment to test the result if it behaves any better.) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 25-3-2011 9:16, Marco wrote: On 2011-03-25 Hans Hagenpra...@wxs.nl wrote: and then remake the format and try again? I want to know what gets reported there table: a6330d0 110400 1254938640 110400 1254938640 weird, what font is that? How to obtain that information? These numbers tell me nothing. you can print the table with table.print(data) or have a look in the cache and locate the troublesome file - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 25-3-2011 10:08, Marco wrote: On 2011-03-25 Hans Hagenpra...@wxs.nl wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. I'm not sure if it's a bug in luatex 0.65 or context 2011.03.25. I have no clue either. Is there a reason why the minimals don't ship 0.66? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On Fri, Mar 25, 2011 at 22:39, Hans Hagen pra...@wxs.nl wrote: On 25-3-2011 10:08, Marco wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. Is there a reason why the minimals don't ship 0.66? Waiting for Taco to release it. I don't have a good feeling taking some random snapshot from repository. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (broken?)
On 25-3-2011 10:56, Mojca Miklavec wrote: On Fri, Mar 25, 2011 at 22:39, Hans Hagenpra...@wxs.nl wrote: On 25-3-2011 10:08, Marco wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. Is there a reason why the minimals don't ship 0.66? Waiting for Taco to release it. I don't have a good feeling taking some random snapshot from repository. I've been using it for quite a while now so 0.66 is quite ok, Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Fri, Mar 25, 2011 at 12:30, Hans Hagen pra...@wxs.nl wrote: - the font related lua code has been cleaned up and reorganized as well and; the cached data is different, the memory footprint is somewhat smaller, processing can be a bit faster, font related parameters are better organized in subtables in the font instance, etc Well, I no longer get an error when ConTeXt tries to load the GhostScript dingbats font: mkiv lua stats loaded fonts - 34 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm d05l.afm ^^^ there it is at the end! ^^^ I still don't get any dingbats in my PDF output, but it feels like progress is being made... \starttypescript [sans][dingbats][name] \definefontsynonym [Sans][name:dingbatsnormal] \stoptypescript \definetypeface [dingbats][ss][sans][dingbats][default] \starttext Here's a dingbat: {\dingbats ✪ \char272a} \stoptext mathew ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wrong cross references
On Sat, 26 Mar 2011, Alasdair McAndrew wrote: I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenceformat [ineqn] [left=(,right=),text=equation] to obtain their references. What is going on here? A minimal example is needed. And is there an easier way to obtain parentheses around a reference number, so that we see from equation (6) instead of we see from equation 6? \definereferenceformat is the correct way to do this. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wrong cross references
Sorted it - turns out I inadvertently used the same label for a formula and a figure. I've made all my labels distinct and the problem has gone. Sorry for wasting your bandwidth. -Alasdair On Sat, Mar 26, 2011 at 9:09 AM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 26 Mar 2011, Alasdair McAndrew wrote: I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenceformat [ineqn] [left=(,right=),text=equation] to obtain their references. What is going on here? A minimal example is needed. And is there an easier way to obtain parentheses around a reference number, so that we see from equation (6) instead of we see from equation 6? \definereferenceformat is the correct way to do this. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] x-ldx markup tags?
On 2011-03-25 21:01:47, Hans Hagen wrote: On 15-3-2011 12:27, Philipp Gesang wrote: The elements are defined in the file x-ldx.tex which is no longer part of context (don’t know why). x-ldx.mkiv Hi Hans, the update just finished but: $ find ~/context -type f -name x-ldx* /home/kokytos/context/tex/texmf-local/tex/context/base/x-ldx.tex /home/kokytos/context/tex/texmf-local/tex/context/base/x-ldx.ctx /home/kokytos/context/tex/texmf-local/scripts/context/lua/x-ldx.lua /home/kokytos/context/tex/texmf-context/scripts/context/lua/x-ldx.lua None of which is younger than last October. No trace of “x-ldx.mkiv” in the commitdiffs from the gitorious repo either. Did something go wrong? Regards, Philipp PS: “$ mtxrun --find-file filename” results in a Lua error. Commenting out line 14892 of mtxrun makes it sort-of work. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ pgpaQB36uNmGZ.pgp Description: PGP signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help with Times font, footnote symbols and captions
Am 25.03.2011 um 17:25 schrieb Nicola: Ok. Please bear with me, understanding of font handling mechanisms is still beyond my reach. This is the best I was able to do so far to use Times New Roman: Mac: \usetypescriptfile[type-mac] \setupbodyfont[timesnewroman] \starttext Times New Roman \stoptext Windows: \usetypescriptfile[type-win] \setupbodyfont[times] \starttext Times New Roman \stoptext Other (with the ms core fonts package Mathew mentioned): \setupbodyfont[mscore] \starttext Times New Roman \stoptext All: \usemodule[simplefonts] \setmainfont[Times New Roman] \starttext Times New Roman \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___