Re: [NTG-context] Centering and splitting a table

2012-01-07 Thread Wolfgang Schuster

Am 07.01.2012 um 01:49 schrieb Fulvio:

 Hi, it's me again, with another problem.
 
 I want to typeset very simple tables. Each table system is ok, because
 I need very simple tables, as long as I can split the table in multiple
 pages and repeat the header in multiple pages, so it should be ok to
 use Tabulate, Tables, TABLE and Linetable.
 
 I can typeset a similar table easily, but I want to center the table
 horizontally in the page. I can box the table (with an hbox or a vbox)
 and then center the box, but in this way the box won't split in
 multiple pages. I think that floatings aren't the solution, too, because
 I need the table exactly in place (I understand that the here
 placement don't give me that guaranty, but I'm not totally sure).
 
 I've at least a solution in my mind, but that requires too
 much work, so I hope that there is a simple one.

\placetable[split,force]{caption}{table}

gives you a table which is centered, is split across pages (“split” keyword)
and will stay at the position (“force” keyword).

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
___


[NTG-context] backgroundscreen

2012-01-07 Thread Wolfgang Schuster
Hi,

The backgroundscreen for \framed setting doesn’t work in MkIV because the 
\raster command isn’t defined anymore.

\starttext
\framed[background=screen]{Gray background?}
\stoptext

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] backgroundscreen

2012-01-07 Thread Hans Hagen

On 7-1-2012 10:26, Wolfgang Schuster wrote:

Hi,

The backgroundscreen for \framed setting doesn’t work in MkIV because the 
\raster command isn’t defined anymore.

\starttext
\framed[background=screen]{Gray background?}
\stoptext


\def\pack_framed_background_box_gray_indeed
  {\colored[s=\p_framed_backgroundscreen]{\pack_framed_filled_box}}


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Makempy ...

2012-01-07 Thread Willi Egger
Hi Metafun gurus!

I should produce a glyph large as 300 by 150mm.
So I thought to use metafun/makempy facilities. However I get no output with 
ConTeXt MKIV ver: 2012.01.02 21:59 

When processing the file with MKII there is a fatal error, which is after 
stoptext in the attached test-file.

Kind regards

Willi



test-makempy.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] Makempy ...

2012-01-07 Thread luigi scarso
On Sat, Jan 7, 2012 at 1:33 PM, Willi Egger cont...@boede.nl wrote:

 Hi Metafun gurus!

 I should produce a glyph large as 300 by 150mm.
 So I thought to use metafun/makempy facilities. However I get no output
 with ConTeXt MKIV ver: 2012.01.02 21:59

 When processing the file with MKII there is a fatal error, which is after
 stoptext in the attached test-file.

 Kind regards

 Willi

It's ok with tl2010 and mkii


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Makempy ...

2012-01-07 Thread Hans Hagen

On 7-1-2012 13:33, Willi Egger wrote:

Hi Metafun gurus!

I should produce a glyph large as 300 by 150mm.
So I thought to use metafun/makempy facilities. However I get no output with 
ConTeXt MKIV ver: 2012.01.02 21:59

When processing the file with MKII there is a fatal error, which is after 
stoptext in the attached test-file.


patch:

\startMPinclusions
def graphictext primary t =
hide (
if mfun_trial_run :
let mfun_graphic_text = mfun_no_graphic_text ;
else :
let mfun_graphic_text = mfun_do_graphic_text ;
fi
)
mfun_graphic_text(t)
enddef ;
\stopMPinclusions

works with:

\startMPpage
graphictext
C
scaled 10 ;
\stopMPpage

no new upload as I'm working on the font system which needs checking by 
WS (for simplefonts etc) but you might try the beta from the ftp server 
if you're in the mood for testing (generating beta now)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Inline itemize

2012-01-07 Thread Hans Hagen

On 6-1-2012 00:25, Wolfgang Schuster wrote:


Am 06.01.2012 um 00:06 schrieb Wagner Macedo:


As I know, yes, this is the intended behavior. You should be thinking in a 
WYSIWYG way, but TeX, as most languages (except Python, that I know) works 
apart you write every code in one line or write pretty indented.


No, this is a bug because with the “text” keyword you can create a inline item 
which doesn’t start a new paragraph.


fixed .. also a beter default for textdistance (not uploaded yet)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] typesetting bilingual texts

2012-01-07 Thread Hans Hagen

On 6-1-2012 10:59, Pablo Rodríguez wrote:


Not even asking about the code (yet): isn't it possible to typeset a
bilingual document having separate streams that ConTeXt automatically
synchronizes? And isn't it possible to have separate numbering for the
original and translated streams?


that's the idea behind streams (there is some example code in the 
testbed under mkiv/streams) but streams is 'work in progress' and part 
of the critical editions (sub)project


if you have specific wishes you should communicate them with Idris and 
Thomas as they are driving this.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problem with coupling (mkiv)

2012-01-07 Thread Hans Hagen

On 2-1-2012 10:21, Rene van Hassel wrote:


In other pieces of code, it gives a LuaTex error
and something with lpegmatch, but I have
no idea about what is spoken.


hard to say anything about that without example


Sometimes I see orange triangles after the
enumerations but I have no interaction, the
cursor at the screen does not change of form.
This if I look at the pdf-file with the acrobat reader.

Who of you has any idea howto get interaction
between the questions and the answers?


i'll have a look at it .. that bit of code was never tested after 
upgrading the description code


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Centering and splitting a table

2012-01-07 Thread Fulvio
Il giorno Sat, 7 Jan 2012 09:32:25 +0100
Wolfgang Schuster schuster.wolfg...@googlemail.com ha scritto:

 
 Am 07.01.2012 um 01:49 schrieb Fulvio:
 
  Hi, it's me again, with another problem.
  
  I want to typeset very simple tables. Each table system is ok,
  because I need very simple tables, as long as I can split the table
  in multiple pages and repeat the header in multiple pages, so it
  should be ok to use Tabulate, Tables, TABLE and Linetable.
  
  I can typeset a similar table easily, but I want to center the table
  horizontally in the page. I can box the table (with an hbox or a
  vbox) and then center the box, but in this way the box won't split
  in multiple pages. I think that floatings aren't the solution, too,
  because I need the table exactly in place (I understand that the
  here placement don't give me that guaranty, but I'm not totally
  sure).
  
  I've at least a solution in my mind, but that requires too
  much work, so I hope that there is a simple one.
 
 \placetable[split,force]{caption}{table}
 
 gives you a table which is centered, is split across pages (“split”
 keyword) and will stay at the position (“force” keyword).
 
 WOlfgang

Ok, it works ;)
Thanks :)


signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] typesetting bilingual texts

2012-01-07 Thread Wolfgang Schuster

Am 07.01.2012 um 15:10 schrieb Hans Hagen:

 On 6-1-2012 10:59, Pablo Rodríguez wrote:
 
 Not even asking about the code (yet): isn't it possible to typeset a
 bilingual document having separate streams that ConTeXt automatically
 synchronizes? And isn't it possible to have separate numbering for the
 original and translated streams?
 
 that's the idea behind streams (there is some example code in the testbed 
 under mkiv/streams) but streams is 'work in progress' and part of the 
 critical editions (sub)project
 
 if you have specific wishes you should communicate them with Idris and Thomas 
 as they are driving this.

There is no \flushoutputstreampages in the mkiv version of the streams code
but Pablo want this function of the old code to put on stream on each left page
and the other stream on each right page.

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] Overprinting

2012-01-07 Thread Jan Heinen

Here the results of my question:

I asked my print-service, if the pdf I generated with the 
code (look at the end of this email), is ok.

The text in the second frame should be overprinted.

The answer of the printer:

in the preflight he can see the overprinting,
in the print-preview he can't.
He was astonished - because he never had the difference 
between print-preview and preflight before.

He is using Adobe Acrobat 10.

Hope this information helps others to be cautious -
an maybe someone can tell what's to do.

Regards
Jannis




 \setupcolors[state=start,rgb=no,cmyk=yes]
 \definecolor[myc] [c=.40, m=.10, y=.50, k=0]
 \starttext
 \framed[%
   width=80mm,height=50mm,
   background=color,
   backgroundcolor=myc,
 ]
  {1 Overprinted or not?}

 \blank[big]

 \framed[%
   width=80mm,height=50mm,
   background=color,
   backgroundcolor=myc,
 ]
  {\startcolorintent[overprint]2 Overprinted or not?\stopcolorintent}

 \blank[big]

 \framed[%
   width=80mm,height=50mm,
   background=color,
   backgroundcolor=myc,
 ]
  {\startcolorintent[knockout]3 Overprinted or not?\stopcolorintent}




 \stoptext



Regards
Jannis

___
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] Makempy ...

2012-01-07 Thread Willi Egger
Hi Hans,

thank you for your immediate reply.

Unfortunately I do not get it working. - No problem so far, thanks to the  
reply by Luigi I was able to produce the letter by using an older version of 
ConTeXt and MKII.

Thanks!

Willi
On 7 Jan 2012, at 14:24, Hans Hagen wrote:

 On 7-1-2012 13:33, Willi Egger wrote:
 Hi Metafun gurus!
 
 I should produce a glyph large as 300 by 150mm.
 So I thought to use metafun/makempy facilities. However I get no output with 
 ConTeXt MKIV ver: 2012.01.02 21:59
 
 When processing the file with MKII there is a fatal error, which is after 
 stoptext in the attached test-file.
 
 patch:
 
 \startMPinclusions
def graphictext primary t =
hide (
if mfun_trial_run :
let mfun_graphic_text = mfun_no_graphic_text ;
else :
let mfun_graphic_text = mfun_do_graphic_text ;
fi
)
mfun_graphic_text(t)
enddef ;
 \stopMPinclusions
 
 works with:
 
 \startMPpage
graphictext
C
scaled 10 ;
 \stopMPpage
 
 no new upload as I'm working on the font system which needs checking by WS 
 (for simplefonts etc) but you might try the beta from the ftp server if 
 you're in the mood for testing (generating beta now)
 
 Hans
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
 -
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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] old and new

2012-01-07 Thread Wolfgang Schuster

Am 04.01.2012 um 11:20 schrieb Steffen Wolfrum:

 Hi,
 
 a happy 2012 to all of you!!!
 
 Keeping up with the most recent version (2012.01.02) gives to much errors 
 with my environment file...
 So, as the last version that I installed via rsync was 14th october 2011, I 
 tried to manually install an in-between version.
 For example:
 
 cd /Users/steffen/context
 rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
 ./first-setup.sh --context=2011.11.29 --extras=all
 
 Unfortunately this context= flag doesn't work -- it gives 20120102 too.
 
 
 Any ideas how to install a december 2012 version?

I have copies of a few older installation, if you’re interested I can make a 
zip of the texmf-context folder.

Available are:

2011.10.28
2011.11.24
2011.11.29
2011.12.20
2011.12.23
2012.01.02

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] old and new

2012-01-07 Thread luigi scarso
On Sat, Jan 7, 2012 at 5:50 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 04.01.2012 um 11:20 schrieb Steffen Wolfrum:

  Hi,
 
  a happy 2012 to all of you!!!
 
  Keeping up with the most recent version (2012.01.02) gives to much
 errors with my environment file...
  So, as the last version that I installed via rsync was 14th october
 2011, I tried to manually install an in-between version.
  For example:
 
  cd /Users/steffen/context
  rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
  ./first-setup.sh --context=2011.11.29 --extras=all
 
  Unfortunately this context= flag doesn't work -- it gives 20120102 too.
 
 
  Any ideas how to install a december 2012 version?

 I have copies of a few older installation, if you’re interested I can make
 a zip of the texmf-context folder.

 Available are:

 2011.10.28
 2011.11.24
 2011.11.29
 2011.12.20
 2011.12.23
 2012.01.02

 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

 ___


there is also
git://gitorious.org/context/context.git
which is privately maintained .
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] old and new

2012-01-07 Thread Steffen Wolfrum

Am 07.01.2012 um 17:50 schrieb Wolfgang Schuster:

 
 Am 04.01.2012 um 11:20 schrieb Steffen Wolfrum:
 
 Hi,
 
 a happy 2012 to all of you!!!
 
 Keeping up with the most recent version (2012.01.02) gives to much errors 
 with my environment file...
 So, as the last version that I installed via rsync was 14th october 2011, I 
 tried to manually install an in-between version.
 For example:
 
 cd /Users/steffen/context
 rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
 ./first-setup.sh --context=2011.11.29 --extras=all
 
 Unfortunately this context= flag doesn't work -- it gives 20120102 too.
 
 
 Any ideas how to install a december 2012 version?
 
 I have copies of a few older installation, if you’re interested I can make a 
 zip of the texmf-context folder.
 
 Available are:
 
 2011.10.28
 2011.11.24
 2011.11.29
 2011.12.20
 2011.12.23
 2012.01.02



meanwhile Mojca tutored me in using github ... successfully ;o)
nevertheless thank you Wolfgang, thank you Luigi!

Steffen
___
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
___