Re[2]: [NTG-context] ConTeXt Switcher?

2003-12-08 Thread Giuseppe Bilotta
Monday, December 8, 2003 Bob Kerstetter wrote:

> I know XML source should work, but at least for me, creating XML source
> is unproductive.  I work with a text editor and find writing this:

> ``Hello world,'' says HAL.

> much more productive than writing this:

> “Hello world”, says HAL.

> Maybe I'm missing something, but for writing, XML's markup requirements
> -- which are invisible to field-based data entry screen -- are way too
> intense for hand-editing. TeX source is much less verbose. It is easier
> to create, proof (both visually and audibly),  spell check 
> troubleshoot, etc. I have not seen an editor capable of doing XML
> source in a productive manner, like (La)TeX with text editor.

I agree with you. Productive editing of XML document requires
specialized editors, and I still haven't found an (open source)
one that was up to the task. Vex is quite promising, in this
regard.

-- 
Giuseppe "Oblomov" Bilotta

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt Switcher?

2003-12-08 Thread Bob Kerstetter
On Dec 8, 2003, at 2:33 PM, Henning Hraban Ramm wrote:

Am Montag, 08.12.03, um 18:20 Uhr (Europe/Zurich) schrieb Bob 
Kerstetter:
ConTeXt is very attractive because of its detailed control, layers, 
colors, few or no packages(!), magical developers, and on and on. 
It can obvious produce PDF. Can it also produce HTML and Word from 
the same document?
The normal way to get both PDF and HTML is using a XML source.
You know of ConTeXts native XML mode?
AFAIK you can import XML or HTML into MS Office, too, so you need no 
real Word DOC output.
Or perhaps there's an other XML to RTF/DOC Konverter...
I know XML source should work, but at least for me, creating XML source 
is unproductive.  I work with a text editor and find writing this:

``Hello world,'' says HAL.

much more productive than writing this:

“Hello world”, says HAL.

Maybe I'm missing something, but for writing, XML's markup requirements 
-- which are invisible to field-based data entry screen -- are way too 
intense for hand-editing. TeX source is much less verbose. It is easier 
to create, proof (both visually and audibly),  spell check 
troubleshoot, etc. I have not seen an editor capable of doing XML 
source in a productive manner, like (La)TeX with text editor. 
OmniOutliner for OS X is close to being close, but too far from the 
goal to use. Is there some "special thing" I don't know? ???

Thanks.

Bob Kerstetter
http://homepage.mac.com/bkerstetter/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt Switcher?

2003-12-08 Thread Bob Kerstetter
On Dec 8, 2003, at 12:55 PM, Peter Münster wrote:

On Mon, 8 Dec 2003, Bob Kerstetter wrote:

It can obvious produce PDF. Can it also produce HTML and Word from the
same document?
Hello,
I like TeX4ht for LaTeX. It would be great, if TeX4ht and ConTeXt work
together. It seems, that it works well with plain-TeX, so why not with
ConTeXt?
TeX4ht is excellent. It's what I use for LaTeX to HTML and Word (via 
HTML convertion). It would require writing a custom configuration file 
to make it work with ConTeXt. I could be done, I just don't know how to 
do it. I have tried repeated to understand TeX4ht's conversion, but 
have never succeeded.

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt Switcher?

2003-12-08 Thread Henning Hraban Ramm
Am Montag, 08.12.03, um 18:20 Uhr (Europe/Zurich) schrieb Bob 
Kerstetter:
ConTeXt is very attractive because of its detailed control, layers, 
colors, few or no packages(!), magical developers, and on and on. 
It can obvious produce PDF. Can it also produce HTML and Word from the 
same document?
The normal way to get both PDF and HTML is using a XML source.
You know of ConTeXts native XML mode?
AFAIK you can import XML or HTML into MS Office, too, so you need no 
real Word DOC output.
Or perhaps there's an other XML to RTF/DOC Konverter...

Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt Switcher?

2003-12-08 Thread Peter Münster
On Mon, 8 Dec 2003, Bob Kerstetter wrote:

> It can obvious produce PDF. Can it also produce HTML and Word from the
> same document?

Hello,
I like TeX4ht for LaTeX. It would be great, if TeX4ht and ConTeXt work
together. It seems, that it works well with plain-TeX, so why not with
ConTeXt?
Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Context-mode for Emacs 21.3

2003-12-08 Thread Patrick Gundlach
Peter Münster <[EMAIL PROTECTED]> writes:

> is there already some comparison between these 2 modes somewhere
> (advantages/disadvantages)?

None that I know of. I have compared these two at the DANTE Meeting
in April this year. But nothing written down. I guess that if you
use AUCTeX with LaTeX files, you might stick to AUCTeX (cvs version).
But if you have no choice made yet, try out Berend's mode.

BTW: don't miss etexshow! http://levana.de/emacs/

Patrick
-- 
mon trainsistor j'adore
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Context-mode for Emacs 21.3

2003-12-08 Thread Peter Münster
On Mon, 8 Dec 2003, Patrick Gundlach wrote:

> Oh, don't mix up Berend's mode and AUCTeX. The have nothing in
> common, except that they are written in elisp and handle TeX input
> files.

Hello,
is there already some comparison between these 2 modes somewhere
(advantages/disadvantages)?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread Giuseppe Bilotta
Monday, December 8, 2003 David Munger wrote:

>> Monday, December 8, 2003 Giuseppe Bilotta wrote:
>> 
>> > Regarding your problem(s):
>> 
>> > * with the ConTeXt version I have (2003.09.26), all lines in
>> > the gather are separate. The whole block has a single number,
>> > though. This is both with, and without nath.
>> 
>> > * formula (sub)numbering needs a good cleanup in ConTeXt (just
>> > like math support in general ...). I need to discuss the thing
>> > with Hans before being able to fix the thing in amsl and/or
>> > nath.
>> 
>> Ok, I think I found what's going wrong.

> Actually you did! :) One number per line, great! Thank you.

It is true that each of them is numbered, but there's a problem
with referencing (i.e. you cannot reference the equations past
the first in the group). I have to implement LaTeX-style \label and \tag
commands for this. But that's something quite complex, and it's
going to need a bunch of hooks in the core, so it'll have to
wait. And of course subnumbering has to be implemented yet.

-- 
Giuseppe "Oblomov" Bilotta

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re[2]: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread Giuseppe Bilotta
Monday, December 8, 2003 David Munger wrote:

>> What version of ConTeXt are you using?

> texexec says:
> ConTeXt  ver: 2003.1.31  fmt: 2003.10.4  int: english  mes: english

> I'm using the version included in debian unstable's tetex package.

That's pretty old. May I suggest an upgrade? (It wouldn't have
fixed the problem, and actually created a couple of new ones,
but at least we would have been using the same versions ;))

>> * formula (sub)numbering needs a good cleanup in ConTeXt (just
>> like math support in general ...). I need to discuss the thing
>> with Hans before being able to fix the thing in amsl and/or
>> nath.

> I just started using ConTeXt for writing scientific papers. Before I was aware
> of the nath module, writing math was tedious. But now, in my opinion, your
> nath module does the trick pretty well.

> Thanks for helping,

Thank you too :)

-- 
Giuseppe "Oblomov" Bilotta

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Context-mode for Emacs 21.3

2003-12-08 Thread Patrick Gundlach
Hi,

> the contex.el from Berend de Boer does not work properly on Emacs 
> 21.3. I assume this is because Emacs now has a fill algorithm that 
> works independently of auctex.

Oh, don't mix up Berend's mode and AUCTeX. The have nothing in
common, except that they are written in elisp and handle TeX input
files.

> Is there another Context-mode for Emacs?

Either use Berend's mode *or* the newsest (cvs) AUCTeX.


Patrick
-- 
mon trainsistor j'adore
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re : [NTG-context] Re: [NTG-context] Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
Monday, December 8, 2003 Giuseppe Bilotta wrote:

> Regarding your problem(s):

> * with the ConTeXt version I have (2003.09.26), all lines in
> the gather are separate. The whole block has a single number,
> though. This is both with, and without nath.
> * formula (sub)numbering needs a good cleanup in ConTeXt (just
> like math support in general ...). I need to discuss the thing
> with Hans before being able to fix the thing in amsl and/or
> nath.
Ok, I think I found what's going wrong.
Actually you did! :) One number per line, great! Thank you.

David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
What version of ConTeXt are you using?
texexec says:
ConTeXt  ver: 2003.1.31  fmt: 2003.10.4  int: english  mes: english
I'm using the version included in debian unstable's tetex package.


* formula (sub)numbering needs a good cleanup in ConTeXt (just
like math support in general ...). I need to discuss the thing
with Hans before being able to fix the thing in amsl and/or
nath.
I just started using ConTeXt for writing scientific papers. Before I was aware  
of the nath module, writing math was tedious. But now, in my opinion, your  
nath module does the trick pretty well.

Thanks for helping,

David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt Switcher?

2003-12-08 Thread Bob Kerstetter
Hello ConTeXt Users,

I have been using LaTeX for 15 months or so. From one source document I 
am able to produce:

1. PDF
2. HTML
3. Word (via HTML conversion)
ConTeXt is very attractive because of its detailed control, layers, 
colors, few or no packages(!), magical developers, and on and on. 
It can obvious produce PDF. Can it also produce HTML and Word from the 
same document?

Thanks,

Bob Kerstetter
http://homepage.mac.com/bkerstetter/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [NTG-context] Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread Giuseppe Bilotta
Monday, December 8, 2003 Giuseppe Bilotta wrote:

> Regarding your problem(s):

> * with the ConTeXt version I have (2003.09.26), all lines in
> the gather are separate. The whole block has a single number,
> though. This is both with, and without nath.

> * formula (sub)numbering needs a good cleanup in ConTeXt (just
> like math support in general ...). I need to discuss the thing
> with Hans before being able to fix the thing in amsl and/or
> nath.

Ok, I think I found what's going wrong.

David, please download the updated t-amsl.tex and t-nath.tex
from CTAN; then edit t-nath.tex and look for the line

\usemodule[amsl]

move it to the top of the file (after the "%D updated ..."
line). Secondly, look for the definition of [EMAIL PROTECTED] and
replace it with

[EMAIL PROTECTED]
\dmathoff@
  \egroup
\stopnatheq
  \stopformula
  \stop
  \ifnumberedgather
\expandafter\plaatsformule
  \fi
  \start
  [EMAIL PROTECTED]@cr}%
  [EMAIL PROTECTED]
  \dostartformula{nathgather}
\startnatheq
  \hbox\bgroup
\dmathon@
\mathopen{}%
}

And have another go :)

-- 
Giuseppe "Oblomov" Bilotta


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Context-mode for Emacs 21.3

2003-12-08 Thread Boris Hollas
Hello,

the contex.el from Berend de Boer does not work properly on Emacs 
21.3. I assume this is because Emacs now has a fill algorithm that 
works independently of auctex.

Is there another Context-mode for Emacs?

Boris Hollas

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
> \placeformula
> \startgather
>  f(x) = x   \\
>  g(x) = x^2 \\
>  h(x) = x^3
> \stopgather

I will look into this. Are you using amsl only or nath too?
It works well with amsl only. Though it would be nice to have an option to  
chose between individual numbering or one number for all equations.

The bug happens when using nath too.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
Hello Giuseppe, you've done a great work with amsl an nath modules!

Seems that there is a little bug when you try to gather more than two  
formulas:

\placeformula
\startgather
 f(x) = x   \\
 g(x) = x^2 \\
 h(x) = x^3
\stopgather
When doing so, I end up with the last two equations on the same line, with the  
same equation number.

Thanks!

David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread Giuseppe Bilotta
Monday, December 8, 2003 David Munger wrote:

>> > \placeformula
>> > \startgather
>> >  f(x) = x   \\
>> >  g(x) = x^2 \\
>> >  h(x) = x^3
>> > \stopgather

>> I will look into this. Are you using amsl only or nath too?

> It works well with amsl only. Though it would be nice to have an option to
> chose between individual numbering or one number for all equations.

> The bug happens when using nath too.

What version of ConTeXt are you using?

With the one I have here, there seems to have been some change
in the core that made your example bomb out ... gather and
align couldn't be used after \placeformula at all. I made a
quick fix to amsl for that. Now at least they work both with
and without nath.

Regarding your problem(s):

* with the ConTeXt version I have (2003.09.26), all lines in
the gather are separate. The whole block has a single number,
though. This is both with, and without nath.

* formula (sub)numbering needs a good cleanup in ConTeXt (just
like math support in general ...). I need to discuss the thing
with Hans before being able to fix the thing in amsl and/or
nath.

-- 
Giuseppe "Oblomov" Bilotta




___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] spanish

2003-12-08 Thread Laura
On Sat, 06 Dec 2003 15:23:24 +0100
Hans Hagen <[EMAIL PROTECTED]> wrote:


> >I have been reading lang-ita.tex to see how a language is
> >defined. There are some errors. I have compare the translation with those
> >done by Javier Bezos in
> >spanish for babel ( he has studied spanish typesetting to build the style)
> 
> So, you suggest:
> 
> \setupheadtext [\s!es] [\v!tabellen=Cuadros] % in Spain

  tablas in some country of Latinoam\'erica

> \setupheadtext [\s!es] [\v!figuren=Figuras]
> \setupheadtext [\s!es] [\v!intermezzos=intermedios]
> \setupheadtext [\s!es] [\v!afkortingen=Abreviaci\'ones]

 Abreviaciones

> \setupheadtext [\s!es] [\v!eenheden=Unidades]
> 
> \setuplabeltext [\s!es] [\v!tabel=Cuadro ]
> \setuplabeltext [\s!es] [\v!figuur=Figura ]
> \setuplabeltext [\s!es] [\v!intermezzo=intermedio ]% for instance some 
> intermdiate (often framed) textual intermezzo
> \setuplabeltext [\s!es] [\v!january=enero]
> \setuplabeltext [\s!es] [\v!september=septiembre]
> \setuplabeltext [\s!es] [\v!december=diciembre]
> 
> Are there other spanish users out there who disagree? If not, i'll patch ...
> 




--
Laura


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] page arrangement

2003-12-08 Thread Hans Hagen
At 02:53 08/12/2003, you wrote:
 Hallo ConTeXt list members,

 I'd like to arrange A5 landscape pages to A4 in this order
 --- ---------   ------
 |   1| |2   ||5   ||6   |   |9   |
 |   10  |
 --- ---------   ------
 |   3| |4   ||7   ||8   |   |   11  |
 |   12  |
 --- ---------   ------
 for doublesided printing. I'd tried to set \setuparranging[2DOWN] or
 \setuparranging[2TOP] but it is not desired arrangement. I also
experimented
 with \pusharrangedpage... \poparrangedpages... \handlearrangedpage...
macros
 but I wasn't succsessful.
 Please, can somebody help me?
Send answer also to my private address [EMAIL PROTECTED] since my dial up
connection due to long time traveling does not enable to be member of the
lively conference.
\installpagearrangement 4SIDE
  {\dosetuparrangement{1}{2}{4}{2}{3}%
 \pusharrangedpageFOURSIDE\poparrangedpagesFOURSIDE\handlearrangedpageTOP}
\def\pusharrangedpageFOURSIDE#1%
  {\doglobal\increment\arrangedpageN
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  1
   \or \handlearrangedpageXandY{#1}000\arrangedpageC %  2
   \or \handlearrangedpageXandY{#1}000\arrangedpageB %  1
   \or \handlearrangedpageXandY{#1}000\arrangedpageD %  2
 \poparrangedpages
   \fi}
\def\poparrangedpagesFOURSIDE
  {\bgroup
   \gdef\arrangedpageN{2}%
   \poparrangedpagesTWO
   \let\arrangedpageA\arrangedpageC
   \let\arrangedpageB\arrangedpageD
   \gdef\arrangedpageN{2}%
   \poparrangedpagesTWO
   \egroup}
\setuppapersize[A5,landscape][A4]
\setuparranging[4SIDE]
\starttext

\dorecurse{20}{\input tufte \page}

\stoptext

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \currenttime ?

2003-12-08 Thread Hans Hagen
At 21:25 07/12/2003, you wrote:
Hello all,

I'm looking for a mechanism to insert the current time -- time of
processing with texexec. Is there a similar command like \currentdate?
There is indeed a command \currenttime ; the time is frozen at startup time

Hans  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: footnote marker

2003-12-08 Thread Hans Hagen
...

For example I would like to have footnote marker SansSerif.
You're lucky that currently i'm merging in the experimental multiple 
footnote and line notes modules (needed by idris cum suis); so adding a few 
additional keys was easy:

\starttext

\setupcolors[state=start]
\setupfootnotes[textcommand=\high,textstyle=\ss\tx,textcolor=red]
test \footnotetext{test} test test \note\ test

test \footnotetext{test} test test \notesymbol[footnote]\ test

\stoptext

If I would do it with the conversion key like this...

\setupbodyfont[4pt]
\setupinterlinespace[line=45pt]
\definefont [FNfont][Sans at 
10.5pt]\def\setfootnotebodyfont{\FNfont\setupinterlinespace[line=13pt]}
\definefont [FNXfont][Serif at 10.5pt]\setupfootnotedefinition[style=\FNXfont]
btw, you can say: \definefont [FNfont][Sans at 10.5pt][interlinespace=13pt]

\defineconversion[HowAboutIt][\ss]
\setupfootnotes[conversion=HowAboutIt,numbercommand=]
hm, this is not what conversion is meant for -) conversion is fed a number 
so you end up in a mix up of conversion and font switching and actully luck 
that you get something

... then suddenly the number in front of the footnote text becomes 4pt.
If I do it without conversion...
\setupfootnotes[numbercommand=]
... then the number in front of the footnote text is 19.5 -- as defined in 
FNfont.

That's why I felt the conversion key is not so reliable in this case.
a good observation -)

Hans  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context