Re: [NTG-context] Installing Type 1 fonts into ConTeXt

2008-01-11 Thread Pascal de Bruijn
On Jan 11, 2008 9:17 PM, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote:

> Hi Pascal,
>
> On Fri, 11 Jan 2008 12:38:00 -0700, Pascal de Bruijn
> <[EMAIL PROTECTED]> wrote:
>
> > On Jan 11, 2008 8:25 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> >
> >> Pascal de Bruijn wrote:
> >> >
> >> > Does anybody have a clue why the first define went sour? Which tool
> is
> >> used
> >> > to extract the metadata from the .pfb files?
> >>
> >> Looks like a typing error in the pfb rename of  0018a___.pfb: it should
> >> be named zhum601bi.pfb (note the 'm').
> >
> >
> > Is renaming required?  I got the fonts from a CorelDRAW cdrom. I used
> the
> > files as is.
> >
> > Anyway other font collections also have deviating filenames, and they
> > work
> > just fine.
>
> In my experience, you have to get the coordination between pfb and tfm
> exactly right. Things are case sensitive etc... I'm sure there's just a
> typo or mismatch somewhere


I renamed all the fonts according to:
http://www.tug.org/fontname/html/Bitstream-fonts.html#Bitstream-fonts

I did this using a script, so there very little chance of error.

>>> Also, I'm currently installing in ~/texmf, however, say I'd want to
> >>> makethese fonts available system-wide, what would be the correct place
> >>> to movethem?
>
> Better to put them in texmf-local or, even better, texmf-project (may have
> to edit setuptex.bat in that case). I NEVER install anything in texmf if I
> can help it.
>
> See also the MyWay I wrote on this topic, maybe something in there will
> help.
>

I'll take a look at it tomorrow.

Regards,
Pascal de Bruijn
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing Type 1 fonts into ConTeXt

2008-01-11 Thread Pascal de Bruijn
On Jan 11, 2008 8:25 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:

> Pascal de Bruijn wrote:
> >
> > Does anybody have a clue why the first define went sour? Which tool is
> used
> > to extract the metadata from the .pfb files?
>
> Looks like a typing error in the pfb rename of  0018a___.pfb: it should
> be named zhum601bi.pfb (note the 'm').


Is renaming required?  I got the fonts from a CorelDRAW cdrom. I used the
files as is.

Anyway other font collections also have deviating filenames, and they work
just fine.

Regards,
Pascal de Bruijn
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Installing Type 1 fonts into ConTeXt

2008-01-11 Thread Pascal de Bruijn
Hi,

I'm trying to install Type 1 fonts into ConTeXt, I'm using texfont, and all
but one font properly generate:

Good:
\starttyping
\definefontsynonym[Humanist777BT-BoldB][texnansi-hum777b][encoding=texnansi]
\definefontsynonym[Humanist777BT-BoldItalicB][texnansi-hum777bi][encoding=texnansi]
\definefontsynonym[Humanist777BT-ItalicB][texnansi-hum777i][encoding=texnansi]
\definefontsynonym[Humanist777BT-RomanB][texnansi-hum777n][encoding=texnansi]
\stoptyping

Bad:
\starttyping
\definefontsynonym[][texnansi-zhu601bi][encoding=texnansi]
\definefontsynonym[ZapfHumanist601BT-Bold][texnansi-zhum601b][encoding=texnansi]
\definefontsynonym[ZapfHumanist601BT-Italic][texnansi-zhum601i][encoding=texnansi]
\definefontsynonym[ZapfHumanist601BT-Roman][texnansi-zhum601n][encoding=texnansi]
\stoptyping
(Complete file attached)

Does anybody have a clue why the first define went sour? Which tool is used
to extract the metadata from the .pfb files?

Also, I'm currently installing in ~/texmf, however, say I'd want to make
these fonts available system-wide, what would be the correct place to move
them?

And texfont creates a series of .tex files (containing the above text), what
is the properly location to put them? I don't want to copy these files into
each project directory.

Regards,
Pascal de Bruijn


texnansi-bitstream-zapfhumanist601.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lulu

2007-09-04 Thread Pascal de Bruijn
On Tue, 2007-09-04 at 01:43 +0200, Andrea Valle wrote:
> In my last post I was saying that I'm tinkering about the idea of
> using Lulu. 
> It seems to be difficult with ConTeXt:
> 
> 
> http://en.wikipedia.org/wiki/Lulu.com#_note-3
> 
> 
> (Lack of full support for open formats)
> 

I did this with LaTeX/Memoir/pdfTeX:
http://www.lulu.com/content/866835

And I ordered a copy which was just printed fine.

Although they officially only accept PDFs generated with Adobe Acrobat,
what they mean, is that they only guarantee that proper PDFs will print.
Many tools generate semi rotten PDFs.

I usually run 'pdfopt' on a PDF, which web optimizes a PDF by indexing
it's resources. Pdfopt usually errors on a rotten PDF, so this _can_ be
an indicator whether or not it'll print with Lulu. It's no guarantee
though.

So Lulu's policy seems rather bad on the surface, in practice working
with Lulu isn't that bad at all.

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Crop marks fonts

2007-08-15 Thread Pascal de Bruijn
Hi,

When enabling crop marks, ConTeXt prints the page number in each corner. Is
it possible to specify which font I want to use for that?

Regards,
Pascal de Bruijn
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType typescripts

2007-08-13 Thread Pascal de Bruijn
On Sun, 2007-08-12 at 21:12 +0200, Hans Hagen wrote:
> Pascal de Bruijn wrote:
> 
> > I still haven't got LuaTeX running properly. Something I wonder about is
> > why all those installation instructions weren't executed before creating
> > the tarballs.
> 
> well, taco and i and a few others have mkiv running fro quite a while no 
> (before it went beta) ... the problem is that we cannot foresee how 
> users have set up their system

I understand... Hiring a psychic probably isn't an option. However if
you take a look at TeX live, you'll see that they just deliver almost
everything them selves... So why not include lua and lcdf-typetools
precompiled with ConTeXt. Have everything statically compiled so it'll
just work.

This isn't pretty... But it'll work...

> 
> the biggest issue is that
> 
> (1) luatex needs a cache path and users may have conflicting demands
> (2) luatex needs lua code to start up and therefore be ablt to find it
> 
> > I understand this is a beta. But making the installation less complex
> > might get you more testers.
> 
> well, once it runt it runs ... tex has never been easy to install and we 
> cannot change everything at once

True...

> 
> > I should probably reread the docs, and put some more effort into it.
> 
> guess so
> 



-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Pascal de Bruijn
On Sun, 2007-08-12 at 19:45 +0200, Hans Hagen wrote:
> Pascal de Bruijn wrote:
> 
> > I generate two versions:
> > - tabular lining figures
> > - proportional old style figures
> 
> if you want to to such things ... use xetex or luatex ... less work that 
> way since then you can control things with features
> 

XeTeX isn't really an option since it's missing the microtype extensions
which is really do want.

I still haven't got LuaTeX running properly. Something I wonder about is
why all those installation instructions weren't executed before creating
the tarballs.

I understand this is a beta. But making the installation less complex
might get you more testers.

I should probably reread the docs, and put some more effort into it.

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Pascal de Bruijn
On Sun, 2007-08-12 at 19:34 +0200, Patrick Gundlach wrote:
> Hi Pascal,
> 
> 
> > How should I write my typescript so I can easily choose between the
> > versions of the fonts?
> 
> Does this help:
> 
> http://wiki.contextgarden.net/Font_Variants
> 

Hmm I think so. I'll give it a shot. Thanks.

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] OpenType typescripts

2007-08-12 Thread Pascal de Bruijn
Hi,

I'm trying to write my own OpenType installation script. So far I have
run otftotfm to install my fonts and create tfm files.

Now I need to generate a typescript files, but the documentation I've
read sofar puzzles me.

>From a base font "AGaramond-Pro" containing three weights:
- Regular
- Semibold
- Bold

I generate two versions:
- tabular lining figures
- proportional old style figures

Except for non-italic variants of Regular and Semibold which have two
additional versions:
- small caps + proportional old style figures
- caps to small caps + small caps + proportional old style figures

How should I write my typescript so I can easily choose between the
versions of the fonts?

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/
[EMAIL PROTECTED]:~/opentype/generated/adobe/garamond$ ~/otf.sh 
LY1--AGaramondPro-BoldItalic--flnum-ftnum--lcdfj AGaramondPro-BoldItalicLCDFJ "" ___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType in ConTeXt

2007-08-10 Thread Pascal de Bruijn
On Thu, 2007-08-09 at 16:36 -0400, John R. Culleton wrote:
> On Tuesday 07 August 2007, Hans Hagen wrote:
> > Hans van der Meer wrote:
> > > On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
> > >>> Does LuaTeX already support OpenType things like
> > >>> SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
> > >>
> > >> Yes. Best read the magazine has mentioned, and lookup
> > >> \definefontfeature.
> > >>
> > >>http://www.pragma-ade.com/general/magazines/mag-0012.pdf
> > >
> > > I seem not to be able to reach/allowed on this link.
> > > Nor did I find it in the download/magazine section of the pragma
> > > site. How do I get this?
> >
> > it's really there
> >
> > Hans
> 
> I should mention that when I (involuntarily) changed Cable ISPs I lost 
> the ability to transmit mail directly to this list.  ntg.nl is 
> apparently not in their DNS server.  So I must transmit posts here 
> via my wexfordpress.com mail server maintained by doteasy.com, a 
> Canadian company.  Perhaps the other person is having a similar 
> difficulty basd on domain name servers. 

This means your ISPs DNS servers are broken. Not having a domain is just
not possible, without something being very broken, or being
intentionally (mis)configured.

You should complain at your ISP...

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LuaTeX issues

2007-08-08 Thread Pascal de Bruijn
On Wed, 2007-08-08 at 19:16 +0200, Taco Hoekwater wrote:
> Pascal de Bruijn wrote:
> > Hi,
> > 
> > I'm having issues executing ConTeXt with LuaTeX:
> > 
> > $ texexec --luatex lulu
> > TeXExec | processing document 'lulu'
> > TeXExec | no ctx file found
> > TeXExec | tex processing method: context
> > TeXExec | TeX run 1
> > TeXExec | writing option file lulu.top
> > TeXExec | using randomseed 141
> > TeXExec | tex engine: luatex
> > TeXExec | tex format: cont-en
> > TeXExec | runtime: 0.063962
> 
> My guess is that you have not properly installed "luatools". Try
> 
>$ texexec --verbose --luatex lulu
> 
> to see what it says then.
> 

I have unpacked the cont-tmf.zip file. This happens when I add verbose:

$ texexec --verbose --luatex lulu
TeXExec | processing document 'lulu'
TeXExec | using search method 'kpsefast'
TeXExec | no ctx file found
TeXExec | using search method 'kpsefast'
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file lulu.top
TeXExec | using randomseed 638
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
TeXExec | unable to fix backend map path
TeXExec | running: luatools --fmt=cont-en lulu.tex
TeXExec | runtime: 0.064427
TeXExec | option 'luatex' is set to 'true'
TeXExec | option 'verbose' is set to 'true'
TeXExec | option 'randomseed' is set to '638'
TeXExec | option 'filename' is set to 'lulu'
TeXExec | option 'mainlanguage' is set to 'standard'
TeXExec | option 'bodyfont' is set to 'standard'
TeXExec | option 'language' is set to 'standard'
TeXExec | option 'engine' is set to 'standard'
TeXExec | option 'distribution' is set to 'web2c'
TeXExec | option 'texformats' is set to 'en'
TeXExec | option 'mpsformats' is set to 'metafun'
TeXExec | option 'progname' is set to 'standard'
TeXExec | option 'interface' is set to 'standard'
TeXExec | option 'runs' is set to '8'
TeXExec | option 'backend' is set to 'pdftex'
located : context-tex-lulu.ctx -> 

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] LuaTeX issues

2007-08-08 Thread Pascal de Bruijn
Hi,

I'm having issues executing ConTeXt with LuaTeX:

$ texexec --luatex lulu
TeXExec | processing document 'lulu'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file lulu.top
TeXExec | using randomseed 141
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
TeXExec | runtime: 0.063962

This is all the output I get. And it fails to generate a .pdf.

Regards,
Pascal de Bruijn


-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType in ConTeXt

2007-08-07 Thread Pascal de Bruijn
On Mon, 2007-08-06 at 22:07 +0200, Patrick Gundlach wrote:
> Hi Pascal,
> 
> > I'll give otfinstall a shot tomorrow.
> 
> this is the oinst file for the adobe garamond premier I've used. There
> is no support for opticals yet. This is really a simple tool.
> 
> adobe_garamond_premier_pro.oinst:
> --
> vendor  "adobe"
> collection  "garamond"
> 
> # 'sans' or 'serif'
> fontclass   "serif"
> 
> # Allowed variants are 'default', 'osf'
> variants%w(default osf)
> 
> # Supported faces are 'regular' 'bold' 'italic' and 'bolditalic'
> regular "GaramondPremrPro.otf"
> bold"GaramondPremrPro-Bd.otf"
> italic  "GaramondPremrPro-It.otf"
> bolditalic  "GaramondPremrPro-BdIt.otf"
> --

I adjusted it to my own situation (AGaramondPro, not the Premier
version). And I ran it succesfully. However, I can't see where the files
have gone? Compiling my .tex file also doesn't change anything.

I declared this, maybe I went wrong here... I tried several different
font names:

\usetypescript[AGaramondPro][texnansi]
\setupbodyfont[AGaramondPro]

I also tried 'garamond', 'adobegaramondpro'.

Besides this I also noticed the script didn't support Semibold, which to
me is very essential. The Bold version of AGaramondPro doesn't have any
small caps, and Semibold just looks beter.

And if I understand the script correctly, the font in converted into
static versions supporting OsF and Sc, right? (Ruby isn't very readable,
when you're not a Ruby programmer).

Regards,
Pascal de Bruijn
-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
On 8/6/07, Hans Hagen <[EMAIL PROTECTED]> wrote:
>
>
> well, i still use texfont for type 1 fonts, but for open type i use
> luatex anyway which can handle it directly (actually, mkiv also uses afm
> files instead of tfm when available, so texfont is not needed any more)


How stable/reliable is LuaTeX for general use?

Does LuaTeX already support OpenType things like
SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

Regards,
Pascal de Bruijn
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
Hi,

On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote:
> > Why should I use otfinstall instead of texfont, besides the fact that
> > texfont doesn't work?
> 
>   Do you really need another reason? Have you tried otfinst? The point
> of all these scripts is to make your life easier in generating metrics,
> auxiliary fonts and map files; if you tear yourself with questions
> before trying them much of their interest is lost on you.

You're right. I'm just a curious person. I considerd texfont to be an
'official' tool, and I'd like to learn/stick to official stuff whenever
possible (at least as long as that doesn't involve me losing my sanity).

> 
> >   Is texfont incomplete?
> 
>   I have no idea; but at any rate it belongs to a clearly “older”
> generation of scripts. The latest available version has
> “version=2004.02.06” in the documentation part, and even without that
> you can spot it quite easily since it belongs to Hans' Perl period ;-)

I didn't know Hans' had a Perl period... I guess that period has passed
now... 2004 has been a while...

> 
> 
> >  Or am I doing something
> > wrong?
> 
>   Probably not.
> 
> >What are the advantages/downsides of both?
> 
>   Why don't you try it for yourself?

I'll give otfinstall a shot tomorrow.

Thanks for the reply,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Background image

2007-08-06 Thread Pascal de Bruijn
On Mon, 2007-08-06 at 19:47 +0200, Peter Rolf wrote:
> Pascal de Bruijn schrieb:
> > Hi,
> > On Mon, 2007-08-06 at 13:02 +0200, Peter Rolf wrote:
> >>
> >> BTW: do you set a bleed|crop-box?
> > 
> > No clue? How do I do that? What does it do? 
> >
> It simply defines the size and position of these boxes (which then
> become part of the document). In your case any(?) print shop then knows
> where to crop, even without any crop marks.
> See also
> 
> http://www.pragma-ade.com/general/technotes/pdfboxes.pdf
> 
> and (only german; sorry, couldn't find it on the english wiki)
> 
> http://de.wikipedia.org/wiki/Portable_Document_Format#Angaben_der_Seitengeometrie
> 
> > Basically Lulu will print a 9.25"x6.25" image onto their paper. Then a
> > centered 9"x6" page will be cut from that. This way full bleed print is
> > achieved.
> >
> if they don't use them, you don't need them :)
> 

I can understand some basic German. I only live a couple of yards from
the border.

I guess my settings would be like this:

Mediabox : 9.25" x 6.25"
Cropbox  : 9.25" x 6.25"
Bleedbox : 9.25" x 6.25"
Trimbox  : 9.00" x 6.00"
Artbox   : 9.00" x 6.00"

Should I supply metadata so pdfTeX can store this in the final PDF? If
so, how do I do it?

But Lulu probably doesn't use them... They accept PDFs make with
Word/PDF-Printer, so it can't be _that_ complex.

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
On Mon, 2007-08-06 at 09:45 +0200, Patrick Gundlach wrote:
> Hi,
> 
> > Can anybody lend me some aid? 
> 
> You could use otfinstall to install your opentype fonts. 
> 
> http://wiki.contextgarden.net/otfinstall

I already noticed that script, however... It seems texfont already has
support for OpenType. It has the --preproc and --lcdf parameters.

After running:

texfont --makepath --install -en=texnansi --ve=adobe
--co=adobegaramondpro --preproc --lcdf

It generated these files:

/opt/texlive/texmf-local/fonts$ ls -1 tfm/adobe/adobegaramondpro/
texnansi-AGaramondPro-Regular--base.tfm
texnansi-AGaramondPro-Regular--lcdfj.tfm
texnansi-AGaramondPro-Regular.tfm
texnansi-AGaramondPro-Semibold--base.tfm
texnansi-AGaramondPro-Semibold--lcdfj.tfm
texnansi-AGaramondPro-Semibold.tfm
...
/opt/texlive/texmf-local/fonts$ ls -1 type1/adobe/adobegaramondpro/
AGaramondPro-Regular.pfb
AGaramondPro-Semibold.pfb
...

Why should I use otfinstall instead of texfont, besides the fact that
texfont doesn't work? Is texfont incomplete? Or am I doing something
wrong? What are the advantages/downsides of both?

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] PDF Metadata / Attachments

2007-08-06 Thread Pascal de Bruijn
Hi,

With LaTeX I was able to set my own PDF metadata, is this possible with
ConTeXt? I mean things like: Title, Subject, Author, Keywords, Creator,
Producer?

Also, I generally like to include my .tex source file into my PDF as a
text file attachment. LaTeX has a package for this, does ConTeXt have
similar functionality?

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Background image

2007-08-06 Thread Pascal de Bruijn
Hi,

On Mon, 2007-08-06 at 13:02 +0200, Peter Rolf wrote:
> Hi Pascal,
> 
> I spend more than one hour on this, to find a clean solution. So please
> add this to the wiki.

I will when I'm more comfortable with ConTeXt.

> And if you can, send my a copy of the nice background image (never mind
> if not). I felt in love with this, while testing your example.

I'm sorry, it's a commercial image. I don't own the copyright. However
it can be purchased at high resolution (color) for an affordable price:

http://www.istockphoto.com/file_closeup/people_specific_attributes/race/mixed_background/3259587_old_paper_xxl.php?id=3259587

I hope the link doesn't break, if it does search for "Old Paper XXL".
iStockPhoto has lots of really good artwork available at reasonable
prices.

> 
> Anyhow, the cut markings are still lying under the picture (Hans?),
> the rest should work. The automatical scaling of the image uses a tricky
> method from this mailing list
> 
> http://archive.contextgarden.net/message/20070719.232314.12cb4f5f.en.html
> 

Indeed, it would be nicer to have the cropmarks on top. Though this is
not essential to me. Lulu.com actually doesn't want crop marks.

> 
> Best wishes, Peter
> 
> BTW: do you set a bleed|crop-box?

No clue? How do I do that? What does it do? 

Basically Lulu will print a 9.25"x6.25" image onto their paper. Then a
centered 9"x6" page will be cut from that. This way full bleed print is
achieved.

Though I'm still wondering about one thing: What's better in my case
\printpapersize or \overlaysize?


Thanks for your excellent help,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
Hi,

I managed to install my Adobe OpenType fonts into ConTeXt:

texfont --makepath --install --en=texnansi --ve=adobe
--co=AdobeGaramondPro --preproc --lcdf

However, loading the font like this does not work:

  \usetypescriptfile[texnansi-adobe-adobegaramondpro]
  \setupbodyfont[AdobeGaramondPro]

Can anybody lend me some aid? Did I mess up the installation? Or am I
using the wrong syntax?

I'm using TeXlive 2007.

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Background image

2007-08-06 Thread Pascal de Bruijn
Hi,

I'm trying to layout a book for Lulu.com. I'm working with a 9"x6" paper
size, which is going to be printed on 9.25"x6.25" stock paper to enable
full bleed printing.

I have managed to get a background image using a background layer.
However, I don't seem to be able to get it to the right size.

Sample files:
http://area42.pcode.nl/context/

In the PDF you can see, that I'm stuck with a white edge. I need the
background picture to fill my entire page with no white left. I also
need to crop marks to remain on top of the background image.

The supplied background image has the same height/width ratio as the
stock page. However I would like TeX to stretch the ratio if necessary. 

I'd appreciate any suggestion on how to achieve this.

Regards,
Pascal de Bruijn
-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___