[NTG-context] logo from wiki
Dear list. where is the ConTeXt source for this image: http://wiki.contextgarden.net/skins/common/images/context/context_logo_inv.png? Thanks, Pablo -- http://www.ousia.tk ___ 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] Section in golden ratio?
Hello, thanks Peter and Wolfgang for their answers. Both following codes work: P. \setuplayout[page] \define\bef{\page\vbox to\textheight\bgroup\vfill\vfill} \define\aft{\vfill\vfill\vfill\egroup} \setuphead[section] [before=\bef,after=\aft, %commandbefore=\cbef,commandafter=\caft, alternative=middle, ] \starttext \section{AAA} \stoptext W. \setuplayout[page] \definemakeup[section]%[text] \setupmakeup[section][top=\vfill\vfill,bottom=\vfill\vfill\vfill] \setuphead[section] [before=\startsectionmakeup, after=\stopsectionmakeup, alternative=middle, ] %\setuplabeltext[section=Section ] \starttext \section{AAA} \stoptext @Peter: There were some typos, of course, due to testing; fixed here. @Wolfgang: What does option [text] in your original \definemakeup[section][text] mean? Not much wiser from wiki. To both: How to make the label written into one line instead of its number be above the section name, i.e. 1 AAA instead of 1 AAA Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t2.mkiv Description: Binary data t2.pdf Description: Adobe PDF document t3.mkiv Description: Binary data t3.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Section in golden ratio?
Am 04.07.2013 um 08:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: @Wolfgang: What does option [text] in your original \definemakeup[section][text] mean? Not much wiser from wiki. ConTeXt has two predefine makeup environments, a) \startdstandardakeup and b) \starttextmakeup. Environment a) was created with \definemaekup[standard] and b) with \definemaekup[text]. When you write \definemaekup[section][text] you create the new environment \startsectionmakeup which inherits the default values from \starttextmakeup. How to make the label written into one line instead of its number be above the section name, i.e. 1 AAA instead of 1 AAA The happened because you use “alternative=middle” in \setuphead which produces this layout, when you want only a centered text use “align=middle” instead. 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] Section in golden ratio?
... Great, thanks again! Cheers, Lukas On Thu, 04 Jul 2013 08:49:49 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 04.07.2013 um 08:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: @Wolfgang: What does option [text] in your original \definemakeup[section][text] mean? Not much wiser from wiki. ConTeXt has two predefine makeup environments, a) \startdstandardakeup and b) \starttextmakeup. Environment a) was created with \definemaekup[standard] and b) with \definemaekup[text]. When you write \definemaekup[section][text] you create the new environment \startsectionmakeup which inherits the default values from \starttextmakeup. How to make the label written into one line instead of its number be above the section name, i.e. 1 AAA instead of 1 AAA The happened because you use “alternative=middle” in \setuphead which produces this layout, when you want only a centered text use “align=middle” instead. Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] luatex core dump
On Wed, Jul 3, 2013 at 11:59 PM, FA - ML fa...@ariis.it wrote: Good evening, I recently reported a ^context bug in debian stable^ [1]. The error is: mtx-context | fatal error: no return code, message: luatex: execution interrupted Since this is quite generic, the maintainer asked me wheter there were any core files. Is there any option/way to see what steps luatex made before failing? I checked the manual (command line arguments), but didn't find what I was searching for. Regards -Francesco You can try with \loggingall \starttext This is a test \type{usmmode}. \stoptext test.log contains more info [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713993 it'sa mkiv of more than a year ago with luatex 0.70.1.20120524-3 on armv7l --- could be a bug already fixed Can you try with the latest standalone ? -- 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 ___
[NTG-context] suggestion: setups for \startitem
Hi, this is just a small suggestion for the interface: since a while, we've had \startitem \stopitem. Would it be possible / feasible / interesting to add a bit of configuration to it? I tried looking at the source. but couldn't find anything. This minimal example explains what I mean: \starttext \startitemize \item One \item Two \sym{$\Rightarrow$} Three \stopitemize \startitemize \startitem One \stopitem \startitem Two \stopitem \startitem[sym=$\Rightarrow$] Three \stopitem \stopitemize \stoptext How to achieve the result of #1 with the syntax in #2? Thanks and best wishes Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] logo from wiki
···date: 2013-07-04, Thursday···from: Pablo Rodríguez··· Dear list. where is the ConTeXt source for this image: http://wiki.contextgarden.net/skins/common/images/context/context_logo_inv.png? I haven’t tested if it still works out of the box but afaik this is the MP source: http://www.ntg.nl/pipermail/ntg-context/2009/038877.html Best, Philipp pgpYpoQQW2Pco.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex core dump
On Thu, Jul 4, 2013 at 8:59 AM, luigi scarso wrote: On Wed, Jul 3, 2013 at 11:59 PM, FA - ML wrote: Good evening, I recently reported a ^context bug in debian stable^ [1]. The error is: mtx-context | fatal error: no return code, message: luatex: execution interrupted Since this is quite generic, the maintainer asked me wheter there were any core files. Is there any option/way to see what steps luatex made before failing? The first line says mtx-context | run 1: luatex --fmt=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en --lua=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en.lui --backend=pdf ./bug.tex \stoptext If you had the binary with debugging symbols built in, you could have tried gdb luatex r --fmt=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en --lua=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en.lui --backend=pdf ./bug.tex \stoptext You can do the same now, I'm only not sure how much usable information you would get out of it, hopefully more than just sorry, program crashed. There were some problems that were known to only show up on certain patforms (arm included; see for example http://tracker.luatex.org/view.php?id=739). It's hard to tell whether this was the same problem. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713993 it'sa mkiv of more than a year ago with luatex 0.70.1.20120524-3 on armv7l --- could be a bug already fixed Can you try with the latest standalone ? Probably not. We only have one set of arm binaries at the moment. I would need to add those for armhf first (if there is a need, I can add support for them, but I don't know how to distinguish between armel and armhf). I would rather suggest to test: - original TeX Live 2013 - official Debian packages for TeX Live 2013 if you have a chance to do that (I'm not sure if that is possible in your case or not) - if you really want to help debugging TeX Live 2012 packages and the above gdb doesn't tell you anything useful, you might need to compile LuaTeX from sources with debugging turned on, but it would probably be easier to test TL 2013 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] logo from wiki
On Thu, Jul 04, 2013 at 08:22:59AM +0200, Pablo Rodríguez wrote: Dear list. where is the ConTeXt source for this image: http://wiki.contextgarden.net/skins/common/images/context/context_logo_inv.png? Thanks, Pablo This particular version is an inkscape svg. It is probably still somewhere on the site, but in case it is not, I am attaching it here. -- Siep Kroonenberg attachment: context_logo_inv.svg___ 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] relative references?
Am 02.07.2013 um 17:30 schrieb Steffen Kram s...@kram.io: Hello, is it possible to reference parts of a document in a relative style? My structure is as follows: \startproduct … \startbodymatter \component chapterFoo/main \component chapterBar/main \stopbodymatter … \stopproduct Each of my chapters uses \chapter, \section … \subsubsubsection markers. I would like to use references for each of them. Is it possible to reference for example the subsection Foo AA from the chapter start with an relative reference such as \chapter[sec:foo]{Foo} \in[fooA:fooAA] \section[fooA]{Foo A} \subsection[fooAA]{Foo AA} but when referencing it from the second chapter use a absolute reference: \chapter[sec:bar]{Bar} \in[sec:foo:fooA:fooAA] … Is this possible? Or must I use absolute references and identifiers everywhere? Take a look at page 149ff at the context manual [1] where this is described. [1] http://www.pragma-ade.nl/show-man-9.htm 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] Having text overflow an image
Am 28.06.2013 um 20:20 schrieb Sander Maijers s.n.maij...@student.ru.nl: I have a few large plots that each should take up an entire landscape A3 paper sheet. There is a heading above it. Can I print it on top of the image (overflowing it)? Example code: Examples are supposed to work but your example doesn’t. \setuppapersize[A3,landscape][A3,landscape] \setuplayout[topspace=10mm,header=0mm,footer=10mm] \part[appendices]{Appendices} \appendix[visualization_relations]{A: Visualizations of the relations between perplexity, WER} \subappendix{A-1: Scatterplot of perplexity (LM\low{baseline} and LM\low{skip})} \placefigure [force] [scatterplot_of_PPL] {Scatterplot of perplexity (LM\low{baseline} and LM\low{skip}).} {\externalfigure[/tmp/scatterplot_of_PPL.svg][factor=fit]} You can create a new heading which let the content overlap with the following text etc. or you place the heading with a layer. 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] logo from wiki
On 04/07/13 09:34, Philipp Gesang wrote: ···date: 2013-07-04, Thursday···from: Pablo Rodríguez··· Dear list. where is the ConTeXt source for this image: http://wiki.contextgarden.net/skins/common/images/context/context_logo_inv.png? I haven’t tested if it still works out of the box but afaik this is the MP source: http://www.ntg.nl/pipermail/ntg-context/2009/038877.html Many thanks for your reply, Philipp. Pablo -- http://www.ousia.tk ___ 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] logo from wiki
On 04/07/13 11:08, Siep Kroonenberg wrote: On Thu, Jul 04, 2013 at 08:22:59AM +0200, Pablo Rodríguez wrote: Dear list. where is the ConTeXt source for this image: http://wiki.contextgarden.net/skins/common/images/context/context_logo_inv.png? This particular version is an inkscape svg. It is probably still somewhere on the site, but in case it is not, I am attaching it here. Many thanks, Siep, for your reply and the attached SVG logo (which serves my purposes). Pablo -- http://www.ousia.tk ___ 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] --purgebufffers option?
Dear Hans, I compile ConTeXt documents with --purgeall, but if I save buffers into files and typeset those files or I typeset buffers directly, these files aren’t purged after successful compilation. Would it be possible to enable an option (such as --purgebuffers) that removes all buffer files generated by that compilation? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] --purgebufffers option?
On Thu, 4 Jul 2013, Pablo Rodríguez wrote: Dear Hans, I compile ConTeXt documents with --purgeall, but if I save buffers into files and typeset those files or I typeset buffers directly, these files aren’t purged after successful compilation. --purgeall deletes all `*-temp-*.tmp` files from a directory. So, one option (that I use in the filter module) is to use that structure while naming your temporary files. Would it be possible to enable an option (such as --purgebuffers) that removes all buffer files generated by that compilation? IIRC, in t-gnuplot, Mojca had used a macro to store the name of all the generated buffers and some test code (or maybe just the idea) to store them the tuc file so that they get deleted by context/texexec. Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] --purgebufffers option?
On 7/4/2013 9:19 PM, Aditya Mahajan wrote: On Thu, 4 Jul 2013, Pablo Rodríguez wrote: Dear Hans, I compile ConTeXt documents with --purgeall, but if I save buffers into files and typeset those files or I typeset buffers directly, these files aren’t purged after successful compilation. --purgeall deletes all `*-temp-*.tmp` files from a directory. So, one option (that I use in the filter module) is to use that structure while naming your temporary files. Would it be possible to enable an option (such as --purgebuffers) that removes all buffer files generated by that compilation? IIRC, in t-gnuplot, Mojca had used a macro to store the name of all the generated buffers and some test code (or maybe just the idea) to store them the tuc file so that they get deleted by context/texexec. \ctxlua{luatex.registertempfile(yourfile.xxx)} \edef\MyTempFile{\cldcontext{luatex.registertempfile(yourfile,true)}} registered files will be deleted at the end of a job - 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 ___