Re: [NTG-context] compiling project files

2006-08-12 Thread Derek Schmidt
Aditya,

Sorry it took so long to get back to you. I've only just had a chance
to try this now.

The .tuo file for the _product_ file shows the files being loaded.
Compiling the _project_ file yields no .tuo. My product file does
indeed look like what you wrote.

Shall I jump out the window or not? :)

--Derek

On 8/9/06, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> On Wed, 9 Aug 2006, Derek Schmidt wrote:
>
> > Hi there,
> >
> > I'm a complete ConTeXt newbie, so please be patient with me. :)
> >
> > I'm putting together a book and I'm trying to use the project
> > structure that Context likes so much. My components come out
> > beautifully--they are chapters in the book.
> >
> > The product file is the actual book. I don't have the code in front of
> > me, but it looks very much like the examples given in the manuals and
> > at ContextGarden. When I texexec it, it runs but only produces and
> > empty table of contents with the word Contents at the top. It won't
> > list the chapters, forget about actually printing their content.
>
> I do not understand this. Do you mean that the components are not in
> the output?
>
>
> > Any ideas on what I'm doing wrong? I'm guessing this might not be
> > enough info for you to help. I'll try to answer any questions as best
> > I can.
>
> It is pretty hard to guess. Does your product file look like this
>
> \startproduct product-name
>
> \environment env-name
>
> \component component-1
> \component component-2
> 
>
> \stopproduct
>
>
> Maybe the components are not getting loaded. To actually see which
> files are being loaded, look at product.tui file. The enteries
> starting with f tell you which files are being read. What does the
> output of
>
> grep "^f" product.tui
>
> look like?
>
> Aditya
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] some questions

2006-08-12 Thread Peter Rolf
Hi Wolfgang,

[EMAIL PROTECTED] wrote:
> Hallo!
> 
> After reading some manuals, I have some questions.
> May be I have not understand it right.
> 
> Try the following example:
> ---
> \setupcolors[state=start]
> \starttext
> How can I use the brace-key right?
> \starttable[| \{ |]

the wiki entry is not that clear ("enclose the column in braces").
\{ is a just a grouping command (which directly gives a solution for
your second answer)

Use
  [| a{\{}b{\}} |]

to add "braces"

> \NC no braces \SR
> \stoptable
> 
> What I am doing wrong here?
> \starttable[ o1 | C{red} |]

\{C{red}

Salve, Peter

> \VL red \VL\SR
> \stoptable
> red too!
> 
> Should'nt \arg{bla} be \type{{bla}}?
> \stoptext
> 
> 
> Wolfgang
> 
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

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


[NTG-context] some questions

2006-08-12 Thread wwl
Hallo!

After reading some manuals, I have some questions.
May be I have not understand it right.

Try the following example:
---
\setupcolors[state=start]
\starttext
How can I use the brace-key right?
\starttable[| \{ |]
\NC no braces \SR
\stoptable

What I am doing wrong here?
\starttable[ o1 | C{red} |]
\VL red \VL\SR
\stoptable
red too!

Should'nt \arg{bla} be \type{{bla}}?
\stoptext


Wolfgang

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


[NTG-context] unanswered questions

2006-08-12 Thread wwl
Hallo!

I had some questions a few days ago and there was not any reply.

Date: Wed, 02 Aug 2006 10:39:47 +0200
Subject: [NTG-context] Floats Method

Date: Wed, 02 Aug 2006 10:39:47 +0200
Subject: [NTG-context] Snapping sectionhead

May be the questions where not clear enough.

What can I do?

Wolfgang



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


Re: [NTG-context] \namedglyph (was: [XeTeX] \XeTeXglyphindex: just a short note)

2006-08-12 Thread Hans Hagen
Mojca Miklavec wrote:
> Would it name sense to provide a \namedglyph macro in ConTeXt for
> XeTeX users as well? (Hopefully the feature will be available in
> pdfTeX as well ;)
>   
\namedglyph is too generic; you ask for a \fontglyph\font{name} and even then, 
there probably is not sucha primitive, but just a lua call which will consult 
the font data so that one can also take care of missign glyphs 
 
anyhow, such a command needs to be defined for each engine, with proper 
fallbacks which is not somthing i'm gonna do as a quick hack/fix.  

Now, for the moment you can use your definition which you can always (some time 
in the future) map onto a context one. This way of asking for a glyph is low 
level anyway. 

Hans 


-
  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] doublesided

2006-08-12 Thread Hans Hagen
Derek Schmidt wrote:
> Horacio,
>
> I'm terribly new to this, but I'll offer what I know anyways:
>
> 1. Yes, the commands are the same.
>
> 2. I used
>
> \setuparranging[2*4,doublesided]
>
> to get what I *think* you might be trying to do. But I'm using A6 on
> A4, so you might want
>
> \setuparranging[2*2,doublesided]
>
> Also, running texexec with the -pdf switch will avoid converting a
> ..dvi to a .ps and then .ps to .pdf. Maybe you knew that already.
>   
when using arrangements, run the doc with 

--arrange 

which will do a normal run and a non-tuo-desctructive extra one imposing the 
pages 

Hans 


-
  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] Vendor for Lucida Bright

2006-08-12 Thread Hans Hagen
John R. Culleton wrote:
> Many of the Context manuals are set in Lucida-Bright. From what
> vendor was this specific font obtained?
>   
yandy quit but tug took over the sale, just go to the tug website

Hans

-- 

-
  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] --silent switch seems not to work.

2006-08-12 Thread Taco Hoekwater
John R. Culleton wrote:
> The --silent parameter seems to have no effect. I still get
> messages listing every  typescript in use on every pass: e.g.,
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
> (/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
> (./type-charter.tex
> 
> The above is repeated about four times. 

--silent only surpresses macro-generated messages, not the ones from
TeX itself. For quieter runs, you can try --batch (\batchmode), but
that will hide (and abort on) any errors in the file.

> All this trivia slows down the compile process significantly.

For a real speedup, set \preloadtypescripts to true in your
cont-sys.tex. It will stop context from loading the files
over and over, instead loading it only once and interpreting the
file completely in that one go. That is much faster (at the expense
of always having the whole contents of those files in memory)

> I am using texexec 5.4.3. I get warning messages telling me to
> use texmfstart instead but since that script is not functional on my

What do you mean with 'not functional'? No ruby installed?

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


Re: [NTG-context] doublesided

2006-08-12 Thread Taco Hoekwater
Horacio Suarez wrote:
> I´m using context on slackware 10.2, I don´t have a command "context". 
> I´m using "texexec". It´s the same?
> 
> Now, texexec ignores some comands:

Guessing what mean by "ignores":

> \setuppapersize[a5][a4]

\setuppapersize[A5][A4]


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


Re: [NTG-context] doublesided

2006-08-12 Thread Derek Schmidt
Horacio,

I'm terribly new to this, but I'll offer what I know anyways:

1. Yes, the commands are the same.

2. I used

\setuparranging[2*4,doublesided]

to get what I *think* you might be trying to do. But I'm using A6 on
A4, so you might want

\setuparranging[2*2,doublesided]

Also, running texexec with the -pdf switch will avoid converting a
.dvi to a .ps and then .ps to .pdf. Maybe you knew that already.

All best,
Derek

On 8/12/06, Horacio Suarez <[EMAIL PROTECTED]> wrote:
> I´m using context on slackware 10.2, I don´t have a command "context". I´m
> using "texexec". It´s the same?
>
> Now, texexec ignores some comands:
>
> \setuppapersize[a5][a4]
> \setuplayout[location=middle, marking=on]
> \setuppagenumbering[alternative=doublesided]
>
> Are they incomplete? some aditional command is needed?
>
> Thanks in advance.
>
> _
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] doublesided

2006-08-12 Thread Horacio Suarez
I´m using context on slackware 10.2, I don´t have a command "context". I´m 
using "texexec". It´s the same?


Now, texexec ignores some comands:

\setuppapersize[a5][a4]
\setuplayout[location=middle, marking=on]
\setuppagenumbering[alternative=doublesided]

Are they incomplete? some aditional command is needed?

Thanks in advance.

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


[NTG-context] --silent switch seems not to work.

2006-08-12 Thread John R. Culleton
The --silent parameter seems to have no effect. I still get
messages listing every  typescript in use on every pass: e.g.,
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/hdb1/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(./type-charter.tex

The above is repeated about four times. 

All this trivia slows down the compile process significantly.

I am using texexec 5.4.3. I get warning messages telling me to
use texmfstart instead but since that script is not functional on my
machine I just use texexec. It seems to work OK except
for the --silent script. 

On Linux I can always say:
texexec book.tex >/dev/null

but this obscures error messages as well.

-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com


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


Re: [NTG-context] Another editor for (La)TeX

2006-08-12 Thread Karsten Heymann
Hi,

2006/8/10, Renaud AUBIN <[EMAIL PROTECTED]>:
>  A friend of mine pointed out TeXmaker:
> http://www.xm1math.net/texmaker/index.html
>  Since I have not tried it, I can't say if one could use it with ConTeXt...
> For those who liked graphical editor: give it a try

TeXMaker is a pure LaTeX Editor. (It's a version of the
KDE-LaTeX-Editor Kile ported to
the Qt toolkit so it can be built for windows, Mac too).

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


[NTG-context] \namedglyph (was: [XeTeX] \XeTeXglyphindex: just a short note)

2006-08-12 Thread Mojca Miklavec
Hello,

Some time ago Jonathan implemented a new \XeTeXglyphindex command to
retrieve the glyph from current font by name (it currently only works
for OpenType, but that's the most important). \getglyph is already
taken, I used it in the example below just because I didn't think of a
better name.

Would it name sense to provide a \namedglyph macro in ConTeXt for
XeTeX users as well? (Hopefully the feature will be available in
pdfTeX as well ;)

I don't mind if LaTeX & ConTeXt use the same syntax every now and then ;)

(In the future: It might make sense to provide an optional field to
retrieve a glyph from any font, not just from the current one, but I'm
not sure about what the exact interface should be and if it would be
optional it can be added later anyway.)

Any thoughts?

Mojca

On 8/12/06, Will Robertson wrote:
> On 11/06/2006, at 21:09 , Mojca Miklavec wrote:
>
> > \def\getglyph#1{\XeTeXglyph\XeTeXglyphindex "#1"}
> > \font\A='Antykwa Torunska' \A
> >
> > Thank you, Jonathan, I \getglyph{heart} this new feature!
>
> Just to follow up on this; for LaTeX users, the new version of the
> xltxtra package will include this macro under the name
> "\namedglyph" (it's actually Jonathan's improved version).
>
> Cheers,
>
> Will
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context