Re: [NTG-context] TABLE moves to the right with new ConTeXt

2006-12-02 Thread Wolfgang Schuster
On Fri, 01 Dec 2006 21:40:34 +0100 (CET)
Peter Münster [EMAIL PROTECTED] wrote:

Hi Peter

 Hello,
 
 with the latest ConTeXt, it seems, that space around \bTR, \eTR, before
 \bTD and after \eTD matters. Such space seems to move the whole TABLE to
 the right:
 
 \def\XXX#1{\bTR\bTD#1\eTD\eTR}

Right, there was no problem with latest stable version from august.

I can't find the problematic code in the source, but workarround for
you, that works.

\def\XXX#1{\bTR\bTD#1\eTD\eTR\ignorespaces} works as expected.

 \starttext
 \centerline{\bTABLE\dorecurse{2}{\XXX{bla}}\eTABLE}
 \centerline{\bTABLE\dorecurse{2}{\XXX{bla}
 }\eTABLE}
 \centerline{\bTABLE\dorecurse{20}{\XXX{bla} % Why does this space matter here?
 }\eTABLE}
 \stoptext
 
 Is this behaviour normal and wanted?
 
 Cheers, Peter
 
 
 P.S.: What about http://context.literatesolutions.com/collector/ ?
 
 -- 
 http://pmrb.free.fr/contact/

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startquotation, \cite and footnotes

2006-12-02 Thread Oliver Buerschaper
Hi,

I've been wondering whether someone (perhaps Taco?) can give me a  
hint on the following:

1. Is there an automated way to place citations into footnotes? So  
whenever I use \cite in the running text it should produce a footnote  
with the reference alongside the usual footnotes. However, when \cite  
is invoked within a footnote it should just type out the reference  
inline (in the footnote, of course ;-). So far I've done this  
manually with \footnote{\cite{key}} (which at times produced its own  
strange results like two footnote blocks on the same page).

2. When typesetting a quotation block I'd like to add a reference  
directly after the closing quotation marks. However, including the  
\cite command before \stopquotation places the reference before the  
closing marks, and moving \cite out of the \start \stop block makes  
the reference appear on a new line ...

Any help highly appreciated!

Cheers,
Oliver
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Context, Metapost \sometxt and color

2006-12-02 Thread Wim Neimeijer
Hi

The following used to work, the text came out in the color red, now it 
is shown in black.
Am I doing something wrong here ? Or should I use something else instead ?
Any help appreciated

% example code
\setupcolors[state=start]
\starttext
\startMPcode
picture p;
p := \sometxt{$R_{\mu \nu } - \frac{1}{2} R - \Lambda g_{\mu \nu} = 
\kappa T_{\mu \nu}$} ;
p := p scaled 3;
draw p withcolor red;
\stopMPcode
\stoptext

Version info
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)
 \write18 enabled.
ConTeXt  ver: 2006.11.29 09:55 MK II  fmt: 2006.12.2  int: english/english

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context, Metapost \sometxt and color

2006-12-02 Thread Mojca Miklavec
On 12/2/06, Wim Neimeijer wrote:
 Hi

 The following used to work, the text came out in the color red, now it
 is shown in black.
 Am I doing something wrong here ? Or should I use something else instead ?
 Any help appreciated

Add
\chardef\TeXtextcolormode\zerocount
to your document or cont-usr.tex.

(an alternative is to use \sometxt{\color[red]{something}})

Or even better: vote for it to become the default value before color
stacks are implemented (at least that's what I understood).

Hans had to add a feature and fix a little bug in \sometxt on my
request, but I don't understand why one is the default value now
either.

 % example code
 \setupcolors[state=start]
 \starttext
 \startMPcode
 picture p;
 p := \sometxt{$R_{\mu \nu } - \frac{1}{2} R - \Lambda g_{\mu \nu} =
 \kappa T_{\mu \nu}$} ;
 p := p scaled 3;
 draw p withcolor red;
 \stopMPcode
 \stoptext


Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] OpenOffice export

2006-12-02 Thread Idris Samawi Hamid
Hi gang,

I just learned that OOo 2.04 has a LaTeX export (downloading now). Any of  
you bright programmers up to writing a ConTeXt export (or porting the  
LaTeX filters to ConTeXt)?

I'm quite serious: if anyone is interested I'll write (or help write) a  
grant proposal for it (I've already had some TeX-related proposals funded  
so...).

Please write me if you are interested in a grant, or else we can just  
discuss it on dev-context@ntg.nl and get it done another way!

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] OpenOffice export

2006-12-02 Thread Thomas A. Schmitz
Idris,

not to sound negative, but I remember looking at it, and as far as I  
could see, they have just integrated writer2latex ( http://www.hj- 
gym.dk/~hj/writer2latex/ ) into OOo. It's a wonderful thing to have,  
but it has been around for a while; the only thing that's new is the  
integration. As to ConTeXt export: writer2latex can be customized in  
a number of ways. For the basic stuff, you can get output that looks  
a lot like ConTeXt, just don't expect miracles (don't expect miracles  
for LaTeX, either, btw).

Best

Thomas

On Dec 2, 2006, at 8:13 PM, Idris Samawi Hamid wrote:

 Hi gang,

 I just learned that OOo 2.04 has a LaTeX export (downloading now).  
 Any of
 you bright programmers up to writing a ConTeXt export (or porting the
 LaTeX filters to ConTeXt)?

 I'm quite serious: if anyone is interested I'll write (or help  
 write) a
 grant proposal for it (I've already had some TeX-related proposals  
 funded
 so...).

 Please write me if you are interested in a grant, or else we can just
 discuss it on dev-context@ntg.nl and get it done another way!

 Best
 Idris

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Bug with \quotation ?

2006-12-02 Thread Thomas A. Schmitz
Hi all,

there seems to be a bug with the \quotation command: ConTeXt doesn't  
break the line after the closing quotes it generates. Here's a small  
test file showing the problem (hope the utf-encoding makes it through  
the mail):

\enableregime[utf]

\setuppapersize[A5][A4]

\mainlanguage[deo]

\starttext

\quotation{langwierigerer, langweiliger, zufälliger, unrepräsentativer}
Schmuck Test Test Test Test Test Test Test Test Test Test Test Test Test
Test Test Test Test Test Test Test Test Test Test Test Test Test Test  
Test
Test Test Test Test Test Test Test

\en

\quotation{overly beautiful pusillanimous sesquipedalian longwinded}  
test
test test test test test test test test test test test test test test  
test
test test test test test test test test test test test test test test  
test
test test test test test test test test test test test test test test  
test
test test test test test test test

\stoptext

I tried reading core-mis.tex, but wasn't able to find where this  
behavior comes from.

Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-12-02 Thread Renaud Aubin
Hi Hans,
 i'm no sure what you mean here

 Hans
As a sample is better than words, the following code contains the 
problems induced by the use of \useencoding[ffr]. The first part is only 
here to ensure the correct horizontal spacing. The second part raises 
the problem related to the use of : within ref. The last part is 
dedicated to the well identified MP-related problem.

\useencoding[ffr]
\mainlanguage[fr]

\starttext

text:\blank
text;\blank
text?\blank
text!\blank

A sample table is given: \in{tableau}[tab:mytab].

\placetable[here][tab:mytab]{Test}{
\bTABLE
\bTR
\bTD test \eTD
\bTD test \eTD
\eTR
\eTABLE
}
\stopmode

\startuseMPgraphic{test}
numeric u;
u:=1cm;

draw origin--(10u,10u);
\stopuseMPgraphic

\useMPgraphic{test}

\stoptext


Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context