Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Erik Margraf
As far as I experienced, it does split the table, but only at row borders. Not within a row, as the word example. Tabulate does this kind of splitting. For my usecase, this was enough, though the other table environments have some goodies which the tabulate environment misses ... (But maybe these

Re: [NTG-context] splitting table cells/rows

2016-06-07 Thread Erik Margraf
Thanks, this works quite good for me! Will the other table environments get this feature too? Erik On Tue, Jun 7, 2016 at 11:23 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Erik Margraf <erik.marg...@gmail.com> > 7. Juni 2016 um 10:34 > Dear list, > &g

[NTG-context] splitting table cells/rows

2016-06-07 Thread Erik Margraf
Dear list, does context split table cells like Word (sorry for that ;-)) would do? (Please see the attached pdf examples). The table_test was generated with \starttext \bTABLE[split=yes] \setupTABLE[frame=off] \setupTABLE[column][1][width=3.5cm] \setupTABLE[column][2][width=11cm]

Re: [NTG-context] help on def & buffer

2016-03-30 Thread Erik Margraf
Ups, didn't expect that ... ;-) Thanks Wolfgang! Actually your version works, Hans' version does not ... (could try them only now) Kind regards Erik On Wed, Mar 30, 2016 at 2:46 PM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Hans Hagen > 30. März 2016 um 10:11 >

Re: [NTG-context] help on def & buffer

2016-03-30 Thread Erik Margraf
, but this was the first (and only ;-)) idea I came up with. kind regards Erik On Wed, Mar 30, 2016 at 10:11 AM, Hans Hagen <pra...@wxs.nl> wrote: > On 3/30/2016 9:27 AM, Erik Margraf wrote: > >> Dear List, >> >> please help me with my problem here >> >>

[NTG-context] help on def & buffer

2016-03-30 Thread Erik Margraf
Dear List, please help me with my problem here I - probably naively - tried the following: \starttext \def\Buffer#1#2 { \startbuffer[#1] \input #2 \stopbuffer } \Buffer{bla}{knuth} \stoptext - Context gives me the following

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-04 Thread Erik Margraf
This does the trick! Thank you! On Mon, Oct 5, 2015 at 2:27 AM, Aditya Mahajan <adit...@umich.edu> wrote: > On Sun, 4 Oct 2015, Erik Margraf wrote: > > On Sat, Oct 3, 2015 at 11:51 PM, Aditya Mahajan <adit...@umich.edu> wrote: >> >> On Sat, 3 Oct 2015, Erik

[NTG-context] Section head without numbers, ToC with numbers

2015-10-03 Thread Erik Margraf
Dear List, is it possible to achieve the following: First section Some Text Second section Some Text Table of Contents 1 First section 2 Second section I tried both: a) \setuphead[section][sectionnumber=no] b) \setupheads[sectionnumber=no] I also tried

[NTG-context] Does the R-Module work (or how)?

2013-06-18 Thread Erik Margraf
Dear List, does the R module work? To be more specific m-r.tex. I tried to run the test named as Johan's test file and got the result below ! Undefined control sequence. system tex error on line 20 in file /home/erik/tmp/Glockner/t.tex: Undefined control

[NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
Dear List, a question about \typefile{}. I tried to use \typefile{ /with/an/absolute/path/to/some_file } and failed Message in the log: Verbatim some_file not found. Also tried with no path at all, assuming it will take the file from the current directory. Same result. Do I miss something?

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
Hi, Thanks Aditya! I tried this again with \starttext \typefile{/tmp/xxx.tex} \stoptext and could trace what's going on ... (not even /tmp/xxx.tex worked) The lines below is the trace output belonging to /tmp/xxx stat(tmp/xxx.tex, 0x7fff5dc73d90) = -1 ENOENT (No such file or

Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
, which might help? On Tue, Nov 20, 2012 at 11:17 PM, Aditya Mahajan adit...@umich.edu wrote: On Tue, 20 Nov 2012, Hans Hagen wrote: On 11/20/2012 9:06 PM, Erik Margraf wrote: Hi, Thanks Aditya! I tried this again with \starttext \typefile{/tmp/xxx.tex} \stoptext and could trace

[NTG-context] typesetting juxtapositions

2012-11-18 Thread Erik Margraf
Dear List, how would I go on to typeset a document like the attached one? Thanks in advance Erik test.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] typesetting juxtapositions

2012-11-18 Thread Erik Margraf
Hans and Wolfgang, thanks a lot! Both versions work of course ... I'll see which one I'll use. Erik On Sun, Nov 18, 2012 at 12:52 PM, Hans Hagen pra...@wxs.nl wrote: On 11/18/2012 12:43 PM, Wolfgang Schuster wrote: Am 18.11.2012 um 12:24 schrieb Erik Margraf erik.marg...@gmail.com: Dear

[NTG-context] outlines don't work?

2012-06-16 Thread Erik Margraf
Dear list! I would like to use the outline feature of context. The following (hopefully minimal) example gives me Nothing as output --- \starttext \setupcolors[state=start] \definelayer[L] \setupbackgrounds[page][background={L}] \startuseMPgraphic{PN} graphictext Bla

Re: [NTG-context] Colors: printing vs. on screen

2011-06-21 Thread Erik Margraf
Thanks! I'll go for the calibration and some trials in CMYK colors for printing. kind regards Erik 2011/6/19 Henning Hraban Ramm hra...@fiee.net Yes, because your monitor uses RGB and your printer uses CMYK. The conversion between thetwo is not too complicated, but actually getting the same

[NTG-context] Colors: printing vs. on screen

2011-06-19 Thread Erik Margraf
Dear List, I defined the following color for one of my documents: \definecolor[P][r=0.64,g=0.22,b=0.27] When I printed this document on a probably typical office laser printer (a Canon iRC), the colors didn't match. (not even close and I didn't like the printed color) This is probably no real

Re: [NTG-context] Second Try for help using Windows 7 Winedt 6.0 MiKTeX 2.9 to process ConTeXt

2010-11-19 Thread Erik Margraf
I used TeXworks, which was included in the MikTeX distribution with the configuration shown in the screenshot. Rather minimalistic, but worked and may be a start. regards Erik 2010/11/19 barndog1...@gmail.com Perhaps Taco could find time to explore this?? Recently MikTeX enabled ConTeXt

Re: [NTG-context] beta

2010-11-14 Thread Erik Margraf
Thanks! Seems, that this was the (same) reason. I think I have now working minimals 2010.11.12 18:22 Kind regards Erik 2010/11/14 Aditya Mahajan adit...@umich.edu On Sat, 13 Nov 2010, Erik Margraf wrote: I get the following error message while running first-setup.sh: ! I

Re: [NTG-context] Animations (again, but different)

2010-11-14 Thread Erik Margraf
Hi, with context version 2010.11.12 18:22, I get much better results now. Thanks! I guess, I now have a first feeling about these things. kind regards Erik 2010/11/11 Erik Margraf erik.marg...@googlemail.com Thank's for your example! But I'm sorry to say, I didn't get it. When I run context

Re: [NTG-context] beta

2010-11-13 Thread Erik Margraf
I get the following error message while running first-setup.sh: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.42 \loadmarkfile{catc-ini} --- Strange enough, I find it as /tex/texmf-context/tex/context/base/catc-ini.mkiv Anything I

Re: [NTG-context] Animations (again, but different)

2010-11-11 Thread Erik Margraf
this completely using a MiKTeX 9 Installation on WinXP without success) Am I missing something? kind regards Erik 2010/11/4 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 03.11.2010 um 17:38 schrieb Erik Margraf: Dear Contexters! In the last few days I could read a few posts about

[NTG-context] Animations (again, but different)

2010-11-03 Thread Erik Margraf
Dear Contexters! In the last few days I could read a few posts about animations in a resulting PDF document. Some statements mentioned java script as possible means to create an animation. Is it possible to do the following (which is rather simple using html and javascript)? -- Have a bunch of

[NTG-context] color in MKIV and Metapost

2010-06-14 Thread Erik Margraf
Dear All, the small example attached behaves in mkii (texexec) as expected. The string CONTEXT as well as a little square are colored. Using mkiv (context) only the little square is colored. The CONTEXT string is black. Tested on two different linux systems, both 64 Bit. -- CentOS 5, Context

[NTG-context] Clipping of text (or something equivalent)

2010-06-07 Thread Erik Margraf
Hi all, I'd like to achieve in context something like I did in the attachment (context.pdf). My idea was (and that's the way how I did this in Inkscape): - Create Text - Double the text - Clip one for the upper half, clip the other for the lower half - Connect the two halves. My

Re: [NTG-context] Clipping of text (or something equivalent)

2010-06-07 Thread Erik Margraf
Thanks!! For the hints to existing examples as well as for the very instructive advice to clip to the enlarged unitsquare. 2010/6/7 Hongwen Qiu qiuhong...@gmail.com 于 2010年06月07日 22:47, Erik Margraf 写道: Hi all, I'd like to achieve in context something like I did in the attachment

Re: [NTG-context] does expandaparameters work

2010-05-13 Thread Erik Margraf
Thanks!! Works perfectly for me. Is this a patch for syst-aux.mkiv? 2010/5/13 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 12.05.10 19:29, schrieb Erik Margraf: Hello, I use \expandparameters in a macro definition. -- \expandparameters\setupbackgrounds[page][background

[NTG-context] does expandaparameters work

2010-05-12 Thread Erik Margraf
Hello, I use \expandparameters in a macro definition. -- \expandparameters\setupbackgrounds[page][background={\currentvalue,#1}] -- This works in MkII (texexec), but doesn't work in MkIV (context). If I define all layers in a single declaration, the results with MkII and MkIV are identical.

[NTG-context] Shaped paragraps (and overlays) again

2010-04-10 Thread Erik Margraf
Dear ConTeXters, sorry for posting this again. Maybe the first time I asked the wrong way, the wrong question or at the wrong time. I'd like to use the shapetext facility and have some problems with it. My example tex file and two results are attached. The file both.pdf shows the result with two

[NTG-context] Shaped paragraphs

2010-04-04 Thread Erik Margraf
Hi, I have some problems using shaped paragraphs. I tried to follow the procedures described in METAFUN in the chapter about talking to TeX. The output I get from running context (latest minimals) is wrong (or at least unexpected ;-). The shape of the text paragraphs doesn't match the backgrounds.

Re: [NTG-context] code with reserved words

2010-03-23 Thread Erik Margraf
-py'] = { version = 0.001, comment = companion to buff-ver.mkiv, author= Erik Margraf, copyright = PRAGMA ADE / ConTeXt Development Team, license = see context related readme files } local utf = unicode.utf8 local utfcharacters, utfvalues = string.utfcharacters

[NTG-context] Pretty Printing Python code

2009-12-29 Thread Erik Margraf
code (pret-lua.lua, pret-py.lua) is actually called. When I ran context on the file below, I could see that pret-lua.lua had been called, but pret-py.lua had not. I guess, I did wrong something very fundamental. Thanks in advance for any hint Erik Margraf yyy.tex Description: TeX document

[NTG-context] Some question regarding Layers

2009-12-17 Thread Erik Margraf
Hi all, i have two questions regarding the use of layers. -- Is there an easy way to position a layer in the middle of the page. My intent is to position some kind of graphic/picture there. I usually try to wrap the picture in a hbox to \paperwidth {\hfil \externalfigure{} \hfil} and

[NTG-context] Overlays with metapost

2009-08-24 Thread Erik Margraf
Hello, is it possible to achieve an overlay effect with metapost like in the attached picture (a photo and a pin in the upper left corner)? I could load both images but I can't control the position where the pin is inserted. Is this possible by other means? thank you! Regards Erik attachment: