[NTG-context] gnuplot module does not work
Hello, it seem like gnuplot module does not work with recent ConTeXt Standalone. Zdenek --- example - \usemodule[gnuplot] \starttext \startGNUPLOTscript[aaa] plot [0:5] "-" 0 1 1 2 2 5 3 10 4 17 5 26 e \stopGNUPLOTscript \useGNUPLOTgraphic[aaa] \stoptext --- error message ConTeXt ver: 2012.01.12 11:03 MKIV fmt: 2012.1.13 int: english/english system > cont-new.mkiv loaded (/opt/context2/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > pokus_min.top loaded (pokus_min.top) fonts > latin modern fonts are not preloaded languages > language en is active resolvers > modules > loaded: 'gnuplot' (/opt/context2/tex/texmf-modules/tex/context/third/gnuplot/t-gnuplot.tex loading > Gnuplot module ! Undefined control sequence. system > tex > error on line 110 in file pokus_min.tex: Undefined control sequence ... l.110 \runMPgraphicstrue ___ 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: \rootfloatparameter has an extra }
On Wed, 5 Oct 2011 12:53:44 +0200 Wolfgang Schuster wrote: > You have to regenerate the format (context --make en) after patching > page-one.mkiv > > Wolfgang Thank you, that was it. Can you please explain me (or point me at a document) what the regeneration of the format does, or actually what the format is? Why changing the file in the tree has no effect? Zdenek ___ 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: \rootfloatparameter has an extra }
> > no error here with > MTXrun | current version: 2011.01.10 17:55 > > ...may be it is platform dependent, I'm running "texmf-linux-64". ___ 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] Error: \rootfloatparameter has an extra }
Hello, trying to recompile older work with recent context, strange error appeared: ! Argument of \rootfloatparameter has an extra }. I extracted minimal example, see below. It seems, it has something to do with position of first image. When the code is slightly changed (removing/adding x or image, font size change), compilation runs well. Similar error was reported few days ago (http://www.mail-archive.com/ntg-context@ntg.nl/msg58816.html), but the patch has no effect here. --- minimal example compiled with "context example.tex" \starttext \setupbodyfont[rm,13pt] \subsection[]{x} \startitemize[] \item x \item x \item x \stopitemize \subsection{x} x x x x x \placefigure[][]{}{ \externalfigure[cow][width=\textwidth] } x \placefigure[][]{}{% \externalfigure[cow][] } \placefigure[][]{}{% \externalfigure[cow][] } \placefigure[][]{}{% \externalfigure[cow][] } \subsection[]{S} x x \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 ___
[NTG-context] simpleslides/metapost bug ?
Hello everybody. Can you please confirm that following code fails: \usemodule[simpleslides] \starttext \IncludePicture[horizontal][cow][highlight=yes, alternative=circle, x=1, y=1, xscale=1, yscale=1, shadow=bottomleft]{hello} \stoptext And this does not: \usemodule[simpleslides] \starttext \IncludePicture[horizontal][cow][highlight=no, alternative=circle, x=1, y=1, xscale=1, yscale=1, shadow=bottomleft]{hello} \stoptext It seems like something goes wrong when circle is made. I can't find what is wrong from error messages. I will be back on Friday next week to answer. Regards Zdenek ___ 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] Switchting between betas
On Mon, 21 Feb 2011 09:11:10 +0100 Hans Hagen wrote: > On 21-2-2011 8:27, Cedric Mauclair wrote: > > > Nice! I believe one has to take care of its PATH on his own or does > > the context script takes care of that too? > > either use the 'setuptex' script in the tex tree that you want to use, > or add the bin path of the tree you want > ..only if somebody else would like to use my style: I use following two aliases in my .bashrc to switch between two context installations. alias ctx1='unset `env | grep TEX | sed "s/=.*$//"`; . /opt/context1/tex/setuptex; export PS1="# "; export OSFONTDIR="/usr/share/fonts" ' alias ctx2='unset `env | grep TEX | sed "s/=.*$//"`; . /opt/context2/tex/setuptex; export PS1="# "; export OSFONTDIR="/usr/share/fonts" ' I open console in directory with tex source files and run ctx1 or ctx2 command. It's comfortable, flexible and easy IMO. Zdenek ___ 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] Replacing a piece of a paper
Hi, > Finally, the PDFs are to be printed to a physical printer (=> physical pieces > of paper) and also to be provided to the third party like digital documents. > The result should not have layers switchable to on/off, but I believe this > can be handled by printing the final (even layered) PDF to another PDF by a > virtual printer (e.g. pdfCreator). > > Layering was only an idea, which - as I believed - should lead to the goal; > although that would probably mean to print the (layered) PDFs manually to the > virtual PDF printer. > > Or is there another (non-layering or layer-merging) way? > if you want to get rid of some part of PDF documents and if they are not too many, you can try to import them in Inkscape editor and really delete what is unwanted. Regards Zdeněk ___ 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] \mapsto is missing
How about trying this: $A ↦ B=f(A)$ $A ⟼ B=f(A)$ Zdenek On Fri, 19 Mar 2010 10:06:52 +0100 Mikael Persson wrote: > Dear list, > > the \mapsto arrow seems to be missing. > > \starttext > $A\mapsto B=f(A)$ > \stoptext > > gives the attached pdf document. I'd expect something like what is in > the pic attached. Can this be added? > > Best regards, Mikael ___ 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] Antykwa Toruńska and dashes
... Do you speak Czech??? OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8 It seems like you use linux, try pressing u2013 to type 'en dash' nearly anywhere. Tschüs Zdeněk On Fri, 12 Mar 2010 09:29:07 +0100 Philipp Gesang wrote: > Ahoj Zdeňku, > > > On 2010-03-12 <09:09:02>, zs wrote: > > Try using directly unicode characters: > > – 2013 - en dash > > — 2014 - em dash > Believe me, my keyboard layout is overfull with stuff and it's already > hard to find suitable places for punctuation; thus I welcome the > original TeX notation. > > Zdravím > > > Philipp ___ 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] Antykwa Toruńska and dashes
Try using directly unicode characters: – 2013 - en dash — 2014 - em dash Regards Zdenek On Thu, 11 Mar 2010 21:21:23 +0100 Philipp Gesang wrote: > Hi again, > > > when using Antykwa Toruńska I have problems getting dashes rights. > Example: > > -0< > > \usetypescript[antykwa-torunska] > \setupbodyfont[antykwa] > > \starttext > asdf -- adsf\par > asdf --- adsf\par > asdf--asdf\par > asdf---asdf\par > \stoptext > > -0< > > In output here (MkIV as of yesterday) the double/triple dashes are not > concatenated to en/em dashes. Everything works fine with latin modern, > schola, bonum etc. > > What's wrong? > > > Philipp > ___ 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] unwanted space in front of table
Thanks, this looks good. Zdenek On Tue, 09 Mar 2010 17:49:36 +0100 Wolfgang Schuster wrote: > You can make your setups in the preamble with > > \startsetups setups:table > >\setupTABLE[...] > > \stopsetups > > and use them in your document with > > \bTABLE[setups=setups:table] > ... > \eTABLE > > 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] unwanted space in front of table
Hi, I found a space between character and table. Is it intended behavior or bug? Zdenek Sample code: \starttext \setupTABLE[background=color,backgroundcolor=yellow] This is OK: a% \setupTABLE[column][1][width=20mm]% \setupTABLE[column][2][width=20mm]% \setupTABLE[column][3][width=20mm]% \bTABLE% \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \eTABLE% b Here we have space: a \setupTABLE[column][1][width=20mm] \setupTABLE[column][2][width=20mm] \setupTABLE[column][3][width=20mm] \bTABLE% \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \eTABLE b ... and thinner space here: a \setupTABLE[column][1,2,3][width=20mm] \bTABLE \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \eTABLE b \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 ___
[NTG-context] unwanted space in front of table
Hi, I found a space between character and table. Is it intended behavior or bug? Zdenek Sample code: \starttext \setupTABLE[background=color,backgroundcolor=yellow] This is OK: a% \setupTABLE[column][1][width=20mm]% \setupTABLE[column][2][width=20mm]% \setupTABLE[column][3][width=20mm]% \bTABLE% \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \eTABLE% b Here we have space: a \setupTABLE[column][1][width=20mm] \setupTABLE[column][2][width=20mm] \setupTABLE[column][3][width=20mm] \bTABLE% \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \eTABLE b ... and thinner space here: a \setupTABLE[column][1,2,3][width=20mm] \bTABLE \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \eTABLE b \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 ___
[NTG-context] level setting has no effect in TOC
Hello, it seems like the "level" parameter has no effect in mkiv. It works as expected in mkii. Is it a bug or there is different way how to do that in mkiv? Ragards Zdenek example: \starttext \setupcombinedlist[content][level=1,alternative=c] \completecontent \chapter{A} \section{a} \section{b} \subsection{I} \subsection{II} \chapter{B} \section{a} \section{b} \subsection{I} \subsection{II} \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] Symbols for copyright and registered
On Fri, 29 Jan 2010 00:36:13 +0100 Bernhard Rosensteiner wrote: > is there a source where i can find such definitions? I mean for other symbols > and „hard to type“ characters > > best regards > Bernhard for my purpose, I made utf-8 text containing all unusual characters and I copy and paste them. It's the most convenient way, IMO. example: ≈≐∿ №©®™ℎℏ°℃ ⌀ diameter 2300 ∅ empty set 2205 ⍉ 2349 ¼½¾⅓⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅟ ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ ⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ √(x² ˖ y²) √∛∜∢ Regards Zdenek ___ 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] "offset" command fails in caption (mk IV)
Hello, could you anybody confirm that following code causes fatal error in mkiv and not in mkii? I use minimals from 2009/12/17 in linux 64bit. LuaTeX: beta-0.46.0-2009112619 context: 2009.12.15 23:38 Thanks Zdenek --- This fails in mkiv. \starttext \placefigure[][]{A\offset[y=-.2ex]{+}B}{} \stoptext --- This is OK in both (mkiv & mkii) \starttext A\offset[y=-.2ex]{+}B \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] mkiv fails to load pdf image
On Mon, 5 Oct 2009 14:21:27 +0200 Martin Schröder wrote: > 2009/10/5 Taco Hoekwater : > > Somehow this is related to the example.pdf, because using cow.pdf works > > just fine. > > example.pdf has a /Group. And it works here in pdfTeX 1.50 & LaTeX. > Can LuaTeX handle pdf inclusion with transparency groups? It was formerly able to handle it seamlessly for very long time, only recent version cannot. Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv fails to load pdf image
> Somehow this is related to the example.pdf, because using cow.pdf works > just fine. > > Best wishes, > Taco ...yes it it related to the example.pdf or better to any pdf produced by cairo library (1.8.6 in my case). Using other pdf producers (pdflib, gs) file inclusion works fine. Do you suppose it is cairo's fault? If yes, why did it work before? Further investigation: example.pdf does not seem to be corrupted. Applying pdfopt to that does not help. Conversion pdf->ps->pdf through gs makes it usable for inclusion by recent minimals. Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mkiv fails to load pdf image
Hi all, I found that using latest I cannot get readable pdf file from folowing minimal code. This is LuaTeX, Version beta-0.43.0-2009081914 ConTeXt ver: 2009.10.02 13:14 MKIV fmt: 2009.10.5 int: english/english . "context minimal" gives me corrupted pdf. . "texexec -pdf minimal" works OK. This is LuaTeX, Version beta-0.40.6-2009062513 ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.15 int: english/english . everything works OK. \starttext \placefigure[here,force][]{none}{\externalfigure[example.pdf][width=10cm]} \stoptext The "example.pdf" is attached. Zdenek example.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography - no number of referenced lit.
On Thu, 16 Jul 2009 14:42:30 +0200 Taco Hoekwater wrote: > > You should switch, because it is quite serious and unlikely to be fixed > soon (if at all). ... you mean, we will probably not have numbered bibliography in mkiv anymore? You must be kidding... :-) ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography - no number of referenced lit.
Thanks for the comment. Should I temporarily switch to mkii or is it just minor trouble that may be fixed soon? Regards ZS On Thu, 16 Jul 2009 13:35:24 +0200 Taco Hoekwater wrote: > That is a bug. The new referencing system in mkiv dislikes the bib > module and vice versa. > > Best wishes, > Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliography - no number of referenced lit.
Hello, I have problem getting index number of referenced article in my text. I got only square brackets without any number. I use recent minimals: This is LuaTeX, Version beta-0.40.6-2009062513 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.15 int: english/english I tried also new module from t-bib-2009.06.08.zip with the same result. Is it a bug or my fault? Regards Zdenek --- Minimal example here: File example.tex : \usemodule[bib] \setuppublications[alternative=ams] \starttext You must read this \cite{art1}. \placepublications[criterium=all] \stoptext File example.bbl : \startpublication[k=art1, t=article] \artauthor[]{}[]{}{Somebody} \arttitle{Theory of everything} \pubyear{2009} \journal{The best Journal} \volume{35} \issue{4} \pages{1-100} \pubname{Any} \stoppublication ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Typing unicode
Hi, try this: \getglyph{name:TeXGyreHeros-Regular}{\char"2013} % your font should have the glyph! If you are in linux and your editor is UTF8 capable, try pressing keys and then type <2013>. This should work when using luatex. ZS On Thu, 19 Feb 2009 21:48:50 -0300 Maurício wrote: > Hi, > > This is probably a really basic question > already asked many times, but I wasn't able > to find an answer. > > How to type an unicode character using its > number? Searching for messages, I found > things like: > > "2019 > \char"2019 > \char{"2019} > \utfchar{"2019} > > but I wasn't able to get any of them to > work. (I don't know for sure they actually > should do what I want.) > > 'texexec --version' says: > > TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD > > Thanks, > Maurício > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] acroread and reload a PDF
On Wed, 23 Apr 2008 08:43:04 +0200 "Thomas A. Schmitz" <[EMAIL PROTECTED]> wrote: > Compile this and then have a look at the pdf file in acroread and in > evince. Evince is not perfect and it will probably always be behind acroread. I know continuous gradients are not shown perfectly, but it's something that many people can live with. I suppose, evince is very good choice for development. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] acroread and reload a PDF
> With xpdf I just hit R and the file (which changed on the disk) gets > reloaded. Am I right that acroread lacks a reload feature? Reopening a > document anytime it changed totally sucks ... > I recommend you to use "evince" viewer. I suppose, its output is even nicer than acroread's one. C-R reloads are supported. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
HI, I had similar trouble in my rather big document. It seemed to appear randomly. Sometimes it disappeared when I changed fonts or added some blank lines before problematic part. Finally I found that all my problems disappear when I avoid using these tables http://wiki.contextgarden.net/Table replacing them by http://wiki.contextgarden.net/TABLE So ... if you use tables Regards Zdenek On Sat, 5 Apr 2008 15:21:26 +0200 Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > It seems to be caused by this line, i.e. by the footnote: > > \section{Bildungs- und Erziehungsauftrag\footnote{H. P., Humanist > Road to European Citizenship, Zitate aus Verfassungen, 15.\,12.\,2007}} ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mplib
On Sat, 15 Mar 2008 11:18:33 +0100 Hans Hagen <[EMAIL PROTECTED]> wrote: > btw, how difficult would it be to add a lua api to gnuplot, in which > case we could communicate via lua tables > > Hans btw: Some of you may not know about cairo library. (http://cairographics.org/) It's versatile graphic library with many output targets(pdf,svg,png,...) and bindings to different programming languages (including lua!). It can do almost the same things that metapost do. Development version of gnulpot should be able to use cairo library for rendering too. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unable to make format after upgrade
... that's it, I forgot to update it. Thanks ZS On Mon, 10 Mar 2008 14:39:36 +0100 "Mojca Miklavec" <[EMAIL PROTECTED]> wrote: > I'm not 100% sure if that's the problem, but often >luatools --selfupdate > (in other words: a new version of luatools in BIN) helps. > > Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] unable to make format after upgrade
Hi all, I tried to update my installation using svn version of luatex and context from: http://mirror.contextgarden.net/context/beta/cont-tmf.zip Running "texexec --make --all --luatex" gives me this error message: LuaTools | running command: luatex --ini --lua="cont-en.luc" "/opt/context/tex/texmf-local/tex/context/base/cont-en.tex" \\dump (/opt/context/tex/texmf-local/tex/context/base/cont-en.tex (/opt/context/tex/texmf-local/tex/context/base/context.tex (/opt/context/tex/texmf-local/tex/context/base/syst-pln.tex) (/opt/context/tex/texmf-local/tex/context/base/syst-prm.tex) (/opt/context/tex/texmf-local/tex/context/base/luat-env.tex ! LuaTeX error [string "luas[0]"]:1: attempt to call field 'luafilechunk' (a nil value). \ctxluabyteload ...nvironment.luafilechunk("#1") } \ ...fproductionrun \else \ctxluabyteload {#1}{#2} \fi \global \everyloadluac... l.167 \registerctxluafile{luat-env}{1.001} Pdftex and xetex formats are generated without any trouble. Could you give me a hint? Thanks ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] hangs again :-)
I have just upgraded to This is LuaTeX, Version snapshot-0.20.2-2007121800 (Web2C 7.5.6) ConTeXt ver: 2007.12.17 14:54 MKIV fmt: 2007.12.18 int: english/english ... and everything seems to work beautifuly. If you wanted to check my source file, which made svn version from 12/15/2007 to hang, I can send it to you. Thanks for good work. Regards Zdenek On Mon, 17 Dec 2007 11:35:42 +0100 Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > > Hans Hagen wrote: > > zs wrote: > > > >> node memory in use: -3138 words out of 10 > > > > this looks like a bug in luatex itself ... > > It certainly does. But I really need a test file, otherwise > nothing can be done about it. > > Best wishes, > Taco > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] hangs again :-)
Hi, I'm reprting another problem with jammed context/luatex. To avoid my previous problem with table I tried trunk version of luatex. One problem is solved, another one appeared - but now it's not so easy to determine what causes the trouble. I found following: When I try to compile my thesis(quite long doc.), everythig seem to work fine until final step(final pdf file has 99.8% of its normal size) where it hangs using 100% CPU, just after this report: report:lua : loaded patterns - cz:cz:pat:exc:3 en:en:pat:exc:2 lua : current memory usage - 294785281 bytes lua : cleaned up reserved nodes - 18 nodes, 11 lists (of 100) remark : temporary fallback to base mode for tlig and trep ) (see the transcript file for additional information) node memory in use: -3138 words out of 10 I uncovered that when I comment out line with my font settings (\usetypescriptfile.) leaving everything default, complilation passes OK. It's strange, because another thin that helps is deleting some lines of the source file, i.e. this line: \part{something} Deleting of some other different lines helps too, I can't find the rule, sorry. I'm still not able to make simple document causing the same problem. I'm sorry for bothering you again. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new context still hangs on this
On Fri, 14 Dec 2007 17:50:40 +0100 Peter Münster <[EMAIL PROTECTED]> wrote: > > You need the trunk-version of luatex, or the next snapshot/beta version. > Cheers, Peter > You are right, it works now. Thanks Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] new context still hangs on this
Hi all. Context/luatex hangs on my linux box during compilation of this: \starttext \starttable[|c|c|] \NC \NC \NC\AR \DC\DL\DR \NC \NC \NC\AR \stoptable \stoptext Versions: This is LuaTeX, Version snapshot-0.20.1-2007120800 (Web2C 7.5.6) ConTeXt ver: 2007.12.14 08:57 MKIV fmt: 2007.12.14 int: english/english This is MetaPost, Version 1.002 (Web2C 7.5.5) (INIMP) Should I recompile I recompile LuaTeX and MetaPost after ConTeXt upgrade? ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in new context/luatex?
... I've just tried LuaTeX snapshot-0.20.1-2007120800 and found exactly the same behaviour. Regards Zdenek On Fri, 07 Dec 2007 15:18:23 +0100 Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > I have found and fixed the bug. It will be corrected in the next luatex > release. > > Best wishes, > Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bug in new context/luatex?
Hi all. This simple code causes context/luatex to freeze on my linux box. Could anyone reproduce it to make sure the problem is not on my side. \starttext \starttable[|c|c|] \NC \NC \NC\AR \DC\DL\DR \NC \NC \NC\AR \stoptable \stoptext This is LuaTeX, Version snapshot-0.20.0-2007120712 (Web2C 7.5.6) ConTeXt ver: 2007.12.06 22:52 MKIV fmt: 2007.12.7 int: english/english ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] SVG support
If you can live without gradients and blur efects, direct PDF export works pretty well (inkscape-0.45.1). ZS On Tue, 04 Dec 2007 15:13:24 +0100 Zeus Gómez Marmolejo <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm working with Inkscape and I would like to embed some figures > directly in vector format. How do I do that?? > > I'm trying this: > > \externalfigure[system][type=svg][scale=1000] > > But a "dummy" image appears. Is there any svg support in context?! > > > Regards, > Zeus. > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] The easiest way to get jpeg output?
On Mon, 29 Oct 2007 10:46:06 +0100 [EMAIL PROTECTED] wrote: > Hello, > > I need transform some presentation into series of > jpeg files. Is it possible directly from ConTeXt or > I have to use some external tools for conversion? > What is the easiest way in any case? > Hi You can make a script to export pages from your document using ghostscript like that: gs -dFirstPage=1 -dLastPage=1 -sDEVICE=jpeg -r150 -sOutputFile=page1.jpg -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dMaxBitmap=5000 document.pdf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context/luatex on amd64
On Tue, 4 Sep 2007 22:28:03 +0200 (CEST) Peter Münster <[EMAIL PROTECTED]> wrote: > In the meantime, you could just replace the executable with the i586 I've tried precompiled binaries. They either do not run at all or behave identically. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context/luatex on amd64
> The garden uses Debian. And file tells me the luatex binary is > actually 32-bit, although I wonder how this can be possible. Problem is on 64bit gentoo. On a 32bit (at home) it works. > What is your error message exactly? > Commands luatools --ini --compile --verbose cont-en and texmfstart texexec --make --all --luatex do not produce error message at all. But texmfstart texexec --luatex something.tex ends with: This is luaTeX, Version 3.141592-beta-0.11.0-2007082309 (Web2C 7.5.6) luatex: /tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en.fmt: No such file or directory LuaTools | running command: luatex --fmt="/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en" --lua="/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en.luc" "something.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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] context/luatex on amd64
Hi, have you working installation of latest context and luatex on linux/amd64? Drop some info please. I have no problem with installation on 32bit machine. The same system (gentoo) on 64bit doesn't generate "cont-en.fmt". Lua and luatex are installed from source. Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font size > 12pt
\starttext \definebodyfontenvironment[13pt] \setupbodyfont[rm,13pt] Some reaction O\low{2} $\rightarrow$ O\low{3}. Some reaction\footnote{ O\low{2} $\rightarrow$ O\low{3} }. \stoptext Live context/luatex cannot compile this. Footnote makes the trouble. Is it a bug or some other setting should be made? ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font size > 12pt
On Mon, 20 Aug 2007 12:42:26 +0200 Hans Hagen <[EMAIL PROTECTED]> wrote: > you need to define a bodyfotn environment (probably explained > somewhere on the wiki) OK, I tried that using cont-eni.pdf, but got the same result or overlapping text and footnotes. Have you (anybody) working example using non standard size and math? Thanks ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] font size > 12pt
Hi, I would like to have font bigger than 12pt. When I try following, commented line causes error message "Math formula deleted: Insufficient symbol fonts." while compiled with luatex. Could you tell me why and how to fix it? Thanks ZS \starttext \setupbodyfont[rm,13pt] Some reaction O\low{2} $\rightarrow$ O\low{3}. %Some reaction\footnote{ O\low{2} $\rightarrow$ O\low{3} }. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu
I know, people who tried to reproduce my trouble with DejaVu fonts "failed" :-) Nevertheless I'm now giving my solution to the public, just in case somebody in future gets the same failure. I found, if glyph uni05C7 at position 1479 is cleared using fontforge, everything works fine. Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu
Another hint: I tried to cut off some less common (from my point of view) glyphs from dejavusanscondensed font using fontforge. After that slimming, everything seems to work. Result: at some circumstances, some glyphs in some fonts may cause crash of luatex. If anyone interested, here is the reduced font: http://physics.ujep.cz/~zstryhal/data/djvsanscon_reduced.ttf.bz2 ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu
On Tue, 14 Aug 2007 15:27:05 +0200 Taco Hoekwater <[EMAIL PROTECTED]> wrote: > hat version of the dejavu fonts do you use, exactly? These fonts > are a little rough around the edges as well as being in active > delopment, so it is a hard target to test against. Over here, > all of the fonts in release 2.19 them worked ok in luatex 0.10.2 > (on linux) I use release 2.19 too and luatex 0.10.2 on linux too. # luatex -v This is luaTeX, Version 3.141592-beta-0.10.2-2007081408 LuaTeX merges and builds upon (parts of) the code from these projects: . . . Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 This simple code: % \starttext \font\test=dejavusans*default \test Hello \stoptext % processed by "texexec --luatex pokus2.tex" ends without anything useful. This is the output: TeXExec | processing document 'pokus2.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file pokus2.top TeXExec | using randomseed 743 TeXExec | tex engine: luatex TeXExec | tex format: cont-en This is luaTeX, Version 3.141592-beta-0.10.2-2007081408 (Web2C 7.5.6) (./pokus2.tex ConTeXt ver: 2007.08.08 14:35 MKIV fmt: 2007.8.14 int: english/english language: language en is active system : cont-new loaded (/usr/local/context/tex/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/context/tex/texmf-local/tex/context/base/cont-new.mkiv) (/usr/local/context/tex/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/local/context/tex/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/context/tex/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/context/tex/texmf-local/tex/context/user/cont-sys.tex) bodyfont: 12pt rm is loaded language: patterns nl->default:default->1->2:3 fr->default:default->2->2:3 de->default:default->3->2:3 it->default:default->4->2:3 pt->default:default->5->2:3 hr->default:default->6->2:3 pl->default:default->7->2:3 cz->default:default->8->2:3 sk->default:default->9->2:3 sl->default:default->10->2:3 ru->default:default->12->2:3 en->default:default->13->2:3 uk->default:default->14->2:3 us->default:default->[13]->2:3 agr->default:default->15->2:3 da->default:default->16->2:3 sv->default:default->17->2:3 af->default:default->[1]->2:3 no->default:default->18->2:3 deo->default:default->19->2:3 es->default:default->20->2:3 ca->default:default->21->2:3 la->default:default->22->2:3 ro->default:default->23->2:3 tr->default:default->24->2:3 fi->default:default->26->2:3 hu->default:default->27->2:3 loaded specials: tex,postscript,rokicki loaded system : pokus2.top loaded (./pokus2.top specials: loading definition file tpd (/usr/local/context/tex/texmf-local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/local/context/tex/texmf-local/tex/context/base/spec-fdf.tex (/usr/local/context/tex/texmf-local/tex/context/base/spec-fdf.mkiv)) specials: fdf loaded ) specials: fdf,tpd loaded ) (./pokus2.tuo) (./pokus2.tuo) systems : begin file pokus2 at line 3 LuaTools | running command: luatex --fmt="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en" --lua="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en.lua" "pokus2.tex" LuaTools | LuaTools | runtime: 0.04 seconds TeXUtil | parsing file pokus2.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | renaming pokus2.tua into pokus2.tuc TeXExec | runtime: 3.116736 I tried to run: luatex --fmt="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en" --lua="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en.lua" "pokus2.tex" That ends with "Segmentation fault", what is probably the point. I tried to recompile luatex double checking that no CFLAGS are set, but got the same result. ...but if nobody except me uses dejavu fonts or have these troubles, I can choose other fonts. There are probably more crucial things to bother about. Anyway, thanks for interest. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu
On Tue, 14 Aug 2007 00:10:45 +0200 Hans Hagen <[EMAIL PROTECTED]> wrote: > if you can compile ... the source code is updated After upgrade to luaTeX Version 3.141592-beta-0.10.2: Following code works as expected. Commented lines (everyone) still cause context/luatex to end its job without error message, pdf and log. Some font gives warning about features that go out of bounds, but still works fine. ZS % engine=luatex \def\testfont#1% {\blank \hbox \bgroup {\tttf#1:} {\tttf \font\test=#1*default \test effe fietsen 1234} {\tttf (sc) \font\test=#1*smallcaps \test effe fietsen 1234} {\tttf (os) \font\test=#1*oldstyle \test effe fietsen 1234} \egroup \blank} \starttext %\testfont{dejavusans-boldoblique} %\testfont{dejavusans-bold} %\testfont{dejavusanscondensed-boldoblique} %\testfont{dejavusanscondensed-bold} %\testfont{dejavusanscondensed-oblique} %\testfont{dejavusanscondensed} \testfont{dejavusans-extralight} \testfont{dejavusansmono-boldoblique} \testfont{dejavusansmono-bold} \testfont{dejavusansmono-oblique} %\testfont{dejavusansmono} %\testfont{dejavusans-oblique} %\testfont{dejavusans} \testfont{dejavuserif-bolditalic} \testfont{dejavuserif-bold} \testfont{dejavuserifcondensed-bolditalic} \testfont{dejavuserifcondensed-bold} \testfont{dejavuserifcondensed-italic} \testfont{dejavuserifcondensed} \testfont{dejavuserif-italic} \testfont{dejavuserif} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] images in table - luatex freezed
> not here. > In attachment my log. > > You are right. After upgrade to luaTeX Version 3.141592-beta-0.10.2 problem disappeared. Thanks for interest. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] dejavu
On Mon, 13 Aug 2007 21:48:31 +0200 Hans Hagen <[EMAIL PROTECTED]> wrote: > Hi, > > it looks like the dejavy fonts have some features that go out of > bounds; luatex is now made more robust for such errors and load the > font ok now" > > due to mail problems, taco is not online and cannot upload the new > beta today, will be mid week or so Thanks, I'll test it then. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font file size
On Mon, 13 Aug 2007 11:39:40 +0200 Hans Hagen <[EMAIL PROTECTED]> wrote: > luatex cannot load them (or even crashes) i.e. the fontforge 2 reader > cannot read them; maybe the fonts are invalid Recent version of fontforge(20070723) can read DejaVuSans.ttf without any trouble. I also tried to tranform it to *.otf using fontforge - no problem. Older version(200703??) worked too. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font file size
On Mon, 13 Aug 2007 10:08:51 +0200 Hans Hagen <[EMAIL PROTECTED]> wrote: > only a few fonts seem to be okay, some crash luatex, some are not > loaded You mean some fonts are somewhat bad or luatex can't handle them? ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font file size
On Mon, 13 Aug 2007 07:49:17 +0200 "luigi scarso" <[EMAIL PROTECTED]> wrote: > > Is there any limit for size of font? > no. > Can you write down your steps for installation, so I can reproduce the > problem on my box? 1) mkdir /usr/local/context && cp justtex.zip linuxtex.zip /usr/local/context 2) cd /usr/local/context && unzip justtex.zip && unzip linuxtex.zip 3) add line to "setuptex" (TMP=~./context_tmp) 4) cd ./tex && sh setuptex 5) set PATH variable to have this on first place: /usr/local/context/tex/texmf-linux/bin 6) mktexlsr&& luatools --generate && texmfstart texexec --make --all --luatex 7) export TEXMFCACHE='/tmp' && export TEXMFCNF='/usr/local/context/tex/texmf-local/web2c' && export TEXMF='{/usr/local/context/tex/texmf,/usr/local/context/tex/texmf-local,/usr/local/context/tex/texmf-linux,/usr/local/context/tex/texmf-fonts,/usr/local/context/tex/texmf-extra}' 8) copy latin modern fonts from lm.zip to /usr/local/context/tex/texmf-local/fonts/ 9) luatools --generate && luatools --ini --compile --verbose cont-en file "experiment.tex": % file start \starttext Hello world! Krásně–žluťoučký kůň. % utf8 test \stoptext % file end make pdf: texmfstart texexec --luatex experiment.tex ...works fine Let's play with fonts, file "experiment.tex": % file start \starttypescript [sans] [franklin] \definefontsynonym [DejaVuSanss][name:djva] [features=default] \definefontsynonym [DejaVuSans-Bold][name:djva] [features=default] \definefontsynonym [DejaVuSans-Oblique] [name:djva] [features=default] \definefontsynonym [DejaVuSans-BoldOblique] [name:djva] [features=default] \stoptypescript \starttypescript [sans] [franklin] \definefontsynonym [Sans][DejaVuSanss] [features=default] \definefontsynonym [SansItalic] [DejaVuSans-Oblique] [features=default] \definefontsynonym [SansBold][DejaVuSans-Bold] [features=default] \definefontsynonym [SansBoldItalic] [DejaVuSans-BoldOblique] [features=default] \definefontsynonym [SansSlanted] [DejaVuSans-Oblique] [features=default] \definefontsynonym [SansBoldSlanted] [DejaVuSans-BoldOblique] [features=default] \definefontsynonym [SansCaps][DejaVuSanss] [features=smallcaps] \stoptypescript \definetypeface[franklin][rm][serif][modern][default] \definetypeface[franklin][ss][sans][franklin][default] \definetypeface[franklin][tt][mono][modern] [default][rscale=1.12] \definetypeface[franklin][mm][math][iwona] [default][rscale=1.02] \setupbodyfont[franklin,ss,10pt] \starttext Hello world! Krásně–žluťoučký kůň. \stoptext % file end Before processing above source, copy font files from dejavu collection (http://prdownloads.sourceforge.net/dejavu/dejavu-ttf-2.19.tar.bz2?download) cp DejaVuSerif.ttf /usr/local/context/tex/texmf-local/fonts/truetype/public/dejavu/djva.ttf mktexlsr && luatools --generate texmfstart texexec --luatex experiment.tex ... works fine This doesn't work: cp DejaVuSans.ttf /usr/local/context/tex/texmf-local/fonts/truetype/public/dejavu/djvb.ttf Change font name in experiment.tex from djva to djvb. mktexlsr && luatools --generate texmfstart texexec --luatex experiment.tex ... gives nothing - no error, no pdf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] font file size
Hi all, while getting context/luatex to work, I experiment with fonts. I play with DejaVu fonts. I found that when I use DejaVuSerif.ttf I get what I want, but when I use DejaVuSans.ttf context produces nothing. It seems to process document without any error message and gives no pdf. I made some investigation and I guess it has something to do with file size of the font (DejaVuSerif.ttf-242KB, DejaVuSans.ttf-557KB). Result is the same for fonts from collection with similar size. Conversions with fontforge do not help. Is there any limit for size of font? Any other possible reason why? Thanks for suggestions. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] can't find file `context.tex'
On Sat, 11 Aug 2007 12:58:43 +0200 "luigi scarso" <[EMAIL PROTECTED]> wrote: > On 8/11/07, zs <[EMAIL PROTECTED]> wrote: > > Hi all. > > > > I've updated context by way recommended in mag-0012. > > I've set env. variables (env | grep TEX): > > TEXMFCACHE=/tmp > > TEXMF={/usr/local/texlive/texmf-local,/usr/local/texlive/2007/texmf} > hmm, it seems a mixed with an official texlive. I had bad experience > with this mix. > I prefear separation, something like > 1) mkdir /usr/local/contextMKiv > 2) unzip justtex.zip and linuxtex.zip from pragma site under > /usr/local/contextMKiv > 3) set TMP inside setuptex (eg. TMP=~./contextMKiv) > 4) cd /usr/local/contextMKiv/tex && . setuptex > 5) mktexlsr && luatools --generate && texmfstart texexec --make --all > --luatex I have compiled luatex from source , in my linux box there > was a floating error you must have lua5.1 already installed, of course You are right, it is mixed. Installation you recommends seems to work. I've also compiled luatex and lua from source. After some experiments with new context installation I'll try to replace binaries by compiled ones. Thanks ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] can't find file `context.tex'
On Sat, 11 Aug 2007 11:28:17 +0200 "luigi scarso" <[EMAIL PROTECTED]> wrote: > try > mktexlsr > luatools --generate ... has no effect. Result of "luatools --ini --compile --verbose cont-en" is the same. It is strange that "luatools context.tex" can find it. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] can't find file `context.tex'
Hi all. I've updated context by way recommended in mag-0012. I've set env. variables (env | grep TEX): TEXMFCACHE=/tmp TEXMF={/usr/local/texlive/texmf-local,/usr/local/texlive/2007/texmf} TEXMFCNF={/usr/local/texlive/texmf-local/web2c,/usr/local/texlive/2007/texmf/web2c} If I run: luatools context.tex I get: /usr/local/texlive/texmf-local/tex/context/base/context.tex The command: luatools --ini --compile --verbose cont-en ends with error message: LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | skipping configuration for /usr/local/texlive/texmf-local/web2c from /tmp/luatex-cache/context/892bdbf68d574f1472c0c2a0dcccac69/trees/45016b2bec096137ef905785b0b02d6a LuaTools | loading configuration for /usr/local/texlive/2007/texmf/web2c from /tmp/luatex-cache/context/892bdbf68d574f1472c0c2a0dcccac69/trees/6da32d2ec193ac6d2428d020ce069374 LuaTools | locating list of /usr/local/texlive/texmf-local LuaTools | locating list of /usr/local/texlive/2007/texmf LuaTools | locating list of /usr/local/texlive/2007 LuaTools | loading files for /usr/local/texlive/texmf-local from /tmp/luatex-cache/context/892bdbf68d574f1472c0c2a0dcccac69/trees/1f08e3a96247a4bd25d903ca1cb00c0e LuaTools | loading files for /usr/local/texlive/2007/texmf from /tmp/luatex-cache/context/892bdbf68d574f1472c0c2a0dcccac69/trees/2adb941cffe60c990191225deee5cf98 LuaTools | creating initialization file cont-en LuaTools | using library path : /usr/local/texlive/texmf-local/tex/context/base LuaTools | using lua libraries: l-string.lua l-table.lua l-boolean.lua l-number.lua l-unicode.lua l-md5.lua l-os.lua l-io.lua l-file.lua l-dir.lua l-utils.lua l-tex.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua luat-tex.lua LuaTools | using compiled initialization file cont-en.luc LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex" \dump This is luaTeX, Version 3.141592-snapshot-2007080810 (Web2C 7.5.6) (INITEX) (/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex ! I can't find file `context.tex'. l.16 \input context.tex Can anybody help me to sort this out. ZS ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PNG output
Try this: gs -sDEVICE=png16m -r200 -sOutputFile=formula.png -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4\ -dMaxBitmap=5000 formula.pdf You may play with -r parameter. You can also make a big picture and downsize it with proper interpolation. ZS On Thu, 12 Jul 2007 21:28:32 +0200 (CEST) [EMAIL PROTECTED] wrote: > I want to convert my standalone formulas to PNG to display these > formulas on my website. > > What I am doing is the following > > \starttext > \startTEXpage > \startformula > e^{i x} = \cos x + i \sin x > \stopformula > \stopTEXpage > \stoptext > > and process this via texexec --pdf to get a PDF file. > I tried to convert the resulting PDF file via gswin32c to png > but the resulting PNG output is not so good. > > Then I read dvipng could do the job, which means I have to produce dvi > output via texexec --dvi but than I get complaints from dvips that it > cannot find the file tex.pro for the specials. However a png file is > produced. > > Help appreciated > > TIA > Wim > > > > > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context webpage : > http://www.pragma-ade.nl / http://tex.aanhet.net archive : > https://foundry.supelec.fr/projects/contextrev/ wiki : > http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] prevent new paragraph when changing font
On Wed, 13 Jun 2007 10:47:33 +0200 "Wolfgang Schuster" <[EMAIL PROTECTED]> wrote: > Hi, > > the problem is your definetypeface definition. Replace your current > one with the next one: > > \definetypeface[def][rm][serif][latin-modern][default][encoding=texnansi] > > Wolfgang ...thanks, that's it, although I'm not sure what is wrong with "\definetypeface [def] [latin-modern] [default]" I got no error. Why a new paragraph is made when I use that command? It might be useful for somebody to know why I used such such command: I use DejaVu TTF fonts in my document. I'm rather satisfied with it, but there is one problem probably caused by my not perfect typescriptfiles: when I want to typeset greek capital letter, i.e. $\Omega$, I get nothing useful. I found something about that problem in conference archive, but I didn't really (want to?) understand pretty uneasy solution. I uncovered that when I temporarily switch to default latin modern font ({\switchtobodyfont[def]$\Omega$}) everything works fine. -- Conclusion -- Using command: "\definetypeface [def] [latin-modern] [default]" causes problem with unwanted new paragraph. Command: \definetypeface[def][rm][serif][latin-modern][default][encoding=texnansi] switches correctly to latin modern but is not the solution to trouble with $\Omega$ not being typeset. Finally: \definetypeface[def][mm][latin-modern][default][encoding=texnansi] seems works really fine - so far :-) Regards Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] prevent new paragraph when changing font
On Wed, 13 Jun 2007 10:04:50 +0200 "Wolfgang Schuster" <[EMAIL PROTECTED]> wrote: > 2007/6/13, zs <[EMAIL PROTECTED]>: > > Hello, > > > > is there any way to prevent ending the paragraph when changing the > > font? > > > > I want to keep this in one paragraph: > > > > Some text \switchtobodyfont[def]another text in different > > font. > > > > But when after typesetting I get: > > > > Some text > > another text in different font. > > > > Thanks > > > > Zdenek > > Hi, > > I don't what you're doing wrong, the following works for me: > > \usetypescript[palatino][texnansi] > \setupbodyfont[modern] > \starttext > Hello world! > \switchtobodyfont[palatino]% > Hello world! > \stoptext > > Can you make a example to show your problem. > Thank you for interest. Here is the example: \usetypescript[modern] \definetypeface [def] [latin-modern] [default] \setupbodyfont[modern] \starttext Hello world!\switchtobodyfont[def]Hello world! \stoptext Result(pdf) is attached. ZS pokus.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] prevent new paragraph when changing font
Hello, is there any way to prevent ending the paragraph when changing the font? I want to keep this in one paragraph: Some text \switchtobodyfont[def]another text in different font. But when after typesetting I get: Some text another text in different font. Thanks Zdenek ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___