Re: [NTG-context] Mtxrun.exe in minimals not working.
It works. Best regards, Daniel Von meinem mobilen Endgerät gesendet. / Send from my mobil device. Am 13.06.2013 um 13:04 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com: On Mon, Jun 10, 2013 at 1:04 PM, Peter Rolf wrote: Am 10.06.2013 10:40, schrieb Mojca Miklavec: On Mon, Jun 10, 2013 at 1:15 AM, DB wrote: I just downloaded the latest version of the standalone package (2013-06-08, 09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to start downloading the files. It's impossible to get any further. How exactly does it crash? Is some dll missing? An error in lua code? (I don't have windows at hand to try.) Just tried to update and 'mtxrun.exe' crashes (APPCRASH) here too. Is it working again? I see that a new LuaTeX dll has been compiled by Akira Kakuto two days ago. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Centering graphics inside a table cell
Hi list, is it possible to center a graphic inside a table cell? I tried every align-method I know (setupTABLE and startalignment)? Regards, Daniel ___ 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] Centering graphics inside a table cell
Problem solved. Using ConTeXt can be very easy sometimes :-). I forgot \dontleavehmode. Daniel Am 21.12.2010 um 10:48 schrieb Daniel Grycman: Hi list, is it possible to center a graphic inside a table cell? I tried every align-method I know (setupTABLE and startalignment)? Regards, Daniel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] contextgarden.net
It's not so much about doing regular server maintainance (which is very low once the server is set up), but about implementing new creative ideas. Improving application for modules, implement new features on wiki, creating some safe environment to enable running mkiv on the server, maintaining some version control of ConTeXt, improve and update source browser, improving reference for commands (both develop the application as well as adding descriptions) etc. etc. etc. Sound interesting to me to participate :-). Daniel ___ 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] Saveable PDF-Files for Adobe Reader
Hi list, how can I create saveable PDF-Files with ConTeXt for Adobe Reader? Daniel ___ 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] Saveable PDF-Files for Adobe Reader
Using Foxit Reader helps a lot... :-) On 10.12.10 11:21, Martin Schröder mar...@oneiros.de wrote: 2010/12/8 Daniel Grycman daniel.gryc...@rub.de: how can I create saveable PDF-Files with ConTeXt for Adobe Reader? You can not (if you mean adding comments or saving form fields). Please complain to Adobe about this. Best Martin __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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] Excluding XML elements
Hi list, how I can excluding an XML-elment consisting any content? Is there something like if \xmltext{/Number} has content then do this else do that? Daniel ___ 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] Interaction: Save-Button
Hi list, how can I put a save button (with fdf functionality) in the pdf using interaction? I didn't find anything about it in the documentation. And I am still searching for a functional solution for sending pdf data via mail using the submit button. Daniel ___ 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] SubmitForm interaction
Hi lists, I'm working with some pdf interactions and using the line \button{Absenden}[SubmitForm{mailto::daniel.gryc...@rub.de,Kommentar}]; to create the submit button. But there is no new mail created, after initiating the submit process. Missed I something? Daniel ___ 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] SubmitForm interaction
Hi Hans, Hi list, the whole source attached. Daniel On 11/29/10 7:19 PM, Hans Hagen pra...@wxs.nl wrote: On 29-11-2010 3:37, Daniel Grycman wrote: Hi lists, I'm working with some pdf interactions and using the line \button{Absenden}[SubmitForm{mailto::daniel.gryc...@rub.de,Kommentar}]; to create the submit button. But there is no new mail created, after initiating the submit process. Missed I something? a more complete example is needed - 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 - kvv.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] SubmitForm interaction
Here comes the short one :-). \setupcolors[state=start] \setupinteraction[state=start, author=Daniel Grycman, date=\currentdate] \setupfields[methods=xml] \setupfield[TextSetup] [width=10cm, height=2.75cm, rulethickness=1pt, regionin=JS(Initialize_TeX_Key), afterkey=JS(Convert_TeX_key), validate=JS(Convert_TeX_String)] \definefield [Kommentar] [text] [TextSetup] [Ihr Veranstaltungskommentar...] \starttext \bTABLE \bTR \bTD Kommentar: \eTD \bTD \field [Kommentar] [Ihr Kommentar...] \eTD \eTR \eTABLE \button{Absenden}[SubmitForm{mailto::daniel.gryc...@rub.de,Kommentar}] \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] Different fontsizes via simplefonts
Hi lists, I'm searching for a possibility to create different fontsizes for chapters, section etc. using simplefonts. Any ideas? Daniel ___ 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] A pdf-file per XML-node
Hi list, | worker | surnamexxx/surname | namexxx/name | /worker | worker | surnamexxx/surname | namexxx/name | /worker | worker | surnamexxx/surname | namexxx/name | /worker | worker | surnamexxx/surname | namexxx/name | /worker For every worker a separate pdf is needed. It would be also nice to have the name-entry as a file-name. Any ideas? Daniel ___ 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] TEI XML
Hi list, used the example on the wiki (http://wiki.contextgarden.net/TEI_xml), but I didn't get any correct output. I used Mark IV. I want to use TEI for an project and use ConTeXt for the specific output. Is it a good choice? Daniel ___ 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] TEI XML
Hi Thomas, the pdf output consists only of the text with no structure in it, like linenumbering for example. Daniel Am 07.11.10 21:06 schrieb Thomas Schmitz unter tschm...@uni-bonn.de: On 7 Nov 2010 19:19:11 +0100 Daniel Grycman daniel.gryc...@rub.de wrote: Hi list, used the example on the wiki (http://wiki.contextgarden.net/TEI_xml), but I didn't get any correct output. I used Mark IV. I want to use TEI for an project and use ConTeXt for the specific output. Is it a good choice? Daniel If you want a meaningful answer, you must give meaningful information. I didn't get any correct output. is not meaningful information. All I can reply to this is works here. 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 __ _ ___ 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] XML ConTeXt
Hello list, I'm working with XML in ConTeXt. Now I want parse a XML-File with the following structure, which is an export from a database. ?xml version=1.0 encoding=UTF-8? personal person Name/Name Vorname/Vorname Titel/Titel Bezeichnung/Bezeichnung Mail/Mail Raum/Raum Telefon/Telefon /person I'm using this ConTeXt script. \setuppapersize [A4,landscape][A4,landscape] \usemodule [simplefonts] \setmainfont[rubscalatz] \setsansfont[rubflama] \startxmlsetups xml:personen:base % associate setups with elements \xmlsetsetup{personen}{personal|person}{xml:personen:*} \stopxmlsetups \xmlregisterdocumentsetup{personen}{xml:personen:base} \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:personen:personal:person % associate setups with elements \bTABLE \bTR \bTD {/Name} \eTD \eTR \eTABLE \stopxmlsetups \starttext \xmlprocessfile{personen}{personen.xml}{} \stoptext The generated PDF-file only consists of one page with the chapter Personalverzeichnis. Can anybody tell me, where the mistake is? Daniel ___ 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] XML ConTeXt
Hi Jano and list, it works so far. But how can I set up a tablehead for the whole table? Daniel Am 02.11.10 21:22 schrieb Jano Kula unter jano.k...@tiscali.cz: Hi Daniel, On 11/02/2010 08:50 PM, Daniel Grycman wrote: Hello list, I'm working with XML in ConTeXt. Now I want parse a XML-File with the following structure, which is an export from a database. ?xml version=1.0 encoding=UTF-8? personal person Name/Name Vorname/Vorname Titel/Titel Bezeichnung/Bezeichnung Mail/Mail Raum/Raum Telefon/Telefon /person /personal First, there is nothing to flush in the elements. You want to flush content of the elements (now empty), or their names? \setuppapersize [A4,landscape][A4,landscape] \usemodule [simplefonts] \setmainfont[rubscalatz] \setsansfont[rubflama] \startxmlsetups xml:personen:base % associate setups with elements \xmlsetsetup{personen}{personal|person}{xml:personen:*} \stopxmlsetups \xmlregisterdocumentsetup{personen}{xml:personen:base} \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:personen:personal:person \startxmlsetups xml:personen:person this is above registered xmlsetup \bTABLE \bTR \bTD {/Name} \eTD \eTR \bTR \bTD \xmltext{#1}{/Name} \eTD \eTR you either flush named element with \xmltext or all elements with \xmlflush \eTABLE \stopxmlsetups \starttext \xmlprocessfile{personen}{personen.xml}{} \stoptext The generated PDF-file only consists of one page with the chapter Personalverzeichnis. Can anybody tell me, where the mistake is? Daniel Jano __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XML ConTeXt
Hi Wolfgang and list, I already used this multipage table. But the result showed a header for every entry of the xml-source. Is there an option which I missed? \startxmlsetups xml:personen:person % associate setups with elements \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH Email-Adresse \eTH \bTH Raum \eTH \bTH Telefon \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD \xmltext{#1}{/Titel} \xmltext{#1}{/Name} \eTD \bTD \xmltext{#1}{/Vorname} \eTD \bTD \xmltext{#1}{/Mail} \eTD \bTD \xmltext{#1}{/Raum} \eTD \bTD \xmltext{#1}{/Telefon} \eTD \eTR \eTABLEbody \eTABLE \stopxmlsetups Daniel Am 02.11.10 22:38 schrieb Wolfgang Schuster unter schuster.wolfg...@googlemail.com: Am 02.11.2010 um 22:17 schrieb Daniel Grycman: Hi Jano and list, it works so far. But how can I set up a tablehead for the whole table? http://wiki.contextgarden.net/TABLE#Multipage_TABLEs 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 __ _ ___ 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] Updating via TLContrib
Hi list, I updated my TeXLive 2010 (MacTeX) installation using the TLContrib repository. Now I get the following error message when I use context --version. MTXrun | forcing cache reload MTXrun | resolvers: skipping configuration file '/usr/local/texlive/2010/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-base.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'base.lua' or 'mtx-base.lua' Any ideas? Daniel ___ 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] Updating ConTeXt using TeX Live 2010 (Linux)
I did the update process via rsync and chosed the beta. Afterwards followed the update of luatex and the commands luatools --generate and context --make. Daniel On 03.10.10 23:20, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sat, Oct 2, 2010 at 16:52, Daniel Grycman wrote: Hello list, after updating ConText to beta I get the following error message. ../mtx-context.lua:669: attempt to call field 'locateformat' (a nil value) Any ideas? How exactly did you update ConTeXt in TeX Live? One can do that in principle, but it's not very wise to do it. If nothing else, one needs to make sure that all the binaries and scripts are properly replaced. I didn't test the instructions from TL 2009. Some of them may be different. I would recommend installing minimals along TeX Live. ConTeXt it TL 2010 is perfectly suitable for normal work. If you need the latest version, you can always switch to minimals. Mojca __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updating ConTeXt using TeX Live 2010 (Linux)
After compiling the file via context file.tex the following messages appear. MTXrun | forcing cache reload MTXrun | resolvers: skipping configuration file '/usr/local/texlive/2010/texmf/web2c/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Daniel Am Montag, den 04.10.2010, 00:14 +0200 schrieb Mojca Miklavec: On Sun, Oct 3, 2010 at 23:59, Daniel Grycman wrote: I did the update process via rsync and chosed the beta. Afterwards followed the update of luatex and the commands luatools --generate and context --make. You need to update at least mtxrun as well. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Updating ConTeXt using TeX Live 2010 (Linux)
Hello list, after updating ConText to beta I get the following error message. ../mtx-context.lua:669: attempt to call field 'locateformat' (a nil value) Any ideas? Daniel ___ 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] Two layer in a document
It works in MKIV, but I don't what it does in MKII. Daniel On 01.10.10 09:51, R. Bastian rbast...@free.fr wrote: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. [...] One layer is enough for both pictures, try also to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Does this work in Mk II ? ___ -- René Bastian www.pythoneon.org www.musiques-rb.org __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Two layer in a document
Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. \enableregime[utf-8] \mainlanguage[de] \setupcolors [state=start] \setupoutput[pdftex] \setuppapersize[A4][A4] \usemodule [simplefonts,r,tikz,edtsnc,chart] \setmainfont [rubscalatz] \setsansfont [rubflama] \setuphead [chapter][number=no, style=bold, textcommand=\ss] \setuphead [section][number=no, style=bold, textcommand=\ss] \setuphead [subsection][number=no] \setuphead [subsubsection][number=no] \setuplayout [top=0cm,rightmargin=2.3cm,footer=1.0cm,header=5cm,topspace=0mm,height=29.9 577cm,width=16.25cm,leftmargindistance=0cm,rightmargindistance=0cm] \setupbackgrounds[footer][background=color,backgroundcolor=gray] \setupbackgrounds[text][rightmargin][background=color,backgroundcolor=gray] \setupbackgrounds[header][rightmargin][background=color,backgroundcolor=gra y] \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][righttop][background={foreground,logo}] \setlayer[logo][preset=righttop,hoffset=1cm,state=start] {\externalfigure[label][height=4cm,3.5cm]} \definelayer[marke][width=6.5cm,height=0.3cm,state=repeat] \setupbackgrounds[page][lefttop][background={foreground,marke}] \setlayer[marke][preset=lefttop,hoffset=1.3cm,voffset=1.4cm,state=repeat] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \setuppagenumbering[state=stop] \starttext Bla Bla \page Bla Bla \page Bla \stoptext Can anybody find the possible mistake I did? Thanks. Daniel ___ 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] Two layer in a document
I think \startcombination is only functional in the \starttext \stoptext-enviroment. The figures are just layers used in the header of the document. Are there any other options? Daniel On 30.09.10 14:26, R. Bastian rbast...@free.fr wrote: On 30 Sep 2010 11:49:52 +0200 Daniel Grycman daniel.gryc...@rub.de scribit: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. To place 2 figures I use \startcombination[1*2] cf. Context - an excursion chap. 10 Figures. -- René Bastian www.pythoneon.org www.musiques-rb.org __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] poster in context
Hi, me too :-). Thanks. Daniel On 30.09.10 17:00, Cedric Mauclair cedric.maucl...@gmail.com wrote: Hi, I am interested in the source in you would share it. :) Thanks. -- Cédric On Thu, Sep 30, 2010 at 16:08, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: 2010/9/29 Jan Pohanka xhpoha...@gmail.com: Hello, I wonder how to create a poster presentation using ConTeXt. It should have following layout. _ | title, ...| _ | | | | | text in 3 columns | | with titles etc. | | | _ | acknowledgement| _ Is there any way to fix the height of the depicted areas? Now I use columnset for the main text. Maybe layers can be useful? Something like the posters (links to pdf files) on http://mara.pef.upr.si/mars2006/projekti.html ? I can send you the source code if that is what you want (but I do not guarantee that the layout still works). Mojca _ __ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _ __ __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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] scancsv.lua
Hi all, I use the sancsv.lua libray by Jaroslav Hajtmar for the typesetting of a study guide at the German Department at Ruhr-University. By reading the data of csv-eile Textmate canceled with the following messages. The csv-file has utf-8 encoding. MTXrun | run 1: luatex --fmt=/Users/grycman/Library/texlive/2010/texmf-var/luatex-cache/context/e 9159e878e989105b2ef2d27fad97515/formats/cont-en --lua=/Users/grycman/Library/texlive/2010/texmf-var/luatex-cache/context/e 9159e878e989105b2ef2d27fad97515/formats/cont-en.lui --backend=pdf /Users/grycman/Dropbox/Uni/kvvtest.tex This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736) \write18 enabled. (/Users/grycman/Dropbox/Uni/kvvtest.tex publications: loading formatting style from bxml-apa (/usr/local/texlive/2010/texmf-dist/tex/context/base/bxml-apa.mkiv) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.20 int: english/english system : cont-new loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys loaded (/usr/local/texlive/2010/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-def.mkiv) (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-lua.mkiv) (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-siz.mkiv) (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-otf.mkiv)) system : kvvtest.top loaded (kvvtest.top) fonts : preloading latin modern fonts {/usr/local/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/lo cal/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texliv e/2010/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} bodyfont: 12pt rm is loaded language: language en is active system : module simplefonts loaded (/usr/local/texlive/2010/texmf-dist/tex/context/third/simplefonts/t-simplef onts.tex loading : ConTeXt User Module / Simplefonts ) system : module r loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/m-r.tex) system : module tikz loaded (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/frontendlayer/t-tikz.te x (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/basiclayer/t-pgf.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/basiclayer/t-pgfcor.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/systemlayer/t-pgfsys.t ex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/utilities/t-pgfrcs.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/utilities/t-pgfmod.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfutil-comm on.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfutil-conte xt.def) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.t ex)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code .tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code. tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdft ex.def (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-comm on-pdf.def)) (kvvtest.pgf)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftp ath.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsysproto col.code.tex)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code .tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.t ex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.t ex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathparser.code .tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathoperations. code.tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathtrig.code.t ex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathrnd.code.te x)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathbase.code.t ex))) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoint s.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathc onstruct.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathu sage.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescope s.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraph icstate.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretrans formations.code.tex)
Re: [NTG-context] scancsv.lua
Hello Jaroslav, everything works fine :-). Daniel On 27.09.10 00:18, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Daniel. Malfunction your code was caused by two things: 1. CSV file contains TeX problematic characters (eg underscore_ which is used only in math mode) - should therefore be set catcodes. Correction is for example here: \def\lineaction{ \catcode`\_=12 \catcode`\%=12 \catcode`\=12 \catcod...@=12 % etc... \expanded{ \bTD\ssxx\Name, \Vorname, \Titel, \Bezeichnung \eTD \bTD\ssxx\Mail \eTD \bTD\ssxx\Raum \eTD \bTD\ssxx\Telefon \eTD} } 2. A simple parser that I wrote not process general CSV files (it not allow some items were in quotation marks and not others. That is, if you use within the field delimiter, must be ALL ITEMS quoted!) I modified the lines 16 and 198 your CSV table, which contained a single delimiter in quotes (instead of a semicolon delimiter, I used a comma) I change 16. line from: Bialluch;Kathrin;;Lehrbeauftragte;kathrinbiall...@web.de; kathrin.biall...@stimme-dortmund.de;; to line: Bialluch;Kathrin;;Lehrbeauftragte;kathrinbiall...@web.de, kathrin.biall...@stimme-dortmund.de;; and on 198 line I made the same correction ... (library interpreting more columns ...) 3. I modified the code so that the tables, the tables are split at page breaks. eg: \def\bfilehook{\setupTABLE[split=yes]\bTABLE} Will now compile properly. I hope that everything will be OK ... To Your address I am sending corrected files (as attachment) ..., to conference I am sending only plain text... Rejoice in my library, I hope they will serve well ... Jarda Hajtmar Re: [NTG-context] scancsv.lua.eml Předmět: Re: [NTG-context] scancsv.lua Od: Daniel Grycman daniel.gryc...@rub.de Datum: 26 Sep 2010 22:46:19 +0200 Komu: hajt...@gyza.cz Dne 26.9.2010 22:46, Daniel Grycman napsal(a): Re: [NTG-context] scancsv.lua.eml Předmět: Re: [NTG-context] scancsv.lua Od: Daniel Grycman daniel.gryc...@rub.de Datum: 26 Sep 2010 22:46:19 +0200 Komu: hajt...@gyza.cz Hello Jaroslav, the files attached. The csv lines (181-183) are commented in the source. Daniel On 26.09.10 22:38, Jaroslav Hajtmarhajt...@gyza.cz wrote: Hello Daniel. Send me your source code (or minimal example which has an error) and CSV file too (or minimal example ...if it possible)... I try to find out where the problem is Jaroslav Dne 26.9.2010 22:31, Daniel Grycman napsal(a): Hi all, I use the sancsv.lua libray by Jaroslav Hajtmar for the typesetting of a study guide at the German Department at Ruhr-University. By reading the data of csv-eile Textmate canceled with the following messages. The csv-file has utf-8 encoding. MTXrun | run 1: luatex __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___