Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Taco Hoekwater
On 07/15/2011 02:15 AM, John Haltiwanger wrote: On Thu, Jul 14, 2011 at 3:18 PM, Martin Schröder mar...@oneiros.de mailto:mar...@oneiros.de wrote: 2011/7/14 John Haltiwanger john.haltiwan...@gmail.com mailto:john.haltiwan...@gmail.com: Pandoc, so I'm not familiar with Context's

Re: [NTG-context] UTF8 / TeXUtils parsing error

2011-07-15 Thread Mojca Miklavec
On Fri, Jul 15, 2011 at 02:50, Brian Wedde wrote: The culprit is \enableregime[utf]. It works fine with TeXLive2010 on Linux, but not on a ConTeXt Minimals (stable) installation on FreeBSD. I'm assuming I haven't installed something correctly. \contextversion outputs 2010.07.30 11:35 Try

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Mojca Miklavec
I'm not able to reproduce the problem, but there is one weird thing (unrelated to your problem): The original file test.mp is copied to test.mp.keep and a new file test.mp is created with a newer timestamp and two additional blank lines at the end. So repeating the compilation hundred times

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Hans Hagen
On 15-7-2011 9:13, Mojca Miklavec wrote: I'm not able to reproduce the problem, but there is one weird thing (unrelated to your problem): The original file test.mp is copied to test.mp.keep and a new file test.mp is created with a newer timestamp and two additional blank lines at the end. So

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Hans Hagen
On 15-7-2011 3:04, luigi scarso wrote: Building the file using texexec --mptex test.mp all three graphics how about context --mp test.mp ? Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] UTF8 / TeXUtils parsing error

2011-07-15 Thread Hans Hagen
On 15-7-2011 3:01, luigi scarso wrote: When compiling, TeXUtils has a heart attack: . . . TeXUtil | parsing filefilename.tui TeXUtil | fatal error in plugin (processing): invalid multibyte escape This causes cumulative errors on each iteration with repeating indices. at some point ruby

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Mojca Miklavec
On Fri, Jul 15, 2011 at 09:44, Hans Hagen pra...@wxs.nl wrote: On 15-7-2011 3:04, luigi scarso wrote: Building the file using texexec --mptex test.mp all three graphics how about context --mp test.mp ? context --mp test metapost| loading 'metafun.mp' (experimental metapost version

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread luigi scarso
On Fri, Jul 15, 2011 at 9:47 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Fri, Jul 15, 2011 at 09:44, Hans Hagen pra...@wxs.nl wrote: On 15-7-2011 3:04, luigi scarso wrote: Building the file using texexec --mptex test.mp all three graphics how about context --mp test.mp ?

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Cecil Westerhof
2011/7/15 John Haltiwanger john.haltiwan...@gmail.com Cecil, I don't think its fair to constrain yourself from ever using Context again. That was not what I mend. When making my own stuff where I do not have the need off interoperability I will keep using it. But in other case I should

[NTG-context] File.export to File.html

2011-07-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the following question may relate to XML processing rather to Context. But someone may have needed to solve the problem. Lets have a File.export which was generated by Context with \setupbackend[export=yes,xhtml=yes,css=yes]. Such a XML output file uses tags like: section

[NTG-context] n-dash and line break

2011-07-15 Thread Thomas A. Schmitz
Hi all, is this the intended behavior? In mkiv, no line break after an n-dash; in mkii only if it is keyed in as --, not directly as the utf char. I think lines should be broken at n-dashes. All best Thomas (hope the example isn't maimed by my mail agent) \setuplayout[width=5cm]

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Cecil Westerhof
2011/7/15 Taco Hoekwater t...@elvenkind.com MkIV can create XML. :-) That is something I have heard much more than I have seen. If it can so easily do so, could a wizard please intervene and provide a recipe for producing XHTML from standard Context input?[^1]

Re: [NTG-context] File.export to File.html

2011-07-15 Thread luigi scarso
2011/7/15 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, the following question may relate to XML processing rather to Context. But someone may have needed to solve the problem. Lets have a File.export which was generated by Context with

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Andreas Schneider
At Friday, 15.07.2011 on 10:17 Cecil Westerhof wrote: Properly that anybody that knows how to write a document in Microsoft Office can change the document. So standard software, with a low learning curve. I had some problems getting them to accept to use Adobe. And now that turns out to be not

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Hans Hagen
On 15-7-2011 10:35, Cecil Westerhof wrote: ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/back-exp.lua:328: bad argument #2 to 'write' (string expected, got nil). looks like you don't run the latest version also, when using the export, make sure all your sectioning uses

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Hans Hagen
On 15-7-2011 9:47, Mojca Miklavec wrote: On Fri, Jul 15, 2011 at 09:44, Hans Hagenpra...@wxs.nl wrote: On 15-7-2011 3:04, luigi scarso wrote: Building the file using texexec --mptex test.mp all three graphics how about context --mp test.mp ? context --mp test metapost| loading

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread Cecil Westerhof
2011/7/15 Andreas Schneider ak...@gmx.de At Friday, 15.07.2011 on 10:17 Cecil Westerhof wrote: Properly that anybody that knows how to write a document in Microsoft Office can change the document. So standard software, with a low learning curve. I had some problems getting them to accept

Re: [NTG-context] bib module (again)

2011-07-15 Thread Steffen Wolfrum
Hi, Am 07.07.2011 um 23:50 schrieb Andreas Schneider: I hope I haven't killed any functionality while toying around and hunting the bug, but at least my Diploma Thesis looks still right when processed with that module. could you provide a (minimal) example that demonstrates the

Re: [NTG-context] File.export to File.html

2011-07-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Perfect, thanks! (c:\ConTeXt\tex\texmf-context\tex\context\base\export-example.*) I didn't know this example; creating .(x)htm(l) in such way is really easy! Best regards, Lukas On Fri, 15 Jul 2011 10:36:32 +0200, luigi scarso luigi.sca...@gmail.com wrote: 2011/7/15 Procházka Lukáš

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-15 Thread luigi scarso
On Fri, Jul 15, 2011 at 10:17 AM, Cecil Westerhof cldwester...@gmail.com wrote: Properly that anybody that knows how to write a document in Microsoft Office can change the document. So standard software, with a low learning curve. I had some problems getting them to accept to use Adobe. And

Re: [NTG-context] beta

2011-07-15 Thread Hans Hagen
On 14-7-2011 6:07, Andreas Harder wrote: Am 14.07.2011 um 17:24 schrieb Hans Hagen: (also see http://www.pragma-ade.com/show-mag-13.htm) So it's recommended to load the \environment before the \start- \stopcomponent and \start- \stopproduct? you can do both ... the advantage of doing it

Re: [NTG-context] n-dash and line break

2011-07-15 Thread Hans Hagen
On 15-7-2011 10:33, Thomas A. Schmitz wrote: is this the intended behavior? In mkiv, no line break after an n-dash; in mkii only if it is keyed in as --, not directly as the utf char. I think lines should be broken at n-dashes. intended indeed in the sense that this is the way tex works

[NTG-context] From \chapter to \startchapter \stopchapter

2011-07-15 Thread Cecil Westerhof
Instead of only pdf I also need to generate XHTML. For this I need to use \startchapter and \stopchapter instead of \chapter. When it is like: \chapter{A descriptive title} I have to change it to: \startchapter[title=A descriptive title] . . . \stopchapter But how do I

Re: [NTG-context] n-dash and line break

2011-07-15 Thread Thomas A. Schmitz
On 07/15/2011 11:53 AM, Hans Hagen wrote: On 15-7-2011 10:33, Thomas A. Schmitz wrote: I think lines should be broken at n-dashes. intended indeed in the sense that this is the way tex works Hmm, that caused me a lot of troubles especially in bibliographical lists where the ndash is

Re: [NTG-context] From \chapter to \startchapter \stopchapter

2011-07-15 Thread Hans Hagen
On 15-7-2011 12:41, Cecil Westerhof wrote: Instead of only pdf I also need to generate XHTML. For this I need to use \startchapter and \stopchapter instead of \chapter. When it is like: \chapter{A descriptive title} I have to change it to: \startchapter[title=A descriptive title]

Re: [NTG-context] beta

2011-07-15 Thread Andreas Harder
Am 15.07.2011 um 13:33 schrieb Hans Hagen: On 15-7-2011 1:00, Andreas Harder wrote: The problematic part was \setupblank[medium]. Would it be possible to make this setup work also before \start[component | prodoct | text]? Well, in that case you need to initialize the bodyfont

Re: [NTG-context] beta

2011-07-15 Thread Wolfgang Schuster
Am 15.07.2011 um 13:43 schrieb Andreas Harder: If I'm getting you right, this should work? \startbuffer \setupbodyfont[modern] \setupblank[medium] \showframe \stopbuffer \getbuffer % \setupblank[medium] not applied \starttext % \getbuffer % \setupblank[medium] applied

Re: [NTG-context] n-dash and line break

2011-07-15 Thread Wolfgang Schuster
Am 15.07.2011 um 12:59 schrieb Thomas A. Schmitz: \installbreakpoint [compound] [–] [language=de,nleft=2,nright=2,left=,right=-,type=5] \installbreakpoint [compound] [–] [language=de,nleft=1,nright=1,left=,right=-,type=1] Wolfgang

Re: [NTG-context] beta

2011-07-15 Thread Andreas Harder
Am 15.07.2011 um 14:28 schrieb Wolfgang Schuster: Am 15.07.2011 um 13:43 schrieb Andreas Harder: If I'm getting you right, this should work? \startbuffer \setupbodyfont[modern] \setupblank[medium] \showframe \stopbuffer \getbuffer % \setupblank[medium] not applied \starttext %

Re: [NTG-context] n-dash and line break

2011-07-15 Thread Thomas A. Schmitz
On 07/15/2011 02:38 PM, Wolfgang Schuster wrote: Am 15.07.2011 um 12:59 schrieb Thomas A. Schmitz: \installbreakpoint [compound] [–] [language=de,nleft=2,nright=2,left=,right=-,type=5] \installbreakpoint [compound] [–] [language=de,nleft=1,nright=1,left=,right=-,type=1] Wolfgang

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Kevin D. Robbins
On Thu, Jul 14, 2011 at 7:04 PM, luigi scarso luigi.sca...@gmail.com wrote: This is one of the preferrred way to deal with metapost in mkiv \starttext \startMPpage numeric u;  u = 1cm;  draw (0,2u)--(0,0)--(4u,0);  pickup pencircle scaled 1pt;  draw (0,0){up}   for i=1 upto 8:

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-15 Thread Kevin D. Robbins
On Fri, Jul 15, 2011 at 1:13 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: The original file test.mp is copied to test.mp.keep and a new file test.mp is created with a newer timestamp and two additional blank lines at the end. I hadn't noticed this yesterday, but I see the same

Re: [NTG-context] UTF8 / TeXUtils parsing error

2011-07-15 Thread Brian Wedde
I updated Ruby to the latest and greatest beta but have the same results: TeXUtils does not function correctly when processing .tui files, likely due to character encoding issues in Ruby. I'm running Ruby 1.9.2 and this seems to be the problem. 1.8.7 was working fine on other machines. There

Re: [NTG-context] UTF8 / TeXUtils parsing error

2011-07-15 Thread luigi scarso
On Fri, Jul 15, 2011 at 8:34 PM, Brian Wedde wbr...@onlineed.com wrote: I updated Ruby to the latest and greatest beta but have the same results: TeXUtils does not function correctly when processing .tui files, likely due to character encoding issues in Ruby. I'm running Ruby 1.9.2 and this