[NTG-context] Fields...
Hi Hans, I tried to build a form with fields. However at this moment it looks likely, that there is a problem with fields. I get the following error: interactions javascripts loaded: library 'fld' ! LuaTeX error .../base/lpdf-fld.lua:823: attempt to call global 'makelinechine' (a nil value) stack traceback: .../base/lpdf-fld.lua:823: in function .../base/lpdf-fld.lua:822 (tail call): ? (tail call): ? .../base/scrn-fld.lua:43: in function 'insertfield' main ctx instance:1: in main chunk. I attach a minimal example. Kind regards Willi test-fields.tex Description: Binary data ___ 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] Fields...
Am 29.11.2011 um 11:28 schrieb Willi Egger: Hi Hans, I tried to build a form with fields. However at this moment it looks likely, that there is a problem with fields. I get the following error: interactions javascripts loaded: library 'fld' ! LuaTeX error .../base/lpdf-fld.lua:823: attempt to call global 'makelinechine' (a nil value) stack traceback: .../base/lpdf-fld.lua:823: in function .../base/lpdf-fld.lua:822 (tail call): ? (tail call): ? .../base/scrn-fld.lua:43: in function 'insertfield' main ctx instance:1: in main chunk. I attach a minimal example. lpdf-fld.lua (line 822): function methods.text(name,specification) -- return makelinechine(name,enhance(specification,MultiLine)) return makelinechild(name,enhance(specification,MultiLine)) end 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] Unnumbered chapters (titles) etc in TOC
Hi, I tried this: \definecombinedlist[content][chapter,title,subject,section] \setuphead[title,subject][incrementnumber=list] \starttext \placecontent \title{Unnumbered chapter} \subject{First} \subject{Second} \chapter{Numbered chapter} \section{Third} \section{Fourth} \stoptext and I have a few questions. 1. If I replace \definecombinedlist with \setupcombinedlist (which seems natural, given that content is already defined), it stops working; why? 2. The \setuphead line seem to be necessary; why? 3. And the worst: indenting of \titles and \subjects is the same (and of \subsubjects also, if I add them). How to change this? Regards, -- Marcin Borkowski http://mbork.pl ___ 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] Unnumbered chapters (titles) etc in TOC
Am 29.11.2011 um 12:20 schrieb Marcin Borkowski: Hi, I tried this: \definecombinedlist[content][chapter,title,subject,section] \setuphead[title,subject][incrementnumber=list] \starttext \placecontent \title{Unnumbered chapter} \subject{First} \subject{Second} \chapter{Numbered chapter} \section{Third} \section{Fourth} \stoptext and I have a few questions. 1. If I replace \definecombinedlist with \setupcombinedlist (which seems natural, given that content is already defined), it stops working; why? \setupcombinedlist does two things: 1. It passes the argument to \setuplist for each heading in the list, 2. It is used to set certain options for the given list 2. The \setuphead line seem to be necessary; why? Old option from MkII where this was needed. because combinedlist was a little bit different. 3. And the worst: indenting of \titles and \subjects is the same (and of \subsubjects also, if I add them). How to change this? \title, \subject etc. use the default values for the “width” key while \chapter etc. have explicit settings, you can change this with \setuplist[heading][width=dimension] 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] Fields...
Hello Wolfgang, great thank you for the immediate fix! Willi On 29 Nov 2011, at 11:55, Wolfgang Schuster wrote: return makelinechild(name,enhance(specification,MultiLine)) ___ 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] Sequentially number figures (even over chapters)
On Mon, Nov 28, 2011 at 10:41 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 28.11.2011 um 07:58 schrieb Mikael P. Sundqvist: Dear list, I want to number my figures sequentially, even over chapters. With the code below (late(st) minimals and mkiv) %%% Begin example \setuphead[chapter][ page=no, ] \setupcaptions[ way=bytext, prefixsegments=none, ] \setupcaption [figure] [way=bytext, prefixsegments=none] 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 ___ Thank you Wolfgang, that works (I must say I do not understand why \setupcaptions can't be used in the same manner). Is there somehow I can update the example at http://wiki.contextgarden.net/Reference/en/setupcaptions to the code working? 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] mptopdf missing
On Mon, Nov 28, 2011 at 21:44, Ernesto Posse epo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. 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] mptopdf missing
Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posse epo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? Another question: when I run mtxrun --script I obtain nothing: [eposse@flamenco:~/Tests/latex] mtxrun --script [eposse@flamenco:~/Tests/latex] My question is: shouldn't this return a list of available scripts? Thanks. 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 ___ -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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] mptopdf missing
On Tue, Nov 29, 2011 at 18:07, Ernesto Posse epo...@gmail.com wrote: Thanks, I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is, but in (original) TeX Live it is packaged separately, so that LaTeX users can run it without having to install ConTeXt. Another question: when I run mtxrun --script I obtain nothing: [eposse@flamenco:~/Tests/latex] mtxrun --script [eposse@flamenco:~/Tests/latex] My question is: shouldn't this return a list of available scripts? It should according to documentation, but it doesn't work for me either. Most probably it was broken by accident and nobody noticed that since May or even longer. 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] mptopdf missing
On 29-11-2011 18:07, Ernesto Posse wrote: Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posseepo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is part of context but as context moves on (mkiv) no user will use mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone graphics the mkiv related context and metapost scripts can do the same as mptopdf. 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 ___
[NTG-context] beta
Hi, I uploaded a new beta. The usual fixes (as reported to/suggested on this list) and an updated unit mechanism. I'll also upload the new (but yet incomplete) units manual. http://www.pragma-ade.com/general/manuals/units-mkiv.pdf 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] Export to epub
On 27-11-2011 23:27, Keith McKay wrote: Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'm not sure I have the switches right but I edited the epub generation part of mtx-epub.lua to look like this: os.execute(format(7z a -tzip -mx0 %s %s,epubfile,mimetype)) os.execute(format(7z a -tzip %s %s,epubfile,META-INF)) os.execute(format(7z a -tzip %s %s,epubfile,OPS)) and using a simple css file I can view the test epub in Adobe Digital Editions. I'm used to using Sigil to edit ePubs and Context but luatex is all new territory for me. I've added this method too, so when zip is not found, 7z is tried ... I didn't test it. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] page number in margin
On 27-11-2011 13:40, Henning Hraban Ramm wrote: Hi again, I’d like to get my page numbers in the margin. This works: \setuppagenumbering[alternative=doublesided,location=margin] But that way it’s on the bottom of the footer margin; I'd like it on the top. Second variant: Even better, I’d like my page number at the bottom of the text margin. How can I achieve that? location option marginedge doesn’t seem to do anything, as far as i can tell, and inright is the same as margin. As you know your way around context the following example probably helps a bit figuring it out ... \showframe \setuppagenumbering[alternative=doublesided,location=] \setupfooter[strut=] \setupfootertexts[margin][][\setups{whatever}] \startsetups whatever \framed[height=\vsize,width=\hsize]{\pagenumber} \stopsetups \starttext test \page test \page \stoptext - 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] Text in margin
On Tue, 2011-11-29 at 00:19 +0100, Wolfgang Schuster wrote: style={\switchtobodyfont[7pt]\it} or set “foregroundstyle=italic” for \setupmarginframed. To show the complete text you have to increase the backspace. \setuplayout[backspace=3.5cm] Wolfgang Thanks Wolfgang. That did it. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mptopdf missing
On Tue, Nov 29, 2011 at 12:51 PM, Hans Hagen pra...@wxs.nl wrote: On 29-11-2011 18:07, Ernesto Posse wrote: Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posseepo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is part of context but as context moves on (mkiv) no user will use mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone graphics the mkiv related context and metapost scripts can do the same as mptopdf. I'm using it for stand-alone graphics, to be included in a latex file, to be compiled with pdflatex. In short, I have a diagram in mp, and I used to do the following: mpost diagram.mp mptopdf diagram.1 My understanding is that the .1 file generated by mpost is actually an .eps file, but pdflatex doesn't accept it, and that's why I used mptopdf. I do not see any options in either mpost or context that would allow me to do that. How could I use any of these to get a pdf? 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 - -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 terminal now in gnuplot's CVS
Dear Mojca, Am Sonntag, den 06.11.2011, 15:19 +0100 schrieb Mojca Miklavec: After 5 years (actually almost 6 - the first t-gnuplot.tex code has been sent to me by Peter Münster on 2nd January 2006) gnuplot developers finally included context terminal into their CVS repository today. (temporary link, but probably slightly more clear than linking to CVS repository) https://github.com/gnuplot/gnuplot-new/commit/62737451bb138f0e679b5a57e0042b42e06f0a5c these were great news indeed! Thank you for your effort. The release of gnuplot 4.4.4 was initially planned for around October, which means that it should probably be out sometime soon. Unfortunately it looks like the ConTeXt terminal was not included in version 4.4.4 released on November 14th [1] and is just planned for version 4.5 [2]. Can you confirm this? Documentation: https://github.com/mojca/context-gnuplot/tree/master/texmf/doc/context/third/gnuplot […] Thanks, Paul [1] http://gnuplot.info/announce.4.4.4 [2] http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/NEWS?view=markup signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mptopdf missing
On 29-11-2011 20:36, Ernesto Posse wrote: On Tue, Nov 29, 2011 at 12:51 PM, Hans Hagenpra...@wxs.nl wrote: On 29-11-2011 18:07, Ernesto Posse wrote: Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.comwrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posseepo...@gmail.comwrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is part of context but as context moves on (mkiv) no user will use mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone graphics the mkiv related context and metapost scripts can do the same as mptopdf. I'm using it for stand-alone graphics, to be included in a latex file, to be compiled with pdflatex. In short, I have a diagram in mp, and I used to do the following: mpost diagram.mp mptopdf diagram.1 My understanding is that the .1 file generated by mpost is actually an ..eps file, but pdflatex doesn't accept it, and that's why I used mptopdf. I do not see any options in either mpost or context that would allow me to do that. How could I use any of these to get a pdf? what happens if you rename the .1 to .mps? inclusion of mp in pdftex should work ok in latex (as it uses the mp to pdf converter that is also used in mptopdf) 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] mptopdf missing
On Tue, Nov 29, 2011 at 3:45 PM, Hans Hagen pra...@wxs.nl wrote: On 29-11-2011 20:36, Ernesto Posse wrote: On Tue, Nov 29, 2011 at 12:51 PM, Hans Hagenpra...@wxs.nl wrote: On 29-11-2011 18:07, Ernesto Posse wrote: Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posseepo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is part of context but as context moves on (mkiv) no user will use mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone graphics the mkiv related context and metapost scripts can do the same as mptopdf. I'm using it for stand-alone graphics, to be included in a latex file, to be compiled with pdflatex. In short, I have a diagram in mp, and I used to do the following: mpost diagram.mp mptopdf diagram.1 My understanding is that the .1 file generated by mpost is actually an ..eps file, but pdflatex doesn't accept it, and that's why I used mptopdf. I do not see any options in either mpost or context that would allow me to do that. How could I use any of these to get a pdf? what happens if you rename the .1 to .mps? inclusion of mp in pdftex should work ok in latex (as it uses the mp to pdf converter that is also used in mptopdf) That seems to do the trick, thanks! 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 - -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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] Columnsets: bug in current beta?
On 27-11-2011 19:58, Jaroslav Hajtmar wrote: Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure[btrl,none]{}{...}) then everything works fine. I deal this with emergency so that the caption I incorporate into the PDF picture and then place figure without caption. I'm not sure when/how this was introduced (too many changes in the mkiv code). I have a patch but it needs checking with the normal (one column) mode so some patience is needed. 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] context terminal now in gnuplot's CVS
On Tue, Nov 29, 2011 at 21:42, Paul Menzel wrote: Dear Mojca, Am Sonntag, den 06.11.2011, 15:19 +0100 schrieb Mojca Miklavec: After 5 years (actually almost 6 - the first t-gnuplot.tex code has been sent to me by Peter Münster on 2nd January 2006) gnuplot developers finally included context terminal into their CVS repository today. The release of gnuplot 4.4.4 was initially planned for around October, which means that it should probably be out sometime soon. Unfortunately it looks like the ConTeXt terminal was not included in version 4.4.4 released on November 14th [1] and is just planned for version 4.5 [2]. Can you confirm this? [1] http://gnuplot.info/announce.4.4.4 [2] http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/NEWS?view=markup Yes. Sadly, for some reason the code was only included into CVS, but not into the 4.4.4 branch. The version 4.4.4 has been release before I realized (I was planning to ask about inclusion into 4.4 branch, but even if I did, there would be no guarantee for inclusion). There is a chance to include it into 4.4.6 if that version gets released at all (which means 5-6 months; it is unclear whether there will be another 4.4.6 or not; if not, it might take longer to release the next slightly incompatible version), but that might need an extra request to the gnuplot development team, and possibly some code improvements (who knows). I'm CC-ing one of the core developers. He can probably correct me if needed. The terminal will almost certainly be included in 4.6. However I believe that Tatsuro Matsuoka's binaries for windows from http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ should contain the context terminal which makes it a lot more easy to use, at least on windows. On unix-es it is at least somewhat easier to compile gnuplot. Yes, having it available from the linux distribution might help, but at least now that it is in CVS it will be a lot faster to get it into released version than it was to get it into CVS ... Mojca PS (not to be taken too seriously): ... and then I will probably move to ROOT or Alan's new metapost macros and stop using gnuplot ;) ROOT currently has no export to TeX, so it's another challenge. http://root.cern.ch ___ 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] Splitting natural tables
Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \bTABLE[option=stretch,split=repeat] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{\bTR \bTD text \eTD \bTD text \eTD \eTR} \eTABLEbody \eTABLE \stopplacetable \input knuth \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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
I enclose a minimal example as well as the output. It would seem that the \os causes the m-dash to come out as three hyphens. Is this the expected behaviour? advTHANKSance. -- - - Pavneet Arora test.pdf Description: Adobe PDF document \starttext 1234567890 A Pause---between yes and no. \os 1234567890 A Pause---between yes and no. \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] beta
On Tue, Nov 29, 2011 at 6:57 PM, Hans Hagen pra...@wxs.nl wrote: Hi, I uploaded a new beta. The usual fixes (as reported to/suggested on this list) and an updated unit mechanism. I'll also upload the new (but yet incomplete) units manual. http://www.pragma-ade.com/general/manuals/units-mkiv.pdf 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 ___ Dear Hans, is there any chance that the problem with too much space in math described in [1] will be fixed soon? I tried the latest beta, but it seems that it is not yet fixed. [1] http://archive.contextgarden.net/message/2028.202041.257f9618.en.html 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] Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Am 30.11.2011 um 02:19 schrieb Pavneet Arora: I enclose a minimal example as well as the output. It would seem that the \os causes the m-dash to come out as three hyphens. Is this the expected behavior? Write {\os 123…}, context use a special fontfeature set (with the name “just-os”) for old style figure where where kerning, text ligatures etc. are disabled. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Splitting natural tables
Am 30.11.2011 um 02:13 schrieb Christian: Hello, is it still not possible to split a table so that it covers one half page an then another half page? It is my understanding that splitting moves the table to the next page and then splits it to the following if it gets too long for one entire page. Would a manual split be possible? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \startplacetable[location=split,title={My table}] … \stopplacetable 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] Footnote rule is not drawn in columnset layout
In my new 2-column columnset layout, the rule above the footnotes is not appearing. I found an old question in the list archive dealing with a similar problem ( http://archive.contextgarden.net/message/20050626.123839.5318050e.en.html) but the relevant code has been changed since then. Is there a problem with my setup (excerpt) below? %%---%% \definecolumnset[body][n=2,distance=2em,balance=yes] % Use superior figures from the font for footnote marks, instead of \high: \defineconversion[supnumbers][\setff{sups}] % Just create space for the footnote number at the bottom of the column: \def\myfootnotecommand#1{\hbox to 1.5em{#1}} \setupnote[footnote] [location=page, numberconversion=supnumbers, numbercommand=, textcommand=, way=bytext, rule=on, align={hanging,hz}, command=\myfootnotecommand] \setupnotedefinition[footnote] [location=left] %%-%% Thanks, PPN -- Peter Park Nelson peter.park.nel...@gmail.com ___ 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 terminal now in gnuplot's CVS
On Tue, Nov 29, 2011 at 11:09 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: PS (not to be taken too seriously): ... and then I will probably move to ROOT or Alan's new metapost macros and stop using gnuplot ;) ROOT currently has no export to TeX, so it's another challenge. http://root.cern.ch http://wiki.contextgarden.net/User:Luigi.scarso/luatex_lunatic#ROOT_.28CERN.29 It would be nice if you build a lua binding -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Export to epub
Hans I'll update and try it tonight. Thanks for your help Keith On 29/11/2011 18:07, Hans Hagen wrote: On 27-11-2011 23:27, Keith McKay wrote: Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'm not sure I have the switches right but I edited the epub generation part of mtx-epub.lua to look like this: os.execute(format(7z a -tzip -mx0 %s %s,epubfile,mimetype)) os.execute(format(7z a -tzip %s %s,epubfile,META-INF)) os.execute(format(7z a -tzip %s %s,epubfile,OPS)) and using a simple css file I can view the test epub in Adobe Digital Editions. I'm used to using Sigil to edit ePubs and Context but luatex is all new territory for me. I've added this method too, so when zip is not found, 7z is tried ... I didn't test it. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___