Re: [NTG-context] Context and Windows7
On 01.02.2010 12:51, Keith McKay wrote: I want to install ConText on my Windows7 computer. I thought that it would be a good idea if I checked the mailing list archive first, to see if there had been any problems with Windows7. I didn't find any messages related to Windows7, but I don't know if this is a good or bad thing. There is 1 page on the wiki regarding a problem with the complete configuration of Context in Windows7 and Scite which a user has. No problems at all with Windows7 (64bit). I was going to go ahead and download the mswin zip file from the pragma web site, but, the zip file just seems to exist there now as the minimals distribution, rather than the 'big' distribution I had on my old computer (which has gone to that great scrap heap in the sky due to a catastrophic failure). So, I'm looking for advice before I go any further. Should I download the minimals and look into an editor other than Scite, which I never felt totally comfortable with anyway. A good Windows editor is Notepad++. I started out with Scite, then used TeXworks for some time also. TeXworks is nice with the integrated pdf view and synctex, but is not really comfortable as editor. Notepad++ has the same editing comfort as Scite (both on Scintilla) plus a 'friendly' gui and some nice features like double editor windows, a very good search in all open files, and some very handy plugins (compare, explorer, NPPexec ...). Do a search on the list and you will find a context-npp package made by one of the list members. It's a bit dated (you have to tweak some things) but it will help you greatly to get an idea how to set up the editor for context. Should I just go straight to luatex and MKIV? Are there other options available? From my personal experience: For small quick projects - where you immediately see if the needed things work or not - I use mkiv, but for longer, format rich, meandering projects its safer (better for the nerves) to use mkii . I already started two longer projects with mkiv and always had to retreat to mkii because in the course of the work I stumbled upon some (for me) unsolvable problems that were crucial for my project, and not solved by the development of mkiv within my time frame. But anyway, also the next big project I will fearlessly begin giving mkiv a try, and with a bit of luck I will not fall into a mkiv pit hole ;) 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 ___
[NTG-context] Postscript fonts
Hi, I have .pfb and .afm files in the texmf tree. Is it possible to use them in MKIV without having to generate .tfm, .vf, .enc, .map files. Thanks ___ 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] Postscript fonts
On 1-2-2010 8:35, Arun Dev wrote: Hi, I have .pfb and .afm files in the texmf tree. Is it possible to use them in MKIV without having to generate .tfm, .vf, .enc, .map files. yes, as mkiv directly uses the afm/pfb files nowadays i put such fonts in: texmf-fonts/fonts/data/vendor/* instead of the many paths; don't forget to run luatools --generate after installation; the data path is configured already in the minimals you access such fonts by filename or fontname and they can have 255 characters; no encoding, just simulated unicode Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 and Windows7
On 1-2-2010 20:59, Thomas Floeren wrote: A good Windows editor is Notepad++. I started out with Scite, then used TeXworks for some time also. TeXworks is nice with the integrated pdf view and synctex, but is not really comfortable as editor. Notepad++ has the same editing comfort as Scite (both on Scintilla) plus a 'friendly' gui and some nice features like double editor windows, a very good search in all open files, and some very handy plugins (compare, explorer, NPPexec ...). Do a search on the list and you will find a context-npp package made by one of the list members. It's a bit dated (you have to tweak some things) but it will help you greatly to get an idea how to set up the editor for context. i use scite for all editing but as soon as textadept (lua based scintilla) gets a proper runner (process with realtime io) i'll switch to that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] Linux PPC64 minimals
On Feb 2, 2010, at 8:36 AM, Mojca Miklavec wrote: Two remarks: 1.) Thomas, can you please send me the patch (I can write it myself, but I will not be 100% to get it right). It seems that we need to modify that in several different places (mtx-something.lua, setuptex and first-setup.sh). Will do tonight. I have only changed it in one place (first-setup.sh) and have been using the minimals on this computer without any problems (but I have my own script to adjust path etc.). 2.) The error is not related to minimals/wrong architecture. There may be several reasons. Different shell? Missing mkiv formats? (Can you try luatools --generate? It could be that mtxrun doesn't find ctxtools.) Something third? Yes, we need more info. Best 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 ___
[NTG-context] Changes in simplefonts
Hi all, So the following used to work perfectly, but no longer does: \usemodule[simplefonts] \setmainfont[Liberation-Serif] \starttext I feel so Liberated that {\ConTeXt} can see all my system fonts! \stoptext I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative? (Updating my font database does nothing, unless 'luatools --generate' does not do this?) % context --version MTXrun | main context file: /home/serk17/context/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.11.24 10:13 ___ 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] Changes in simplefonts
Am 02.02.10 12:43, schrieb John Haltiwanger: Hi all, So the following used to work perfectly, but no longer does: \usemodule[simplefonts] \setmainfont[Liberation-Serif] \starttext I feel so Liberated that {\ConTeXt} can see all my system fonts! \stoptext I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative? (Updating my font database does nothing, unless 'luatools --generate' does not do this?) For system fonts on Linux you need a entry the OSFONTDIR environment variable, how you can do this is explained here: http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_fonts http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html 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] Changes in simplefonts
Alright! Thanks Wolfgang! However, I'm running into another weirdness: all the text is italicized. See attached (and for Liberation fonts see your package manager or https://www.redhat.com/promo/fonts/). ~ % context --version MTXrun | main context file: /home/serk17/context/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2010.02.01 11:19 % luatex --version This is LuaTeX, Version beta-0.50.0-2009122419 ~~ On Tue, Feb 2, 2010 at 1:24 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 02.02.10 12:43, schrieb John Haltiwanger: Hi all, So the following used to work perfectly, but no longer does: \usemodule[simplefonts] \setmainfont[Liberation-Serif] \starttext I feel so Liberated that {\ConTeXt} can see all my system fonts! \stoptext I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative? (Updating my font database does nothing, unless 'luatools --generate' does not do this?) For system fonts on Linux you need a entry the OSFONTDIR environment variable, how you can do this is explained here: http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_fonts http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html 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 ___ font_error.tex Description: TeX document font_error.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] Changes in simplefonts
Am 02.02.10 14:35, schrieb John Haltiwanger: Alright! Thanks Wolfgang! However, I'm running into another weirdness: all the text is italicized. I uploaded a new version today which should fix this, please update your context (it can take a few hours till the minimals use the new simplefonts version). 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] Linux PPC64 minimals
Hi Mojca, Mojca Miklavec mojca.miklavec.li...@gmail.com writes: 2.) The error is not related to minimals/wrong architecture. There may be several reasons. Agreed. I see the same problem on an X86_64 system. Different shell? echo $SHELL - /bin/bash (4.0_p28) Missing mkiv formats? (Can you try luatools --generate? It could be that mtxrun doesn't find ctxtools.) Tried that. I still get the same error. Something third? As Hans remarked: it is --purge that triggers the error. Does compiling a simple document work? % simple.tex \starttext \input knuth \stoptext texexec --purge simple.tex - Output written on simple.pdf (1 page, 28424 bytes). texexec simple.tex - Output written on simple.pdf (1 page, 28424 bytes). The document is always produced correctly, but --purge does not do its job and produces the errors listed in my original post. Cheers, Roger ___ 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] Changes in simplefonts
Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I take the time to tackle the native font stuff (which seems to be too in flux to really learn at this point anyway). Perfect for getting short documents together and looking good. So, to clarify, I just wait a few hours and then update my minimals? On Tue, Feb 2, 2010 at 3:11 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 02.02.10 14:35, schrieb John Haltiwanger: Alright! Thanks Wolfgang! However, I'm running into another weirdness: all the text is italicized. I uploaded a new version today which should fix this, please update your context (it can take a few hours till the minimals use the new simplefonts version). 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 ___
Re: [NTG-context] Changes in simplefonts
Am 02.02.10 15:18, schrieb John Haltiwanger: Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I take the time to tackle the native font stuff (which seems to be too in flux to really learn at this point anyway). The font system is stable and from the user side nothing has changed since a very long time, you write a typescript where you map the font files to a style (Serif, Sans, Mono) and load it in your document with \setupbodyfont. One new feature is that \setupbodyfont is enough in certain cases and you no longer need \usetypescript. Perfect for getting short documents together and looking good. So, to clarify, I just wait a few hours and then update my minimals? Yes, it takes a while till the files from the modules section are included in the minimals (only Mojca can tell how long :). 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] Linux PPC64 minimals
Mojca Miklavec wrote: On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote: Hi Mojca, texexec --purge simple.tex - Output written on simple.pdf (1 page, 28424 bytes). texexec simple.tex - Output written on simple.pdf (1 page, 28424 bytes). The document is always produced correctly, but --purge does not do its job and produces the errors listed in my original post. OK, that's reproducible here as well. Different ruby version? I have no errors here, and $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Changes in simplefonts
On Tue, Feb 2, 2010 at 3:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 02.02.10 15:18, schrieb John Haltiwanger: Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I take the time to tackle the native font stuff (which seems to be too in flux to really learn at this point anyway). The font system is stable and from the user side nothing has changed since a very long time, you write a typescript where you map the font files to a style (Serif, Sans, Mono) and load it in your document with \setupbodyfont. One new feature is that \setupbodyfont is enough in certain cases and you no longer need \usetypescript. Okay, I guess I've gotten myself confused reading documents describing many new features that were opened up by LuaTeX. Good to know, but still glad to have simplefonts ;) ___ 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] Linux PPC64 minimals
On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote: Hi Mojca, texexec --purge simple.tex - Output written on simple.pdf (1 page, 28424 bytes). texexec simple.tex - Output written on simple.pdf (1 page, 28424 bytes). The document is always produced correctly, but --purge does not do its job and produces the errors listed in my original post. OK, that's reproducible here 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 ___
[NTG-context] texexec --purge (was: Linux PPC64 minimals)
On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote: On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote: Hi Mojca, texexec --purge simple.tex - Output written on simple.pdf (1 page, 28424 bytes). texexec simple.tex - Output written on simple.pdf (1 page, 28424 bytes). The document is always produced correctly, but --purge does not do its job and produces the errors listed in my original post. OK, that's reproducible here as well. The problem goes away if I comment out the lines 2053 and 2054 of tex.rb. I suspect that Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge') doesn't call the ctxtools script with proper quoting, so arguments are interpreted as commands instead of being just arguments. But I didn't inspect any further. Mojca texexec --verbose --purge besedilo ... pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! Output written on besedilo.pdf (2 pages, 124469 bytes). Transcript written on besedilo.log. TeXUtil | parsing file besedilo.tui TeXUtil | shortcuts : 398 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 29 TeXUtil | programs: 0 TeXUtil | tuo file saved sh: version: command not found sh: line 2: --bbeditinterface: command not found sh: line 3: --brandfiles: command not found sh: line 4: --contextversion: command not found sh: line 5: --dependencies: command not found sh: line 5: filenames]]: command not found sh: line 6: --disarmutfbom: command not found sh: line 7: --documentation: command not found sh: line 8: --dpxmapfiles: command not found sh: line 9: --jeditinterface: command not found sh: line 10: --listentities: command not found sh: line 11: --patternfiles: command not found sh: line 12: --platformize: command not found sh: line 13: --purgefiles: command not found sh: line 14: --rawinterface: command not found sh: line 15: --sciteinterface: command not found sh: line 16: --touchcontextfile: command not found sh: line 17: --updatecontext: command not found sh: line 18: --purge: command not found TeXExec | runtime: 5.496058 TeXExec | option 'purge' is set to 'true' TeXExec | option 'verbose' is set to 'true' TeXExec | option 'randomseed' is set to '132' TeXExec | option 'filename' is set to 'besedilo.tex' TeXExec | option 'mainlanguage' is set to 'standard' TeXExec | option 'bodyfont' is set to 'standard' TeXExec | option 'language' is set to 'standard' TeXExec | option 'engine' is set to 'standard' TeXExec | option 'distribution' is set to 'web2c' TeXExec | option 'texformats' is set to 'en' TeXExec | option 'mpsformats' is set to 'metafun' TeXExec | option 'progname' is set to 'standard' TeXExec | option 'interface' is set to 'standard' TeXExec | option 'runs' is set to '8' TeXExec | option 'backend' is set to 'standard' located : context-tex-besedilo.ctx - scripts : ctxtools - CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE CtxTools | --bbeditinterface generate bbedit syntax files [--pipe] CtxTools | --brandfiles add context copyright notice [--force] CtxTools | --contextversion report context version CtxTools | --dependencies analyze depedencies within context [--save --compact --filter=[macros|filenames]] [filename] CtxTools | --disarmutfbom remove utf bom [--force] CtxTools | --documentationgenerate documentation [--type=] [filename] CtxTools | --dpxmapfiles convert pdftex mapfiles to dvipdfmx [--force] [texmfroot] CtxTools | --jeditinterface generate jedit syntax files [--pipe] CtxTools | --listentities create doctype entity definition from enco-uc.tex CtxTools | --patternfiles generate pattern files [--all --xml --utf8] [languagecode] CtxTools | --platformize replace line-endings [--recurse --force] [pattern] CtxTools | --purgefiles remove temporary files [--all --recurse] [basename] CtxTools | --rawinterface generate raw syntax files [--pipe] CtxTools | --sciteinterface generate scite syntax files [--pipe] CtxTools | --touchcontextfile update context version CtxTools | --updatecontextdownload latest version and remake formats [--proxy] ___ 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] Linux PPC64 minimals
Taco Hoekwater t...@elvenkind.com writes: Different ruby version? I have no errors here, and $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] ruby 1.8.6 (2009-06-08 patchlevel 369) [powerpc-linux] Cheers, Roger ___ 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] First page of chapter
I am struggling with getting the first pages of my chapters laid out as desired. What I want on the top third of the page is a roughly 2 inch square graphic on the left with the chapter number and chapter title on the right in large print. The following chunk errors out as shown but works when hard-coded. Am I headed off in the wrong direction by trying to use columns in this way? Previously, I tried treating the chapter number and title as text with startfiguretext. It works but I can't format the chapter titles to fit properly. Any suggestions for a ConTeXt beginner? \def\ChapterTop#1#2{ \startcolumns[n=2] \placefigure[left]{none}{\externalfigure[chief]} \column \switchtobodyfont[26pt] {\ss\bf\sl #1} \blank[large]\blank[large] {\ss\bf #2} \stopcolumns} \setuphead[chapter] [command=\ChapterTop, header=high,footer=pagenumber,page=center] \input c:. %chapter used to test the code Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey Football player w C small image003.jpg___ 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] Balancing vertical placement of table
On 2010-01-31, at 8:58 AM, Wolfgang Schuster wrote: Am 31.01.10 16:50, schrieb Design Department: Is the content for each element short enough to fit on one page or do you have content which needs more pages? The content always fits on a single page. Here is a goodie which is only documented in the ConTeXt source. Thank-you Wolfgang. As always, I'm indebted. David ___ 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] texexec --purge
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote: The problem goes away if I comment out the lines 2053 and 2054 of tex.rb. I suspect that Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge') doesn't call the ctxtools script with proper quoting, so arguments are interpreted as commands instead of being just arguments. But I didn't inspect any further. Yes, commenting those lines removes the error messages here too, but of course the desired --purge does not take place. If someone knows what proper quoting is in this case I'll try editing tex.rb accordingly. Cheers, Roger ___ 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 and Windows7
Thanks to all for the helpfull advice. Minimals installed no problem and I managed to get Scite up and running after using the usefull information in the Contextgarden Wiki. I'll have a play around with Texworks and Notepad++ and see how I get on with them. I look forward to Textadept - when Hans is happy with it. Thanks again to all. Best Wishes Keith McKay On 02/02/2010 08:42, Hans Hagen wrote: On 1-2-2010 20:59, Thomas Floeren wrote: A good Windows editor is Notepad++. I started out with Scite, then used TeXworks for some time also. TeXworks is nice with the integrated pdf view and synctex, but is not really comfortable as editor. Notepad++ has the same editing comfort as Scite (both on Scintilla) plus a 'friendly' gui and some nice features like double editor windows, a very good search in all open files, and some very handy plugins (compare, explorer, NPPexec ...). Do a search on the list and you will find a context-npp package made by one of the list members. It's a bit dated (you have to tweak some things) but it will help you greatly to get an idea how to set up the editor for context. i use scite for all editing but as soon as textadept (lua based scintilla) gets a proper runner (process with realtime io) i'll switch to that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 ___ ___ 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] texexec --purge
On 2-2-2010 19:00, Roger Mason wrote: Mojca Miklavecmojca.miklavec.li...@gmail.com writes: On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote: The problem goes away if I comment out the lines 2053 and 2054 of tex.rb. I suspect that Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge') doesn't call the ctxtools script with proper quoting, so arguments are interpreted as commands instead of being just arguments. But I didn't inspect any further. Yes, commenting those lines removes the error messages here too, but of course the desired --purge does not take place. If someone knows what proper quoting is in this case I'll try editing tex.rb accordingly. does context --purge work ok? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] mptopdf overwrites and deletes pdf file?
Hi, consider a folder containing foo.tex and foo.mp. Suppose that, when compiled, foo.mp outputs foo.1. Then, the following: texexec foo.tex mptopdf foo.mp will end up having foo.pdf deleted. I guess this is because mptopdf creates foo.pdf out of foo.mp *and then* renames it into foo-1.mp. Is it true? Is there a workaround (something like -jobname), other than using different names? Nicola ___ 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] First page of chapter
I am struggling with getting the first pages of my chapters laid out as desired. What I want on the top third of the page is a roughly 2 inch square graphic on the left with the chapter number and chapter title on the right in large print. The following chunk errors out as shown but works when hard-coded. Am I headed off in the wrong direction by trying to use columns in this way? Previously, I tried treating the chapter number and title as text with startfiguretext. It works but I can't format the chapter titles to fit properly. Any suggestions for a ConTeXt beginner? \def\ChapterTop#1#2{ \startcolumns[n=2] \placefigure[left]{none}{\externalfigure[chief]} \column \switchtobodyfont[26pt] {\ss\bf\sl #1} \blank[large]\blank[large] {\ss\bf #2} \stopcolumns} \setuphead[chapter] [command=\ChapterTop, header=high,footer=pagenumber,page=center] \input c:. %chapter used to test the code Hi! I think you search for something like this: \def\ChapterTop#1#2% bottom-aligned {\framed[width=broad,offset=overlay] {\framed[width=2in,height=2in]{GRAPHIC}\hfill \framed[align=right]{#1\blank[2*big]#2}}} \definetext[ChapterFoot][footer][pagenumber] \setuphead [chapter] [command=\ChapterTop, header=high, footer=ChapterFoot, numberstyle=\ssbid, textstyle=\ssbfd] \starttext \showframe \dorecurse{3}{\chapter{First Chapter}\dorecurse{5}{\input tufte}} \stoptext Greetings Andreas___ 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 overwrites and deletes pdf file?
On 2-2-2010 21:16, Nicola wrote: Hi, consider a folder containing foo.tex and foo.mp. Suppose that, when compiled, foo.mp outputs foo.1. Then, the following: texexec foo.tex mptopdf foo.mp will end up having foo.pdf deleted. I guess this is because mptopdf creates foo.pdf out of foo.mp *and then* renames it into foo-1.mp. Is it true? Is there a workaround (something like -jobname), other than using different names? no, unless i patch (or rewrite mptopdf) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] First page of chapter
That works. Now I have to figure out how to insert the picture in the place marked GRAPHIC, get rid of all the boxes and get the page number to print on the bottom of the first page of the chapter. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Andreas Harder Sent: Tuesday, February 02, 2010 5:04 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] First page of chapter I am struggling with getting the first pages of my chapters laid out as desired. What I want on the top third of the page is a roughly 2 inch square graphic on the left with the chapter number and chapter title on the right in large print. The following chunk errors out as shown but works when hard-coded. Am I headed off in the wrong direction by trying to use columns in this way? Previously, I tried treating the chapter number and title as text with startfiguretext. It works but I can't format the chapter titles to fit properly. Any suggestions for a ConTeXt beginner? \def\ChapterTop#1#2{ \startcolumns[n=2] \placefigure[left]{none}{\externalfigure[chief]} \column \switchtobodyfont[26pt] {\ss\bf\sl #1} \blank[large]\blank[large] {\ss\bf #2} \stopcolumns} \setuphead[chapter] [command=\ChapterTop, header=high,footer=pagenumber,page=center] \input c:. %chapter used to test the code Hi! I think you search for something like this: \def\ChapterTop#1#2% bottom-aligned {\framed[width=broad,offset=overlay] {\framed[width=2in,height=2in]{GRAPHIC}\hfill \framed[align=right]{#1\blank[2*big]#2}}} \definetext[ChapterFoot][footer][pagenumber] \setuphead [chapter] [command=\ChapterTop, header=high, footer=ChapterFoot, numberstyle=\ssbid, textstyle=\ssbfd] \starttext \showframe \dorecurse{3}{\chapter{First Chapter}\dorecurse{5}{\input tufte}} \stoptext Greetings Andreas ___ 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 ___