Re: [NTG-context] Emacs

2003-07-28 Thread Mari Voipio
On Sat, 26 Jul 2003, David Arnold wrote:
 What can people tell me about setting up Emacs to work with Context?

I use TeXLive7 + NTEmacs + Berend Boer's context.el (ConTeXt mode) and my
OS is Windows (NT/2000/XP depending on the computer I happen to be using).
I tried using WinEdt as the editor, but as I was already familiar with
Emacs I found that using NtEmacs was a lot easier (less mousework, too)
and I now do all my ConTeXt work with this setup.

NTEmacs comes on the TeXLive CD so installing it is very easy, this can be
done in connection with the TeXLive installation or right after it. I've
never had problems with the Emacs part of the installation. :-)

After installing TeXLive and NTEmacs I go to Berend's homepage and get the
context.el (http://www.berenddeboer.net/emacs/index.html), create a .emacs
settings file and add the required lines in there (or, nowadays, I just
copy my old .emacs from another computer); the README tells you what to
do. Or, if you think it will be helpful, I can give you a copy of mine or
the relevant lines of mine.

There's another helpful Emacs mode that I've downloaded (and made work) on
one of the computers I use, but I haven't really gotten used to it yet;
should be real handy, though: etexshow, Patrick Gundlach's browser for
ConTeXt commands. That you can get at http://levana.de/emacs/.

I have no idea how to make things work in unix or linux, but the Windows
part is not too bad if one has an idea of Emacs otherwise.


Hope this helps,
Mari
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to get the characters in the attached pdf file using ConTeXt

2003-07-28 Thread Charles Doherty
Dear all,

I have sent this email twice already but return messages said that it 
was too large and would be posted at the discretion of the 
administrator. I had attached a sample file using only one word from 
the original .pdf file in the hope that it would be small enough. 
Obviously not! Apologies if I have broken protocol. This time I have 
not included an attachment. Apologies again!

I could get the proper characters as seen in the attached sample file 
using LaTeX with the preamble:
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[applemac]{inputenc}

The result can be seen below. But I would like to achieve this in 
ConTeXt (not necessarily with Palatino). Can anyone give me advice on 
the setup commands needed. I have tried various ways but nothing has 
worked so far. My ConTeXt input file looks like this without any of the 
setups that I had been trying. I am using Gerben's installation on a 
Mac G4 OS 10.2.6. Also what command do I need in order to use mac 
inputencoding in ConTeXt? I think I saw it mentioned in one of the 
manuals but I cannot find it again. Of course for the \dh and \k in 
LaTeX I could not use Mac inputencoding.

Thank you very much in advance,

Charlie Doherty

 \definedescription
[term]
[location=serried,headstyle=bold,width=broad,before=\blank,after=\blank]
\starttext

\term {Lambay}  {\em Lamb-\o y}, `Lamb island'. Island north of
Howth Head.
\term {Larne}  {\em Ulfreksfj\k{o}r\dh r}, `Ulfrekr's fjord'.
Now the town of Larne in Co.\ Antrim.
   \stoptext



**
Charles Doherty,
Department of Early Irish History,
University College Dublin,
Belfield,
Dublin 4
Ireland
Telephone +353 1 7168381
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] beginner's hazzles with backgrounds and definitions.

2003-07-28 Thread Matthias Weber
Hi,

I am new to context, migrating from latex for the purpose of writing an
online book. I would like to set up a few definitions in the 
environment file
that would replace latex's  \begin{definition} ... \end{definition}
environments. I realize that this can  be done conveniently with 
\defineenumeration,
but I want of course a few more features in it then in latex's setup. 
For example, I'd like to have the
definition typeset in some color against some background. I tried the 
following
in the environment file:

\setupcolors[state=start]

\definetextbackground
[defbackground]
[backgroundcolor=blue,
backgroundoffset=.25cm,
offset=.25cm,
frame=off,
location=paragraph,
color=green]
\defineenumeration
[definition]
[text=Definition,
location=left,
before={\starttextbackground[defbackground]},
after={\stoptextbackground},
letter=it]
Then, in the text, when I use

\startdefinition
This is my definition.
\stopdefinition
the text comes out green all right, but the blue background is  smeared 
all over two pages.
I have tried a few modifications to no avail, so I fear I am doing it 
all wrong.

Curiously, when I typeset the above th first time, I only get the green 
text (no blue), and the
mess shows only up when typesetting the second time.

Any help?

Thanks,

Matthias

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


[NTG-context] How to get the characters in the attached pdf file using ConTeXt

2003-07-28 Thread Charles Doherty
Dear all,

I have sent this email already but a return message said that it was 
too large and would be posted at the discretion of the administrator. 
So I have made a sample file using only one word from the original .pdf 
file in the hope that it would be small enough. Apologies if I have 
broken protocol.

I could get the proper characters as seen in the attached sample file 
using LaTeX with the preamble:
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[applemac]{inputenc}

The result can be seen below. But I would like to achieve this in 
ConTeXt (not necessarily with Palatino). Can anyone give me advice on 
the setup commands needed. I have tried various ways but nothing has 
worked so far. My ConTeXt input file looks like this without any of the 
setups that I had been trying. I am using Gerben's installation on a 
Mac G4 OS 10.2.6. Also what command do I need in order to use mac 
inputencoding in ConTeXt? I think I saw it mentioned in one of the 
manuals but I cannot find it again. Of course for the \dh and \k in 
LaTeX I could not use Mac inputencoding.

Thank you very much in advance,

Charlie Doherty

 \definedescription
[term]
[location=serried,headstyle=bold,width=broad,before=\blank,after=\blank]
\starttext

\term {Lambay}  {\em Lamb-\o y}, `Lamb island'. Island north of
Howth Head.
\term {Larne}  {\em Ulfreksfj\k{o}r\dh r}, `Ulfrekr's fjord'.
Now the town of Larne in Co.\ Antrim.
   \stoptext




texshop_image.pdf
Description: Adobe PDF document


**

Charles Doherty,
Department of Early Irish History,
University College Dublin,
Belfield,
Dublin 4
Ireland
Telephone +353 1 7168381


Re: [NTG-context] Emacs

2003-07-28 Thread David Arnold
Mari,

Thanks. I have all of this working.

At 10:33 AM 7/28/03 +0300, you wrote:
On Sat, 26 Jul 2003, David Arnold wrote:
 What can people tell me about setting up Emacs to work with Context?

I use TeXLive7 + NTEmacs + Berend Boer's context.el (ConTeXt mode) and my
OS is Windows (NT/2000/XP depending on the computer I happen to be using).
I tried using WinEdt as the editor, but as I was already familiar with
Emacs I found that using NtEmacs was a lot easier (less mousework, too)
and I now do all my ConTeXt work with this setup.

NTEmacs comes on the TeXLive CD so installing it is very easy, this can be
done in connection with the TeXLive installation or right after it. I've
never had problems with the Emacs part of the installation. :-)

After installing TeXLive and NTEmacs I go to Berend's homepage and get the
context.el (http://www.berenddeboer.net/emacs/index.html), create a .emacs
settings file and add the required lines in there (or, nowadays, I just
copy my old .emacs from another computer); the README tells you what to
do. Or, if you think it will be helpful, I can give you a copy of mine or
the relevant lines of mine.

There's another helpful Emacs mode that I've downloaded (and made work) on
one of the computers I use, but I haven't really gotten used to it yet;
should be real handy, though: etexshow, Patrick Gundlach's browser for
ConTeXt commands. That you can get at http://levana.de/emacs/.

I have no idea how to make things work in unix or linux, but the Windows
part is not too bad if one has an idea of Emacs otherwise.


Hope this helps,
   Mari
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


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


[NTG-context] Re: Emacs

2003-07-28 Thread Patrick Gundlach
Alexander Klink [EMAIL PROTECTED] writes:

Hello Alexander,

 What can people tell me about setting up Emacs to work with Context?
 I use the AUCTeX from CVS, which can do ConTeXt by now (and has
 the keybindings I'm used to). Unluckily, it always says Problems
 after n pages, even though it compiles ok...
 Anyways, except for that, it works for me...

Could you send me off list an example file and an explanation how
exactly you get the error? It works fine for me. Please make sure you
use the latest cvs version (did not work on it for some time,
though). I'll be happy to fix it.

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