Re: [NTG-context] Footnotes

2003-09-16 Thread Pawel Jackowski na Onet
Hi!

 However, when I use
 \setupfootnotes[bodyfont={\switchtobodyfont[8pt]},offset=-1cm]
 I get an error.
[...]
 If I am using \setupfootnotes[bodyfont=5pt,offset=-1cm] then I  get  the
 footnote typeset in 5pt but still cmr and the error in the log-file is
still

Try

\definefontsynonym[myFont][your_font]
\definebodyfont[10pt,9pt,8pt,7pt][ss]
 [tf=myFont sa 1]

\setupbodyfontenvironment
 [10pt]
 [xx=9pt] % footnote reference number

\setupbodyfontenvironment
 [8pt]
 [x=7pt] % footnote number

% ALL 10, 9, 8, 7pt fonts MUST be defined in \definebodyfont

\setupbodyfont[10pt,ss]
\setupfootnotes[bodyfont=8pt]

There is somt text\footnote{and there is a footnote}
\end

Doesn't it work?



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


[NTG-context] error \handlecompoundcharacter ...

2003-09-16 Thread Pawel Jackowski na Onet
Hi experts!
Consider this simple code:

\defineXMLcommand
 [de] {\language[de]}

\defineXMLcommand
 [end]
 {\disableXML}

\starttext
\enableXML
 de/
 anytag anyattrib=Aqq/
 Ich liebe ConTeXt!
 end/
\stoptext

It cause en ERROR! It happens ONLY for \language[de] neither pl nor en,
nl...
Error message is:

systems: begin file x at line 8
! Undefined control sequence.
\handlecompoundcharacter ...ndlecompoundcharacter

{\dohandlecompoundcharacte...

\dodoparseXMLarguments #1-\if #1
 \let \dodoparseXMLarguments \empty
\else \...
argument anyatrib=
 Aqq/
\parseXMLelement ...XMLarguments \rawXMLelement #3
  \fi \or \or \the
\everyXM...
l.11  anytag anyatrib=Aqq/

?
! Emergency stop.
\handlecompoundcharacter ...ndlecompoundcharacter

{\dohandlecompoundcharacte...

\dodoparseXMLarguments #1-\if #1
 \let \dodoparseXMLarguments \empty
\else \...
argument anyatrib=
 Aqq/
\parseXMLelement ...XMLarguments \rawXMLelement #3
  \fi \or \or \the
\everyXM...
l.11  anytag anyatrib=Aqq/

End of file on the terminal!


Any hints?

Regards, Pawe/l


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


[NTG-context] How to set paths

2003-09-16 Thread Pawel Jackowski na Onet
Hello!

In some special cases I need to set paths for input files directly from
ConTeXt code not from config file.
In manuals \setupexternalfigures is described. Is there any similar command
for files that are inputed directly
by \input, \typefile \processXMLfile (the last is the most interesting for
me) and similar commands?

If there isn't any special command for that, how to do that using some
abrakadabra:-)


Regards, Pawe/l


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


[NTG-context] tables within tabulate environment

2003-09-16 Thread Frank
Hi,

I am working on some documents which are based on a table which is part 
of the text flow and may break between pages. So I use the tabulate 
environment. However now I need to include a table inside a tabulate 
cell, but this does not seem to work.

How can I get around this?

Best regards

Frank

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


[NTG-context] parsetrees

2003-09-16 Thread Matthew Huggett
//Ed Cashin wrote:

I'm making some notes on English grammar for some students and I want
to analyze a few sentences using parse trees.  Is there a way to do
trees in ConTeXt?  I guess I'd need to use Metapost.  Any pointers
would be appreciated.

Please let us know if you find anything.  I was in a linguistics class
and would have tackled this myself if there had been more time.

I don't think it would be too bad in MetaPost.  I haven't quite gotten
the hang of ConTeXt's MetaPost integration to the degree where I'd
know how to make use of both their features in a practical way.
I found the following manual but haven't had a chance to try anything out.

	www.cis.upenn.edu/~dchiang/software/trees-manual.pdf

Matt





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


[NTG-context] Re: height and width of a figure

2003-09-16 Thread Patrick Gundlach
Hello,

 i included an external figure in a document with \useexernalfigure[fig]
 how can i get the width and the height of this picture so that i can make a
 frame that has exactly the same size as the externalfigure[fig].

See the reference manual, especially frame=on. You can also define a
metapost overlay and get the dimension in OverlayBox.


\externalfigure[...][...,...=...,...]


[...]  file
[...,...=...,...]  see \useexternalfigure (1)

\useexternalfigure[...][...][...,...=...,...]


[...]  name
[...]  file
scale  number
factor max fit broad
wfactornumber max broad fit
hfactornumber max broad fit
width  dimension
height dimension
frame  on off
preset yes no
displayfile
previewyes no
repeat yes no
object yes no
type   eps mps pdf tif png jpg mov tex
method eps mps pdf tif png jpg mov tex



Patrick
-- 
Silent is the goldfish in its bowl
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Does Bill McClain's TOC work?

2003-09-16 Thread Steffen Wolfrum
Working on my first TOC I was looking at Bill McClain's
ConTeXt and pdfTeX Beginners Help Page, and its example on TOCs 
with different entries.

I copied and pasted his example, but what should be like this:


  Contents

 Introduction to the Annotated Edition * 5

 Preface * 12

 1 * The Windows of Absolute Night * 15


is in fact:


  Contents

 Introduction to the Annotated Edition * 5

 Preface * 12

 3 * The Windows of Absolute Night * 15 - 3 !
(the unnumbered headings *are* numbered)



So I tried something different:

\definehead[LevelOneEmpty][chapter]
\setuphead[LevelOneEmpty][number=no]
\definehead[LevelOne[chapter]
\setuphead[LevelOne][number=yes]
\definehead[LevelTwo][section]

\definehead[LevelThree][subsection]

\starttext

\definecombinedlist
[content]
[LevelOneEmpty,LevelOne,LevelTwo, LevelThree]
\setupcombinedlist
[content][alternative=b,aligntitle=no,width=2.5em]
\completecontent[way=bytext]

\LevelOneEmpty{Introduction}
...
\LevelOne{First real Chapter}
But the result is the same:

  Contents

 Introduction...

 2 First real Chapter


A last try with the following changed:

\definehead[LevelOneEmpty][title]

was even worse: Introduction doesn't appear at all in the TOC.

So what is the right way?

I'd be happy for any hint.

Steffen



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


Re: [NTG-context] Does Bill McClain's TOC work?

2003-09-16 Thread Bill McClain
On Tue, 16 Sep 2003 16:05:03 +0200
Steffen Wolfrum [EMAIL PROTECTED] wrote:

 (the unnumbered headings *are* numbered)

You're right, there is something wrong with the example. The technique
works properly in my original (very large) document, but not in the
reduced file. I'll try to discover why.

-Bill
-- 
Sattre PressCuriosities of the Sky
http://sattre-press.com/by Garrett Serviss
[EMAIL PROTECTED]http://csky.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] newbie tabulate question

2003-09-16 Thread Thomas A . Schmitz
Willi,

thanks, you made me discover MAPS, which I had not known before! Seems 
to be a lot of interesting stuff in there, and thank god I was born in 
Aachen, so Dutch isn't too difficult for me... But alas, the module 
must have changed since 1999--not even the minimal examples from the 
article you mentioned work. \setuptabulate[inner={\blank[big]}] gives a 
blank line before my first row, but not between rows. Mmmh - maybe a 
bug in core-tbl.tex? Probably Hans is the only one to know...
Best

Thomas

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


Re: [NTG-context] Does Bill McClain's TOC work?

2003-09-16 Thread Bill McClain
On Tue, 16 Sep 2003 10:15:14 -0500
Bill McClain [EMAIL PROTECTED] wrote:

  (the unnumbered headings *are* numbered)
 
 You're right, there is something wrong with the example. The technique
 works properly in my original (very large) document, but not in the
 reduced file. I'll try to discover why.

Ok, I'm not sure why, but the techninque shown on my page works only
when the body of the text is surrounded by \startbodymatter ...
\stopbodymatter. The example should read:

\startbodymatter
\chapter{The Windows of Absolute Night}
...etc...
\stopbodymatter

I also use \startfrontmatter ... \stopfrontmatter to delimit the
Contents, Preface, Introduction, etc, and \startbackmatter ...
\stopbackmatter around the Index and colophon. But the behavior you
found is controlled by the example above.

I'll correct the page.

-Bill
-- 
Sattre PressCuriosities of the Sky
http://sattre-press.com/by Garrett Serviss
[EMAIL PROTECTED]http://csky.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Footnotes

2003-09-16 Thread Hans Hagen
At 20:00 15/09/2003 +0200, you wrote:
Hi Pawel

Sorry for the misspelling of your name.
Thanks, I see that my question is almost the same as yours was.
However, when I use
\setupfootnotes[bodyfont={\switchtobodyfont[8pt]},offset=-1cm]
should be

\setupfootnotes[bodyfont=8pt,offset=-1cm]
\setupbodyfont as argument to \setupbodyfont is not that good an idea -)

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] newbie tabulate question

2003-09-16 Thread Hans Hagen
At 09:16 15/09/2003 +0200, you wrote:
Hans,

thanks for your reply. I works with your minimal example, but not with my 
file. When I try this

\setuptabulate[|w(.3\textwidth)|p|]
this setup command expects key/value pairs, and since the = is missing, tex 
sees a \textwidth (being a dimension register) and therefore expects some 
assignment

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [NTG-context]

2003-09-16 Thread ^Nitram^
Hi,

 layers, see details.pdf

Thanks, but I tried examples from there and only
\hskip\layoutcolumnoffset{2}{\red Text positioned in column 2!}
works fine...

Other examples does nothing - there is no errors on \setlayer but
I didn't see any effect - no text is visible ;(

PS. Sorry for empty subject of first post.

-- 
Best regards
Martin

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


Re: [NTG-context] Footnotes

2003-09-16 Thread Pawel Jackowski na Onet
Hi Willi

 Thanks for your suggestions. In my case this does not seem to be the
 solution.
 I fiddled with the different options. The conclusion is, that the
footnotes
 do not readily follow the
 bodyfont settings.
 I provided Hans a test file and he will look into it.

Let me know when You solve the problem.

Regards, Pawe/l


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


[NTG-context] Alternate/Swash Font in ConTeXt, how?

2003-09-16 Thread Steffen Wolfrum
Does any of you cracks has experience in
how to use the AGaramondAlternate Font in ConTeXt?
I have no problems with the other Expert fonts
but this one stays empty.
As I am starting with a Mac font I am not sure
which encoding to choose for generating the pfb file.
Someone already did this journey?

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