Re: [NTG-context] Splitting natural tables
Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting... Now in the sample document I get table 1a and table 1b. In my real document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters) ___ 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] Splitting natural tables
Am 30.11.2011 um 10:29 schrieb Christian: Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting… The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE. Now in the sample document I get table 1a and table 1b. In my real document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters) The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document. 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] Splitting natural tables
Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting… The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE. Now in the sample document I get table 1a and table 1b. In my real document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters) The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document. My guess: It's because fo thecustom suffix. Example: \setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \input knuth \stopsection \stopchapter \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Splitting natural tables
Am 30.11.2011 um 10:47 schrieb Christian: Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting… The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE. Now in the sample document I get table 1a and table 1b. In my real document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters) The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document. My guess: It's because fo thecustom suffix. Example: \setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em] Remove the setting for “suffix” because it hold the number for the subtable, the number itself can be changed with \setupfloatsplitting[conversion=…] and a separator between the float number and the suffix can be added with \setupcaption[suffixseparator=…]. To add a stopper behind the suffix a different method is needed because although there is a “numberstopper” key for \setupcaption the symbol is added before the suffix, what you can do is to put he symbol in the label text with \setuplabeltext[table={Table ,:}] but a extra key “suffixstopper” but we useful in this case. @Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} 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] Splitting natural tables
Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting… The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE. Now in the sample document I get table 1a and table 1b. In my real document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters) The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document. My guess: It's because fo thecustom suffix. Example: \setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em] Remove the setting for “suffix” because it hold the number for the subtable, the number itself can be changed with \setupfloatsplitting[conversion=…] and a separator between the float number and the suffix can be added with \setupcaption[suffixseparator=…]. To add a stopper behind the suffix a different method is needed because although there is a “numberstopper” key for \setupcaption the symbol is added before the suffix, what you can do is to put he symbol in the label text with \setuplabeltext[table={Table ,:}] but a extra key “suffixstopper” but we useful in this case. @Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} Works like a charm :) Thanks, 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] Splitting natural tables
Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable Thank you Wolfgang! For some reason I thought the option split=yes would trigger splitting… The “split=yes” option works only for table which aren’t aren't placed as float because this mechanism has to know that it has to break the table into parts but then you don’t need the split key for \bTABLE. Now in the sample document I get table 1a and table 1b. In my real document I get table 3.2 and table 3.3. Is there a way to influence this? (btw. captions are above the table, if that matters) The location of the caption doesn’t matter. The number of the suffix for the subtables can be changed but without a example I can’t tell why you get different results in your example and in the real document. My guess: It's because fo thecustom suffix. Example: \setupcaption[table][location=top] \setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle= {\ ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em] Remove the setting for “suffix” because it hold the number for the subtable, the number itself can be changed with \setupfloatsplitting[conversion=…] and a separator between the float number and the suffix can be added with \setupcaption[suffixseparator=…]. To add a stopper behind the suffix a different method is needed because although there is a “numberstopper” key for \setupcaption the symbol is added before the suffix, what you can do is to put he symbol in the label text with \setuplabeltext[table={Table ,:}] but a extra key “suffixstopper” but we useful in this case. @Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} Works like a charm :) Thanks, Wolfgang! Just noticed: In my example posted above, when I remove the suffix and add the \setuplabeltext[table={Table ,:}] I get the a and b. BUT: It's Table 1.1a and 1.2b ...so the second number is incremented, should stay the same, though (1.1a 1.1b). ___ 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] TeX Output
Hi all, in my project I use an environment with lua-code, xml-setups and some other definitions and settings. Is there an simple way to get an output of the TeX-Stream, which will be used to generate the PDF? So it would be possible to manipulate some TeX-parts manually where the PDF-output have some errors or isn't as expected. Best Regards, Martin ___ 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] no color with interaction and reference format
Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext \section[mylabel]{A Section} A Reference to \in{section}[mylabel] and \insec[mylabel]. \stoptext On my machine only the first reference is red (aka colored), but I think both should be, as it was some betas ago. Is this a bug or has the interface changed? I'm using standalone 2025 21:29 MkIV. Thanks in advance! Stefan ___ 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] Error while compiling : ! String contains an invalid utf-8 sequence.
Hello, I had no response for the problem related to the script hanzi, and the reason may be that I have done a mistake since I have sent a mail only to Wolfgang Schuster and not to the mailing list. So in case there would be a solution to solve the problem of misplaced dots that the script hanzi caused, I copy-paste the mail I sent to Wolfgang Schuster only instead of the mailing list by mistake : The problem when I switch to the latin script for the bibliography is that again, japanese words won't wrap, the long japanese titles will go throughout the page, without going to the next line, as before. And if I switch to the the hanzi script for the bibliography, japanese titles will appear correctly, but dots will be misplaced. Some dots will be before the parenthesis, others will be at the same after parenthesis but with a big space between it. Here are the tex and bib file which allow you to reproduce the problem : %* *** \usemodule[simplefonts] \setmainfont[Arno Pro] \definesimplefonttypeface[jpn][HeiseiMinStd-W3] % \setupbibtex[database=biblio,sort=author] \setuppublications[alternative=apa-fr,sorttype=bbl,refcommand=authoryear] % \setscript[hanzi] %if this script is turned on, japanese display is ok, but dots won't display correctly \starttext \completepublications[criterium=all] \stoptext %** %** @article{conrad1980transformation, author = Conrad Totman, title = From {S}akoku to {K}aikoku. {T}he {T}ransformation of {F}oreign-{P}olicy {A}ttitudes, 1853-1868, journal = Monumenta Nipponica, year = 1980, volume = 35, number = 1, pages = 1-19, publisher = Sophia University, url = http://www.jstor.org/stable/2384397;, } @article{howse2002from, author = Robert Howse, title = From Politics to Technocracy-and Back Again: The Fate of the Multilateral Trading Regime, journal = The American Journal of International Law, volume = 96, number = 1, month = January, year = 2002, pages = 94-117, publisher = American Society of International Law, url = http://www.jstor.org/stable/2686127;, } @article{kato2011tpp, author = Katô, Fumiko {\jpn 加藤 文子}, title = {TPP} sanka giron wo meguru ikkôsatsu - Iryôbunya wo chûshin ni - Ôbei no rôdô shijô to no genjô wo fumaete {\jpn TPP参加議論をめぐる一考察-医療分野を中心に-欧米の労働市場との現状比較をふまえて} (Une réflexion sur les débats d'adhésion au {TPP}, centrée sur le champ médical -- Basée sur une comparaison du marché du travail actuel européen et nord-américain), journal = Jissen joshi daigaku ningen shakai gakubu kiyô {\jpn 実践女子大学人間社会学部紀要}, month = avril, year = 2011, pages = 77-88, publisher = Jissen joshi daigaku {\jpn 実践女子大学}, url = http://ci.nii.ac.jp/naid/110008431857/;, } @article{kobrain1998mai, author = Stephen J. Kobrin, title = {The {MAI} and the Clash of Globalizations}, journal = Foreign Policy, number = 112, month = Autumn, year = 1998, pages = 97-109, publisher = Washington Post Newsweek Interactive LLC, url = http://www.jstor.org/stable/1149038;, } @article{ishihara2011tpp, author = Ishihara, Kenji {\jpn 石原健二}, title = {{TPP} mondai to nihon nôgyô {\jpn TPP問題と日本農業}(Le problème du {TPP} et l'agriculture japonaise)}, journal = {Jichi sôken {\jpn 自治総研}}, volume = {392}, year = {2011}, month = {June}, pages = {38-58}, publisher = {Chihô jichi sôgô kenkyûjo {\jpn 地方自治総合研究所}}, url = {http://ci.nii.ac.jp/naid/110008454120/}, } @article{ciccantell2001nafta, author = Paul Ciccantell, title = {NAFTA} and the Reconstruction of {U.S.} Hegemony: The Raw Materials Foundations of Economic Competitiveness, publisher = Canadian Journal of Sociology, journal = The Canadian Journal of Sociology, year = 2001, period = Winter, volume = 26, number = 1, pages = 57-87, url = http://www.jstor.org/stable/3341511; } @article{robey1999civil, author = John S. Robey, title = Civil Society and {NAFTA}: Initial Results, journal = Annals of the American Academy of Political and Social Science, publisher = Sage Publications, Inc., year = 1999, month = September, volume = 565, pages = 113-125, url = http://www.jstor.org/stable/1049540; } @article{morales1999governance, author = Isidro Morales, title = {NAFTA}: The Governance of Economic Openness, journal = Annals of the American Academy of Political and Social Science, publisher = Sage Publications, Inc., year = 1999, month = September, volume = 565, pages = 35-65, url = http://www.jstor.org/stable/1049536; } @article{morales1999mexican, author = Isidro Morales, title = The Mexican Crisis and the Weakness of the {NAFTA} Consensus, journal = Annals of the American Academy of Political and Social Science, publisher = Sage Publications, Inc., year = 1997, month = March, volume = 550, pages = 130-152, url =
Re: [NTG-context] no color with interaction and reference format
Am 30.11.2011 um 12:56 schrieb Stefan Müller: Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext \section[mylabel]{A Section} A Reference to \in{section}[mylabel] and \insec[mylabel]. \stoptext On my machine only the first reference is red (aka colored), but I think both should be, as it was some betas ago. Is this a bug or has the interface changed? I'm using standalone 2025 21:29 MkIV. I quick fix for strc-ref.mkvi but it’s better to change the \dosetXXXattributes command in mult-aux.mkiv. The problem is the test for the \colorattributehash macros which are never empty because the hold the full name of the namespace and not the value of the key. \unexpanded\def\execute_reference_format#name% {\start_goto_reference \edef\currentreferenceformat{#name}% \gdef\leftofreference {\referenceformatparameter\c!left}% \gdef\rightofreference {\referenceformatparameter\c!right }% \edef\currentreferenceformatlabel {\referenceformatparameter\c!label }% \edef\currentreferenceformattype{\referenceformatparameter\c!type}% \edef\currentreferenceformatsetups {\referenceformatparameter\c!setups }% \edef\currentreferenceformatautocase{\referenceformatparameter\c!autocase}% % \dosetreferenceformatattributes \c!style \c!color % \ifx\fontattributehash\empty \else % \resetinteractionparameter\c!style % \fi % \ifx\colorattributehash\empty \else % \resetinteractionparameter\c!contrastcolor % \resetinteractionparameter\c!color % \fi \edef\currentreferenceformatstyle {\referenceformatparameter\c!style }% \edef\currentreferenceformatcolor {\referenceformatparameter\c!color }% \dosetreferenceformatattributes \c!style \c!color \ifx\currentreferenceformatstyle\empty \else \resetinteractionparameter\c!style \fi \ifx\currentreferenceformatcolor\empty \else \resetinteractionparameter\c!contrastcolor \resetinteractionparameter\c!color \fi \ifx\currentreferenceformatlabel\autoreferencelabeltextflag \edef\currentreferenceformatlabel{\autoreferencelabeltext}% \fi \ifx\currentreferenceformatautocase\v!yes \setcharactercleaning[1]% \fi \ifx\currentreferenceformatlabel\empty \defaultleftreferencetoks {\referenceformatparameter\c!text}% \defaultrightreferencetoks\emptytoks \else \defaultleftreferencetoks {\leftlabeltext \currentreferenceformatlabel}% \defaultrightreferencetoks{\rightlabeltext\currentreferenceformatlabel}% \fi \ifx\currentreferenceformattype\empty \def\currentreferenceformattype{default}% \fi % \ifx\currentreferenceformatsetups\empty \def\currentreferencecontent{\filterreference\currentreferenceformattype}% \else \def\currentreferencecontent{\directsetup\currentreferenceformatsetups}% \fi % \let\leftofreferencecontent \empty \let\rightofreferencecontent\empty \pickup_goto_reference} 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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Many thanks Wolfgang! On 11-11-30 01:30 AM, Wolfgang Schuster wrote: Am 30.11.2011 um 02:19 schrieb Pavneet Arora: I enclose a minimal example as well as the output. It would seem that the \os causes the m-dash to come out as three hyphens. Is this the expected behavior? Write {\os 123…}, context use a special fontfeature set (with the name “just-os”) for old style figure where where kerning, text ligatures etc. are disabled. Wolfgang -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) ___ 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] Splitting natural tables
On 30-11-2011 11:06, Wolfgang Schuster wrote: @Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} sure - 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] page number in margin
Am 2011-11-29 um 19:18 schrieb Hans Hagen: As you know your way around context the following example probably helps a bit figuring it out ... Thank you very much! I had a bit of a thinker's block - idea to use a framed was missing. I'm using ConTeXt far too seldom. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Escaping a special character in a MetaPost figure within a ConTeXt document fails
I have escaped the '#' character in the usual way, using a backslash, as '\#' in a btex...etex picture as part of a MetaPost figure created within a ConTeXt document, but the escaped character still causes the ConTeXt processing to fail. Here is an example... \pdfminorversion=5 \definepapersize[LG1][width=4.25in,height=6.875in] \definepapersize[LP1][width=4.25in,height=6.875in] \setuppapersize[LG1][LP1] \definelayout[frontmatter] [topspace=0.in,header=0.5556in,height=6.4305556in,footer=0.6944in, backspace=1.056in,width=2.861in,location=middle, leftmargindistance=0.in,rightmargindistance=0.in, leftmargin=0.8333in,rightmargin=0.in] \definefont[TitleFont][Serif sa 3.5] \definecolor[TransparentWhite][b=1,t=0,a=1] \def \FrontMatterTitle { \startreusableMPgraphic{frontmattertitle:\overlaywidth:\overlayheight} matter_paper_width := 4.25in; matter_paper_height := 6.875in; front_left_margin := 0.3889in; top_margin := 0.3472in; draw (0, 0)--(matter_paper_width, matter_paper_height) withpen pencircle scaled 1bp withcolor white; picture titleText; % == HERE IS THE SOURCE OF THE PROBLEM == titleText := btex {\vbox{\hsize 2.7291667in \baselineskip 38.0pt \setupalign[flushleft,hyphenated,verytolerant] \TitleFont THE BEGINNINGS OF \#BOOM}} etex; labeloffset := 0bp; label.lrt(titleText, (front_left_margin, matter_paper_height - top_margin)); \stopreusableMPgraphic \reuseMPgraphic{frontmattertitle:\overlaywidth:\overlayheight} } \defineoverlay[frontmattertitle][\FrontMatterTitle] \starttext \setuplayout[frontmatter] {\TransparentWhite\title{...}} \setupbackgrounds[page][background={{frontmattertitle}},state=repeat] {\TransparentWhite\midaligned{...}} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Escaping a special character in a MetaPost figure within a ConTeXt document fails
Try: using \letterhash instead of \# or \startasciimode \def \FrontMatterTitle { \startreusableMPgraphic{frontmattertitle:\overlaywidth:\overlayheight} matter_paper_width := 4.25in; matter_paper_height := 6.875in; front_left_margin := 0.3889in; top_margin := 0.3472in; draw (0, 0)--(matter_paper_width, matter_paper_height) withpen pencircle scaled 1bp withcolor white; picture titleText; %% == HERE IS THE SOURCE OF THE PROBLEM == titleText := btex {\vbox{\hsize 2.7291667in \baselineskip 38.0pt \setupalign[flushleft,hyphenated,verytolerant] \TitleFont THE BEGINNINGS OF #BOOM}} etex; %% NOTE I changed \# to # and % to %% labeloffset := 0bp; label.lrt(titleText, (front_left_margin, matter_paper_height - top_margin)); \stopreusableMPgraphic \reuseMPgraphic{frontmattertitle:\overlaywidth:\overlayheight} } \stopasciimode You can also use \framed[width=2.73in, foregroundstyle={\TitleFont\setupinterlinespace[38pt], align={flushleft, }]{The } instead of explicit \vbox. 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] Splitting natural tables
@Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} sure I'm sorry to press the issue, but is there a quick fix for the numbering issue? (where the second part of the split table gets the number 1.2b instead of 1.1b and the next table continues from 1.3 instead of 1.2) Here's the example: \setupcaption[table][location=top] \setuplabeltext[table={Tabelle ,:}] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \input knuth\par \startplacetable[title={My other table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{5}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \stopsection \stopchapter \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Okay another anomaly: I used the example in the FAQs to try to set the feature across the entire document, which is really what I want. http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_numbers.E2.80.9D_.28text_figures.29_in_a_document.3F In a manuscript length project, I wouldn't want to get {\os } for each local instance. Now, what I have noticed was that the small caps switch, \sc, seems to disable old-style numerals. Is this a typographic convention, i.e., that in a run of small caps one should not revert to old-style numerals? Is there a way of avoiding this assumption for a larger project? I sometimes have text set in small caps that as part of a project ID would have some numbers in it. In that case, I would like the old-style numerals to be used. I again enclose a small example with output. advTHANKSance. On 11-11-30 01:30 AM, Wolfgang Schuster wrote: Am 30.11.2011 um 02:19 schrieb Pavneet Arora: I enclose a minimal example as well as the output. It would seem that the \os causes the m-dash to come out as three hyphens. Is this the expected behavior? Write {\os 123…}, context use a special fontfeature set (with the name “just-os”) for old style figure where where kerning, text ligatures etc. are disabled. Wolfgang -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) test.pdf Description: Adobe PDF document \definefontfeature[default][default][onum=yes] \setupbodyfont[schola] \starttext 1234567890 A Pause---between yes and no. {\sc 1234567890 A Pause---between yes and no.} 0987654321 \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Export to epub
Hans Updated Context and ran my test file. It seems to work as I would expect on my computer. The output from Scite is below. Thanks again for your help. Keith McKay mtx-epub| creating paths in tree test.tree mtx-epub| copying toc.ncx to test.tree/OPS/toc.ncx mtx-epub| copying test-styles.css to test.tree/OPS/test-styles.css mtx-epub| copying test-images.css to test.tree/OPS/test-images.css mtx-epub| copying test.css to test.tree/OPS/test.css mtx-epub| copying test.xhtml to test.tree/OPS/test.xhtml mtx-epub| running command 'inkscape --export-plain-svg=cow.svg cow.pdf' 'inkscape' is not recognized as an internal or external command, operable program or batch file. mtx-epub| copying cow.svg to test.tree/OPS/cow.svg mtx-epub| copying hacker.jpg to test.tree/OPS/hacker.jpg mtx-epub| copying mill.png to test.tree/OPS/mill.png mtx-epub| creating archive 'zip' is not recognized as an internal or external command, operable program or batch file. 'zip' is not recognized as an internal or external command, operable program or batch file. 'zip' is not recognized as an internal or external command, operable program or batch file. 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22 Scanning Creating archive test.epub Compressing mimetype Everything is Ok 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22 Scanning Updating archive test.epub Compressing META-INF\container.xml Everything is Ok 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22 Scanning Updating archive test.epub Compressing OPS\cow.svg Compressing OPS\hacker.jpg Compressing OPS\mill.png Compressing OPS\test-images.css Compressing OPS\test-styles.css Compressing OPS\test.css Compressing OPS\test.opf Compressing OPS\test.xhtml Compressing OPS\toc.ncx Everything is Ok mtx-epub| epub archive made using 7zip (7z): test.tree/test.epubExit code: 0 On 30/11/2011 07:05, Keith McKay wrote: Hans I'll update and try it tonight. Thanks for your help Keith On 29/11/2011 18:07, Hans Hagen wrote: On 27-11-2011 23:27, Keith McKay wrote: Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'm not sure I have the switches right but I edited the epub generation part of mtx-epub.lua to look like this: os.execute(format(7z a -tzip -mx0 %s %s,epubfile,mimetype)) os.execute(format(7z a -tzip %s %s,epubfile,META-INF)) os.execute(format(7z a -tzip %s %s,epubfile,OPS)) and using a simple css file I can view the test epub in Adobe Digital Editions. I'm used to using Sigil to edit ePubs and Context but luatex is all new territory for me. I've added this method too, so when zip is not found, 7z is tried ... I didn't test it. 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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Hi Pavneet, I do not know which font/kind of font you intend to use. So provided the font is a otf-type the following works: \setupbodyfont[times,rm,12pt] \definefontfeature[oldstyle][sript=latin,onum=yes] \starttext \addff{oldstyle} 1234567890 A Pause---between yes and no. 1234567890 A Pause---between yes and no. \stoptext Willi On 30 Nov 2011, at 20:19, Pavneet Arora wrote: Okay another anomaly: I used the example in the FAQs to try to set the feature across the entire document, which is really what I want. http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_numbers.E2.80.9D_.28text_figures.29_in_a_document.3F In a manuscript length project, I wouldn't want to get {\os } for each local instance. Now, what I have noticed was that the small caps switch, \sc, seems to disable old-style numerals. Is this a typographic convention, i.e., that in a run of small caps one should not revert to old-style numerals? Is there a way of avoiding this assumption for a larger project? I sometimes have text set in small caps that as part of a project ID would have some numbers in it. In that case, I would like the old-style numerals to be used. I again enclose a small example with output. advTHANKSance. On 11-11-30 01:30 AM, Wolfgang Schuster wrote: Am 30.11.2011 um 02:19 schrieb Pavneet Arora: I enclose a minimal example as well as the output. It would seem that the \os causes the m-dash to come out as three hyphens. Is this the expected behavior? Write {\os 123…}, context use a special fontfeature set (with the name “just-os”) for old style figure where where kerning, text ligatures etc. are disabled. Wolfgang -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) test.pdftest.tex___ 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 ___
[NTG-context] Math in metapost
I would like to put some math in metapost pictures. For the moment I am using textext for the typesetting in my metapost macro: pic := textext(\setbox0=\hbox{\color[textcolor]labeltext}\dp0=0pt\box0); picture pic will be placed in the metapost figure. Simple math like $p=2$ works fine, but the system chokes on something like the following matrix: $\pmatrix{p_{0|0}\cr}$ (it does fine in ConTeXt itself). The error is: ! Only one # is allowed per tab. system tex error on line 6 in file Info/kanaalmatrix.tex: Only one # is allowed per tab ... Perhaps I am too optimistic about textext's possibilities. But how can I accomplish the placement of these and more elaborate formulae in metapost pictures using ConTeXt? It is of the essence for a series of Powerpoint slides I am preparing, wheein these formulae must be placed as individual pictures. Hans van der Meer ___ 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] Math in metapost
Hi, I am not a specialist, but I use the « btex etex » commands, such as dotlabel.bot (btex \switchtobodyfont[10pt] \strut $R$ etex, z1) I just tested with the latest beta, and everything works fine, but not the \pmatrix construct (I tried also with ${k}\choose{n}$, which works fine too. I put my test file in which some maths is used in a MetaPost graphic here: http://dl.dropbox.com/u/4316076/test-graphique.tex http://dl.dropbox.com/u/4316076/test-graphique.pdf Best regards: OK On 30 nov. 2011, at 20:59, Hans van der Meer wrote: I would like to put some math in metapost pictures. For the moment I am using textext for the typesetting in my metapost macro: pic := textext(\setbox0=\hbox{\color[textcolor]labeltext}\dp0=0pt\box0); picture pic will be placed in the metapost figure. Simple math like $p=2$ works fine, but the system chokes on something like the following matrix: $\pmatrix{p_{0|0}\cr}$ (it does fine in ConTeXt itself). The error is: ! Only one # is allowed per tab. system tex error on line 6 in file Info/kanaalmatrix.tex: Only one # is allowed per tab ... Perhaps I am too optimistic about textext's possibilities. But how can I accomplish the placement of these and more elaborate formulae in metapost pictures using ConTeXt? It is of the essence for a series of Powerpoint slides I am preparing, wheein these formulae must be placed as individual pictures. Hans van der Meer ___ 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 ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav...@math.uvsq.fr ___ 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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Am 30.11.2011 um 20:19 schrieb Pavneet Arora: Okay another anomaly: I used the example in the FAQs to try to set the feature across the entire document, which is really what I want. http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_numbers.E2.80.9D_.28text_figures.29_in_a_document.3F In a manuscript length project, I wouldn't want to get {\os } for each local instance. Now, what I have noticed was that the small caps switch, \sc, seems to disable old-style numerals. Is this a typographic convention, i.e., that in a run of small caps one should not revert to old-style numerals? Is there a way of avoiding this assumption for a larger project? I sometimes have text set in small caps that as part of a project ID would have some numbers in it. In that case, I would like the old-style numerals to be used. No, the answer is that smallcaps are activated with the “smcp” feature and this is applied to the regular style with the “smallcaps” set. To get now old style figures when you use smallcaps letters you need also this setup: \definefontfeature[smallcaps][smallcaps][onum=yes] 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] Math in metapost
On 30-11-2011 20:59, Hans van der Meer wrote: I would like to put some math in metapost pictures. For the moment I am using textext for the typesetting in my metapost macro: pic := textext(\setbox0=\hbox{\color[textcolor]labeltext}\dp0=0pt\box0); picture pic will be placed in the metapost figure. Simple math like $p=2$ works fine, but the system chokes on something like the following matrix: $\pmatrix{p_{0|0}\cr}$ (it does fine in ConTeXt itself). The error is: ! Only one # is allowed per tab. system tex error on line 6 in file Info/kanaalmatrix.tex: Only one # is allowed per tab ... Perhaps I am too optimistic about textext's possibilities. But how can I accomplish the placement of these and more elaborate formulae in metapost pictures using ConTeXt? It is of the essence for a series of Powerpoint slides I am preparing, wheein these formulae must be placed as individual pictures. you can patch pmatrix: \unexpanded\def\pmatrix#1% {\left(\matrix{#1}\right)} (i'll make the lot unexpandable) btw, for large chunks you can consider using setups \startsetups lots-of-math \stopsetups ... \textext(\setup[lots-of-math]) - 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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Works a charm, Wolfgang. Thanks again. On 11-11-30 04:19 PM, Wolfgang Schuster wrote: Am 30.11.2011 um 20:19 schrieb Pavneet Arora: Okay another anomaly: I used the example in the FAQs to try to set the feature across the entire document, which is really what I want. http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_numbers.E2.80.9D_.28text_figures.29_in_a_document.3F In a manuscript length project, I wouldn't want to get {\os } for each local instance. Now, what I have noticed was that the small caps switch, \sc, seems to disable old-style numerals. Is this a typographic convention, i.e., that in a run of small caps one should not revert to old-style numerals? Is there a way of avoiding this assumption for a larger project? I sometimes have text set in small caps that as part of a project ID would have some numbers in it. In that case, I would like the old-style numerals to be used. No, the answer is that smallcaps are activated with the “smcp” feature and this is applied to the regular style with the “smallcaps” set. To get now old style figures when you use smallcaps letters you need also this setup: \definefontfeature[smallcaps][smallcaps][onum=yes] Wolfgang -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) ___ 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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
On 30-11-2011 22:19, Wolfgang Schuster wrote: Am 30.11.2011 um 20:19 schrieb Pavneet Arora: Okay another anomaly: I used the example in the FAQs to try to set the feature across the entire document, which is really what I want. http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_numbers.E2.80.9D_.28text_figures.29_in_a_document.3F In a manuscript length project, I wouldn't want to get {\os } for each local instance. Now, what I have noticed was that the small caps switch, \sc, seems to disable old-style numerals. Is this a typographic convention, i..e., that in a run of small caps one should not revert to old-style numerals? Is there a way of avoiding this assumption for a larger project? I sometimes have text set in small caps that as part of a project ID would have some numbers in it. In that case, I would like the old-style numerals to be used. No, the answer is that smallcaps are activated with the “smcp” feature and this is applied to the regular style with the “smallcaps” set. To get now old style figures when you use smallcaps letters you need also this setup: \definefontfeature[smallcaps][smallcaps][onum=yes] given that the smallcaps feature does not nil oldstyle (happens in some fonts) - 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] Splitting natural tables
Am 30.11.2011 um 18:15 schrieb Christian: @Hans: Can you make this change in strc-flt.mkvi? \unexpanded\def\thecurrentfloatnumbersuffix {\doifsomething{\floatcaptionparameter\c!suffix} {\floatcaptionparameter\c!suffixseparator % \floatcaptionparameter\c!suffix}} \floatcaptionparameter\c!suffix \floatcaptionparameter\c!suffixstopper}} sure I'm sorry to press the issue, but is there a quick fix for the numbering issue? (where the second part of the split table gets the number 1.2b instead of 1.1b and the next table continues from 1.3 instead of 1.2) I can’t reproduce this, here the table show 1.1a and 1.1b on the first and second page. mtx-context | current version: 2011.11.29 23:11 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] mptopdf TeX text problem
Hello, what is the proper way of using MetaPost with TeX text? I have two examples: beginfig(1); draw unitsquare scaled(1cm); draw textext($\pi$) shifted((0.5,0.5)*cm); % label(btex $\pi$ etex, origin); endfig; end mptopdf --metafun produces only unknown where the Pi symbol should be and when I uncomment label the following problem occurs: Output written on test-temp.dvi (2 pages, 256 bytes). Transcript written on test-temp.log. TeXExec | runtime: 0.16436 This is MetaPost, version 1.504 (kpathsea version 6.0.0) mpost: Not writing to .log (openout_any = p). ! I can't write on file `.log'. Please type another transcript file name: ... !pdfTeX error: pdftex (file lmmi12): Font lmmi12 at 600 not found == Fatal error occurred, no output PDF file produced! MPtoPDF 1.4.1 : error while processing tex file --- But, when I put source in \startMPpage draw unitsquare scaled(1cm); draw textext($\pi$) shifted((0.5,0.5)*cm); label(btex $\pi$ etex, origin); \stopMPpage and call context, the output PDF is okay. So what is proper way to use TeX inside mpost nowaday? Best regards -- Martin Bruchanov Skype : bruxytronics WWW : http://bruxy.regnet.cz/ GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53) AX.25 : OK2MNM @ OK0PBX.#MOR.CZE.EU IRCNet: #linux.cz, #cvut, #z80 Linked-In : http://www.linkedin.com/in/bruxy pgpKp9FAAb6ER.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 ___