Re: [NTG-context] Constraint in line numbers

2011-12-21 Thread Wolfgang Schuster

Am 21.12.2011 um 18:19 schrieb Fulvio:

> Hi, this is my first message in this ml ;)
> 
> Well, I've a stupid constraint in a work: I must limit the number of
> lines in a page. I have to have 32-35 lines on each page.
> 
> Now, the task isn't too complex in principle, I can work on interline
> sizes and glues, but this way is a little bit tricky.
> I wonder if there is a better (and elegant) way to manage the problem.

You can the number of lines on a page with the \setuplayout command.

\setuplayout[lines=20]
\starttext
\dorecurse{100}{Line \recurselevel\par}
\stoptext

Wolfang
___
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 instal

2011-12-21 Thread Mari Voipio
On Wed, Dec 21, 2011 at 21:36, Marek Jirkovský  wrote:
> I just
> wonder to have some easy installing package, cause these things - i never
> liked them. it's evil.

There was, but unfortunately it has been broken for a while, it just
couldn't keep up with the software.

It is both an advantage and a disadvantage to ConTeXt that it is a
rapidly developing system. That gives it a lot of flexibility and we
users can have close contact with the developers, so if you wish for
something, you may actually get it, too. On the other hand this means
that things are continuously on the move and sometimes you have to
readjust your coding or your installation to fit the bill.

It also seems that somewhere there's still a link to that old wiki
page on Windows installation, I thought I'd killed them all... Here
are the instructions that worked in September-October 2011, when I
installed a few Windows 7 machines. Unfortunately it still involves
fiddling a bit with file paths, but you only need to do this once;
after that updating is pretty smooth (if the beta isn't broken in some
other way...).

http://wiki.contextgarden.net/Windows_Installation:_ConTeXt_Suite_with_SciTe


As the only TeX system I use is ConTeXt, I've been running ConTeXt +
SciTe combo almost from the moment it became available, and I've been
reasonably happy with it most of the time. I admit that when I
migrated my work stuff from Word to ConTeXt, the learning curve was
very steep - and again this week I've spent several hours cursing
non-existent documentation and trying to figure out in what order to
do things. BUT once I get things to work in the way they should,
upkeep is usually easy and I don't risk getting my graphics heavy
files broken like what used to happen with Word. [Just had to go
through another round of fighting over my right to use ConTeXt for
what I do, but it seems that I won this round. Money talks, too,
installing ConTeXt + SciTe on five computers is a lot cheaper than
doing the same with InDesign...]


Hope this helps,

Mari Voipio
ConTeXting in Windows since around 2003
___
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] Constraint in line numbers

2011-12-21 Thread Fulvio
Hi, this is my first message in this ml ;)

Well, I've a stupid constraint in a work: I must limit the number of
lines in a page. I have to have 32-35 lines on each page.

Now, the task isn't too complex in principle, I can work on interline
sizes and glues, but this way is a little bit tricky.
I wonder if there is a better (and elegant) way to manage the problem.

Thanks
Fulvio


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] context instal

2011-12-21 Thread Marek Jirkovský
Cool,
Very much thanks to luigi scarso - this is the way to help. I didt know
that goes to mailing list. It was maybe a bit insulting for Mr. Gundlach
and i am sorry for that. By the way your manual is very geeky too. :] i
guess yout geekness is very high. Respect for that.
I meant it generally - this ist just tool for something. Why lose time
/generrally with just configuring and installing. Thats what i mean. Why do
you think i've tried this. I did`t look for word replacement. Word is not
enough to do something bigger and to have it good looking. ConTeXt loks
very good for this purposes, easier then LaTex or some other Tex stuff. I
just wonder to have some easy installing package, cause these things - i
never liked them. it's evil.
___
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] Header bottomframe on first page of document

2011-12-21 Thread Peter Park Nelson
Hello,

If I have a bottom frame under my page headers, is it possible to have
NO bottom frame under the header on ONLY the first page of a document?

I am using:
\setupbackgrounds[header][text][bottomframe=on]
to put a border line underneath all my page headers. I want to have a
header on the first page of my document but no line under it (the
first page header will be unique). I want to keep the vertical space
for the header, so \setupheader[text][state=high] is not what I need.

The reason for this is to have the option of placing a "banner" over
the document title using the header. Some documents will need this,
and some will not. So, if the extra banner is needed, I will put it in
the first page header, and if not I will leave that header blank. The
unique header will be set using:

\definetext[firsthead][header][First Page Header Banner Text] % or
leave it blank...
\setuphead[title][header=firsthead,...]

Thanks,
PPN

-- 
Peter Park Nelson
peter.park.nel...@gmail.com
___
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] Footnote Problem

2011-12-21 Thread Kip Warner
On Wed, 2011-12-21 at 09:39 +0100, Hans Hagen wrote:
> 
> you can play with
> 
> \setconstant\kindofpagetextareas\plusone
> 
> (some day there will be a proper setting) 

Thanks Hans, but I get the following error:

! Undefined control sequence.
l.19 \setconstant
 \kindofpagetextareas\plusone
? 


Using ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.21.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Header/footer fonts problem in 20 DEC 2011 beta

2011-12-21 Thread Peter Park Nelson
Hello, I just installed the 20 Dec beta and noticed the following
(compared to 29 Nov beta):

1. Headers and footers on ODD PAGES ONLY do not respect text styles
set via \setupheader[style=\ss] and \setupfooter[style=\cg]. Text in
both cases is in serif type. Headers and footers on EVEN pages have
correct fonts. However, setting the font variant and size directly in
\setupfootertexts[\cg\bf Footer Text] works for odd pages.

On the plus side:

2. \restoreinterlinespace is no longer needed with section headers in
a grid layout.  (See:
http://archive.contextgarden.net/message/20050620.212538.c081f1e4.en.html).
Thank you for fixing that.

3. columnsets no longer run into the page footer area when using
\setupheader[state=high]. Thanks, Hans!

Thanks,
PPN
-- 
Peter Park Nelson
peter.park.nel...@gmail.com
___
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] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-21 Thread Zhichu Chen
Interesting, so I guess I should write some lua code? Since I have
little experience in that area, could you provide a minimal example
just to show me how to draw the baseline of each glyph?

Thanks

On Thu, Dec 22, 2011 at 6:47 AM, Hans Hagen  wrote:
>
> mkiv does things completely different
>
> 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
> -



-- 
Best Regards
Chen
___
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] Fontsize problems in table

2011-12-21 Thread Wolfgang Schuster
Hi Hans,

the following example complains about a missing font identifier.

\starttext
\starttable[|l|]
\stoptable
\stoptext


fonts   > virtual math > unable to resolve name mapsfromchar
fonts   > fallback modern rm 12pt is loaded
! Missing font identifier.

system  > tex > error on line 3 in file /Users/wolf/TeX/test.tex: 
Missing font identifier ...

1 \starttext
2 \starttable[|l|]
3 >>  \stoptable
4 \stoptext

 
   \*modern6ptmmmr33* 
\dopresetmathfamilyindeed ...ontsize 3*\endcsname 
  \scriptfont #1\csname *\fo...
\dosetmathfamily ...\dopresetmathfamilyindeed #1#2
  \else \dosetmathfamilyinde...
\bidirectionalmathstrategynop ...ily \mrfam \c!mr 
  \textfont \mrfamrl \textfo...
 ... \bidirectionalmathstrategynop 
  \fi \applycompleteboldmath...
\synchronizemath ...athfonts \the \mathstrategies 
  \fi 
...
l.3 \stoptable

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] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-21 Thread Hans Hagen

On 21-12-2011 12:16, Zhichu Chen wrote:

Hi,

I wrote some CJK vertical typesetting macros in mkii a long time ago
and I want to adopt it to mkiv. Sadly the \iftracechinese is gone. Can
I still draw boxes of each glyph to see if they are aligned in my way?
Drawing a line in the background is so not cool.


mkiv does things completely different

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] context instal

2011-12-21 Thread Hans Hagen

On 21-12-2011 14:36, Alan Braslau wrote:

On Wed, Dec 21, 2011 at 11:50:18AM +0100, Henning Hraban Ramm wrote:


For reference see also http://www.strangehorizons.com/2004/20040405/badger.shtml



Mojca,

Due to some particularities, I am having some problems running ConTeXt mkiv
on my machine (VüDü Linux). The standard linux binaries dump core. Furthermore,
my system is not recognized by the Standalone installation script. Would it be 
possible
for Taco to add this architecture to luatex development - quickly - that is 
before Christmas,
as I have a major, life-depending project that has to be finished before next 
week?
Currently, I am stuck.

Luigi has volunteered to maintain the binaries (he has already developed
a general emacs script)

Alan

Minimal example:

../first-setup.sh
Error: your system "VüDü Linux - dead_badger" is not supported yet.


the webpage tells you to wear "one (1) pair latex gloves" so that must 
be the problem


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] Bug or feature?

2011-12-21 Thread Hans Hagen

On 21-12-2011 15:02, Wolfgang Schuster wrote:


-\setvalue{\??ut:\v!auto   }\setautostrut % \setvalue{\??ut:\v!auto   
}{\setautostrut}
+\letvalue{\??ut:\v!auto   }\setautostrut % \setvalue{\??ut:\v!auto   
}{\setautostrut}


ah, interesting that something works at all ... fixed

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] context instal

2011-12-21 Thread Henning Hraban Ramm

Am 2011-12-21 um 14:36 schrieb Alan Braslau:

Due to some particularities, I am having some problems running  
ConTeXt mkiv
on my machine (VüDü Linux). The standard linux binaries dump core.  
Furthermore,
my system is not recognized by the Standalone installation script.  
Would it be possible
for Taco to add this architecture to luatex development - quickly -  
that is before Christmas,
as I have a major, life-depending project that has to be finished  
before next week?

Currently, I am stuck.

Luigi has volunteered to maintain the binaries (he has already  
developed

a general emacs script)

Alan

Minimal example:

./first-setup.sh
Error: your system "VüDü Linux - dead_badger" is not supported yet.


Sorry, I should have told you... That article is rather outdated.
The developers of Vüdü Linux dropped support for badgers.
To get TeX running on Vüdü, it would be best to use a dead lion, but  
those are hard to get by and tend to go feral on you.

Try a domestic cat.
The only variant of TeX that runs on Vüdü nowadays is LunaticTeX; its  
native output format is DeVIl, but it also supports LightScribe via  
SilverLight. To get PDF output, you need to form a golem from adobe  
and plug it via a fresh umbilical cord (stem cell quality).
Maybe also Knuth’s iTeX will run, if you can afford a transdimensional  
license.


Seasoned greetlings,
Hraban
___
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] Bug or feature?

2011-12-21 Thread Wolfgang Schuster

Am 21.12.2011 um 12:50 schrieb Andreas Harder:

> Yes, you are right. My example was too minimal. I used \defineheadplacement 
> and since yesterdays beta the line break is introduced.
> 
> \starttext
> 
> \defineheadplacement[MyPlacement][vertical]
>  {\vbox{\localheadsetup\begstrut\blackrule[width=3cm] #2}}
> 
> \setuphead[subject][alternative=MyPlacement]
> 
> \subject{test Äg}
> 
> \stoptext

spac-ver.mkvi (change \setvalue to \letvalue)

-\setvalue{\??ut:\v!auto   }\setautostrut % \setvalue{\??ut:\v!auto   
}{\setautostrut}
+\letvalue{\??ut:\v!auto   }\setautostrut % \setvalue{\??ut:\v!auto   
}{\setautostrut}

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] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder

On 21.12.2011, at 14:39, Wolfgang Schuster wrote:

> 
> Am 21.12.2011 um 14:28 schrieb Andreas Harder:
> 
>> 
>> On 21.12.2011, at 14:20, Wolfgang Schuster wrote:
>> 
>>> 
>>> Am 21.12.2011 um 13:24 schrieb Andreas Harder:
>>> 
 Hi,
 
 is there a way to mimic the tabulate behavior with TABLE (or stable)?
>>> 
>>> You need “offset=0pt” and “strut=yes” (not left=\strut).
>> 
>> Thanks Wolfgang,
>> 
>> but it still not the hight from tabulate …
> 
> The here and also in your other question is that \begstrut is broken, when 
> you add (the definition of \begstrut)
> 
> \starttexcode
> \unexpanded\def\begstrut
>  {\relax\ifcase\strutht
> % \ignorespaces % maybe
>   \else
> \spacing_begstrut
>   \fi}
> \stoptexcode
> 
> at the begin of your example you get a output for TABLE and stable which 
> comes close to tabulate.

Thank you very much!

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] Preserve line height with TABLE

2011-12-21 Thread Wolfgang Schuster

Am 21.12.2011 um 14:28 schrieb Andreas Harder:

> 
> On 21.12.2011, at 14:20, Wolfgang Schuster wrote:
> 
>> 
>> Am 21.12.2011 um 13:24 schrieb Andreas Harder:
>> 
>>> Hi,
>>> 
>>> is there a way to mimic the tabulate behavior with TABLE (or stable)?
>> 
>> You need “offset=0pt” and “strut=yes” (not left=\strut).
> 
> Thanks Wolfgang,
> 
> but it still not the hight from tabulate …

The here and also in your other question is that \begstrut is broken, when you 
add (the definition of \begstrut)

\starttexcode
\unexpanded\def\begstrut
  {\relax\ifcase\strutht
 % \ignorespaces % maybe
   \else
 \spacing_begstrut
   \fi}
\stoptexcode

at the begin of your example you get a output for TABLE and stable which comes 
close to tabulate.

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] context instal

2011-12-21 Thread Alan Braslau
On Wed, Dec 21, 2011 at 11:50:18AM +0100, Henning Hraban Ramm wrote:
> 
> For reference see also 
> http://www.strangehorizons.com/2004/20040405/badger.shtml
> 

Mojca,

Due to some particularities, I am having some problems running ConTeXt mkiv
on my machine (VüDü Linux). The standard linux binaries dump core. Furthermore,
my system is not recognized by the Standalone installation script. Would it be 
possible
for Taco to add this architecture to luatex development - quickly - that is 
before Christmas,
as I have a major, life-depending project that has to be finished before next 
week?
Currently, I am stuck.

Luigi has volunteered to maintain the binaries (he has already developed
a general emacs script)

Alan

Minimal example:

./first-setup.sh
Error: your system "VüDü Linux - dead_badger" is not supported yet.
___
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] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder

On 21.12.2011, at 14:20, Wolfgang Schuster wrote:

> 
> Am 21.12.2011 um 13:24 schrieb Andreas Harder:
> 
>> Hi,
>> 
>> is there a way to mimic the tabulate behavior with TABLE (or stable)?
> 
> You need “offset=0pt” and “strut=yes” (not left=\strut).

Thanks Wolfgang,

but it still not the hight from tabulate …

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] Preserve line height with TABLE

2011-12-21 Thread Wolfgang Schuster

Am 21.12.2011 um 13:24 schrieb Andreas Harder:

> Hi,
> 
> is there a way to mimic the tabulate behavior with TABLE (or stable)?

You need “offset=0pt” and “strut=yes” (not left=\strut).

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] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder
Hi,

is there a way to mimic the tabulate behavior with TABLE (or xtable)?

\starttext

\def\HtTest#1%
  {\setbox\scratchbox\vbox{#1}hight=\the\ht\scratchbox\par\vbox{#1}\blank}

\HtTest{\strut
(Äg) first line\par
second line\par
(Äg) third line}

\setuptabulate[before=,after=,]
\HtTest{\starttabulate[|l|]
\NC (Äg) first line  \NC\NR
\NC second line  \NC\NR
\NC (Äg) third line  \NC\NR
\stoptabulate}

\HtTest{\bTABLE[frame=off,offset=overlay,left=\strut] % ,rulethickness=0pt
\bTR\bTD (Äg) first line  \eTD\eTR
\bTR\bTD second line  \eTD\eTR
\bTR\bTD (Äg) third line  \eTD\eTR
\eTABLE}

\HtTest{\startembeddedxtable[frame=off,offset=overlay]
  \startxrow \startxcell (Äg) first line \stopxcell \stopxrow
  \startxrow \startxcell second line \stopxcell \stopxrow
  \startxrow \startxcell (Äg) third line \stopxcell \stopxrow
\stopembeddedxtable}

\stoptext


Thanks in advance
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] Bug or feature?

2011-12-21 Thread Andreas Harder

On 21.12.2011, at 12:33, Wolfgang Schuster wrote:

> 
> Am 21.12.2011 um 12:04 schrieb Andreas Harder:
> 
>> Hi,
>> 
>> with the latest beta there is always a line break after a \blackrule … bug 
>> or feature?
>> 
>> \starttext
>> % \dontleavehmode%
>> \blackrule[width=3cm] unwanted line break!
>> \stoptext
> 
> It’s neither a bug nor a feature, just a result of TeX’s horizontal and 
> vertical modes, the same happens when you use \framed in vertical mode.
> 
> \starttext
> \framed{line 1}
> \framed{line 2}
> \stoptext

Yes, you are right. My example was too minimal. I used \defineheadplacement and 
since yesterdays beta the line break is introduced.

\starttext

\defineheadplacement[MyPlacement][vertical]
  {\vbox{\localheadsetup\begstrut\blackrule[width=3cm] #2}}

\setuphead[subject][alternative=MyPlacement]

\subject{test Äg}

\stoptext


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] context instal

2011-12-21 Thread luigi scarso
2011/12/20 Patrick Gundlach :
> Hello Marek,
>
>> Hi Mr. Gundlach
>> .Just want to say Im very dissapointed that no installing package of ConText 
>> exist. I mean like you install things in Win – two cliks and Done!
>> I was studying ConText whole afternoon and i liked it – But – im very very 
>> sick of this kind of installing. It just makes people like me to hate the 
>> whole thing about trying something else then MS Word. I was eager to learn 
>> this  ConText ant than BIIG! Frustration cause i could not run it. All 
>> those versions of packages - i wanted to shoot myself.
>>
>> Yea, i know you dont get paid for this,  BUT -  come on Mr. Gundla. Is it 
>> that hard to make one ABSOLUTE DUMMY PACKAGE (you geeks can call it how you 
>> want i know you like to use word dummies for people who are lesser geeks 
>> than you :) )  two cliks and lalala! Hello Word! You save afternoon to many 
>> other people :D Just think about it, ok?

I don't know if it's a private exchange of messages, but anyway...

1) ConTeXt comes in two flavour: mkii and mkiv. mkii uses pdftex, and
it's frozen, mkiv uses luatex and it's under active development

2) If you plan to use mkii, the simplest way is download and install
the latest texlive; it has an installer,  it's
full of fonts --- and it's big.

3) if you want to use mkiv, keep in mind that it's under active
development: things can change from a "release" (aka "beta") to
another and
a certain level of skill in system management  and programming is required
to manage the changes

4) the main developer uses Windows, and at least other two use Linux and Mac
because, following the TeX tradition, we try to be OS/distro-aware (at
least for the more
common OS)

5) ConTeXt (and TeX) is not like MS Word, even if there are some
programs that have a visual approach (TeXmacs, Texworks, for example,
but most of them use Latex)
For a properly configured system, an editor is almost all is needed.
Under Windows there is a very good support for Scite, but I use emacs
(so that I don't change anything when I switch to Linux )
and I don't have any kind of problem.


Given that, installing more than a mkiv-beta and/or install mkiv
frequently it's quite common, and for this task
the command line approach is better than other.
The instructions  for windows are
http://wiki.contextgarden.net/ConTeXt_Standalone#Installation_and_use_on_Windows
and are not particularly complicated
-- 
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] Bug or feature?

2011-12-21 Thread Wolfgang Schuster

Am 21.12.2011 um 12:04 schrieb Andreas Harder:

> Hi,
> 
> with the latest beta there is always a line break after a \blackrule … bug or 
> feature?
> 
> \starttext
>  % \dontleavehmode%
>  \blackrule[width=3cm] unwanted line break!
> \stoptext

It’s neither a bug nor a feature, just a result of TeX’s horizontal and 
vertical modes, the same happens when you use \framed in vertical mode.

\starttext
\framed{line 1}
\framed{line 2}
\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
___


[NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-21 Thread Zhichu Chen
Hi,

I wrote some CJK vertical typesetting macros in mkii a long time ago
and I want to adopt it to mkiv. Sadly the \iftracechinese is gone. Can
I still draw boxes of each glyph to see if they are aligned in my way?
Drawing a line in the background is so not cool.

-- 
Best Regards
Chen
___
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] Bug or feature?

2011-12-21 Thread Andreas Harder
Hi,

with the latest beta there is always a line break after a \blackrule … bug or 
feature?

\starttext
  % \dontleavehmode%
  \blackrule[width=3cm] unwanted line break!
\stoptext


Regards
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] context instal

2011-12-21 Thread Henning Hraban Ramm

Am 2011-12-20 um 22:46 schrieb Patrick Gundlach:

Well, ConTeXt _is_ hard to install. First you have to sacrifice one  
of your family members. Afterwards, you need to hum the magic chant  
in order to open your spirit. After you have done that, please draw  
a circle around your computer and put candles on it, making the  
shape of a pentagram. Now, and this is important, go six times  
clockwise around that circle, six times counter clockwise and then  
six times clockwise again. After that, turn on your computer and  
start your webbrowser and go to



Wikified: http://wiki.contextgarden.net/Humour#Installation_chant

Unfortunately you forgot the instructions on proper dressing (prefer  
fabric in Dutch weave, avoid latex) and details on the sacrifice.


For reference see also http://www.strangehorizons.com/2004/20040405/badger.shtml


Greetlings, Hraban
___
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 instal

2011-12-21 Thread Mojca Miklavec
2011/12/20 Patrick Gundlach wrote:
>>
>> .Just want to say Im very dissapointed that no installing package of ConText 
>> exist.
>> I mean like you install things in Win – two cliks and Done!

Sorry, but we don't install things in Windows. We use better operating systems.

> After that, turn on your computer and start your web browser and go to
>
> http://wiki.contextgarden.net/Simple_Windows_Installation
>
> and downlaod the installer.

That Windows installer has been known to be somewhat broken, so I
wouldn't suggest that at the moment.

(I got another offer for an installer during the conference, but my
procrastination on rewriting distribution scripts keeps him happily
waiting.)

But dear Mr. Jirkov - ConTeXt is NOT FOR ABSOLUTE DUMMIES. If you
create a stupid typo, you need to know how to proceed based on some
cryptic error message. And dummies often don't.

M.
___
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 instal

2011-12-21 Thread Patrick Gundlach
Hello Marek,

> Hi Mr. Gundlach
> .Just want to say Im very dissapointed that no installing package of ConText 
> exist. I mean like you install things in Win – two cliks and Done!
> I was studying ConText whole afternoon and i liked it – But – im very very 
> sick of this kind of installing. It just makes people like me to hate the 
> whole thing about trying something else then MS Word. I was eager to learn 
> this  ConText ant than BIIG! Frustration cause i could not run it. All 
> those versions of packages - i wanted to shoot myself.
> 
> Yea, i know you dont get paid for this,  BUT -  come on Mr. Gundla. Is it 
> that hard to make one ABSOLUTE DUMMY PACKAGE (you geeks can call it how you 
> want i know you like to use word dummies for people who are lesser geeks than 
> you :) )  two cliks and lalala! Hello Word! You save afternoon to many other 
> people :D Just think about it, ok?

Well, ConTeXt _is_ hard to install. First you have to sacrifice one of your 
family members. Afterwards, you need to hum the magic chant in order to open 
your spirit. After you have done that, please draw a circle around your 
computer and put candles on it, making the shape of a pentagram. Now, and this 
is important, go six times clockwise around that circle, six times counter 
clockwise and then six times clockwise again. After that, turn on your computer 
and start your webbrowser and go to

http://wiki.contextgarden.net/Simple_Windows_Installation

and downlaod the installer.

Sincerely your Mr. Gundla

___
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] keep tabulate lines together

2011-12-21 Thread Henning Hraban Ramm


Am 2011-12-20 um 17:17 schrieb Hans Hagen:


On 20-12-2011 13:07, Henning Hraban Ramm wrote:


I’d like to allow page breaks only at the horizontal lines to keep  
whole

address blocks together. Is that possible?


I've added \NB in the next beta

   \starttabulate
   \FL
   \NC test \NC test \NC \NB
   \ML
   \NC test \NC test \NC \NB
   \NC test \NC test \NC \NB
   \ML
   \NC test \NC test \NC \NB
   \NC test \NC test \NC \NB
   \LL
   \stoptabulate

Rather untested .. and you know the price ... wikifying.



Great! That works exactly like I need it!
Wikified: http://wiki.contextgarden.net/Tabulate#Basic_commands

Season’s Greetlings!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] fun with markings

2011-12-21 Thread Henning Hraban Ramm

Am 2011-12-20 um 18:14 schrieb Hans Hagen:

Marks are somewhat special in the sense that they can be loners or  
part of a chain (chapter-section-...) with special reset requirements.


As tex's natural model has some limitations, in mkiv we do things a  
bit diffrent (but rather well defined). When a set of marks on a  
page is identified, the following keywords can be used:


previous : last before sync
next : first after sync

top  : first in sync
bottom   : last in sync

first: first not top in sync
last : last not bottom in sync

so, you need to use 'top' and 'bottom'. When the chain is to be  
ignored, one can append ":nocheck" to the keyword. There's also a  
'current' method.


Thank you very much! The top and bottom keywords were missing in the  
reference.

Wikified: http://wiki.contextgarden.net/Reference/en/getmarking

I don’t really understand what you’re saying, but it works for me.




Season’s Greetlings!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Footnote Problem

2011-12-21 Thread Hans Hagen

On 21-12-2011 06:33, Kip Warner wrote:

On Wed, 2011-11-16 at 00:09 +0100, Wolfgang Schuster wrote:

Am 15.11.2011 um 20:41 schrieb Kip Warner:


On Tue, 2011-11-15 at 09:42 +0100, Wolfgang Schuster wrote:

Am 15.11.2011 um 06:57 schrieb Kip Warner:


Hey folks,

The second \footnote doesn't show in the generated PDF. The number is
listed where it should at the end of the sentence, but the text of the
footnote is not listed at the bottom of the page.


Add \automigrateinserts to your document.

Wolfgang



Thanks Wolfgang, but should that be in the environment file or can it go
anywhere?


Put it in the preamble of your document which can be a environment file or just 
before \starttext.

Wolfgang


Hey Wolfgang. The problem now is that the footnote sits inside of
textbackground boxes at the bottom of them. I'd like them instead at
the bottom of the page with the rest of my footnotes. How is this done?
Sorry to pester you, but you and Hans seem to be the ConTeXt gurus.


you can play with

\setconstant\kindofpagetextareas\plusone

(some day there will be a proper setting)

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