Re: [NTG-context] MetaPost Function Grapher
Hello Troy. Thank you very much for the link. It looks very nice and I'm sure that I will throw into teaching (I teach mathematics at the high school). I'm doing these things through Tikz and Pgfplots. Metapost unfortunately I don't control. Is it possible allowing export to Tikz or Pgfplots? If I would had the opportunity to also download the source Tikz or Pgfplots, it would be absolutely amazing. My point is that I can post the graphs still adapt, modify, describe, and create animations from those exported sources. Anyway, it's very hilarious application and I provide the link my students for their study purposes. Kind regards. Jaroslav Hajtmar Dne 22.2.2013 19:44, Troy Henderson napsal(a): The MetaPost output from my Function Grapher http://www.tlhiv.org/mpgraph/ is now available in ConTeXt format. This can be illustrated by choosing a graph type and selecting an example from one of the Example buttons. Once the graph is drawn, the ConTeXt source can be downloaded using the Download drop-down box. Simply executing `context mpgraph.tex` should produce the same graph viewed on the website in PDF. If you see any bugs, feel free to let me know. Troy Henderson ___ 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] Itemization and [continue] parameter
Dear all, While trying to continue itemized list as follows: \starttext \startitemize[1,unpacked] \item First item \startitemize[a,unpacked] \item First sub-item \item Second sub-item \stopitemize \item Second item \startitemize[continue] \item Third sub-item \item Fourth sub-item \stopitemize \stopitemize \stoptext What I get is the following: * First item a. First sub-item b. Second sub-item * Second item a. Third sub-item b. Fourth sub-item While I was expecting to receive: * First item a. First sub-item b. Second sub-item * Second item c. Third sub-item d. Fourth sub-item I use FreeBSD 9.1 and the output of context --version is: mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2013.02.18 15:46 Is there something I do wrong? Please advise --- Sergey ___ 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] MetaPost Function Grapher
Is it possible allowing export to Tikz or Pgfplots? If I would had the opportunity to also download the source Tikz or Pgfplots, it would be absolutely amazing. Unfortunately, I don't know TikZ or PGF, so not only would I have to learn these, but I would also have to rewrite the code to include this output. This is not a small feat. I do not currently have plans for this. Troy ___ 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] python embedded in ConTeXt
Hi, I just want to know if there is a equal thing like python.sty [1], sympytex [2] or sagetex [3] for embed python, sympy and sage into ConTeXt documents as there exist for latex. Yeah, I know I could write a script and run python externally to ConTeXt but this were easier to use. Thanks in advance, Xan. [1] http://www.astrobetter.com/python-in-latex-with-sympy/ [2] https://github.com/gpoore/pythontex [3] http://www.sagemath.org/doc/tutorial/sagetex.html ___ 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] || missing in iwona?
On Fri, Feb 22, 2013 at 5:32 PM, Hans Hagen wrote: On 2/22/2013 12:49 PM, luigi scarso wrote: My log file says: Missing character: There is no ‖ (U+2016) in font Iwona-Regular! Missing character: There is no ‖ (U+2016) in font Iwona-Regular! Missing character: There is no ‖ (U+2016) in font Iwona-Regular! so we need to add en entry to math-ttv.lua Just speculating: is it possible that the glyph is being searched for in Iwona-Regular.otf instead of taking the glyphs from tfm/Type1 math font? 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] Glyph Variants with MKIV
Hi, How can I use glyph variants with ConTeXt/LuaTeX? Khaled posted an example with LuaLaTeX[1] and I would like to use that in a ConTeXt document. Can this be achieved with simplefonts or even directly? Something like this: \usemodule[simplefonts] \setmainfont[zapfinoextraltpro] \starttext \setupsimplefonts[variant=2] \input knuth \setupsimplefonts[variant=3] \input knuth \stoptext Adam [1] http://tex.stackexchange.com/questions/29123/can-i-get-lualatex-to-do-font-variations-on-the-zapfino-font-just-as-xelatex-doe ___ 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] Specifying MP instance for MPpage
Hi, how to specify a particular MP instance for a MPpage? \defineMPinstance [myinstance] [metafun] [textcolor=green] \starttext \startMPpage draw textext(Foo) scaled 1cm; \stopMPpage \stoptext Marco signature.asc Description: Digital 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 ___
[NTG-context] command \text inside math environment not working anymore
Hi, during entering some formulas in a mkiv document I realized that the command \text is not working anymore. What is the new comḿand to embed text into a formula? I attached two minimal examples and the error message. Thanks for your help. :-) H. ---8-works: \startformula V_{X} \stopformula ---8-does not work: \startformula V_{\text X} \stopformula ---8-error message: ! Missing } inserted. system tex error on line 5 in file mathe-test6.tex: Missing ... 1 \starttext 2 3 \startformula 4 V_{\text X} 5 \stopformula 6 7 \stoptext inserted text } to be read again $ \stopdisplaymath -\stopinnermath $ $\par \afterdisplayspace \par \egroup \strc_formulas_stop_formula ...native \v!formula } \dostoptagged \dostoptagge... l.5 \stopformula ? ___ 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 embedded in ConTeXt
Am 2013-02-23 um 13:47 schrieb Xan: I just want to know if there is a equal thing like python.sty [1], sympytex [2] or sagetex [3] for embed python, sympy and sage into ConTeXt documents as there exist for latex. Yeah, I know I could write a script and run python externally to ConTeXt but this were easier to use. Have a look at Aditya's filter module, that can call arbitrary external commands. If you need pretty printing of Python sources, I guess the vim module can handle that. Don’t know about a suitable combination. Greetlings, 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] setcalligraphicfont with simplefonts
Hi, I thought I could use zapfino as a calligraphicfont as it is indeed a calligraphic typeface. The following example (modified from bitbucket.org/wolfs/simplefonts/src/tip/files/simplefonts-34.tex) however gives me an error: \usemodule[simplefonts] \setcalligraphicfont[zapfinoextraltpro] \starttext \cg\input knuth \stoptext --- fontstypescripts unknown: library 'calligraphicfont:2' --- Adam ___ 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] footnotes and columns
It appears that footnotes and columns are not friends of each other. Setting \setupfootnotes[location=columns] does not place the footnotes in the columns but still at the bottom of the page. Furthermore the \startcolumns..\stopcolumns sequence seems to have an adverse effect on the textheight, because the footnotes can be seen to sometimes intrude in the textarea (or vice versa of course). Changing the footnote setup to location = page, firstcolumn, lastcolumn, nothing different seen. Is this a known problem. I am refraining for the moment of a simple demo, because that is always difficult to achieve with this sort of placement problems. 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] Glyph Variants with MKIV
Hi, So I've just figured it out finally from http://www.twardoch.com/download/typotechnica2005_zapfino.pdf, that I can achieve this via the ss01-ss10 font features as well as with calt=yes respectively. The MWE: \usemodule[simplefonts] \definefontfeature[default][default][ss02=yes] % calt=yes \setmainfont[zapfinoextraltpro] \starttext \input knuth \stoptext Adam Hi, How can I use glyph variants with ConTeXt/LuaTeX? Khaled posted an example with LuaLaTeX[1] and I would like to use that in a ConTeXt document. Can this be achieved with simplefonts or even directly? Something like this: \usemodule[simplefonts] \setmainfont[zapfinoextraltpro] \starttext \setupsimplefonts[variant=2] \input knuth \setupsimplefonts[variant=3] \input knuth \stoptext Adam [1] http://tex.stackexchange.com/questions/29123/can-i-get-lualatex-to-do-font-variations-on-the-zapfino-font-just-as-xelatex-doe ___ 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 embedded in ConTeXt
On Sat, 23 Feb 2013, Henning Hraban Ramm wrote: Am 2013-02-23 um 13:47 schrieb Xan: I just want to know if there is a equal thing like python.sty [1], sympytex [2] or sagetex [3] for embed python, sympy and sage into ConTeXt documents as there exist for latex. Yeah, I know I could write a script and run python externally to ConTeXt but this were easier to use. Have a look at Aditya's filter module, that can call arbitrary external commands. Attached is a proof of concept implementation for sympy. All the three python packages that you mentioned include a corresponding python script that does a lot of book-keeping. So, getting the full functionality of all these packages will require adapting those python script to generate results in ConTeXt syntax rather than in LaTeX syntax. Aditya sympy.tex Description: TeX 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 ___