Re: [NTG-context] itemize in blocks

2007-04-05 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote:
> Hi Bernd!
>
>   
>>> what I am doing wrong with the following snipped?
>>>
>>> The \par in the \item does not work.
>>> ---
>>> \defineenumeration[question][location=top,text=Aufgabe]
>>> \defineblock[question]
>>>
>>> \starttext
>>> \chapter{Aufgaben}
>>> \beginquestion
>>> \question
>>> \startitemize[a]
>>> \item Zick
>>>   
>>>   
>> use: \crlf or \blank and not \par
>> 
>
> A better workaround would be \endgraf,
> but I think \par should work here, as it works in other
> situations outside the block-environment.
>
> I asked myself if this is a little bug or an error of mine.
>  
>   
>> use \par at the end of the question
>> 
>
> Why?
>   
\question pick up it sargument and uses \par as delimiter, otherwise we could 
not apply attributes to the question text 

\question is the 'minimalistic approach, 

\startquestion
\stopquestion

is the best way ans works ok here 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


Re: [NTG-context] Scite folding

2007-04-05 Thread Idris Samawi Hamid
Hi Patrick,

On Thu, 05 Apr 2007 12:34:37 -0600, Patrick Gundlach <[EMAIL PROTECTED]>  
wrote:

>> bit hesitant about switching from WinEdt to Notepad++. Notepad++ also
>> supports folding in TeX-mode for things like \chapter, \section (without
>> ending tags; adopted from Visual TeX)
>
> How does it find the end of the chapter then?

I think it just folds at the beginning of the next sectioning command,  
whether it's chapter, section, subsection, etc.

Soon it will be moot since Hans is going to \start-\stop all section and  
item commands soon anyway. In the meantime Taco uses (see archives)

\def\startchapter[#1]%
{\getparameters[Chapter][#1]\chapter{\ChapterTitle}}
\def\stopchapter{}

But notepad++ has real potential for an editor that will make it easier  
for your average TeX user. I'll make my ConTeXt configuration files  
available to anyone who wants to play with it.

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] Scite folding

2007-04-05 Thread Patrick Gundlach
Hello Idris,

> bit hesitant about switching from WinEdt to Notepad++. Notepad++ also  
> supports folding in TeX-mode for things like \chapter, \section (without  
> ending tags; adopted from Visual TeX) 

How does it find the end of the chapter then?

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize in blocks

2007-04-05 Thread Wolfgang Werners-Lucchini
Hi Bernd!

> > what I am doing wrong with the following snipped?
> >
> > The \par in the \item does not work.
> > ---
> > \defineenumeration[question][location=top,text=Aufgabe]
> > \defineblock[question]
> >
> > \starttext
> > \chapter{Aufgaben}
> > \beginquestion
> > \question
> > \startitemize[a]
> > \item Zick
> >   
> use: \crlf or \blank and not \par

A better workaround would be \endgraf,
but I think \par should work here, as it works in other
situations outside the block-environment.

I asked myself if this is a little bug or an error of mine.
 
> use \par at the end of the question

Why?

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


Re: [NTG-context] Scite folding

2007-04-05 Thread Idris Samawi Hamid
On Thu, 05 Apr 2007 09:20:21 -0600, Idris Samawi Hamid  
<[EMAIL PROTECTED]> wrote:

> Notepad++ (also scintilla-based) supports this through a nifty
> define-your-own-language dialog, as well as global RTL (no  
> interlinear
> bidi),

I forgot the note:

I am happy to share my context setup for Notepad++ with anyone who is  
interested. It's neat: I have code folding, different syntax highlighting  
for

- context commands
- \define,\setup, and \place commands
- TeX primitives

There is also auto-completion for ConTeXt, among other things.

For those used to WinEdt I think notepad++ has a lot of potential. I'd  
like to see a project to make it even more TeX-friendly; with some minor  
tweaks and recompiling we could do a lot. But I know no C++ ;-) so if  
anyone is interested please contact me.

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] Scite folding

2007-04-05 Thread Idris Samawi Hamid
Hi Zhichu,

On Thu, 05 Apr 2007 09:52:19 -0600, Zhichu Chen <[EMAIL PROTECTED]>  
wrote:

> AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and  
> compile
> it again.

I am not a programmer, and would really like to avoid this option ;-)

> But I'm sure there should be some more sophisticate way.

I hope so! If not, could one of the other users let me know?

Thank you for the reply and

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] Scite folding

2007-04-05 Thread Zhichu Chen

Hi Idris,

AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and compile
it again. But I'm sure there should be some more sophisticate way.

On 4/5/07, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote:


Dear syndicate,

Can Scite be configured for folding based on TeX keywords, or is that
something that is hardwired in Scintilla/Scite? I would like to feed Scite
all the \start-\stop's, {}, \bgroup-\egroup etc. I looked in the context
properties files but did not find anything, and it's certainly not there
by default

Notepad++ (also scintilla-based) supports this through a nifty
define-your-own-language dialog, as well as global RTL (no interlinear
bidi), but the developers are generally unresponsive to requests for help
or guidance from end users (as opposed to serious programmers) so I am a
bit hesitant about switching from WinEdt to Notepad++. Notepad++ also
supports folding in TeX-mode for things like \chapter, \section (without
ending tags; adopted from Visual TeX) but the dialog does not let me
extend that for ConTeXt (\subject etc).

Anyway, whatever you can tell me about Scite and folding would be a big
help!

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





--
Sincerely yours,
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

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


[NTG-context] mptopdf

2007-04-05 Thread Steve MC Han
Could someone give some help for me? 
   
  If I do metapost I have an error message: this is the exact error message
   
   
  C:\Han\slide>mpost --tex=latex 2MS6
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(2MS6.mpmakempx: Command failed: mpto -tex 2MS6.mp
  >> 2MS6.mp
>> 2MS6.mpx
! Unable to make mpx file.
l.34 label.lft(btex
Number of students etex rotated 90, (-u,u));
Transcript written on 2MS6.log.
   
   
   
   
  But if I set the path "path c:\TexLive2007\bin\win32" at prompt command and 
then do metapost, then it is O.K. (no error message) as I copied below.
  
C:\Han\slide>path c:\TexLive2007\bin\win32
  C:\Han\slide>mpost --tex=latex 2MS6
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(2MS6.mp [0] [1] [2] [3] [4] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
[30] )
16 output files written: 2MS6.0 .. 2MS6.30
Transcript written on 2MS6.log.
   
   
  I have to set the path again whenever I turn on the PC. This all problem 
started after I did mptopdf.ini
   
  Can anyone give some insight for me?
   
  Thank you in advance.

 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Scite folding

2007-04-05 Thread Idris Samawi Hamid
Dear syndicate,

Can Scite be configured for folding based on TeX keywords, or is that  
something that is hardwired in Scintilla/Scite? I would like to feed Scite  
all the \start-\stop's, {}, \bgroup-\egroup etc. I looked in the context  
properties files but did not find anything, and it's certainly not there  
by default

Notepad++ (also scintilla-based) supports this through a nifty  
define-your-own-language dialog, as well as global RTL (no interlinear  
bidi), but the developers are generally unresponsive to requests for help  
or guidance from end users (as opposed to serious programmers) so I am a  
bit hesitant about switching from WinEdt to Notepad++. Notepad++ also  
supports folding in TeX-mode for things like \chapter, \section (without  
ending tags; adopted from Visual TeX) but the dialog does not let me  
extend that for ConTeXt (\subject etc).

Anyway, whatever you can tell me about Scite and folding would be a big  
help!

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] texexec.pl vs. .rb

2007-04-05 Thread Taco Hoekwater


Sanjoy Mahajan wrote:
>>> (texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf
>> The option --paper should become --papersize.
>> The shortcutted form --paper resolves to --paperoffset nowadays.
> 
> Shouldn't it be --paperformat?  From the texexec manpage:

Sorry, you are right.

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


Re: [NTG-context] ConTeXt, XeTeX, ect was Re: OpenType in Windows

2007-04-05 Thread Andrea Valle

Thanks Sanjoy  for the exhaustive infos.
I knew the relations among Tex, LaTeX and ConTeXt but couldn't  
understand at which level XeTeX was positioned.


So, I was interested in XeTeX because (if I understood clearly) I can  
use resident fonts. Is it true?
What I have to do in order to do this? Use the fonts in the source?  
Add a special command?



Thanks a lot
Best
-a-



On 5 Apr 2007, at 15:23, Sanjoy Mahajan wrote:


What does this exactly mean (from wikipedia)?
"XeTeX works well with both LaTeX and ConTeXt."


XeTeX, PDFTeX, eTeX, and TeX (Knuth's original TeX) are conceptually
at the same level.  The ConTeXt documents (and kpathsea) call this
level the engine.  They all understand basically the same macro
language, the one Knuth described in the _TeXBook_.

But they have slight differences.  For example, TeX produces DVI
output.  eTeX does too but it adds a few more commands ('primitives')
to the macro language.  PDFTeX produces PDF directly (or can produce
DVI) and has, relative to regular TeX, new macro commands to support
features of PDF; for example, \pdfpagewidth is new to PDFTeX.  Regular
TeX doesn't have an equivalent because the DVI format does not include
a notion of page size.  PDFTeX, from v1.40, also incorporates those
eTeX commands.  And XeTeX has commands to support OpenType, which is
the new standard font format.

LaTeX and ConTeXt are large programs ('macro packages') written on top
of the engine.  Namely, the program -- whether LaTeX or ConTeXt -- is
written in the macro language of the engine.  Most of the program is
independent of the engine, but there are a few changes needed; the
program usually detects which engine is being used underneath it and
adjusts what it does accordingly.

For LaTeX, you choose the engine by the name of the program you run:

* latex-- uses regular TeX (actually, now it uses PDFTeX  
pretending

  to be regular TeX)
* pdflatex -- uses PDFTeX
* xelatex  -- uses XeTeX

For ConTeXt, you choose the engine by the '--engine' option to
texexec.  For example: "texexec --engine=pdftex file.tex" will make
you file.pdf.  But as the manual entry now says, you usually do not
need to specify the engine:

   --engine=texengine
  Specify the program to do the hard work of typesetting.
  Currently either pdftex (the default), xetex, or aleph.
  The luatex value is experimental.  The --engine option
  is not usually needed.  Instead, let texexec figure out
  the setting based on other command-line information.
  See for example the --xetex or --pdf switches.

So
* "texexec --xetex file.tex" : uses XeTeX
* "texexec --pdf file.tex"   : uses PDFTeX
* "texexec file.tex" : also uses PDFTeX (the --pdf option is
   now the default to texexec)

I hope this explanation clarifies.  If so, you can Wikify (on
wikipedia and/or the ConTeXt wiki)!

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--



 I did this interview where I just mentioned that I read Foucault.  
Who doesn't in university, right? I was in this strip club giving  
this guy a lap dance and all he wanted to do was to discuss Foucault  
with me. Well, I can stand naked and do my little dance, or I can  
discuss Foucault, but not at the same time; too much information.

(Annabel Chong)




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


Re: [NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Sanjoy Mahajan
> > (texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf
> 
> The option --paper should become --papersize.
> The shortcutted form --paper resolves to --paperoffset nowadays.

Shouldn't it be --paperformat?  From the texexec manpage:

   --paperformat=KEY
  For typesetting multiple pages on a single piece of
  paper.  KEY has the form a4a3 (for printing A4 pages on
  A3 paper), a5a4 (for printing A5 pages on A4 paper), or
  in general aMaN.  The actual layout of the pages is
  specified with the --printformat option.

Let me know if I have it wrong and I'll correct the manpage (I've been
feeding the manpages to tex-live).

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt, XeTeX, ect was Re: OpenType in Windows

2007-04-05 Thread luigi scarso
On 4/5/07, Sanjoy Mahajan <[EMAIL PROTECTED]> wrote:
> > What does this exactly mean (from wikipedia)?
> > "XeTeX works well with both LaTeX and ConTeXt."
>
> XeTeX, PDFTeX, eTeX, and TeX (Knuth's original TeX) are conceptually
> at the same level.  The ConTeXt documents (and kpathsea) call this
> level the engine.  They all understand basically the same macro
> language, the one Knuth described in the _TeXBook_.
>
> But they have slight differences.  For example, TeX produces DVI
> output.  eTeX does too but it adds a few more commands ('primitives')
> to the macro language.  PDFTeX produces PDF directly (or can produce
> DVI) and has, relative to regular TeX, new macro commands to support
> features of PDF; for example, \pdfpagewidth is new to PDFTeX.  Regular
> TeX doesn't have an equivalent because the DVI format does not include
> a notion of page size.  PDFTeX, from v1.40, also incorporates those
> eTeX commands.  And XeTeX has commands to support OpenType, which is
> the new standard font format.
>
> LaTeX and ConTeXt are large programs ('macro packages') written on top
> of the engine.  Namely, the program -- whether LaTeX or ConTeXt -- is
> written in the macro language of the engine.  Most of the program is
> independent of the engine, but there are a few changes needed; the
> program usually detects which engine is being used underneath it and
> adjusts what it does accordingly.
>
> For LaTeX, you choose the engine by the name of the program you run:
>
> * latex-- uses regular TeX (actually, now it uses PDFTeX pretending
>   to be regular TeX)
> * pdflatex -- uses PDFTeX
> * xelatex  -- uses XeTeX
>
> For ConTeXt, you choose the engine by the '--engine' option to
> texexec.  For example: "texexec --engine=pdftex file.tex" will make
> you file.pdf.  But as the manual entry now says, you usually do not
> need to specify the engine:
>
>--engine=texengine
>   Specify the program to do the hard work of typesetting.
>   Currently either pdftex (the default), xetex, or aleph.
>   The luatex value is experimental.  The --engine option
>   is not usually needed.  Instead, let texexec figure out
>   the setting based on other command-line information.
>   See for example the --xetex or --pdf switches.
>
> So
> * "texexec --xetex file.tex" : uses XeTeX
> * "texexec --pdf file.tex"   : uses PDFTeX
> * "texexec file.tex" : also uses PDFTeX (the --pdf option is
>now the default to texexec)
>
> I hope this explanation clarifies.  If so, you can Wikify (on
> wikipedia and/or the ConTeXt wiki)!
>
> -Sanjoy
About  luatex: see it as a new entry in the list
XeTeX, PDFTeX, eTeX, and TeX
ie
luatex ,XeTeX, PDFTeX, eTeX, and TeX

luatex add a script language (lua) to tex .

Note that
PDFTeX> eTeX> TeX
(where 'A>B' means A include B)
and that
luatex > PDFTeX U Aleph.
There is a bit of confusion about luatex:
someone says "luatex will be pdftex2.0",
someother says "pdftex will be frozen to 1.5 and there will be luatex".
Given that I played with luatex, I prefer the second, or even
"luatex will be pdftex4.0"

luigi

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


Re: [NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Wolfgang Schuster

2007/4/5, Tobias Burnus <[EMAIL PROTECTED]>:


Hi,

the following command works with the PERL but not with the RUBY version.
Is this option obsolete or simply not yet implemented:

(texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf



Hi Tobias,

replace --paper by --paperformat

Wolfgang

texexec: works

texmfstart texexec:

! Missing number, treated as zero.

   a
\@@ppoffset ->a
   5a4
\calculatepaperoffsets ...lue {\??pp #1\c!offset }
  \divide \scratchdimen
\arr...
 ...dth }\fi \calculatepaperoffsets {A4}
  \xdef \papersize {A4}
\firstofoneargument #1->#1

\next1 #1,->\docommand {#1}
   \doprocesscommaitem
...
l.3 \setuplayout


Tobias


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


Re: [NTG-context] ConTeXt, XeTeX, ect was Re: OpenType in Windows

2007-04-05 Thread Sanjoy Mahajan
> What does this exactly mean (from wikipedia)?
> "XeTeX works well with both LaTeX and ConTeXt."

XeTeX, PDFTeX, eTeX, and TeX (Knuth's original TeX) are conceptually
at the same level.  The ConTeXt documents (and kpathsea) call this
level the engine.  They all understand basically the same macro
language, the one Knuth described in the _TeXBook_.  

But they have slight differences.  For example, TeX produces DVI
output.  eTeX does too but it adds a few more commands ('primitives')
to the macro language.  PDFTeX produces PDF directly (or can produce
DVI) and has, relative to regular TeX, new macro commands to support
features of PDF; for example, \pdfpagewidth is new to PDFTeX.  Regular
TeX doesn't have an equivalent because the DVI format does not include
a notion of page size.  PDFTeX, from v1.40, also incorporates those
eTeX commands.  And XeTeX has commands to support OpenType, which is
the new standard font format.

LaTeX and ConTeXt are large programs ('macro packages') written on top
of the engine.  Namely, the program -- whether LaTeX or ConTeXt -- is
written in the macro language of the engine.  Most of the program is
independent of the engine, but there are a few changes needed; the
program usually detects which engine is being used underneath it and
adjusts what it does accordingly.

For LaTeX, you choose the engine by the name of the program you run:

* latex-- uses regular TeX (actually, now it uses PDFTeX pretending
  to be regular TeX)
* pdflatex -- uses PDFTeX
* xelatex  -- uses XeTeX

For ConTeXt, you choose the engine by the '--engine' option to
texexec.  For example: "texexec --engine=pdftex file.tex" will make
you file.pdf.  But as the manual entry now says, you usually do not
need to specify the engine:

   --engine=texengine 
  Specify the program to do the hard work of typesetting.
  Currently either pdftex (the default), xetex, or aleph.
  The luatex value is experimental.  The --engine option
  is not usually needed.  Instead, let texexec figure out
  the setting based on other command-line information.
  See for example the --xetex or --pdf switches.  

So 
* "texexec --xetex file.tex" : uses XeTeX
* "texexec --pdf file.tex"   : uses PDFTeX
* "texexec file.tex" : also uses PDFTeX (the --pdf option is
   now the default to texexec)

I hope this explanation clarifies.  If so, you can Wikify (on
wikipedia and/or the ConTeXt wiki)!

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Taco Hoekwater


Tobias Burnus wrote:
> Hi,
> 
> the following command works with the PERL but not with the RUBY version.
> Is this option obsolete or simply not yet implemented:
> 
> (texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf

The option --paper should become --papersize.
The shortcutted form --paper resolves to --paperoffset nowadays.

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


[NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Tobias Burnus
Hi,

the following command works with the PERL but not with the RUBY version.
Is this option obsolete or simply not yet implemented:

(texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf

texexec: works
texmfstart texexec:

! Missing number, treated as zero.

   a
\@@ppoffset ->a
   5a4
\calculatepaperoffsets ...lue {\??pp #1\c!offset }
  \divide \scratchdimen
\arr...
 ...dth }\fi \calculatepaperoffsets {A4}
  \xdef \papersize {A4}
\firstofoneargument #1->#1

\next1 #1,->\docommand {#1}
   \doprocesscommaitem
...
l.3 \setuplayout


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


Re: [NTG-context] ConTeXt, XeTeX, ect was Re: OpenType in Windows

2007-04-05 Thread George N. White III
On 4/5/07, Andrea Valle <[EMAIL PROTECTED]> wrote:

> I'm a bit confused. Still can't have a clear frame of -TeX stuff.
>
> What does this exactly mean (from wikipedia)?
>
>
> XeTeX works well with both LaTeX and ConTeXt.

In the beginning there was tex, a program.  I know people who create
documents using low-level tex markup, but most people rely on a macro
package to define high-level markup. In the early days, tex was often
used with a simple macro package called "plain".  Then, for people
with nice minicomputers, Lamport wrote a macro package called LaTeX,
which was used with the same tex program and remains popular today.
ConTeXt includes yet another
macro package, but is really a system with lots of useful tools.

Along with the tex program, there was a system to create fonts, but
meanwhile other font fomats have become widely adopted, and people
have found ways to use these commercial
fonts and formats with tex, but for the most part, fonts used with tex
are separate from the system fonts and configuring a new font for use
with tex is not a simple process.

These days people rarely use the (current version of) the original tex
program because we have pdftex, which can be used to format documents
using the plain or latex or context macros to create .pdf directly as
well as .dvi files, and xetex, which can also be used with the same
list of macro packages to create .pdf or .xdv (replacement for .dvi).
The main advantage of xetex is that it supports system fonts directly.
 It is, however, new, so there could be glitches.

 has lots of
useful information

The xetex web site has examples and a FAQ.

-- 
George N. White III <[EMAIL PROTECTED]>
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] module and def commands problem

2007-04-05 Thread Wolfgang Schuster

2007/4/5, Bernd Militzer <[EMAIL PROTECTED]>:


Wolfgang Schuster schrieb:
>
>
> Replace the four commands in your file with the next ones:
>
> \def\Fach#1 {\def\internFach{#1}}
> \def\Thema#1{\def\internThema{#1}}
> \def\SchulJahr#1{\def\internSchulJahr{#1}}
>
>
\def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank}
>
>
> You can also remove the \startvariables .. \stopvariables part from your
> module, you need them only for keyval commands.
>
Thanks Wolfgang,  but after the change I get the same error



Hi Bernd,

use my attached test file.

Wolfgang


t-schule.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt, XeTeX, ect was Re: OpenType in Windows

2007-04-05 Thread Andrea Valle

Hi,

I'm a bit confused. Still can't have a clear frame of -TeX stuff.
What does this exactly mean (from wikipedia)?
XeTeX works well with both LaTeX and ConTeXt.


Many thanks
Best

-a-


On 5 Apr 2007, at 12:18, Mojca Miklavec wrote:


On 4/5/07, Vyatcheslav Yatskovsky wrote:

Hello,

I heard that Mac users can typeset in ConTeXt with OpenType fonts. Is
it possible on Windows platform? (either in MiKTeX or TeXLive?)


The easiest way to use OpenType fonts is to use XeTeX (luaTeX will
support them as well, but you would need to wait a bit before it comes
out). You can also use pdfTeX, but it's a bit painful to set up
everything properly.

TeXLive 2007 includes XeTeX, MikTeX will include it in version 2.7
(currently it's still at version 2.5 and 2.6 beta), so TeXLive (or
standalone ConTeXt with some additional settings) is currently the
best choice.

See http://wiki.contextgarden.net/Fonts_in_XeTeX (but please note that
some high-level interface is currently broken if you install the
latest ConTeXt; the version from TeXLive should be OK).

You can use any font in the texmf tree or any font installed on the
system. You might need to run fc-cache (and perhaps edit font.conf).

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


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


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


Re: [NTG-context] module and def commands problem

2007-04-05 Thread Wolfgang Schuster

2007/4/5, Bernd Militzer <[EMAIL PROTECTED]>:


Hi Taco,
instead of  writing a FixMe-module I just started to make my exam-module
from 2003 a bit more international.

As a first test I set up some commands in german and english
see file p-testDE.tex

running texexec test1.tex  the output is ok
but
running texexec --mode=english test1.tex
I get an error:
system  : module testDE loaded
(./p-testde.tex)
! Undefined control sequence.
 ...st it} \subject {FixMe} \SchoolYear
  {2006/07} \question
test i...

\firstofoneargument #1->#1

l.53 }

What is going wrong with my command-definations? I have no idea!

What did I fail to do?

Cheers,
Bernd



Hi Bernd,

you tried to write you commands as \def\v!... and this means also you
have to call them by the name \v!...

Replace the four commands in your file with the next ones:

\def\Fach#1 {\def\internFach{#1}}
\def\Thema#1{\def\internThema{#1}}
\def\SchulJahr#1{\def\internSchulJahr{#1}}

\def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank}


You can also remove the \startvariables .. \stopvariables part from your
module, you need them only for keyval commands.

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


Re: [NTG-context] OpenType in Windows

2007-04-05 Thread Mojca Miklavec
On 4/5/07, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> I heard that Mac users can typeset in ConTeXt with OpenType fonts. Is
> it possible on Windows platform? (either in MiKTeX or TeXLive?)

The easiest way to use OpenType fonts is to use XeTeX (luaTeX will
support them as well, but you would need to wait a bit before it comes
out). You can also use pdfTeX, but it's a bit painful to set up
everything properly.

TeXLive 2007 includes XeTeX, MikTeX will include it in version 2.7
(currently it's still at version 2.5 and 2.6 beta), so TeXLive (or
standalone ConTeXt with some additional settings) is currently the
best choice.

See http://wiki.contextgarden.net/Fonts_in_XeTeX (but please note that
some high-level interface is currently broken if you install the
latest ConTeXt; the version from TeXLive should be OK).

You can use any font in the texmf tree or any font installed on the
system. You might need to run fc-cache (and perhaps edit font.conf).

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


Re: [NTG-context] itemize in blocks

2007-04-05 Thread Bernd Militzer
Wolfgang Werners-Lucchini schrieb:
> Hallo,
>
> what I am doing wrong with the following snipped?
>
> The \par in the \item does not work.
> ---
> \defineenumeration[question][location=top,text=Aufgabe]
> \defineblock[question]
>
> \starttext
> \chapter{Aufgaben}
> \beginquestion
> \question
> \startitemize[a]
> \item Zick
>   
use: \crlf or \blank and not \par
> \par % This \par does not work!
>   
use \par at the end of the question
> Mehr Zick
> \stopitemize
>   
use: \par here
> \endquestion
> \stoptext
>   
% test
\defineenumeration[question][location=top,text=Aufgabe]
\defineblock[question]

\starttext
\chapter{Aufgaben}
%\beginquestion
\question[1]
\startitemize[a]
\item Zick
\blank% ore \crlf % but not \par % This \par does not work!
Mehr Zick
\stopitemize
\par
\question[2]
just a test
\par
%\endquestion
\stoptext
%
that works on my notebook

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


Re: [NTG-context] module and def commands problem

2007-04-05 Thread Bernd Militzer
Wolfgang Schuster schrieb:
>
>
> Replace the four commands in your file with the next ones:
>
> \def\Fach#1 {\def\internFach{#1}}
> \def\Thema#1{\def\internThema{#1}}
> \def\SchulJahr#1{\def\internSchulJahr{#1}}
>
> \def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank} 
>
>
> You can also remove the \startvariables .. \stopvariables part from your
> module, you need them only for keyval commands.
>
Thanks Wolfgang,  but after the change I get the same error
(./p-testde.tex)
! Undefined control sequence.
 ...st it} \subject {FixMe} \SchoolYear
  {2006/07} \question 
test i...

\firstofoneargument #1->#1
 
l.53 }

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


[NTG-context] module and def commands problem

2007-04-05 Thread Bernd Militzer

Hi Taco,
instead of  writing a FixMe-module I just started to make my exam-module 
from 2003 a bit more international.


As a first test I set up some commands in german and english
see file p-testDE.tex

running texexec test1.tex  the output is ok
but
running texexec --mode=english test1.tex
I get an error:
system  : module testDE loaded
(./p-testde.tex)
! Undefined control sequence.
 ...st it} \subject {FixMe} \SchoolYear
 {2006/07} \question 
test i...


\firstofoneargument #1->#1
 
l.53 }


What is going wrong with my command-definations? I have no idea!

What did I fail to do?

Cheers,
Bernd


p-testDE.tex
Description: TeX document


test1.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bookmark, underscore bug?

2007-04-05 Thread Rick Rajter
Hey all,

I'm a new Context user, so forgive me if I do not have the standard  
formalities down...


I have come across what I believe to be a bug with respect to  
filenames containing the underscore character '_'  and the ability to  
generated pdf bookmarks (see http://en.wikipedia.org/wiki/ 
Image:Acroread.png image if you're not sure what exactly the  
bookmarks are in a pdf format)

If I use the simple example

\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection]
\setupinteractionscreen[option=bookmark]

\starttext
\chapter{One}
\section{demo}
\stoptext


The file new-file.tex and newfile.tex work properly, but the file  
new_file.tex does not.

I'll gladly ignore for now and just use all alphnumerical letters...   
but I'm a big underscore user (as one can see from my email address),  
and would like to keep going that route if possible.  Any information  
would be appreciated!

Love the Context showcase demos...  hope to build some of my own.

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