Re: [NTG-context] Formulas in ConTeXt are different from those in plain TeX
On 5/11/2013 1:57 AM, Tim Li wrote: Hi, I have asked this question on tex.stackexchange.com http://tex.stackexchange.com/questions/113592/formulas-in-context-are-different-from-those-in-plain-tex/113609?noredirect=1#comment250549_113609 as the title said, formulas typeset by ConTeXt are different from those by plain TeX. The minimal examples are here: % plain luatex in ConTeXt standalone $$\int_a^bf(x)dx=F(b)-F(a)$$ \bye % context \starttext \startformula \int\nolimits_a^bf(x)dx=F(b)-F(a) \stopformula \stoptext Marco said to me that that's because the fonts used by LuaTeX and ConTeXt are different. This can be seen from the pdf produced by them pdffonts context.pdf name type emb sub uni object ID - --- --- --- - OLAZTU+LMRoman12-Regular CID Type 0C yes yes yes 18 0 RXHAAY+LatinModernMath-Regular CID Type 0C yes yes yes 19 0 JTHTZJ+LatinModernMath-Regular CID Type 0C yes yes yes 20 0 pdffonts plain.pdf name type emb sub uni object ID - --- --- --- - APMHZE+LMMathExtension10-Regular Type 1yes yes no 4 0 AWBTPY+LMMathItalic7-Regular Type 1yes yes no 5 0 ITITNI+LMMathItalic10-RegularType 1yes yes no 6 0 DMNVHT+LMRoman10-Regular Type 1yes yes no 7 0 MGKPYK+LMMathSymbols10-Regular Type 1yes yes no 8 0 even if using the `modern-designsize-virtual` typescript(advice from Marco), I still get the different outputs. Now, I get confused about this qustion. If ConTeXt uses LuaTeX as its engine, how can I tune ConTeXt so that it can produce the same formulas with those in plain TeX? you could define your own 'plain like' math setup using type one fonts and families and all symbol names redefined or use the virtual lm instead -- - 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] authoring for web and print - suggestions
Dear all, this time I have a question not concerning how to ship ConTeXt in Debian or so, but very different. Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this? Any suggestion would be greatly welcome Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ___ 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] authoring for web and print - suggestions
On 05/11/2013 12:26 PM, Norbert Preining wrote: Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this? Any suggestion would be greatly welcome I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt, and you can use XSLT to produce xhtml. In theory, you could also directly process xhtml in ConTeXt, but personally (mind you, I'm no authority on these questions at all) writing xml (such as docbook) gives you more wiggle room, should you ever want to reuse your content (just think your organization uses a new CMS, and you need a different form of html). Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Formulas in ConTeXt are different from those in plain TeX
On 5/11/2013 12:16 PM, Tim Li wrote: Thanks, Hans, can you give me a small example or show me how to do that? I really don't know how to do that. :-( see plain.tex and the tex book but you can bet on interference ... deep down, math in context is implemented in a rather special way and that might conflict with more traditional approaches 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] authoring for web and print - suggestions
On Sat, May 11, 2013 at 1:08 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt The relevant manual section [1] seems to be the authoritative document on this, though I don't know how up-to-date it is. The wiki [2] contains additional, perhaps more practical, information. Cheers, ~~ Ondra [1] http://pragma-ade.com/show-man-43.htm [2] http://wiki.contextgarden.net/XML P.S. TU Wien represent. ___ 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] authoring for web and print - suggestions
http://www.leverkruid.eu/context/index.html Looks really interesting. On Sat, May 11, 2013 at 7:35 AM, Ondřej Hošek ondra.ho...@gmail.com wrote: On Sat, May 11, 2013 at 1:08 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt The relevant manual section [1] seems to be the authoritative document on this, though I don't know how up-to-date it is. The wiki [2] contains additional, perhaps more practical, information. Cheers, ~~ Ondra [1] http://pragma-ade.com/show-man-43.htm [2] http://wiki.contextgarden.net/XML P.S. TU Wien represent. ___ 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 ___ -- Grant Rettke | ACM, AMA, COG, IEEE gret...@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson ___ 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] authoring for web and print - suggestions
On 5/11/2013 2:47 PM, Grant Rettke wrote: http://www.leverkruid.eu/context/index.html Looks really interesting. Don't go that route ... it's mkii based and overloads low level context commands (which even for that approach is not needed). It's far more convenient to use mkiv's tree based xml handler with expressions. 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] authoring for web and print - suggestions
On Sat, May 11, 2013 at 7:54 AM, Hans Hagen pra...@wxs.nl wrote: On 5/11/2013 2:47 PM, Grant Rettke wrote: http://www.leverkruid.eu/**context/index.htmlhttp://www.leverkruid.eu/context/index.html Looks really interesting. Don't go that route ... it's mkii based and overloads low level context commands (which even for that approach is not needed). It's far more convenient to use mkiv's tree based xml handler with expressions. Understood. Thanks! ___ 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] authoring for web and print - suggestions
2013/5/11 Norbert Preining prein...@logic.at: Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this? Consider pandoc. But you probably need math. :-) Best 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 ___
Re: [NTG-context] python parse/formatter example on the wiki
Am 11.05.2013 um 16:22 schrieb seasoul bioseas...@gmail.com: I was trying the example of writing a parse/formatter under Verbatim text. The python formatter runs successfully. But when I compile the text file with all the definitions included, an error occurs. inserted text } to be read again \endgroup \buff_verbatim_type_block_verbatim_indeed ...ines \dostoptagged \csname #2\e... It could be implemented forcefully, but definitely not an excuse to ignore this error. You have to change the color settings from {\color[…]…} to \color[…]{…} because the command expects the text as argument. 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] python parse/formatter example on the wiki
Yes, it is solved. On Sun, May 12, 2013 at 12:48 AM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 11.05.2013 um 16:22 schrieb seasoul bioseas...@gmail.com: I was trying the example of writing a parse/formatter under Verbatim text. The python formatter runs successfully. But when I compile the text file with all the definitions included, an error occurs. inserted text } to be read again \endgroup \buff_verbatim_type_block_verbatim_indeed ...ines \dostoptagged \csname #2\e... It could be implemented forcefully, but definitely not an excuse to ignore this error. You have to change the color settings from {\color[…]…} to \color[…]{…} because the command expects the text as argument. 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 ___ -- Yours Sincerely Ba Te ___ 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] Arabic typesetting, one more
Salaam, Huseyin, I missed this and other threads, it's been busy here... On Tue, 07 May 2013 23:35:25 -0600, H. Özoguz h.oezo...@mmnetz.de wrote: But with traditionalarabic it is worse than with arabtype. What could be a way to fix this? Traditional Arabic is a uniscribe-compliant font, but not a fully opentype font. Uniscribe also supports older, pre-unicode protocols. In other words, TraditionalArabic is platform-dependent. So unless M$ has updated it in a recent OS, it will not work in ConTeXt MkIV. Since XeTeX uses the local libraries, then mkii/xetex on windows might work. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] ConTeXt Meeting #7
Hi there, will the registration open before the end of early bird discount? Cheers Leo ___ 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 Meeting #7
On Sat, May 11, 2013 at 11:30 PM, Leo Arnold wrote: Hi there, will the registration open before the end of early bird discount? The dates were most probably copied from the website of meeting in 2010. Jano promised to fix the page in the following days, so no worries - the early bird discount won't run out before the registration starts, but you can already become a ConTeXt Group member to get a discount for the conference ;) http://group.contextgarden.net/register.shtml 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] ConTeXt Meeting #7
Hey Mojca, I guess DANTE discount will do. But if it was possible, i'd join them all and come for free :-P Best Leo On 05/11/2013 11:56 PM, Mojca Miklavec wrote: On Sat, May 11, 2013 at 11:30 PM, Leo Arnold wrote: Hi there, will the registration open before the end of early bird discount? The dates were most probably copied from the website of meeting in 2010. Jano promised to fix the page in the following days, so no worries - the early bird discount won't run out before the registration starts, but you can already become a ConTeXt Group member to get a discount for the conference ;) http://group.contextgarden.net/register.shtml 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] ConTeXt Meeting #7
On Sat, May 11, 2013 at 11:59 PM, Leo Arnold t...@arney.de wrote: Hey Mojca, I guess DANTE discount will do. Yes, but ConTeXt Group is definitely cooler, if nothing else, because it's smaller and every member counts. The membership nr. 1 has been sold for 120 EUR! But if it was possible, i'd join them all and come for free :-P Good idea. I believe that we could make a corporate membership that would include a free conference attendance. 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 ___