[NTG-context] Metapost and TeX [OT]

2004-08-23 Thread skhilji
I don't have any experience in metapost.  I would appreciate if someone would please 
answer this question without me having to do thru tutorials and metapost source code.

I was wondering how does metapost talk to TeX?  Quicky glancing through the metafun 
book, I found out that you can super-impose text typeset by TeX on top of a diagram.  
I imagine you could do the same with mathematical equations too.

So how does metapost interact with TeX?  Let me guess:

1)  Metapost could first write down to a file the text that it wan't TeX to typeset.  
It could then run TeX on the file.  TeX produces a DVI file and metapost reads it 
back.  It can then superimpose it on top of a picture.

2)  Metapost could also be including within itself a simplified version of TeX.  But 
that would be reinventing the wheel.

So how does it happen in reality?

The reason that I am asking is that I am interested in producing some diagrams using 
the libHARU PDF library (a C++ library to produce PDF files).  Beautiful Text support, 
however, is missing from the library.  I was wondering if I could hack it up so that I 
could somehow use TeX for the text part and C++ calls for the graphics part.


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


Re: [NTG-context] How to use PostScript font

2004-08-19 Thread skhilji
None of the commands that I was told worked.  I donT think its my installation.  To my 
surprise, the following does not work at live.contextgarden.net.  If you see the log 
file, it says that the TFM file not found.  Even the server at contextgarden is 
missing the package that I am missing from my system

\usetypescript[berry][ec] % or [8r]
\setupbodyfont[pos]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext



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


[NTG-context] Lucida Bright Fonts from StarOffice

2004-08-19 Thread skhilji
For right now, I am giving up on the postscript fonts.  Lets try something else.

At http://home1.vr-web.de/~was/lucidayy/, you will see some files that tell you how to 
use the Lucida Bright fonts that come with StartOffice 5.2 with LaTeX.

I copied all the pfb and afm files from StarOffice52 into a folder.  Its contents are:

[EMAIL PROTECTED] fonts]$ ls *.pfb
hlcbot6w.pfb  hlcrot6w.pfb  hlhd80.pfb   hlhri80.pfb  hlsdo80.pfb  hlsro80.pfb
hlcbot80.pfb  hlcrot80.pfb  hlhd81.pfb   hlhri81.pfb  hlsdo81.pfb  hlsro81.pfb
hlcbot81.pfb  hlcrot81.pfb  hlhdi80.pfb  hlsd6w.pfb   hlsr6w.pfb
hlcbt6w.pfb   hlcrt6w.pfb   hlhdi81.pfb  hlsd80.pfb   hlsr80.pfb
hlcbt80.pfb   hlcrt80.pfb   hlhr80.pfb   hlsd81.pfb   hlsr81.pfb
hlcbt81.pfb   hlcrt81.pfb   hlhr81.pfb   hlsdo6w.pfb  hlsro6w.pfb
[EMAIL PROTECTED] fonts]$

I also have all the *.afm files from StarOffice.


Is there any way I can use these fonts with ConTeXt?  If yes, where do I need to copy 
them and what do I rename them to? Are these fonts exactly the same as the ones that 
you buy from yandy.com?

Also the above site says On the other hand, only the basic font styles (roman, sans 
serif, typewriter) are available, whereas the fonts from YY include many more 
variants such as true smallcaps, sans serif italic, fax, handwriting, blackletter and 
more)  Does CoTeXt use the other fonts that are missing?

I suppose it would be legal for me to use these fonts with ConTeXt?  I may have to ask 
someone at yandy.com.  It could be possible that these fonts are supposed to be used 
with StarOffice and StarOffice only.

Salman

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


[NTG-context] Page break after a section :-(

2004-08-17 Thread skhilji
I have some text that looks like:

\section{Flight Controls Model}
\startitemize[1]
\item The Flight Controls model
...
...
\stopitemize


ConTeXt has decided to put a page break right after the \section, so my itemized list 
begins on the next page.  I thought \sections were supposed to be setup with infinite 
penalty between the section title and the first line of the section text itself.  I 
don't want to put a directive in there myself to avoid a page break

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


[NTG-context] How to use PostScript font

2004-08-17 Thread skhilji
I'd like to use the paladino font from urw as my body font (Its the one used in the 
MetaFUN manual).  I tried setting:

\setupbodyfont[pos,12pt]

but it does not work.  What is the name that I should use?


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


Re: [NTG-context] Best source of ConTeXt documentation?

2004-08-02 Thread skhilji
Adding to this thread (I don't mean a reply to Paulo, but rather a reply to what Hans 
was saying earlier)...The problem with normal users cooking up new styles is the 
lack of artistic abilities in some people (like me).  One can, obviously go thru the 
manual cover the cover, but if one does not have creative thinking, then creating 
professional looking styles would be hard.  That is why, users like me really do not 
care if our documents look like everybody else's (just as long as they look 
professional).

Its kind of like learning Photoshop and knowing what each toolbar button doesbut 
not knowing how to mix all the available tools create a professional looking graphic.

And of course, once we learn the tool, then making small changes here and there to 
make it look slightly different is no big deal.

Salman

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


Re: [NTG-context] Best source of ConTeXt documentation?

2004-08-01 Thread skhilji
I'd like to see the sources of all the PDF files available at pragma-ade.  Its much 
easier to look at examples and learn from it than to ask for complete documentation.

Salman


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


Re: [NTG-context] Problem with Figures (Fixed)

2004-07-17 Thread skhilji
- Original Message -
From: Henning Hraban Ramm [EMAIL PROTECTED]
Date: Saturday, July 17, 2004 9:08 am
Subject: Re: [NTG-context] Problem with Figures (Fixed)

 
 
 That's because you use \placefigure - it must know what your 
 figure is.
 

In this case, this bug or typo ought to be fixed in the beginner's manual.



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


[NTG-context] How to use m-cweb module

2004-07-17 Thread skhilji
I was looking at the CWEB demo off the pdfTeX page.  Can someone please tell me how I 
would use the m-cweb package on TeX, the program web file.

The first step would be to create the tex file itself using 'weave tex.web'

Than I suppose I have to create an input file for conTeXt.  What would be the contents 
of this file and mods do I have to make to tex.tex before I run it through texexec?  
Also I am interested in the screen optimized version of it.

Salman


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