Re: [NTG-context] State of documentation of ConTeXt?

2014-07-15 Thread David Wooten
On Jul 15, 2014, at 2:59 AM, Gerben Wierda gerben.wie...@rna.nl wrote:

 I like ConTeXt (still do, I liked its approach when I first encountered it). 
 But the project is more the ongoing private tinkering of a small in-crowd 
 (that communicates with some followers).
 
 ConTeXt is managed a bit like a small group of researchers sharing a couple 
 of complex and undocumented models/programs and tinkering with them as they 
 go along. It’s an activity without formal design, but with a lot of 
 trial-and-error/testing.
 
 Given that status (and the fact that it has had that status for over a 
 decennium), I don’t expect it to ever become a serious product that is 
 (semi-)professionally managed. I prefer content over management every day, 
 but something like this needs some minimal management. That requires both 
 time (=money) and capabilities. Besides, the tinkering researchers may not be 
 inclined to do that, they want to tinker.


Agreed, though for my part with the opposite emphasis. I do not think ConTeXt 
is meant to be a “serious product”, as in being developed to be a product in 
the “marketplace” of  typesetting software — even open/free software. My 
impression is exactly yours, it is being developed primarily for the purposes 
of Pragma—a small in-crowd no doubt—but with extraordinarily generous support 
for a small community of non-Pragma people interested in using it. I’m grateful 
to have access to ConTeXt, as for me it’s the only sane method of typesetting 
the kind of documents I wish to typeset — not LaTeX, not InDesign, not Plain 
TeX, … I can tell you that every question or suggestion I’ve had has been 
responded to in the most generous form in this community, which I cannot say 
about any other platform I’ve used, typesetting or otherwise.

It’s suspect to take umbrage on another’s behalf, but “tinkering researchers 
may not be inclined to do that, they want to tinker” — It’s absurd to suggest 
that Hans co. are “tinkering” for the sake of tinkering.

David ___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] State of documentation of ConTeXt?

2014-07-15 Thread David Wooten
As is said most often here in California, that’s just your opinion Hans! ;)

On Jul 15, 2014, at 3:54 PM, Hans Hagen pra...@wxs.nl wrote:

 On 7/16/2014 12:26 AM, David Wooten wrote:
 On Jul 15, 2014, at 2:59 AM, Gerben Wierda gerben.wie...@rna.nl
 mailto:gerben.wie...@rna.nl wrote:
 
 I like ConTeXt (still do, I liked its approach when I first
 encountered it). But the project is more the ongoing private tinkering
 of a small in-crowd (that communicates with some followers).
 
 ConTeXt is managed a bit like a small group of researchers sharing a
 couple of complex and undocumented models/programs and tinkering with
 them as they go along. It’s an activity without formal design, but
 with a lot of trial-and-error/testing.
 
 Given that status (and the fact that it has had that status for over a
 /decennium/), I don’t expect it to ever become a serious product that
 is (semi-)professionally managed. I prefer content over management
 every day, but something like this needs some minimal management. That
 requires both time (=money) and capabilities. Besides, the tinkering
 researchers may not be inclined to do that, they want to tinker.
 
 Agreed, though for my part with the opposite emphasis. I do not think
 ConTeXt is meant to be a “serious product”, as in /being developed to be
 a product in the “marketplace” of  typesetting software — even open/free
 software. /My impression is exactly yours, it is being developed
 primarily for the purposes of Pragma—a small in-crowd no doubt—but with
 
 don't get me wrong: the development is to a large extend possible because we 
 can use it at pragma (it make sit possible to do things that often cannot be 
 done otherwise) but most of the features that have been added the last years 
 as well as numerous additional options are purely user driven: most styles we 
 write are rather simple .. the complexity comes from the often messy or 
 complex or to-be-manipulated content and range of products; so, it being 
 mostly user driven (but within the constraints that we keep a relative stable 
 core) also means that users have a responsibility for helping with 
 documentation
 
 extraordinarily generous support for a small community of non-Pragma
 people interested in using it. I’m /grateful/ to have access to ConTeXt,
 as for me it’s the only sane method of typesetting the kind of documents
 I wish to typeset — /not /LaTeX, /not /InDesign, /not /Plain TeX, … I
 can tell you that every question or suggestion I’ve had has been
 responded to in the most generous form in this community, which I cannot
 say about /any other/ platform I’ve used, typesetting or otherwise.
 
 keep in mind that context has been part of the tex distributions for quite a 
 while now (nearly 20 years), that there are others than me who know the 
 source code pretty well (which means that it doesn't depend on pragma), that 
 the context crowd has been actively involved in development of (and even 
 triggered) general tex developments (..., luatex, mplib, fonts, ...) so it's 
 not as isolated as you suggest.
 
 once the move from mkii to mkiv is finishes and luatex is kind of done, there 
 might be time for writing more documentation; we're far from retiring
 
 of the other macro packages, plain tex is frozen, and latex dev is quite 
 controlled too (anyone can write additional code for any macro package)
 
 (and the context mailing list is one of the more active tex related lists and 
 not the smallest either)
 
 It’s suspect to take umbrage on another’s behalf, but “tinkering
 researchers may not be inclined to do that, they want to tinker” — It’s
 absurd to suggest that Hans co. are “tinkering” for the sake of tinkering.
 
 sometimes we do, when we explore new posibilities,
 
 Hans
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr

Re: [NTG-context] smallcaps with features in simplefont

2014-07-02 Thread David Wooten
Thank you Wolfgang, it’s all coming together.

On Jul 1, 2014, at 9:49 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 01.07.2014 um 23:11 schrieb David Wooten d...@trichotomic.net:
 
 Greetings,
 
 I’ve been trying to work through a new font scheme using simplefonts, e.g. 
 in simple form something like this:
 
 \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
 \setupalign[hanging,hz]
 \setupbodyfont[mainface,13pt]
 
 In this setup, I do get protrusion  expansion in the text, —except when I 
 switch to {\sc small caps.}
 
 In your setup you disable ligatures etc., to keep them change the first two 
 lines to
 
 \definefontfeature[main][default][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
 
 or
 
 \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main}]
 
 Do I need to declare the caps in some other way?
 
 Smallcaps use the regular where the “smallcaps” features are applied, to use 
 also your “main” features you have to use this setup:
 
 \definefontfamily[mainface][rm][Adobe Jenson 
 Pro][features={default,main},sc=features:{default,main,smallcaps}]
 
 Wolfgang
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] smallcaps with features in simplefont

2014-07-01 Thread David Wooten
Greetings,

I’ve been trying to work through a new font scheme using simplefonts, e.g. in 
simple form something like this:

\definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
\definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
\setupalign[hanging,hz]
\setupbodyfont[mainface,13pt]

In this setup, I do get protrusion  expansion in the text, —except when I 
switch to {\sc smallcaps.}

Do I need to declare the caps in some other way?

Thanks,
David___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Lilypond

2014-06-12 Thread David Wooten

On Jun 11, 2014, at 1:51 AM, Henning Hraban Ramm te...@fiee.net wrote:

 
 Am 2014-06-11 um 00:26 schrieb David Wooten d...@trichotomic.net:
 
 Hi Hraban, thanks very much — yes I am able to get the first examples to 
 work. Is there still a way to insert snippets/single lines of music between 
 paragraphs?
 
 Between paragraphs should just work like that.

Both examples (1st page  multipage insertion) place the snippet on its own 
page, e.g. this gives me a 3 page document w/ snippet on page 2:

\def\readPDFfile#1{\externalfigure[#1]}

\usemodule[filter]
\defineexternalfilter[lilypond]
[continue=yes,
readcommand=\readPDFfile,
directory=lilytemp/, % directory for LilyPond's files
output={\externalfilterbasefile.pdf},
filtercommand={lilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts -ddelete-intermediate-files 
-olilytemp/\externalfilterbasefile \externalfilterinputfile}]

\starttext
\input zapf
\inlinelilypond{c d e f g a b c}
\input zapf
\stoptext

(same result for \startlilypond … \stoplilypond)

OS X Mavericks

 If you’d like to avoid \startlilypond … \stoplilypond, try \inlinelilypond{…}
 
 If the one \include line is too much for your use case, you should look into 
 how you can inject that automatically in the buffer file.
 
 If you don’t want to include your lilypond settings file every time, follow 
 the advise in filter’s docs regarding LaTeX package „skak“ („Prepend and 
 append text“):
 http://modules.contextgarden.net/dl/t-filter/doc/context/third/filter/filter.txt
 
 Please add your solution to the wiki!

I certainly will,

Thanks
David


 
 Greetlings, Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lilypond

2014-06-12 Thread David Wooten
Right! Got it.

On Jun 12, 2014, at 10:37 AM, Henning Hraban Ramm te...@fiee.net wrote:

 Am 2014-06-12 um 23:00 schrieb David Wooten da...@farwestmillwork.com:
 
 Both examples (1st page  multipage insertion) place the snippet on its own 
 page, e.g. this gives me a 3 page document w/ snippet on page 2:
 
 The LilyPond settings are essential, otherwise LP produces whole pages, 
 that’s not a problem of ConTeXt.
 Please read and follow the wiki.
 
 Greetlings, Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lilypond

2014-06-10 Thread David Wooten
Hi Hraban, thanks very much — yes I am able to get the first examples to work. 
Is there still a way to insert snippets/single lines of music between 
paragraphs?

Cheers,
David

On Jun 10, 2014, at 2:53 AM, Henning Hraban Ramm te...@fiee.net wrote:

 Am 2014-06-09 um 04:31 schrieb David Wooten d...@trichotomic.net:
 
 Greetings all, it’s been quite a while since I tried to use lilypond 
 snippets in a context file. Looks like we’re now using the filter module… 
 can someone post a small working example file to get me started? —there are 
 a number of different  some incomplete approaches to be found, none of 
 which work :)
 
 There’s really just one approach, just different setups of the filter module:
 http://wiki.contextgarden.net/LilyPond
 
 Did the first example work at all? Do you have LilyPond installed, and 
 calling „lilypond“ works?
 
 Greetlings, Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Lilypond

2014-06-08 Thread David Wooten
Greetings all, it’s been quite a while since I tried to use lilypond snippets 
in a context file. Looks like we’re now using the filter module… can someone 
post a small working example file to get me started? —there are a number of 
different  some incomplete approaches to be found, none of which work :)

Kind regards,
David
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] page numbering 'marginedge'

2014-03-04 Thread David Wooten
Exactly so, thanks Pablo. 

On Mar 3, 2014, at 10:44 AM, Pablo Rodriguez oi...@gmx.es wrote:

 On 03/03/2014 07:37 PM, David Wooten wrote:
 Hello all, trying to get page numbers in the outer margin edge of a
 double-sided document — marginedge as it is places the numbers to the
 inside margin edge, is there an opposite command?
 
 Hi David,
 
 as far as I know, location=right is the option you want.
 
 See minimal sample:
 
 \setuppapersize[A6]
 \setuppagenumbering[alternative=doublesided, location=right]
 \starttext
 \input knuth\page
 \input zapf\page
 \input ward
 \stoptext
 
 I hope it helps,
 
 
 Pablo
 -- 
 http://www.ousia.tk
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] page numbering 'marginedge'

2014-03-03 Thread David Wooten
Hello all, trying to get page numbers in the outer margin edge of a 
double-sided document — marginedge as it is places the numbers to the inside 
margin edge, is there an opposite command?

Thanks,
David
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lilypond

2011-08-20 Thread David Wooten
Hi Aditya  Hraban,

I'm very glad to see improved Lilypond integration being discussed. I can't 
offer too much besides moral support, but would just point out one solution 
I've found for proper width/alignment of a snippet with extra-staff material 
(e.g. a piano staff marker { ): If the ConTeXt textwidth is equal to the 
Lilypond line-width, aligning the float to the right gives you a snippet nicely 
aligned with flush text (extra-staff material being pushed towards the left 
margin). 

Something like this (as in the example in the garden):

\def\readlilypondoutput#1{\setupfloats[location=right,frame=off]\placefigure[]{}}{\externalfigure[#1]}}

Regards,
David


On Aug 20, 2011, at 1:19 AM, Aditya Mahajan wrote:

 On Fri, 19 Aug 2011, Henning Hraban Ramm wrote:
 
 Am 2011-08-19 um 17:08 schrieb Aditya Mahajan:
 
 But - can you even support different setups, say
 
 \startlilypondpreamble
 global settings for everything
 \stoplilypondpreamble
 
 \startlilypondpreamble[snippet]
 global settings for snippets
 \stoplilypondpreamble
 
 \startlilypondpreamble[fullscore]
 global settings for full scores
 \stoplilypondpreamble
 
 \startlilypond[setup=fullscore]
 the score
 \stoplilypond
 
 etc.
 
 Yes. I can support the following syntax:
 
 \startbuffer[snippets] ... \stopbuffer
 
 \startbuffer[fullscore] ... \stopbuffer
 
 \startbuffer[common] ... \stopbuffer
 
 \startlilypond[bufferbefore={snippets,common}, bufferafter={}]
  \stoplilypond
 
 (In fact, provide similar support for anything defined using the filter 
 module).
 
 The other thing is to be able to change linespace, papersize, offset, etc 
 using parameters, so that one can say:
 \startlilypond[linespace=...]
 ...
 \stoplilypond
 This will require some lua side processing.
 
 You mean, translate ConTeXt-style settings to LilyPond settings, like we did 
 with the old module?
 
 Yes.
 
 That wouldn’t make much sense. LilyPond just has too much settings. And most 
 of them you can set in different ways. To fully support this, you’d need a 
 complete LilyPond parser including Scheme. And a small set of settings is 
 never the right set for everyone.
 
 OK.
 
 Ok, there are a few settings that we could translate, e.g. set ConTeXt’s 
 main fonts also for LilyPond.
 
 Agreed. Does anyone know how to get the name of the current font in MkIV?
 
 We don’t need LilyPond's layout settings, as long as we go the 
 \externalfigure path.
 
 But I think that at least automatic paper size settings (set paper size to be 
 equal to text area) are needed.
 
 I don’t know a solution for line breaking of scores - if you’d set 
 LilyPond’s page size to ConTeXt’s remaining space, it would stay the same 
 for the second page. Perhaps we can get single lines (systems) and let 
 ConTeXt to the page breaking. I’ll look into that.
 
 OK.
 
 But I don’t know how we can make it right WRT LilyPond snippets - I’d want 
 to align a note systems’s base line with ConTeXt’s text baseline, but the 
 height and clipping of a snippet depends on the visible elements. Without 
 some picture analysis (or runtime data from LilyPond, that doesn’t exist 
 AFAIK) you need to adjust your snippets manually.
 
 Does lilypond-book handle this at all? It does not appear to. Manually 
 adjusting each inline snippet will be too much work, IMO.
 
 Do you know how lilypond numbers its output files. In some cases I get 
 filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf 
 or always give filename.pdf
 
 LilyPond adds a number to EPS, if there’s more that one page.
 But in my songbook setup, I always get a filename-temp-lilypond-##.eps plus 
 an identical filename-temp-lilypond-##-1.eps
 
 When you order more than one \midi{} in several \score blocks, the first 
 MIDI file is unnumbered, the second gets number 1 etc.; didn’t try with 
 different \layout blocks yet.
 
 Seems like I must do some tests with multipage scores.
 
 Look at the current version on github. It should be able to handle multi-page 
 snippets.
 
 Aditya___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

[NTG-context] [OT ?] New vi-like editor for Mac

2011-05-16 Thread David Wooten
Hi folks,

Thought a few of you might share my interest in a new editor, vico ( 
http://www.vicoapp.com/  ),  in development for the Mac. Vi(m)-like, 
configurable with nu scripting, nice interface (variable width-fonts in vi!), 
handles at least some TextMate bundles (like the ConTeXt and LilyPond bundles, 
at least partially  to be tested further), handles remote directories via 
ssh, responsive developer. Not free after full release, if that's a kicker.

Dave
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LilyPond nowadays

2011-04-13 Thread David Wooten
On Apr 13, 2011, at 2:18 AM, Henning Hraban Ramm wrote:

 Am 2011-04-13 um 01:37 schrieb David Wooten:
 
 I've gotten back to tinkering with LilyPond, and wanted to ask if someone 
 could send a small example of the new method of handling it, especially with 
 some lilypond settings in the .ly file mentioned below. My initial trials 
 make place the lilypond results on their own page. How would we get them 
 placed in-line?
 
 Do you mean in-line music snippets (i.e. within a line of text)?
 I don’t know, never needed it - and it worked never properly with t-lilypond 
 either.

Yes, I did mean snippets. I did have it working very well for me a few years 
ago, tinkering a bit with the module to get the snippets the correct 
width/placement in reference to the text.

 The mentioned LilyPond settings file is nothing magic - just a LilyPond file, 
 containing LilyPond or Scheme code.
 It has nothing to do with ConTeXt’s image placement.
 You don’t need it, if you don’t need it ;-)  Find mine attached. Maybe you 
 need the settings of the paper block.

Ah, I see. Thanks for the example.

***

On Apr 13, 2011, at 8:13 AM, Aditya Mahajan wrote:

 On Wed, 13 Apr 2011, Henning Hraban Ramm wrote:
 
 Aditya, LilyPond’s preview mode doesn’t help - it just makes a preview 
 (first line) of your music.
 
 That should work for inline snippets, right?

I'd love to hear if so . . .

Thanks,
David
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] LilyPond nowadays

2011-04-12 Thread David Wooten
Hi all,

I've gotten back to tinkering with LilyPond, and wanted to ask if someone could 
send a small example of the new method of handling it, especially with some 
lilypond settings in the .ly file mentioned below. My initial trials make place 
the lilypond results on their own page. How would we get them placed in-line?

Thanks,
David

RE:
From the garden:

The LilyPond module doesn't work any more with recent versions of ConTeXt. You 
can simply replace it with the Filter module like this:
\def\readPDFfile#1{\externalfigure[#1]}

\usemodule[filter]
\defineexternalfilter[lilypond]
[continue=yes,
readcommand=\readPDFfile,
directory=lilytemp/, % directory for LilyPond's files
output={\externalfilterbasefile.pdf},
filtercommand={lilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts -ddelete-intermediate-files 
-olilytemp/\externalfilterbasefile \externalfilterinputfile}]
You can't use \setuplilypond any more, but there is a better replacement: 
Collect your LilyPond settings in a .ly file, put it in your lilytemp directory 
and include it from within your lilypond block like this:
\startlilypond
\include mysettings.ly
...
\stoplilypond

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] LilyPond module, release 2009-05-19

2009-05-20 Thread David Wooten

I've used it in the past, and have been hoping to use it again in MKIV.

On May 19, 2009, at 1:24 PM, Henning Hraban Ramm wrote:

I just uploaded a version of the LilyPond module that works with  
ConTeXt MkIV latest beta (only a small fix).

Documentation PDF is still the old one, since I couldn't compile it.

Does anyone use this module at all, except me?

Greetlings from Lake Constance!
Hraban


___
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] Affiliation change

2009-04-01 Thread David Wooten

Dear Taco,

I really appreciate your work  help over the years, and fully support  
your decision. It is also a dream of mine to find my way to financial  
stability as a polymath freelancer. Luckily, it's not my dream to make  
it rich ;)


Best wishes,
David

On Apr 1, 2009, at 11:33 AM, Taco Hoekwater wrote:


Hello everybody,

This message is to inform you all that as of today, I am no longer an
employee of Elvenkind BV, the company where I have worked for during
the past years.

Working for Elvenkind has been a pleasure, but it has always been
hard for Elvenkind to find enough commercial projects to employ me in.
Even the recent (much appreciated!) funded TeX-development projects
simply do not generate enough revenue for Elvenkind to make it viable
to keep me as an employee in the current economic climate.

This is not the best time to be out of a job, but nevertheless I have
decided to try to make the most of it an attempt to make an old dream
happen: being my own boss.

Since quite some time already I have had a private company called
Bittext that I use for various bits and pieces that simply did not fit
in with Elvenkind's company strategy (its original intent was to  
place my font development work in that company, but it has also been  
used as

the company behind organizing the ConTeXt Epen meeting in 2007, for
example).

For the development of luatex and metapost, I do not expect that much
to change compared to the current situation: Hans and I will continue
to write funding proposals and we hope that enough of those will be
granted so that I can keep that development work going much like it  
is.

(about a 50% commitment working on these two programs in an average
working week).

However, for ConTeXT and other TeX-related things, the situation is a
bit more problematic. Pragma ADE does not have money to fund any
projects, even if I managed to find something to excite Hans that
he couldn't do faster himself ;). To find the missing source of
income, I intend to start giving commercial ConTeXt courses and
I plan to start selling manuals via lulu. Perhaps there is a bit of
consultancy that can be found as well, and I will try to regain some
of my old mathematical typesetting clients.

But I fear that even all of that together will generate enough income
for me to continue developing modules and offering help for free.  
Therefore, the planned bib module replacement will be released as

commercial software, and support for other ConTeXT stuff (like the
current bib module) will become a paid service. Probably via a
subscription website, that will (for example) also host my release
notes. I am brooding on other ConTeXt module ideas that people
may be willing to pay for, and I will finish the font projects
that are still on my disk for sale via my website.

This April (until around BachoTeX) I will still be busy preparing the
luatex and metapost binaries for the TeXlive 2009 deadline, but after
that I will likely drop offline for a while, creating the Bittext  
website ( http://www.bittext.com ) and figuring out things like how to

be on the receiving end of Lulu and PayPal.

Well, that is about all I wanted to say right now. I am quite  
apprehensive about how this news will fall in the ConTeXT community,  
but

I see no other way. And I must admit that at the same time I am quite
excited about being in control of my own destiny, as they say!

Best wishes to all of you,

Taco









___
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
___


___
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] Is there anything like developer's manual for ConTeXt?

2009-03-18 Thread David Wooten


On Mar 17, 2009, at 9:20 AM, Rory Molinari wrote:


Taco Hoekwater wrote:

Corin Royal Drummond wrote:
Many have voiced the same complaint.  I understand that Hans and  
every
one are occupied with building MKIV (aka LuaTeX), and that  
documentation
is not their highest priority.  There's the wiki, the wonderfully  
active
mailing list, and what used to be decent docs from 2001/2002  
timeframe. But yes, it's a steep hill to climb, made worth it only  
by the relative

awesomeness of ConTeXt.

You missed the reference manual rewrite effort (which is now in
remission mostly because of an extremely depressing lack of user
feedback).
 http://wiki.contextgarden.net/Main_Page#Documentation


Hi Taco,

I'm sorry that I haven't given much feedback on the documentation  
project.  I got through the Typography chapter, but then was so  
confounded by the Fonts chapter that I didn't feel able to give  
comments.  I will make another attempt.


Cheers,
Rory


Hi, I'd like to second what Rory said. I was delighted by my first  
reading of the typography chapter, and had not seen the font chapter  
until you posted the link above, Taco. I'm also sorry not to have  
chimed in before.


Dave

___
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] Embedded fonts question

2008-10-25 Thread David Wooten

Greetings all,

A sad story: My context-typeset dissertation was printed/distributed  
by a POD publisher with aweful typographical errors (like all commas  
in the main font being replaced by an ff ligature). Obviously the  
printer didn't check their results. The file reads fine both for me  
and the publisher, but the printer let us know that the file is  
unprintable due to problems with fonts not being embedded (why they  
originally printed an unprintable file I'll never know).


Now as far as I can tell, fonts are embedded. It was made with context  
MKII, using hz and hanging punctuation, etc. When I look at the  
document in Adobe Acrobat, and check the document/font details, it  
gives a list of embedded fonts only.


I'm not certain that the printer is in the right, but how can I tell?  
Is it possible that the pdf was altered when transferred from me to  
the publisher then to the printer? That compression of the pdf (zip)  
had any impact? Any other possibilities? What do you need to know to  
offer advice? ---I can send the file or a part of it if it is needed.


Best,
David___
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] Embedded fonts question

2008-10-25 Thread David Wooten

On Oct 25, 2008, at 11:18 AM, Pablo Rodríguez wrote:

 David Wooten wrote:
 Greetings all,

 A sad story: My context-typeset dissertation was printed/ 
 distributed by
 a POD publisher with aweful typographical errors (like all commas  
 in the
 main font being replaced by an ff ligature). Obviously the printer
 didn't check their results. The file /reads/ fine both for me and the
 publisher, but the printer let us know that the file is unprintable  
 due
 to problems with fonts not being embedded (why they originally  
 printed
 an unprintable file I'll never know).

 Now as far as I can tell, fonts /are /embedded. It was made with  
 context
 MKII, using hz and hanging punctuation, etc. When I look at the  
 document
 in Adobe Acrobat, and check the document/font details, it gives a  
 list
 of embedded fonts only.

 I'm not certain that the printer is in the right, but how can I  
 tell? Is
 it possible that the pdf was altered when transferred from me to the
 publisher then to the printer? That compression of the pdf (zip)  
 had any
 impact? Any other possibilities? What do you need to know to offer
 advice? ---I can send the file or a part of it if it is needed.

 Hi David,

 if the printer didn't alter the file and the fonts were embedded in  
 the
 original PDF document, they didn't vanished. The zip compression  
 doesn't
 alter those things (AFAIK).

 A way to check whether the fonts are embedded or not, you can download
 ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2-dos6.zip (if you are using
 Windows) and run from the command-line

   pdffonts dissertation-filename.pdf

 Replace dissertation-filename.pdf with the actual file name and  
 pdffonts
 will display all font information.

 If this is too complicated for you, send me the original file in a
 private reply and I will post the results.

 I hope it helps,


 Pablo

Thanks, Pablo and Luigi,

I was able to run pdffonts and check my file, it agrees with adobe  
acrobat in saying that all fonts are embedded. SoI'm going to send  
the publisher the current file and see what happens. I'm only 98% sure  
that it's exactly the same as the original file I sent, so I am  
slightly hopeful that it will work out better.

Thanks again for your quick responses,
David
___
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] Missing ligatures, smallcaps, etc.

2008-03-15 Thread David Wooten
 AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldCnIt--base   
MinionPro-SemiboldCnIt AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldCnItCapt--base   
MinionPro-SemiboldCnItCapt AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldCnItDisp--base   
MinionPro-SemiboldCnItDisp AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldCnItSubh--base   
MinionPro-SemiboldCnItSubh AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldCnSubh--base   
MinionPro-SemiboldCnSubh AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldDisp--base   
MinionPro-SemiboldDisp AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldIt--base   
MinionPro-SemiboldIt AutoEnc_yd2pu7be3qrilsoltxjlm32g5a ReEncodeFont  
[a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldItCapt--base   
MinionPro-SemiboldItCapt AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldItDisp--base   
MinionPro-SemiboldItDisp AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldItSubh--base   
MinionPro-SemiboldItSubh AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-SemiboldSubh--base   
MinionPro-SemiboldSubh AutoEnc_yd2pu7be3qrilsoltxjlm32g5a  
ReEncodeFont [a_yd2pu7.enc
texnansi-LIGA-KERN-LNUM-TNUM-SMCP-MinionPro-Subh--base  MinionPro- 
Subh AutoEnc_yd2pu7be3qrilsoltxjlm32g5a ReEncodeFont [a_yd2pu7.enc


On Mar 14, 2008, at 4:24 PM, Mojca Miklavec wrote:

 Hello David,

 On Sat, Mar 15, 2008 at 12:00 AM, David Wooten wrote:
 Greetings all,

 I've just tried to retypeset a file with very recent conTeXt/pdfTeX  
 minimals
 (as of a few days ago). The file is only a year or so old... but it  
 was
 originally typeset with a combination of TeX installations. It goes  
 almost
 okay, except that it doesn't show any ligatures (e.g. Th),

 Where did you get those from? Standard installations don't render any
 Th ligatures unless you use XeTeX or LuaTeX or if you have made your
 own costum encoding.

 and won't do the
 small capitals which the original handled fine. I'm not sure where  
 to start
 looking though there is this error in the log:

 pdfTeX warning: pdftex (file a_zqd2tu.enc): cannot open encoding  
 file for
 reading
 Any ideas where to start?

 It would help a lot if you could show us your font definitions, some
 logs (which map files got included) and try to grep your TeX trees for
 a_zqd2tu.enc. I cannot find that file mentioned anywhere (neither in
 map files on my disk nor on google).

 Mojca
 ___
 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
 ___

___
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] Missing ligatures, smallcaps, etc.

2008-03-15 Thread David Wooten
Found it, and problem resolved. Sorry for the noise.

David

On Mar 15, 2008, at 10:05 AM, David Wooten wrote:

 Thanks for the response, Mojca.

 I installed a few adobe opentype fonts some years back, using the
 TeXFont script. The file a_zqd2tu.enc (referenced in the map files) is
 not found in my tex trees (nor in a Google search). There's a decent
 chance it could be found in a backup from that time, I'll see what I
 can do about that. It's likely that that is the issue?

 Following is the font definition [1] and the map file [2].

 Best, David

 [1]

 \loadmapfile  [texnansi-LIGA-KERN-LNUM-TNUM-SMCP-adobe- 
 minionpro.map]
 \loadmapfile  
 [texnansi-LIGA-KERN-ONUM-PNUM-adobe-minionpro.map]

 \starttypescript [serif] [MinionPro] [texnansi]
  \definefontsynonym[SerifCaption][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-Capt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifText][texnansi-LIGA-KERN-ONUM-PNUM-MinionPro-
 Regular][encoding=texnansi,handling=minionpro-hz]
  \definefontsynonym[SerifSubhead][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-Subh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifDisplay][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-Disp][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifItalicCaption][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-ItCapt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifItalicText][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-It][encoding=texnansi,handling=minionpro-hz]
  \definefontsynonym[SerifItalicSubhead][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-ItSubh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifItalicDisplay][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-ItDisp][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldCaption][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-BoldCapt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldText][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-Bold][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldSubhead][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-BoldSubh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldDisplay][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-BoldDisp][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldItalicCaption][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-BoldItCapt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldItalicText][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-BoldIt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldItalicSubhead][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-BoldItSubh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifBoldItalicDisplay][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-BoldItDisp][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldCaption][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-SemiboldCapt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldText][texnansi-LIGA-KERN-ONUM-PNUM-
 MinionPro-Semibold][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldSubhead][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-SemiboldSubh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldDisplay][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-SemiboldDisp][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldItalicCaption][texnansi-LIGA-KERN-
 ONUM-PNUM-MinionPro-SemiboldItCapt]
 [encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldItalicText][texnansi-LIGA-KERN-ONUM-
 PNUM-MinionPro-SemiboldIt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldItalicSubhead][texnansi-LIGA-KERN-
 ONUM-PNUM-MinionPro-SemiboldItSubh]
 [encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifSemiboldItalicDisplay][texnansi-LIGA-KERN-
 ONUM-PNUM-MinionPro-SemiboldItDisp]
 [encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsCaption][texnansi-LIGA-KERN-LNUM-TNUM-
 SMCP-MinionPro-Capt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsText][texnansi-LIGA-KERN-LNUM-TNUM-SMCP-
 MinionPro-Regular][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsSubhead][texnansi-LIGA-KERN-LNUM-TNUM-
 SMCP-MinionPro-Subh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsDisplay][texnansi-LIGA-KERN-LNUM-TNUM-
 SMCP-MinionPro-Disp][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsItalicCaption][texnansi-LIGA-KERN-LNUM-
 TNUM-SMCP-MinionPro-ItCapt][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsItalicText][texnansi-LIGA-KERN-LNUM-TNUM-
 SMCP-MinionPro-It][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsItalicSubhead][texnansi-LIGA-KERN-LNUM-
 TNUM-SMCP-MinionPro-ItSubh][encoding=texnansi,handling=minionpro]
  \definefontsynonym[SerifCapsItalicDisplay][texnansi-LIGA-KERN-LNUM-
 TNUM-SMCP-MinionPro-ItDisp][encoding=texnansi,handling=minionpro

[NTG-context] Missing ligatures, smallcaps, etc.

2008-03-14 Thread David Wooten

Greetings all,

I've just tried to retypeset a file with very recent conTeXt/pdfTeX  
minimals (as of a few days ago). The file is only a year or so old...  
but it was originally typeset with a combination of TeX installations.  
It goes almost okay, except that it doesn't show any ligatures (e.g.  
Th), and won't do the small capitals which the original handled fine.  
I'm not sure where to start looking though there is this error in  
the log:


pdfTeX warning: pdftex (file a_zqd2tu.enc): cannot open encoding file  
for reading

Any ideas where to start?
Best, David___
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] hz and protrusion

2008-03-03 Thread David Wooten
Hans,

This is great news, thanks a million.

Where should I keep an eye out for the interface extensions?

Dave

On Feb 15, 2008, at 10:08 AM, Hans Hagen wrote:

 Hi,

 The latest luatex beta + mkiv support hz and protruding. The user
 interface will be extended a bit, but for the moment it goes as  
 follows:

 % engine=luatex

 % \setupfontexpansion [quality][stretch=2.5,shrink=2.5,step=. 
 5,factor=1]

 \setupfontexpansion[oeps][a=1,b=2]

 \setuptolerance[verytolerant,stretch] \showframe

 \starttext

 \definefontfeature[demo][default] 
 [mode=node,expansion=quality,protrusion=pure]

 \start
 \definedfont[Serif*demo at 12pt]   \enableadjusting
 \enableprotruding \input tufte \par
%\definedfont[name:optimanova*demo at 12pt] \enableadjusting
 \enableprotruding \input tufte \par
 \stop

 \stoptext

 (or the usual \setupalign options)

 As you may deduce from this example, handling is gone in mkiv. This  
 not
 only safes some 40K format file, but the new mechanism also runs  
 faster
 (some 10% overhead on 300 pages of pure text, which is rare).

 At some point we need to extend the hz/protruding vectors in mkiv to
 cover non latin scripts as well (currently they default to factors of
 1). As with mkiv, latin glyphs fall back to their shape parent.

 Under some circumstances hz may not work as expected. Fixing this is  
 on
 the agenda for the next luatex beta release.

 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
 -
 ___
 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
 ___

___
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] t-lilypond, placement of oversized lines.

2008-01-26 Thread David Wooten
Greetings all,

In tinkering around with the lilypond module, oversized lines of  
notation do not get adjusted into the left margin as this bit of code  
seems to be trying to achieve:

---

%D
%D TODO: Get the relevant dimension directly from lilypond,
%D to place the instrument name into the left margin for
%D short snippets as well.
%D If we are not in the middle of some text, we have to check
%D whether lilypond created an image that is wider than requested:
%D It places the instrument names in the left margin.
%D
\ifvmode
\getfiguredimensions[\lily!filename.pdf]%
\leavevmode%
\newdimen\FigWidth
\FigWidth=\figurewidth
\ifdim\FigWidth\localhsize
\!!dimena=\localhsize
\advance\!!dimena by-\FigWidth
\noindent\hskip\!!dimena
\fi
\fi
\externalfigure[\lily!img]%
\egroup%
}%

---

This includes lines which have an instrument name, as mentioned in the  
comments, and also includes piano notation, which has a special  
bracket on the left joining the two staffs.

Can anyone help me out here?

Best,
David
___
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] ConTeXt meeting: preliminary registrations opennow

2008-01-09 Thread David Wooten

San Francisco, California ;)

Dave

On Jan. 9, 2008, at Jan 9, 8:02 AM, Santy, Michael wrote:


Make that 3.  I'm in beautiful northern Alabama.

Cheers,
Mike

From: [EMAIL PROTECTED] on behalf of Roger Mason
Sent: Wed 1/9/2008 5:52 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] ConTeXt meeting: preliminary  
registrations opennow


Jeff Smith [EMAIL PROTECTED] writes:

 On appearances it sometimes feels like I'm the only North American
 user of ConTeXt (which is surely not true, though)!

You are not alone!  I'm in St John's, Newfoundland.
So n = 2.

Cheers,
Roger
___
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
___

___
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
___


___
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/MKIV on OS X 10.5 Leopard

2007-11-01 Thread David Wooten
Greetings all,

I'm curious whether anyone using MKIV on a Mac has upgraded to 10.5?  
Any problems after doing so?

Regards,
David
___
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] MKIV, hz, hanging punctuation

2007-08-29 Thread David Wooten

On Aug. 27, 2007, at Aug 27, 11:47 PM, Hans Hagen wrote:

 David Wooten wrote:
 Greetings all,

 Can someone say when typographic extras like hz  hanging
 punctuation will be available in LuaTeX/MKIV for OpenType fonts? ---
 or are they already available? I thought I'd read a comment on this
 from Hans, but cannot for the life of me find it.

 the pdftex hz code is there and should work to some extend but i  
 didn't
 test it; hz needs a clean up (esp all the font related codes,  
 global in
 pdftex)

 Hans

Hmm, okay. How would one call hz  protrusion with mkiv? Something  
like this? (My experiments have produced no good results).

\starttypescript[sans] [minion]
\definefontsynonym  [MinionPro]   [name:MinionPro-Regular]
[features=default,handling=quality]
\stoptypescript

... othertypescript stuff ...

\setupalign [hz,hanging]


David
___
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] MKIV, hz, hanging punctuation

2007-08-29 Thread David Wooten
 Can someone say when typographic extras like hz  hanging
 punctuation will be available in LuaTeX/MKIV for OpenType fonts?  
 ---
 or are they already available? I thought I'd read a comment on this
 from Hans, but cannot for the life of me find it.

 the pdftex hz code is there and should work to some extend but i
 didn't test it; hz needs a clean up (esp all the font related codes,
 global in pdftex)

 Hmm, okay. How would one call hz  protrusion with mkiv? Something
 like this? (My experiments have produced no good results).

 \starttypescript [sans] [minion]
  \definefontsynonym  [MinionPro]   [name:MinionPro-Regular]
 [features=default,handling=quality]
 \stoptypescript

  othertypescript stuff ...

 \setupalign  [hz,hanging]

 i didn't test hz with luatex; i will look into it when we are dealing
 with that (esp the font related tables) because that info will be
 organized differently

Great, thanks for the info.

Best,
David
___
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] Lilypond MKIV, pstopdf, sysctl errors?

2007-08-27 Thread David Wooten
I narrowed it down to my editor, in fact. Strange! The command line  
call for TextMate (mate) gives me the errors. I was compiling via  
the ConTeXt TextMate bundle and it must call mate for some reason  
at that point. pstopdf is off the hook ;)

Dave

On Aug. 27, 2007, at Aug 27, 3:54 AM, Mojca Miklavec wrote:

 On 8/27/07, David Wooten wrote:

 On Aug. 26, 2007, at Aug 26, 6:44 PM, Mojca Miklavec wrote:

 On 8/27/07, David Wooten wrote:
 Greetings all,

 In trying to run Mojca's latest Lilypond extension with MKIV (on an
 Intel Mac), I've been receiving the errors after pstopdf is run,
 which I've never seen before:

 ***

 sysctlbyname_with_pid: sysctl  failed:Operation not permitted
 is_pid_native: sysctlbyname_with_pid  failed:Operation not  
 permitted

 ***

 According to google this seems to be mac-specific problem, and the
 first think that comes to my mind are problems with GhostScript  
 during
 conversion. (http://developer.apple.com/documentation/MacOSX/
 Conceptual/universal_binary/universal_binary.pdf)

 How did you install GhostScript?
 Try which gs, gs --version and gs alone to check some more
 details about the version.

 It seems most likely that I installed GhostScript via Gerben's i-
 installer.

  From apple's Terminal.app:

 ***

 ~ $ which gs
 /usr/local/bin/gs

 ~ $ gs --version
 8.57

 ~ $ gs
 GPL Ghostscript 8.57 (2007-05-11)
 Copyright (C) 2007 artofcode LLC, Benicia, CA.  All rights reserved.
 This software comes with NO WARRANTY: see the file PUBLIC for  
 details.

 Hello,

 I use fink's ghostscript. I'm almost sure that the problem lies in GS;
 that report cannot come from ConTeXt (unless pstopdf does some nasty
 things with eps documents which then confuse gs - it does delete some
 portions from ps files, but I doubt that that could be the problem). I
 have no idea whom to report anything. (Gerben said he had stopped with
 user support, and he probably cannot reproduce the error if it's
 really inconsistent behaviour - that it works one time and not the
 other time.)

 Do you have fink already installed? (If yes, try to install
 ghostscript from there.)

 I would suggest you to try running pstopdf on some random postscript
 document once you spot the error, and see what happens. Perhaps you
 can try running pstopdf on that document after an unsuccesfull ConTeXt
 run ...

 Unless others have any better ideas ...

 Mojca
 __ 
 _
 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
 __ 
 _

___
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] MKIV, hz, hanging punctuation

2007-08-27 Thread David Wooten
Greetings all,

Can someone say when typographic extras like hz  hanging  
punctuation will be available in LuaTeX/MKIV for OpenType fonts? ---  
or are they already available? I thought I'd read a comment on this  
from Hans, but cannot for the life of me find it.

Best,
David
___
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] Lilypond MKIV, pstopdf, sysctl errors?

2007-08-26 Thread David Wooten
Greetings all,

In trying to run Mojca's latest Lilypond extension with MKIV (on an  
Intel Mac), I've been receiving the errors after pstopdf is run,  
which I've never seen before:

***

sysctlbyname_with_pid: sysctl  failed:Operation not permitted
is_pid_native: sysctlbyname_with_pid  failed:Operation not permitted

***

This is from near the bottom of the log file (included below). These  
errors do not always appear, but once they start, they don't go away.

Furthermore, I receive the message:

2007-08-26 16:36:16.584 open[2988] No such file: /Users/wooten/ 
Desktop/Test/LilyLua-lilypond-1.pdf

When it does actually exist, and I have to run texmfstart again to  
get a changed PDF.

I can't find much on the sysctl errors. Anyone see a possible  
connection?

Best,
David

***

texmfstart texexec --pass=\'-halt-on-error -file-line-error\'  
LilyLua.tex

TeXExec | processing document 'LilyLua.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file LilyLua.top
TeXExec | using randomseed 1137
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
This is luaTeX, Version 3.141592-beta-0.10.1-2007072304 (Web2C 7.5.6)
(./LilyLua.texMissing script file


ConTeXt  ver: 2007.08.26 21:41 MKIV  fmt: 2007.8.26  int: english/ 
english

language: language en is active
system  : cont-new loaded
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/cont- 
new.mkiv) (/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/ 
cont-mtx.tex))
system  : cont-old loaded
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/user/cont-sys.tex)
bodyfont: 12pt rm is loaded
language: patterns nl-default:default-1-2:3 fr- 
 default:default-2-2:3 de-default:default-3-2:3 it- 
 default:default-4-2:3 pt-default:default-5-2:3 hr- 
 default:default-6-2:3 pl-default:default-7-2:3 cz- 
 default:default-8-2:3 sk-default:default-9-2:3 sl- 
 default:default-10-2:3 ru-default:default-12-2:3 en- 
 default:default-13-2:3 uk-default:default-14-2:3 us- 
 default:default-[13]-2:3 agr-default:default-15-2:3 da- 
 default:default-16-2:3 sv-default:default-17-2:3 af- 
 default:default-[1]-2:3 no-default:default-18-2:3 deo- 
 default:default-19-2:3 es-default:default-20-2:3 ca- 
 default:default-21-2:3 la-default:default-22-2:3 ro- 
 default:default-23-2:3 tr-default:default-24-2:3 fi- 
 default:default-26-2:3 hu-default:default-27-2:3 loaded
specials: tex,postscript,rokicki loaded
system  : LilyLua.top loaded
(./LilyLua.top
specials: loading definition file tpd
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/spec-fdf.tex  
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/base/spec-fdf.mkiv))
specials: fdf loaded
)
specials: fdf,tpd loaded
)
system  : module lilypond loaded
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/third/t- 
lilypond.tex) (./LilyLua.tuo) (./LilyLua.tuo)
systems : begin file LilyLua at line 5
(/Users/wooten/conTeXt/tex/texmf-local/tex/context/sample/knuth.tex){/ 
Users/wooten/conTeXt/tex/texmf-local/fonts/map/pdftex/context/ 
original-empty.map}{/Users/wooten/conTeXt/tex/texmf/fonts/map/dvips/ 
lm/lm-texnansi.map}{/Users/wooten/conTeXt/tex/texmf-local/fonts/map/ 
pdftex/context/original-base.map}{/Users/wooten/conTeXt/tex/texmf/ 
fonts/map/dvips/lm/lm-ec.map}{/Users/wooten/conTeXt/tex/texmf/fonts/ 
map/dvips/lm/lm-math.map}{/Users/wooten/conTeXt/tex/texmf/fonts/map/ 
dvips/lm/lm-rm.map}{/Users/wooten/conTeXt/tex/texmf-local/fonts/map/ 
pdftex/context/original-ams-base.map}{/Users/wooten/conTeXt/tex/texmf- 
local/fonts/map/pdftex/context/original-ams-euler.map}{/Users/wooten/ 
conTeXt/tex/texmf-local/fonts/map/pdftex/context/original-public- 
lm.map} ./LilyLua-lilypond-1.pdf
figures : dimensions of LilyLua-lilypond-1.pdf loaded from  
figurefile itself

Overfull \hbox (6.83257pt too wide) in paragraph at lines 16--17
[][][]
lua : input load time - 0.040 seconds
lua : fonts load time - 1.030 seconds
lua : mps conversion time - 0.000 seconds
lua : node processing time - 0.000 seconds
lua : attribute processing time - 0.010 seconds
lua : used config path - /Users/wooten/conTeXt/tex/texmf{- 
local,}/web2c
lua : used cache path - /Users/wooten/.conTeXt-temp/ 
luatex-cache/context/613f059707fe40567271dc8baeac0123
lua : 

Re: [NTG-context] Lilypond MKIV, pstopdf, sysctl errors?

2007-08-26 Thread David Wooten

On Aug. 26, 2007, at Aug 26, 6:44 PM, Mojca Miklavec wrote:

 On 8/27/07, David Wooten wrote:
 Greetings all,

 In trying to run Mojca's latest Lilypond extension with MKIV (on an
 Intel Mac), I've been receiving the errors after pstopdf is run,
 which I've never seen before:

 ***

 sysctlbyname_with_pid: sysctl  failed:Operation not permitted
 is_pid_native: sysctlbyname_with_pid  failed:Operation not permitted

 ***

 According to google this seems to be mac-specific problem, and the
 first think that comes to my mind are problems with GhostScript during
 conversion. (http://developer.apple.com/documentation/MacOSX/ 
 Conceptual/universal_binary/universal_binary.pdf)

 How did you install GhostScript?
 Try which gs, gs --version and gs alone to check some more
 details about the version.

It seems most likely that I installed GhostScript via Gerben's i- 
installer.

 From apple's Terminal.app:

***

~ $ which gs
/usr/local/bin/gs

~ $ gs --version
8.57

~ $ gs
GPL Ghostscript 8.57 (2007-05-11)
Copyright (C) 2007 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

***

Best,
David







___
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] Buffers (gone) in MK IV (was: MK IV Lilypond)

2007-08-25 Thread David Wooten
Greetings,

Did we end up with a working solution for t-lilypond? I've tinkered a  
bit Hans' response, too, but without luck.

Dave

On Aug. 21, 2007, at Aug 21, 3:53 PM, Mojca Miklavec wrote:

 On 8/21/07, Hans Hagen wrote:
 Mojca Miklavec wrote:
 On 8/21/07, David Wooten wrote:
 Greetings all,

 Has anyone had any luck getting the lilypond module to work with  
 mkiv/
 luatex engine? It fails for me (works fine with mkii/pdftex). I can
 send along some log info if others have found it to work.

 Hans has mentioned several times that buffers are not going to be
 written to files with luaTeX any more. This has a weird  
 consequence on
 many modules which relied exactly on that trick.

 Short example of what goes wrong:

 \starttext

 \startbuffer[a]
 Hello world!
 \stopbuffer
 \typebuffer[a]

 %\executesystemcommand{dosomethingwith \jobname-a.tmp}
 \stoptext

 The problem is that MK II created a file \jobname-a.tmp and lilypond
 module processed exactly that file further. In MK IV, that file  
 is not
 created any more (you can check that by running the above example  
 with
 --lua first and then with pdfTeX again. Only in the second case a  
 file
 [whateverthefilename]-a.tmp is created.)

 Lilypond module relied on that feature (I would rather call it
 dirty-but-very-useful-trick).

 Hans, what's the current general recipe for this kind of [mis]use  
 of buffers?

 I'll add savebuffer to core-buf.*

 Thanks a lot for that one!

 % engine=luatex

 \startluacode
  if not buffers.save then
  function buffers.save(name)
  if not name or name ==  then
  name = tex.jobname
  end
  local b, f = buffers.data[name],
 string.format(%s-%s.tmp,tex.jobname,name)
  b = (b and type(b) == table and table.join(b)) or b  
 or 
  io.savedata(f,b)
  end
  end
 \stopluacode

 \def\savebuffer{\dosingleempty\dosavebuffer}

 \def\dosavebuffer[#1]{\ctxlua{buffers.save(#1)}}

 \starttext

 \startbuffer[oeps]
 oeps
 \stopbuffer

 \startbuffer
 oepsoeps
 \stopbuffer

 \savebuffer[oeps] \savebuffer

 \stoptext

 I now tried to add the following three lines to t-lilypond.tex:

   \def\PDF{texmfstart --ifchanged=\lily!filename.eps pstopdf \lily! 
 filename.eps}
   \beginLUATEX
   \savebuffer[lilypond-\the\lily!figures]%
   \endLUATEX
   \ifeof18
   \installprogram{\LP}%
 etc.

 But luaTeX now reports the following to console:

 system (LUATEX) : [line 32] \savebuffer [lilypond-\the \lily!figures
 ]\endLUATEX \ifeof 18 \installprogram {\LP }\doif \jobsuffix
 {pdf}{\installprogram {\PDF }}\else \executesystemcommand {\LP }\doif
 \jobsuffix {pdf}{\executesystemcommand {\PDF }}\fi \doifelse
 \jobsuffix {pdf} {\edef \lily!img {\lily!filename .pdf}}{\edef
 \lily!img {\lily!filename .eps}}\ifvmode \getfiguredimensions
 [\lily!filename .pdf]\leavevmode \newdimen \FigWidth \FigWidth
 =\figurewidth \ifdim \FigWidth \localhsize \!!dimena =\localhsize
 \advance \!!dimena by-\FigWidth \noindent \hskip \!!dimena \fi \fi
 \externalfigure [\lily!img ]\egroup

 and then

 systems : end file li at line 34
  )
 (\end occurred inside a group at level 1)

 ### simple group (level 1) entered at line 32 ({)
 ### bottom level
 ...
 No pages of output.
 Transcript written on li.log.


 It seems like a problem with grouping, but I have no idea how to
 prevent luaTeX from parsing the input further from what it's supposed
 to read.

 Mojca
___
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] MK IV Lilypond

2007-08-20 Thread David Wooten
Greetings all,

Has anyone had any luck getting the lilypond module to work with mkiv/ 
luatex engine? It fails for me (works fine with mkii/pdftex). I can  
send along some log info if others have found it to work.

Regards,
David
___
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] TextMate bundle

2007-03-28 Thread David Wooten
I've just been experimenting with the new bundle. I really appreciate  
having it, and so far it is working like a charm.

Thanks,

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


Re: [NTG-context] ConTeXt meeting programme

2007-03-12 Thread David Wooten
I wish I could join you all, it looks like a great programme.
I guess I will have to wait until the videos and transcripts are  
released ;)

Dave

On Mar. 12, 2007, at Mar 12, 6:10 AM, Taco Hoekwater wrote:

 Hello everybody.

 Below you will find the final programme of the ConTeXt User meeting
 that will take place at the end of this month.

 I am posting this message because I know some people cannot commit
 themselves too far ahead of time, and we can still allow for one or
 two extra participants, so last-minute registration is still possible
 until the day after tomorrow, at
   http://context.aanhet.net/epen2007/index.htm

 Happy TeXing,

 Taco


 = ConTeXt User Meeting Programme =

 == Friday March 23 ==

 12:00 Start of arrivals
 19:00 Dinner
 20:00 Taco Hoekwater
Tutorial: Writing a ConTeXt module

 == Saturday March 24 ==

 08:00 Breakfast
 09:00 Taco Hoekwater
A short history of ConTeXt
 09:30 Mari Voipio
ConTeXting in Windows - a user's view
 10:15 Patrick Gundlach,
ConTeXt integration in the 'Textmate' editor
 10:30 Break
 11:00 Patrick Gundlach
Creating a Pdf document, the hard way
 11:30 Thomas A. Schmitz
Classical greek with ConTeXt
 12:00 Idris Samawi Hamid
A short introduction to Critical Editions
 12:15 Idris Samawi Hamid and Thomas A. Schmitz
Discussion: Steps needed to expand ConTeXt to the  
 demands of
Critical Edition typesetting
 13:00 Lunch
 14:00 Sanjoy Mahajan
Typesetting a physics textbook with ConTeXt
 14:30 Mojca Miklavec
Discussion: Documentation
 15:30 Break
 16:00 Willi Egger
Tutorial: Page layout and arrangements, posters
 18:30 Dinner
 20:00 Hans Hagen
Tutorial: XML

 == Sunday March 25 ==

 08:00 Breakfast
 09:00 Idris Samawi Hamid
Oriental TeX
 09:30 Duncan Hothersall
Using ConTeXt as part of a larger system
 10:00 Duncan Hothersall
Discussion/workshop: ConTeXt as part of a larger system
 11:00 Break
 11:30 Hans Hagen and Taco Hoekwater
Luatex and ConTeXT MK IV preview
 12:00 Sanjoy Mahajan
Discussion: Quality assurance and Testing
 12:45 Lunch
 14:00 Hans Hagen and Taco Hoekwater
Tutorial: Working with Lua and ConTeXt MK IV
 16:00 Break
 16:30 Arthur Reutenauer
An introduction to OpenType fonts
 17:00 Hans Hagen and Taco Hoekwater
Tutorial: Fonts in ConTeXt MK IV
 19:00 Buffet dinner

 == Monday March 26 ==

 08:00 Breakfast
 10:00 End of departures
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tree charts

2007-02-23 Thread David Wooten

On Feb 22, 2007, at 8:52 AM, Idris Samawi Hamid wrote:

 Hi,

 On Thu, 22 Feb 2007 01:30:26 -0700, Hans Hagen [EMAIL PROTECTED] wrote:

 Btw, Willy Egger has a hard cover version of that manual which me  
 might
 like to take to the context meeting.

 I'd like to see a better integration of this package with ConTeXt. For
 example, hooking it into the ConTeXt color mechanism (unless you  
 guys have
 some tricks up your sleave you'ld like to share ;-) I could not get  
 global
 text color within a TikZ environment without individually coloring  
 every
 node...

I'd second this. For some reason PGF/TikZ is rather appealing to me  
right now. Although clearly MetaPost/Fun can do it all, it is (or at  
least seems) more daunting. Perhaps the beautiful examples for TikZ  
are closer to what I need out of the box (graphs of various kinds)  
than the beautiful examples from MetaFun.

David

 Best
 Idris

 -- 
 Professor Idris Samawi Hamid
 Department of Philosophy
 Colorado State University
 Fort Collins, CO 80523

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


[NTG-context] Spacing of page numbers in list

2006-11-29 Thread David Wooten
Greetings all,

I'm having a devil of a time trying to figure out how to control  
(increase) the space between the name of each part/chapter/section  
and its page number in a list generated by the following example.  
I've tried (I believe) every option in the \setuplist grimoire... but  
obviously I have not!

Any clues?

Best, David



\setuplist  
[part]
[style={\scbf},label=no,pagestyle=bf,pagenumber=no]
\setuplist
[chapter]
[style={\sb},distance=-0.5em]
\setuplist
[section]
[pagestyle={\tf},margin=0em,distance=-.5em]
\setuplist
[subsection]
[style=it,pagestyle={\tf},margin=2em]   

\setupcombinedlist
[content]
[alternative=a,
 aligntitle=yes,
 width=2.5em,sectionnumber=no,partnumber=no]


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


Re: [NTG-context] textmate

2006-08-18 Thread David Wooten
+1

TextMate is a delight. I've been using a bastardized LaTeX bundle, which 
doesn't do anything useful except some decent highlighting. I'd love to 
see a good one.

David

Patrick Gundlach wrote:
 Hi,

 any textmate users out there? Anybody who has created a bundle yet?

 Patrick
   

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


Re: [NTG-context] Font Question: Specific font sizes not working.

2006-08-11 Thread David Wooten
Taco Hoekwater wrote:
  David Wooten wrote:
  Hmm, well I seem to have figured something out:
 
  the line
 
  \switchtobodyfont[jenson,12pt]
 
  used to work. When replaced with
 
  \switchtotypeface[jenson][12pt]
  
  it now once again does the trick.
 
  Is the problem specific to the jenson typeface?
 
  Taco

It is specific to two typefaces whose typescript files I made in the 
same manner: jenson  minion. Other fonts do not act this way, including 
palatino and the self-installed haarlemmer (which has a different kind 
of typescript file). The typescript file for jenson  minion are based 
on one from Adam Lindsey, I believe it was for Warnock Pro. This may be 
rather out of date.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font Question: Specific font sizes not working.

2006-08-10 Thread David Wooten
Hmm, well I seem to have figured something out:

the line

\switchtobodyfont[jenson,12pt]

used to work. When replaced with

\switchtotypeface[jenson][12pt]

it now once again does the trick.

dw



David Wooten wrote:
  Greetings all,
 
  In the last week or so I started having a problem with fonts: what once
  worked stopped doing so, giving me the default font rather than my
  chosen fonts. I finally figured out that it is only certain sizes that
  are not working. For example, with:
 
  \usetypescriptfile[jensonpro]
  \usetypescript[jenson]
  \switchtobodyfont[jenson,11pt]
 
  \starttext
 
  Testing.
 
  \stoptext
 

 ...bodyfont, naturally ;)
  \switchtododyfont sizes 8pt, 10pt, 11pt, 13pt all still work, while
  9pt and 12pt no longer do so...
 
  I recently updated ConTeXt and it remains the same. No change was made
  to my typescript files, and indeed in \definebodyfont those sizes are
  definitely listed:
 
  \starttypescript [serif] [Opticals] [size]
  \definebodyfont
[13pt,12pt,11pt,10pt,9pt,8pt][rm]
  ...
  \stoptypescript

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


[NTG-context] t-lilypond: no longer needs eps step?

2006-08-09 Thread David Wooten
Greetings,

I've just noticed that in the development branch change log [1] of 
LilyPond (2.9) the following notice has been posted about the LaTeX 
module lilypond-book:

lilypond-book now includes support for PDFTeX.

I'm curious as to whether that means

Generating a pdf directly always creates a whole page, so we generate 
eps first.

might no longer be necessary?

[1] http://www.lilypond.org/doc/v2.9/Documentation/topdocs/NEWS.html
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font Question: Specific font sizes not working.

2006-08-09 Thread David Wooten
Greetings all,

In the last week or so I started having a problem with fonts: what once 
worked stopped doing so, giving me the default font rather than my 
chosen fonts. I finally figured out that it is only certain sizes that 
are not working. For example, with:

\usetypescriptfile[jensonpro]
\usetypescript[jenson]
\switchtobodyfont[jenson,11pt]

\starttext

Testing.

\stoptext

\switchtododyfont sizes 8pt, 10pt, 11pt, 13pt all still work, while 
9pt and 12pt no longer do so...

I recently updated ConTeXt and it remains the same. No change was made 
to my typescript files, and indeed in \definebodyfont those sizes are 
definitely listed:

\starttypescript [serif] [Opticals] [size]
\definebodyfont
  [13pt,12pt,11pt,10pt,9pt,8pt][rm]
...
\stoptypescript

Any clues?


Kind regards,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startMPenvironment : personal font weirdness

2006-08-03 Thread David Wooten
Greetings all,

I've been experimenting with MetaPost/Fun of late. It is indeed fun. In 
trying to have a uniform font in both text and MP areas, however, I am 
running into some difficulty. With a little file like this:

---

\setupcolors[state=start]
\setuppagenumbering[state=stop]

\startMPenvironment [global]
\usetypescript[palatino][ec]
\switchtobodyfont[palatino,12pt]
\stopMPenvironment

\starttext

The following example should be very interesting:
\blank

\startuseMPgraphic{very-interesting}

z40 = (2cm,0cm); z41 = (3cm,0cm) ;
z42 = (3cm,1cm); z43 = (2cm,1cm) ;
z46 = (2.5cm,.5cm) ;

path F ; F := (z40--z41--z42--z43--cycle) ;

linejoin := mitered ;

drawpath F ;
label(very, z46) ;

\stopuseMPgraphic

\useMPgraphic{very-interesting}

\stoptext

---

everything works very nicely (fonts identical). When I use my own 
typescript file, however:

---

\startMPenvironment [global]
\usetypescriptfile[minionpro-diss]
\usetypescript[Minion]
\switchtobodyfont[Minion,12pt]   
\stopMPenvironment

---

The text appears in the correct font, but the MP section, _while at 
first showing the correct font_, then changes to CM before my eyes. (my 
pdf viewer auto-updates).

Any clues?

Many thanks,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \startMPenvironment : personal font weirdness

2006-08-03 Thread David Wooten
Hans Hagen wrote:

  \startMPenvironment [global]
  \usetypescriptfile[minionpro-diss]
  \usetypescript[Minion]
  \switchtobodyfont[Minion,12pt]   
  \stopMPenvironment

  dangerous to use such a upper/lowercase mix (typos)

I see what you mean.
 
  hm, looks like a bronwser problem
 
  what happens if you only include the graphic,
 
  \startMPpage
  z40 = (2cm,0cm); z41 = (3cm,0cm) ;
  z42 = (3cm,1cm); z43 = (2cm,1cm) ;
  z46 = (2.5cm,.5cm) ;
 
  path F ; F := (z40--z41--z42--z43--cycle) ;
 
  linejoin := mitered ;
 
  drawpath F ;
  label(very, z46) ;
  \stopMPpage
 
  so, no other text

Same results, and I also checked with a different viewer. Points to my 
typescript file as a problem, does it? (Which works fine in non-MP 
ConTeXt).
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \startMPenvironment : personal font weirdness

2006-08-03 Thread David Wooten
Hans Hagen wrote:
 what is the label font then? probably defaultfont so you need to set 
 that as well
 also, label does not use tex, use

 label(\textext(very),z46)
   
That's it, indeed (though without the back-slash for textext):

label(textext(very),z46)
 and friends

 Hans

Many thanks!
David

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


[NTG-context] Charts, Graphs, Tufte, and ConTeXt

2006-07-21 Thread David Wooten
Greetings all,

I've been itching to stop using Illustrator and other programs to make 
the charts and graphs I wish to include in my ConTeXt-generated 
documents, and would like to get some advice on the matter.

There is a special (albeit not well furnished) place in my heart for 
Tufte's /Visual Display of Quantitative Information/, so I suppose I 
am always leaning towards that philosophy of chart-making. I came across 
Jean-luc Doumont's article /Drawing effective (and beautiful) graphs 
with TeX* [1]/, in which he refers to his macro package called 
JLdraw---and shows some pretty examples. JLdraw was in fact never 
generally released, although when I contacted him he was happy to send 
along the macro package. In beginning to tinker with them, I have not 
had much luck getting them to work within ConTeXt, undoubtedly due to my 
persistent naiveté.

Thus I'm curious as to what others use... is R an efficient method to 
produce elegant charts? Is straight MetaPost preferable?

Many thanks,
David

[1] http://www.tug.org/TUG99-web/pdf/doumont2.pdf
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Charts, Graphs, Tufte, and ConTeXt

2006-07-21 Thread David Wooten
Mojca Miklavec wrote:
 Thus I'm curious as to what others use... is R an efficient method to
 produce elegant charts? Is straight MetaPost preferable?
 

 With metapost you can surely achive most beautiful results and it is
 not as difficult to learn as TeX-programming. Of course you might need
 more time to draw what you need or to write your own set of macros,
 but if you have high demands about quality this might be the way to
 go.

 However, if you prefer doing it quicly using the existing tools (be
 aware that you have to learn how to use those tools as well), R or
 gnuplot might be an interesting choice. You'll be limited by the power
 of those two tools, but in most cases they should suffice for the
 normal usage.

 The gnuplot module is still in development (I've been just begging
 Hans for help a few hours ago ;). Take a look at the demo section of
 gnuplot (http://gnuplot.sourceforge.net/demo_4.1/) to see if it can
 offer you what you want to do. In that case ask on the list again,
 I'll give you further pointers how to use it with ConTeXt
 (http://pub.mojca.org/gnuplot).

 But basically you can take any program to draw graphs and include the
 resulting PDFs. I'm afraid that the macros from the paper which you
 pointed to, use some PostScript code that cannot be handled as-is (you
 need some conversion to PDF first) and I'm affraid that the effort put
 into making it work woudn't pay off now that you have a great varienty
 of other plotting programs, including metapost itself (esp. if the
 package has never been released - you'll probably hardly get any
 support for it).

 Mojca
   
Thanks very much for your reply. Your advice seems strong, and in truth 
I have been intrigued by MetaPost for many years. This certainly seems a 
valid excuse to delve into it ;)

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


[NTG-context] Fonts: Margin kerning: quotes not hanging?

2006-03-15 Thread David Wooten
Greetings ConTeXters,

I've noticed recently that quotation marks (single + double), as well  
as parens, and perhaps others are not undergoing the expected margin  
kerning adjustments. Expected being those that are assigned to them  
in hand-def.tex. Punctuation like . , ; - -- --- all kern as expected.

Is hand-def.tex just an example file?

While I expect I'll have to make fine tuning adjustments in my font's  
own typescript file, where should I make overall adjustments? (e.g. I  
pretty much always want quotes to hang.)

I'm using Adobe Minion Pro in this case, if this makes a difference.

Thanks very much,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Follow up: Quote before chapter?

2006-02-16 Thread David Wooten
Greetings,Having come to the same problem, I am curious whether a solution presented itself to Gerben's inquiry.Fri Mar 11 10:30:45 CET 2005:I can make it more difficult even. I would like a chapter to start on an odd (right side) page but when there is a quote that comes with the chapter I want to have that appear on the opposing side.GMany thanks!David___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ?

2006-01-19 Thread David Wooten

Any more clues, patient ones?:

texexec --pdf file.tex

Here is how much of TeX's memory you used:
1449181 words of font info for 262 fonts, out of 200 for 2000

pdfetex --kpathsea-debug=65535 --ini --progname=context plain

kdebug:hash_lookup(font_mem_size.context) = 300
kdebug:variable: font_mem_size = 300

Many thanks,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ?

2006-01-19 Thread David Wooten
Well, it is certainly very good to know that I'm not crazy (this time  
round). Thanks very much for tracking this down.


Hans' suggestion works very well---the typescript file is pretty big  
for this font family, so there were quite a few fonts set up with hz  
that have no need for them.


Many thanks, and if the chance arises (perhaps in San Francisco),  
many beers.


David

On Jan 19, 2006, at 1:44 PM, Hans Hagen wrote:


Taco Hoekwater wrote:




Oh, d**mn.
I just had a brainwave.

From Web2c's tex.ch comes the following:

  @!inf_font_mem_size = 2;
  @!sup_font_mem_size = 200;

So font_memory cannot be set larger than 200 and not smaller
than 2. Out-of-bounds sizes are silently folded back in line,
but that happens after the variable expansion is complete. That's
why the debug switch still reports the values from texmf.cnf.

So the actual problem here is the web2c runtime code inside TeX.

You can recompile with a larger sup_font_mem_size, I guess. But
otherwise you are out of luck.


so, is it possible to increase the upper limit in the code? hz  
seems to need it
for the moment a way out is to limit hz to the regular font shape,  
i.e. don't use it for bold, italic, slanted etc

another option is to limit the number of instances (steps)
Hans

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


Re: [NTG-context] Font memory issues ?

2006-01-17 Thread David Wooten
Hmm, interesting. I used "texconfig init". No, there seems to be no change if I rename it.Thanks,DavidOn Jan 17, 2006, at 2:15 AM, Thomas A. Schmitz wrote:No, that's not correct, it's not Gerben's distribution that does that. Which commands do you use to generate the formats? The directory you describe very likely shouldn't be there, and you can probably just delete it. Try renaming it to something else and see if that solves your problem.HTHThomasOn Jan 17, 2006, at 12:18 AM, David Wooten wrote:I've rested a couple of days and found that, in fact, Gerben's distribution generates the new fmt files in ~/Library/texmf/web2c. Still, none of my attempts have produced changes in the allocated memory. ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ?

2006-01-17 Thread David Wooten

Thanks Thomas,

	I've still no luck, but I think things are quite a bit clearer now.  
I stumbled across an old fink installation, the existence of which  
hadn't crossed my mind for quite some time. That is now gone.
	I have also reinstalled my tex/context set-up via the i-Installer  
just to clear the air.


Here is what I currently see: there are 3 cnf files that may be  
involved:


/usr/local/teTeX/share/texmf.local/web2c/context.cnf

Which declares:

% This file is mostly the same as the one that ships with
% texlive, but adapted for multiple trees as well as
% development in a non tds tree (i.e. hh's machine). This
% file is meant for context users.
%
% This file loads before texmf/web2c/texmf.cnf; beware :
% the selfish auto parent can get in the way especially when
% the binaries are located elsewhere. In case of multiple
% trees, one can best set the following ones manually.

I believe that Hans said this was just an example file (?), but it  
has the memory.context settings including:


font_max.context =2000
font_mem_size.context= 100
main_memory.context  = 200

Second, there is:

/usr/local/teTeX/share/texmf/web2c/texmf.cnf

Which is referred to in the above context.cnf, and which declares:

% original texmf.cnf -- runtime path configuration file for kpathsea.
% (If you change or delete `original' on the previous line, the
% distribution won't install its version over yours.)
% Public domain.

[Stuff skipped] 

	% Earlier entries (in the same or another file) override later ones,  
and
	% an environment variable foo overrides any texmf.cnf definition of  
foo.


This file also has memory settings, such as:

% ConTeXt is a memory hog...
main_memory.context = 200 % Keep total within 800 limit
extra_mem_bot.context = 400
	% Words of font info for TeX (total size of all TFM files,  
approximately).

font_mem_size = 200
	% Total number of fonts. Must be = 50 and = 2000 (without tex.ch  
changes).

font_max = 2000

And finally,

/usr/local/teTeX/texmf.cnf

Which is identified by

kpsewhich texmf.cnf

and which has no memory settings.

I have tried changing the memory settings in each file (that means  
adding them to /usr/local/teTeX/texmf.cnf), raising the main_memory  
to 300 and the font_mem_size likewise to 300, and then  
running texexec --make --all. No change in the resulting readout:


Here is how much of TeX's memory you used:
4681 strings out of 60921
74346 string characters out of 610603
4609149 words of memory out of 7114466
40727 multiletter control sequences out of 1+5
1927616 words of font info for 332 fonts, out of 200 for 2000
232 hyphenation exceptions out of 5000
	62i,21n,81p,1198b,1755s stack positions out of 5000i,500n,6000p, 
20b,4s

PDF statistics:
170 PDF objects out of 30
0 named destinations out of 131072
109061 words of extra memory for PDF output out of 128383

At this point I would very much like to be embarrassed by a simple,  
too-obvious pointer ;)


Thanks very much,
David

On Jan 17, 2006, at 10:31 AM, Thomas A. Schmitz wrote:


1. Don't use texconfig for context, use texexec --make --all

2. If you use texonfig, the command is texconfig-sys, or you'll end  
up having inconsistent files for different users.


Best

Thomas

On Jan 17, 2006, at 6:35 PM, David Wooten wrote:

Hmm, interesting. I used texconfig init. No, there seems to be  
no change if I rename it.


Thanks,
David



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


Re: [NTG-context] Font memory issues ?

2006-01-17 Thread David Wooten

Hans, is this what you're referring to?

kdebug:hash_lookup(main_memory.context) = 300 % Keep total  
within 800 limit 300 % Keep total within 800 limit

kdebug:variable: main_memory = 300 % Keep total within 800 limit

kdebug:hash_lookup(font_mem_size.context) = 300
kdebug:variable: font_mem_size = 300
kdebug:hash_lookup(font_max.context) = (nil)
kdebug:hash_lookup(font_max) = 2000
kdebug:variable: font_max = 2000

If so, the increases I've made are evident here. . . but not when I  
run texexec?


On Jan 17, 2006, at 2:36 PM, Hans Hagen wrote:


David Wooten wrote:

At this point I would very much like to be embarrassed by a  
simple,  too-obvious pointer ;)


how about generating a plain tex format using

pdfetex --ini

and enabling the kpse debug options? Then you can see what is used:

pdfetex --kpathsea-debug=65535 --ini --progname=context plain

Hans


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


Re: [NTG-context] Font memory issues ?

2006-01-16 Thread David Wooten

Most Patient ConTeXters,

I've rested a couple of days and found that, in fact, Gerben's  
distribution generates the new fmt files in ~/Library/texmf/web2c.  
Still, none of my attempts have produced changes in the allocated  
memory.


Has anyone successfully increased the memory (e.g. font_mem_size) in  
this distribution? And if yes, could you say how it was achieved?


Kind regards,
David

On Jan 12, 2006, at 2:48 PM, David Wooten wrote:

On Jan 12, 2006, at 12:05 PM, Hans Hagen wrote:

can it be that you have multiple cnf files? kpse reads more than  
one if present


Even with multiple cnf files, if the memory settings are identical,  
should it work?


Many thanks,
David


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


Re: [NTG-context] Font memory issues ?

2006-01-12 Thread David Wooten

On Jan 11, 2006, at 11:25 PM, Thomas A. Schmitz wrote:

Find out which is the main texmf.cnf file:

kpsewhich texmf.cnf

on my system, this resolves to

/usr/local/teTeX/texmf.cnf

Then modify this file and regenerate the formats.

HTH

Thomas


Indeed, that is the case also for me.

maybe you have duplicate formats (texconfig does not support engine  
paths)


do the reported mem values change?

Hans


The reported values do not change, and afaik the formats are all  
listed here:


 locate .fmt
/usr/local/teTeX/share/texmf.local/web2c/amstex.fmt
/usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt
/usr/local/teTeX/share/texmf.local/web2c/cont-nl.fmt
/usr/local/teTeX/share/texmf.local/web2c/eplain.fmt
/usr/local/teTeX/share/texmf.local/web2c/etex.fmt
/usr/local/teTeX/share/texmf.local/web2c/jadetex.fmt
/usr/local/teTeX/share/texmf.local/web2c/latex.fmt
/usr/local/teTeX/share/texmf.local/web2c/mptopdf.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-en.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-nl.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfetex/mptopdf.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfetex.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfjadetex.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdflatex.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdftex.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdftexinfo.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfxmltex.fmt
/usr/local/teTeX/share/texmf.local/web2c/tex.fmt
/usr/local/teTeX/share/texmf.local/web2c/texinfo.fmt
/usr/local/teTeX/share/texmf.local/web2c/xmltex.fmt
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ?

2006-01-12 Thread David Wooten


On Jan 12, 2006, at 12:02 PM, Taco Hoekwater wrote:


Hi David,

Old formats that should be deleted:


/usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt
/usr/local/teTeX/share/texmf.local/web2c/cont-nl.fmt

..

/usr/local/teTeX/share/texmf.local/web2c/mptopdf.fmt


New ones that have never been used yet:

/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-en.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-nl.fmt
/usr/local/teTeX/share/texmf.local/web2c/pdfetex/mptopdf.fmt


Cheers, Taco


Thanks Taco,

Should those .../pdfetex/ fmt files remain where they are, and  
the .../web2c/ files simply deleted?


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


Re: [NTG-context] Font memory issues ?

2006-01-12 Thread David Wooten

On Jan 12, 2006, at 12:05 PM, Hans Hagen wrote:

can it be that you have multiple cnf files? kpse reads more than  
one if present


Here are all the .cnf files:

/usr/local/teTeX/share/texmf/web2c/fmtutil.cnf
/usr/local/teTeX/share/texmf/web2c/texmf.cnf
/usr/local/teTeX/share/texmf.gwtex/texmf.cnf.gwtex.tl2003
/usr/local/teTeX/share/texmf.gwtex/texmf.cnf.gwtex.tl2004
/usr/local/teTeX/share/texmf.gwtex/web2c/mktex.cnf
/usr/local/teTeX/share/texmf.local/web2c/context.cnf
/usr/local/teTeX/share/texmf.local/web2c/fmtutil.cnf
/usr/local/teTeX/share/texmf.tetex/web2c/mktex.cnf
/usr/local/teTeX/texmf.cnf

Even with multiple cnf files, if the memory settings are identical,  
should it work?


Also, should the new memory settings have the .context suffix, e.g.  
font-mem-size.context? I believe I have tried both ways.


Many thanks,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ?

2006-01-11 Thread David Wooten


On Jan 11, 2006, at 12:16 AM, Hans Hagen wrote:

David Wooten wrote:

On Jan 10, 2006, at 1:54 PM, Hans Hagen wrote:


did you remake the format after increasing the memory values?


This means texexec --make --all ?

I did try the above, but the  numbers in the log when running my  
file  do not change. I can only imagine that there is another  
place to  change the memory settings. In my context.cnf, the  
numbers are  identical to yours below, although I did try to raise  
the  font.mem.size.context as we've been discussing.


ah, you need to set the values in texmf.cnf! context.cnf is just an  
example (unless you point the TEXMFCNF environment variable to the  
alternative cnf file)


Hans


Ah, unfortunately still no luck. I changed the settings in /usr/local/ 
teTeX/share/texmf/web2c/texmf.cnf, reset the format files with  
texconfig init, and for good measure texexec --make --all, but no  
change. Am I simply off target somewhere?


Thanks,
David

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


[NTG-context] Font memory issues ?

2006-01-10 Thread David Wooten

Greetings ConTeXters,

Just recently (after updating to the most recent i-Installer ConTeXt  
version / but also after writing/tweaking a little more), I am  
apparently running into some font memory issues.*


I have tried to increase the available memory in web2c/texmf.cnf to  
no avail. One curiosity is the pdfTeX error further down: argument  
hz,normal. I am using hz,hanging in this document.


Any clues?

Many thanks,
David


*
[27.27]
! Font \*12ptrmtf*=texnansi-LIGA-KERN-ONUM-PNUM-MinionPro-Regular at  
12.0pt not

loaded: Not enough room left.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...


\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\ifskipfontchar...

argument \getvalue [EMAIL PROTECTED]@ \globalfontstyle }
 \edef \fontstyle  
{\globalfo...

...
l.27 \stopbackmatter

! pdfTeX error (font expansion): invalid font identifier.
\dosetfontadjusting ...pdffontexpand \handledfont
  \csname [EMAIL PROTECTED]@  
[EMAIL PROTECTED]@ #1\c...

inserted text ...ntadjusting \askedfonthandling
   
\setprotrudingfactor \aske...


\dofastenablehandling ...\everyenablefonthandling
  \edef  
\fonthandling {\csna...


\rawprocesscommaitem ...commalevel \endcsname {#1}
  \expandafter  
\rawprocessco...

argument hz,n
   ormal
\rawprocesscommalist ...er \rawprocesscommaitem #1
  ,],\global  
\advance \comma...

...
l.27 \stopbackmatter

!  == Fatal error occurred, the output PDF file is not finished!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font memory issues ? : bib-module?

2006-01-10 Thread David Wooten
Excuse me for replying to myself, but it is also curious that ConTeXt  
is trying to call a 12pt font. I have called 11pt in the environment.


It looks like these errors are appearing at the Bibliography. Might  
this be due to something in the the beta bib-module?


David

On Jan 10, 2006, at 11:07 AM, David Wooten wrote:


Greetings ConTeXters,

Just recently (after updating to the most recent i-Installer  
ConTeXt version / but also after writing/tweaking a little more), I  
am apparently running into some font memory issues.*


I have tried to increase the available memory in web2c/texmf.cnf to  
no avail. One curiosity is the pdfTeX error further down:  
argument hz,normal. I am using hz,hanging in this document.


Any clues?

Many thanks,
David


*
[27.27]
! Font \*12ptrmtf*=texnansi-LIGA-KERN-ONUM-PNUM-MinionPro-Regular  
at 12.0pt not

loaded: Not enough room left.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...


\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\ifskipfontchar...

argument \getvalue [EMAIL PROTECTED]@ \globalfontstyle }
 \edef \fontstyle  
{\globalfo...

...
l.27 \stopbackmatter

! pdfTeX error (font expansion): invalid font identifier.
\dosetfontadjusting ...pdffontexpand \handledfont
  \csname [EMAIL PROTECTED]@  
[EMAIL PROTECTED]@ #1\c...

inserted text ...ntadjusting \askedfonthandling
   
\setprotrudingfactor \aske...


\dofastenablehandling ...\everyenablefonthandling
  \edef  
\fonthandling {\csna...


\rawprocesscommaitem ...commalevel \endcsname {#1}
  \expandafter  
\rawprocessco...

argument hz,n
   ormal
\rawprocesscommalist ...er \rawprocesscommaitem #1
  ,],\global  
\advance \comma...

...
l.27 \stopbackmatter

!  == Fatal error occurred, the output PDF file is not finished!
___
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] Font memory issues ? : bib-module?

2006-01-10 Thread David Wooten
Here are the stats, after removing placepublications:

Here is how much of TeX's memory you used:
 4760 strings out of 60999
 76752 string characters out of 611011
 32604822 words of memory out of 34111765
 40674 multiletter control sequences out of 1+5
 1974579 words of font info for 355 fonts, out of 200 for 2000
 232 hyphenation exceptions out of 5000
 62i,21n,81p,1198b,1736s stack positions out of 5000i,500n,6000p,20b,4s
PDF statistics:
 209 PDF objects out of 30
 0 named destinations out of 131072
 115969 words of extra memory for PDF output out of 128383

On Tue, 10 Jan 2006 21:22:14 +0100, Taco Hoekwater [EMAIL PROTECTED] wrote:
 David Wooten wrote:
 Excuse me for replying to myself, but it is also curious that ConTeXt
 is trying to call a 12pt font. I have called 11pt in the environment.

 It looks like these errors are appearing at the Bibliography. Might
 this be due to something in the the beta bib-module?
 
 Not knowingly, but it could be the last drop.
 
 Can remove the placepublications for a test run, and post the tail end
 of the log of that (hopefully succesful) run? The bit that contains
 the statistics, I mean.
 
 Cheers, taco
 ___
 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] Font memory issues ?

2006-01-10 Thread David Wooten


On Jan 10, 2006, at 1:54 PM, Hans Hagen wrote:


did you remake the format after increasing the memory values?


This means texexec --make --all ?

I did try the above, but the  numbers in the log when running my file  
do not change. I can only imagine that there is another place to  
change the memory settings. In my context.cnf, the numbers are  
identical to yours below, although I did try to raise the  
font.mem.size.context as we've been discussing.



hz lets pdftex internally generate additional font instances

these are my texmf.cnf values

buf_size.context =  20 % needed for omega bug
extra_mem_bot.context= 200
extra_mem_top.context= 400
font_max.context =2000
font_mem_size.context= 100
hash_extra.context   =   75000
main_memory.context  = 200
max_strings.context  =  25
nest_size.context= 500
obj_tab_size.context =  30 % 8388607
pdf_mem_size.context =  50 % 524288
dest_names_size.context  =  30 % 131072
param_size.context   =   1
pool_free.context=   47500
pool_size.context= 200
save_size.context=   5
stack_size.context   =   1
string_vacancies.context =  125000
trie_size.context=  25
hyph_size.context=8191 % prime

(texmfstart --bin youreditor kpse:texmf.cnf)

Hans

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


[NTG-context] i-Installer / minimal TeX installation for ConTeXt?

2006-01-09 Thread David Wooten

Greetings all,

By and by I've found that I am only using ConTeXt for my typesetting  
needs. I am curious as to whether someone can advise me how best to  
install a suitable yet minimal TeX installation:  without LaTeX, etc.  
I am currently using Gerben's very helpful i-Installer.


Perhaps it would vary too much between users to say definitively?

In any case,
Thanks very much
David 
___

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


Re: [NTG-context] Bib Module: bibl-ssa

2006-01-03 Thread David Wooten

Beta, yes indeed.
David

On Jan 3, 2006, at 1:18 AM, Taco Hoekwater wrote:


David Wooten wrote:

Greetings all, Taco,
I've just run across a small bug in the bibl-ssa style for the  
bib- module.


That's in the beta, yes? I know it has bugs in the compression code.
I will try to fix that next week, and release a 'non-beta' shortly
thereafter.

Cheers, Taco

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


[NTG-context] Bib Module: bibl-ssa

2006-01-02 Thread David Wooten

Greetings all, Taco,

I've just run across a small bug in the bibl-ssa style for the bib- 
module. The (wonderful) mechanism for deleting subsequent identical  
names goes a little too far if the first item in the bibliography is  
an edited book---that is, editor(s) only, and no author(s). A little  
too far meaning the first item is printed without the editor's name.


Current set-up:

\usemodule[bib]
\setuppublications[alternative=ssa,refcommand=authoryears]
\setuppublications[sorttype=bbl,criterium=all]
\setupbibtex[sort=author]
\sortbycitefalse

Kind regards,
David Wooten


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


[NTG-context] [OT] Was: [Aleph] OpenType-to-TeX and other musings...

2005-12-19 Thread David Wooten
. . . Just out of curiosity, Hans, does this mean that pdftex will  
(in the near future;) natively support OpenType fonts, namely without  
having to go through all the TeX font installation trickery?


Dave

On Dec 18, 2005, at 6:16 AM, Hans Hagen wrote:


Idris Samawi Hamid wrote:

In the short run, for Aleph's purposes, these declarations and   
much/most/all of the metainfo can be treated as suggestions for  
the otp  designer to consider in implementing things. There is no  
need to treat  them as something holy.


in the near future pdftex will provide open type as well as hooks  
for input processing using lua, so you may as well end up rewriting  
your otp's in a more friendly language


Hans

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


Re: [NTG-context] [OT] Was: [Aleph] OpenType-to-TeX and other musings...

2005-12-19 Thread David Wooten


On Dec 19, 2005, at 11:58 AM, Hans Hagen wrote:


David Wooten wrote:

. . . Just out of curiosity, Hans, does this mean that pdftex  
will  (in the near future;) natively support OpenType fonts,  
namely without  having to go through all the TeX font installation  
trickery?


that's the idea; of course we need some tex specific things because  
we want to do more than open type supports, but in any case live  
should become more easy


That is indeed excellent news.

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


[NTG-context] New bibliography beta

2005-12-16 Thread David Wooten

Greetings all, esp. Taco,
I'm finally working with the new bib module, it works quite well.  
I've found one curiosity: I have a /defineparagraphs (semi?)-kludge  
in a modified bibl- file to take care of some wonky (but  beautiful)  
layout demands. It worked perfectly in the last version:


 \defineparagraphs [bibpar]
		[n=3,before=\vskip -1.75\baselineskip,after=\vskip -1.25 
\baselineskip,distance=.2em,align={hz,hanging}]

\setupparagraphs [bibpar] [1]
[width=1.5em]
\setupparagraphs [bibpar] [2]
[width=3.3em]

What appears to be happening is that the after command no longer  
has any effect---regardless of its content. The before command  
works as expected.


Thanks again for your time,
David

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


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-04 Thread David Wooten

 What do you do with ConTeXT?


I'm using ConTeXt to typeset my Ph.D. dissertation, and have used it  
over the last few years to typeset seminar papers, outlines, and so  
on. Recently I've also helped a friend typeset his monograph. He is  
an architect and painter, so this text is full of diagrams,  
paintings, fold-out pages, prose, and indexes.  ConTeXt made it  
possible to generate a really beautiful, complex book. I believe that  
there was nothing he wanted to do that we couldn't work out with  
ConTeXt.


For some reason I've always enjoyed working through the difficulties  
of using a complex program that I know should work—this reached a  
high point with plain TeX, then LaTeX, and carried on (due to my  
always being restless) to my favorite: ConTeXt. Installation of fonts  
was particularly difficult, though I can't exactly say why—things go  
much more smoothly now. I spent many hours trying and retrying,  
reading and rereading, to get OT fonts working with margin kerning.


I feel much more connection with the history and practice of  
typesetting working with ConTeXt than with any WYSIWYG system I've  
tried. ___

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


Re: [NTG-context] margin kerning problem

2005-10-26 Thread David Wooten
Ah! My mistake. I have a defineparagraph in my bibliography which  
needed the align={hz,hanging} declared. Thanks.


David

On Oct 25, 2005, at 11:21 PM, Taco Hoekwater wrote:


David Wooten wrote:


Greetings all,
On a related note, is there a similar (or dissimilar for that  
matter)  solution to margin kerning with the bib-module?


I wasn't even aware that there is a problem. The module uses a rather
straightforward list, so if hanging works for the TOC, it should work
for the bib module. And if not, then both should require the same fix.

Taco

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


Re: [NTG-context] margin kerning problem

2005-10-25 Thread David Wooten

Greetings all,

On a related note, is there a similar (or dissimilar for that matter)  
solution to margin kerning with the bib-module?


David

On Oct 25, 2005, at 10:04 AM, Hans Hagen Test wrote:


Alan Bowen wrote:


To answer my own question:
To get margin kerning in the footnotes/endnotes as well as in the   
body text, put

\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupfootnotes[align={hz,hanging}]
before the fonts are installed.


indeed; this has to do with the fact that pdftex (tex) has some  
nasty global font assignments and optimizations hard coded


Hans

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


Re: [NTG-context] A wee bit more about OpenType (Myriad Pro)

2005-08-12 Thread David Wooten
Adam, there's no hurry on this one if it seems tricky. I'm also "on vacation" ;).Anyway, the font root is the same as I've used for earlier installations. The map files indeed do not look healthy, in fact they are empty after the comment. DaveOn Aug 10, 2005, at 12:41 PM, Adam Lindsay wrote:David Wooten said this at Wed, 10 Aug 2005 10:19:25 -0700: Before I display some error messages, I want to  ask, Adam, why the Myriad Pro fontsynonyms in your typescript do not  have any of the OpenType features—liga? kern? Is this due to Myriad  Pro's particulars?David, really briefly because I'm on holiday visiting family: thosetypescripts are old (predate the LCDF integration), and probably aren'tof direct help as-is.Your other problem with installing has me scratching my head a bit.could it have to do with your font install root? is that tree alwaysloaded in your configuration? Do the generated map files look healthy?adam___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] A wee bit more about OpenType (Myriad Pro)

2005-08-10 Thread David Wooten

Greetings all  Adam,

Having successfully installed Jenson  Minion Pro I've been trying to  
get Myriad Pro to install as a companion Sans (motivated in part by  
the fact that Adam has a nice typescript file for Warnock Pro with  
Myriad). I'm having some difficulties, which seem similar to  
difficulties I had earlier on…but apparently we finished our  
conversation off the list, so I can't locate what the solution was ;)  
(I believe it was try updating to the latest version of LCDF from  
*EXPERIMENTAL*). Before I display some error messages, I want to  
ask, Adam, why the Myriad Pro fontsynonyms in your typescript do not  
have any of the OpenType features—liga? kern? Is this due to Myriad  
Pro's particulars?


[I've just checked, and it isn't only Myriad Pro that won't install.]

I'm using Gerben's i-Installer, 2004 stable, ConTeXt updater, LCDF  
2.26 (no longer in the experimental directory). I've also tried  
with the 2005 development set. The result is the same.


In any case, here we go:

sudo texfont --fo=/ME/texmf --ve=adobe --co=myriadpro --lcdf --pre -- 
ma --in


TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating /Users/wooten/Library/texmf/ls-R...
mktexlsr: Done.
   encoding vector : texnansi
   vendor name : adobe
   source path : .
   font collection : myriadpro
   texmf font root : /users/wooten/library/texmf
   pdftex map file : texnansi-adobe-myriadpro.map
   source path : .
  processing files : all on afm path
locating afm files : using pattern ./*.afm
locating afm files : using otf files
converting : ./MyriadPro-Black.otf to ./MyriadPro-Black.pfb

[etc.]

 font identifier : MyriadPro-Black - text - tfm
  processing files : otf - tfm + enc
otftotfm: /usr/local/Build/TeXLive.tl2003.development/share/lcdf- 
typetools/glyphlist.txt: warning: No such file or directory

I had to round some heights by 14.500 units.
I had to round some depths by 4.000 units.

(if I install the 2005 teTeX it is identical, except says .../ 
TeXLive.tl2004.development/...


——

In trying to texexec the generated sample file, I receive:

 texexec --pdf texnansi-adobe-myriadpro.tex

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
 executable : pdfetex
 format : cont-en
 inputfile : texnansi-adobe-myriadpro
 output : pdftex
 interface : en
 options: once
 current mode : compact

This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
output format initialized to DVI
entering extended mode
(./texnansi-adobe-myriadpro.tex

ConTeXt  ver: 2005.08.04  fmt: 2005.8.9  int: english  mes: english

[etc.]

Warning: pdfetex (file texnansi-MyriadPro-BlackCondIt): Font texnansi- 
MyriadPro

-BlackCondIt at 72 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72  
texnansi-MyriadPro-BlackCond
mktexpk: don't know how to create bitmap font for texnansi-MyriadPro- 
Black.


[etc.]

…ending up with a big set of blank glyph charts.

Thanks again for any advice, and for patience!
David___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Texfont / OTF / Font installation.

2005-07-22 Thread David Wooten
 file: original-public-vnr.map
fonts   : using map file: original-public-csr.map
fonts   : using map file: original-public-plr.map
fonts   : using map file: original-public-lm.map
fonts   : using map file: original-ams-euler.map
fonts   : using map file: original-ams-cmr.map
fonts   : using map file: texnansi-base.map
fonts   : using map file: t5-base.map
fonts   : using map file: qx-base.map
fonts   : using map file: 8r-base.map
fonts   : using map file: ec-base.map
fonts   : using map file: ec-public-lm.map
fonts   : using map file: original-base.map
systems : begin file texnansi-LIGA-KERN-ONUM-dtl-haarlemmer  
at line 7

kpathsea: Running mktextfm texnansi-LIGA-KERN-ONUM-H022X13D
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input texnansi-LIGA-KERN-ONUM-H022X13D

This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf texnansi-LIGA-KERN-ONUM-H022X13D
! I can't find file `texnansi-LIGA-KERN-ONUM-H022X13D'.
* ...ode; input texnansi-LIGA-KERN-ONUM-H022X13D

Please type another input file name
! Emergency stop.
* ...ode; input texnansi-LIGA-KERN-ONUM-H022X13D

Transcript written on mfput.log.
grep: texnansi-LIGA-KERN-ONUM-H022X13D.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input texnansi-LIGA-KERN-ONUM-H022X13D' failed to make texnansi-LIGA- 
KERN-ONUM-H022X13D.tfm.

kpathsea: Appending font creation commands to missfont.log.
! Font \**WhateverFont**=texnansi-LIGA-KERN-ONUM-H022X13D at 10.0pt  
not loadabl

e: Metric (TFM) file not found.
to be read again
   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
  \let  
\localrelativefontsiz...


\redodefinefont #1#2#3-\dododefinefont {#1}{#2}
\doifsetupselse {#3}  
{\setup...

argument ...egular\quad texnansi] \WhateverFont
   
\setupinterlinespace \show...


\firstofoneargument #1-#1

l.9 ...texnansi-LIGA-KERN-ONUM-H022X13D][texnansi]

?

-

Curiously (it seems to me), while there is no texnansi-LIGA-KERN-ONUM- 
H022X13D.tfm file, there is a texnansi-LIGA-KERN-ONUM- 
DTLHaarlemmerDOT-Regular.tfm file.


Any suggestions would be greatly appreciated!

Many thanks,
David Wooten 
___

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


Re: [NTG-context] Texfont / OTF / Font installation.

2005-07-22 Thread David Wooten
Ah, I should add that I texhash'd between the 2 commands.On Jul 22, 2005, at 1:10 PM, David Wooten wrote:texfont --fo=MyFontRoot --ma --in --ve=dtl --co=haarlemmer --lcdf --pre --va=liga,kern,onumtexexec --pdf --mode=compact --once texnansi-LIGA-KERN-ONUM-dtl-haarlemmer.tex___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Texfont / OTF / Font installation.

2005-07-22 Thread David Wooten


On Jul 22, 2005, at 2:21 PM, Hans Hagen wrote:


On Jul 22, 2005, at 1:10 PM, David Wooten wrote:

texfont --fo=MyFontRoot --ma --in --ve=dtl --co=haarlemmer --lcdf  
--pre --va=liga,kern,onum


texexec --pdf --mode=compact --once texnansi-LIGA-KERN-ONUM-dtl- 
haarlemmer.tex



use lower case names for fonts, just to prevent hard to trace case  
sensitive issues

Hans


Hmm. I get the same result with lowercase.

Dave

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


Re: [NTG-context] Paragraph internal graphic/layout inquiry.

2005-07-19 Thread David Wooten
Hmm, I'm not sure how to try out this 'preliminary module' --- looks  
like there is a sample included, but perhaps it could be spelled out  
for me (and anyone else who doesn't know how to proceed).


Many thanks!
Dave

On Jul 19, 2005, at 1:38 PM, Hans Hagen wrote:


Mikael Persson wrote:


Hans, is this something we can expect some nice ConTeXt-ish macros  
for?


This is always kind of tricky. Grepping for parshape on my disk  
gave me an old test file which i wrapped in a preliminary module.  
I'm not that sure about the interface and I've forgotten how well  
it performs.

(I do have a multi column variant somewhere too.)
no guarantees

Hans

m-shape.tex


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


Re: [NTG-context] Paragraph internal graphic/layout inquiry.

2005-07-13 Thread David Wooten
Ah, that's what I feared. I'm using Mac OS X, so I guess I'll have to  
postpone it. Thanks for the response,

David

On Jul 13, 2005, at 12:23 AM, Taco Hoekwater wrote:


David Wooten wrote:


Greetings all,
Mr. Tufte has an interesting  example from da Vinci: http://  
trichotomic.net/Leonardo.jpg (76k). Is this type of layout  
currently  possible (or perhaps a better question, wieldy) within  
ConTeXt?


In a standard TeX installation, it is not possible to make this
type of paragraph without massive amounts of manual intervention,
because TeX's paragraphs cannot (normally) contain holes.

However, VTeX does not have that limititation, and the OS/2 and
Linux versions of it's TeX compiler are free (as in beer). See

  http://www.micropress-inc.com

Greetings,

Taco


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


[NTG-context] Paragraph internal graphic/layout inquiry.

2005-07-12 Thread David Wooten

Greetings all,

Mr. Tufte has an interesting  example from da Vinci: http:// 
trichotomic.net/Leonardo.jpg (76k). Is this type of layout currently  
possible (or perhaps a better question, wieldy) within ConTeXt?


Kind regards,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] placefigure inmargin; inmargin justification

2005-05-11 Thread David Wooten
Greetings all,
I've been experimenting a little with margin-notes, and am wondering  
if there is support for running the inmargin text around a figure, e.g.

\inmargin{\placefigure[left]{none}{\externalfigure[Figgy][width=4em]}  
Interesting words.}

The above places the figure and the text on top of each other.
It also appears that there is no option in an inmargin text to have  
both-sides-justified. Is this a general stylistic assumption? In this  
instance, my margins are to be unusually large.

And finally, if it's simply the case here, is there a nice way to  
achieve a similar result (as margin notes) on multiple pages, two- 
sided, where the main text width runs normally from page to page? I'm  
thinking of perhaps pseudo-columns.

Thanks,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] OpenType, Jenson, handling

2005-04-23 Thread David Wooten
On Apr 22, 2005, at 1:56 PM, Adam Lindsay wrote:
Hans Hagen said this at Fri, 22 Apr 2005 20:36:43 +0200:
David Wooten wrote:
Greetings all,
Adam,
Have you had any success in using hanging alignment handling with 
Adobe
Jenson Pro? The last reference to this I've found was in your 2003 My
Way on the subject.
it's indepent of the font,
Actually, the thing David asked about was a weird bug turned up between
FontForge's font conversion, that particular font, and the pdfetex of
that time. I haven't seen anything like that since, especially since
using the --lcdf switch.
In any case, that font works for me now.
Excellent, for me too.
Thanks again,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] OpenType installation basics for ConTeXt

2005-04-20 Thread David Wooten
Greetings all, and esp. Adam :)
Been toying with Adam Lindsay's recent PracTeX Journal guide for 
installing OpenType. The sample with torunska works (though the noted 
GPOS errors are there) up to the point where I issue the command:

texexec --pdf --mode=compact --once 
texnansi-LIGA-KERN-public-torunska.tex

Whereupon I receive the following (I've cut it perhaps too severely, 
let me know what more would be helpful to see):

[ v. much cut out ]
systems : end file texnansi-LIGA-KERN-public-torunska at line 63
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
texnansi-LIGA-KERN-AntykwaTorunskaMe
d-Regular
mktexpk: don't know how to create bitmap font for 
texnansi-LIGA-KERN-AntykwaTorunskaMed-Regular.
kpathsea: Appending font creation commands to missfont.log.
 )
Warning: pdfetex (file texnansi-LIGA-KERN-AntykwaTorunskaMed-Regular): 
Font tex
nansi-LIGA-KERN-AntykwaTorunskaMed-Regular at 72 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
texnansi-LIGA-KERN-AntykwaTorunskaMe
d-Italic
mktexpk: don't know how to create bitmap font for 
texnansi-LIGA-KERN-AntykwaTorunskaMed-Italic.

[ cut: same for each font variant ]
Output written on texnansi-LIGA-KERN-public-torunska.pdf (17 pages, 
364611 byte
s).
Transcript written on texnansi-LIGA-KERN-public-torunska.log.

   return code : 0
  run time : 51 seconds
total run time : 52 seconds
---
Each of the named variants seems to have been installed correctly in 
tetex.local, and I  did texhash, etc.

Thanks very much,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib: getting a complete listing of the database, sorted by author

2005-04-14 Thread David Wooten
Taco, this works for me. Glad this came upI was going to inquire soon.
David
Try this sequence opf commands instead
(not tested, but I have a sudden hunch that this will work):
  \setuppublications
 [alternative=apa]
   \setuppublications
 [sorttype=bbl,
  criterium=all]
(and if this works, then I've found the cause of almost all the recent
problems with 'criterium=all' etcetera).
The second one is easy: the keyword here is 'sort', not 'sorttype':
\setupbibtex
   [database=umbruchlit,
sort=author]
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font encoding: \uppercased: \WORD

2005-04-10 Thread David Wooten
I came across the command \WORD{} in the manual (nice place to look, eh?). This does all capitals (it can be more than one word) and doesn't have the issue with diacritics that \uppercased was having for me. 

Thanks,
David

On Mar 25, 2005, at 5:30 PM, David Wooten wrote:

Greetings all,

Taco mentioned the command \uppercased{to get all uppercase letters}, and it works just fineuntil I try to use my self-installed fonts. The quirks come up with diacritics, and this leads me to believe that there is an [encoding] or [regime] issue here, as I had similar issues earlier with the font in general. For example, with \uppercased{Krbel} I receive: KRBEL. 

Do I need to make a statement of my intent in a typescript file or somewhere else to resolve this?

Kind regards,
David___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font encoding: \uppercased

2005-04-08 Thread David Wooten
Greetings Vit, all,
Thanks for the response.
I'm finally getting around to looking into this again. My first 
attempts haven't yielded any good results. Could you (or someone) say a 
little more (newbie-explicit)? I assume that the enco-*.tex files 
you're referring to are in .../context/base/, where there are a series 
of 30 or so such files. It isn't clear to me which one to use. Does the 
encoding refer to font encoding? in which case there is no 
enco-8r.tex or to something else?  enco-pdf.tex for example.

Thanks very much,
David Wooten
On Mar 26, 2005, at 11:35 AM, Vit Zyka wrote:
David Wooten wrote:
Greetings all,
Taco mentioned the command \uppercased{to get all uppercase letters}, 
and it works just fineuntil I try to use my self-installed fonts. 
The quirks come up with diacritics, and this leads me to believe that 
there is an [encoding] or [regime]/ /issue here, as I had similar 
issues
Yes, \uccode and \lccode are encoding-dependent and are defined in 
enco-*.tex files. So, look into the encoding file you are using and 
add the their definition between
  \startmapping[st1]
\definecasemap 152 184 152
  \stopmapping
with meaning: character 152 has lower counterpart 184 and upper one 
152 (152 is uppercase letter).

(or for continuous sequence there is abbreviation
  \definecasemaps 160 to 188 lc +32 uc 0
 with meaning:
  \definecasemap 160 182 160
  \definecasemap 161 183 161
  ...
  \definecasemap 188 220 188
)
vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \newbibfield[help!] : Very quick question.

2005-03-31 Thread David Wooten
Greetings all,
In working with the bib module, I've been trying to understand the 
addition of a field. There is a \newbibfield command, but it is not 
entirely clear where to declare it. E.g., I want to have a field called 
yearnote. If I place this in the list of commands in the t-bib.tex 
file, and call for it with \insertyearnote in the 
\setuppublicationlayout, it works perfectly. But declaring 
\newbibfield[yearnote] yields me an undefined control sequence. Is 
there a special place to declare the latter?  I've tried in my current 
file, before and after \starttext, in the .bbl file, before and after 
\setuppublicationlist no luck!

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


Re: [NTG-context] bib: potential range of bibliography styles?

2005-03-25 Thread David Wooten
Great, that does the trick. Another quickie:

This bib style demands that the first author/editor is invertedauthor, while the subsequent authors/editors are normalauthor, e.g.:

WOOTEN, David and Charles M. SCHULZ and Kris KRINGLE.
2005.  Adventures in Babysitting, etc.

Is there currently the possibility of distinguishing between the first  subsequent authors? (From my preliminary investigations it looks like all authors automatically follow the declared style.)

Regards,
David

P.S. This is a lot more fun than preparing for my exams!

On Mar 24, 2005, at 10:22 AM, Taco Hoekwater wrote:

David Wooten wrote:
Hm. A quick questionis there a way to call all true upper case (instead of {\sc small caps})? I haven't been able to track this down in the usual places. For myself the small caps are preferable, but they're not officially sanctioned :).

I have to guess a bit on what the 'official' ConTeXt way is to
get all uppercase text, but I think this is it:

\uppercased{all caps}

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


[NTG-context] Font encoding: \uppercased

2005-03-25 Thread David Wooten
Greetings all,

Taco mentioned the command \uppercased{to get all uppercase letters}, and it works just fineuntil I try to use my self-installed fonts. The quirks come up with diacritics, and this leads me to believe that there is an [encoding] or [regime] issue here, as I had similar issues earlier with the font in general. For example, with \uppercased{Krbel} I receive: KRBEL. 

Do I need to make a statement of my intent in a typescript file or somewhere else to resolve this?

Kind regards,
David___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib: potential range of bibliography styles?

2005-03-24 Thread David Wooten
Hm. A quick questionis there a way to call all true upper case 
(instead of {\sc small caps})? I haven't been able to track this down 
in the usual places. For myself the small caps are preferable, but 
they're not officially sanctioned :).

Regards,
David
On Mar 23, 2005, at 12:43 PM, Taco Hoekwater wrote:
[EMAIL PROTECTED] wrote:
Aside from all the niggling details (which I'm sure could be worked 
out), is this kind of layout in general possibleall citations going 
by year underneath a single instance of the author? or am I doomed 
to forever make these by hand? ;)
I'd say it is doable, but not trivial. ;-)
You need to use \setupbibtex[sort=author], of course.  I you can
make it come out like below (all that should be doable using just
the documented features of the bib module), then I will help you
'compress' the repeating authors afterwards, ok?
  PEIRCE, Charles S.
  1859. An Essay on the Limits of Religious Thought Written to Prove 
That We
  Can Reason Upon the Nature of God, MS 53, in W1:37-40

  PEIRCE, Charles S.
  1982. Writings of Charles S. Peirce: a Chronological Edition, ed. 
Max Fisch,
  Peirce Edition Project. Five volumes. (Bloomington: Indiana 
University Press, 1982-98).

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


Re: [NTG-context] Initial Font Installation Question (Mac)

2005-03-12 Thread David Wooten
On Mar 12, 2005, at 1:49 PM, Adam Lindsay wrote:
David Wooten said this at Fri, 11 Mar 2005 15:40:14 -0800:
That is, when I try to use
any special glyph, be it an accented character of any kind, or e.g. an
eth.
Hi David,
I took a look at your file (off-list), and it looks like you're using 
the
8r encoding. Interesting that you bring the eth up, because that
character doesn't exist in the 8r encoding.
Yes, that's my errorlet's change that to thorn :)
8r encoding it is.
The result of something like \a (or \{a}) is _a_ without the
diacritic.
Hmm. What do your typescript definitions look like, then? Does ConTeXt
know you're using 8r as the encoding for the font?
I believe so. An example from the typescript file:
\usetypescriptfile [type-buy]
\loadmapfile [8r-stf-andulka-book.map]
\starttypescript [serif] [andulka-book] [name]
\definefontsynonym [Serif]   [Andulka-Book]
\stoptypescript
\starttypescript [serif] [andulka-book] [8r]
\definefontsynonym [Andulka-Book] [8r-andulkabook]
\stoptypescript
Curiously (to me, at least:), if I enter the actual glyph:
, it gives me the character I needbut only for a few runs!
Okay, that now becomes an interaction between regime (input file
encoding) and the rest. It could be coincidence that  is in the same
slot (228) with both regime and encoding. Which regime are you using? 
Are
you sure it lines up with the encoding in (say) TeXshop?
I use TextMate for the text editing, and it's currently saving in 
UTF-8. this area of regime and encoding isn't very clear to me. That 
sounds like a clue.

Some trials evince an ff-ligature as the diacritic.
That's another data point pointing to the encoding not being in synch.
So. More input required, but right now I'm eyeing the encoding with 
suspicion.

adam
P.S. As a side point, Andulka does indeed look like a nice, sturdy,
legible text font. A bit like the free (but masterfully drawn) Charter,
but with a lot more personality.
Yes, I've grown fond of it, especially at a smaller size. Funny you 
should mention Charter in this regard, as it always had a certain 
appeal.

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


Re: [NTG-context] Initial Font Installation Question (Mac)

2005-03-12 Thread David Wooten
On Mar 12, 2005, at 3:58 PM, Adam Lindsay wrote:
David Wooten said this at Sat, 12 Mar 2005 15:07:25 -0800:
Hmm. What do your typescript definitions look like, then? Does 
ConTeXt
know you're using 8r as the encoding for the font?
I believe so. An example from the typescript file:
\usetypescriptfile [type-buy]
\loadmapfile [8r-stf-andulka-book.map]
\starttypescript [serif] [andulka-book] [name]
\definefontsynonym [Serif]   [Andulka-Book]
\stoptypescript
\starttypescript [serif] [andulka-book] [8r]
\definefontsynonym [Andulka-Book] [8r-andulkabook]
Ah-ha.
ConTeXt isn't *that* clever about names. At the end of the font synonym
chain, you need to associate the font name with an encoding explicitly.
The typescript names are just symbols (for the most part) that signal 
to
ConTeXt which groups of definitions to use.

Therefore, the above line should be:
 \definefontsynonym [Andulka-Book] [8r-andulkabook] [encoding=8r]
Bravo, that does it. Many thanks, Adam.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Initial Font Installation Question (Mac)

2005-03-11 Thread David Wooten
Greetings ConTeXters
I'm back to ask another question:
After an initial successful installation of the purchased fonts, I've 
come to find that there is a serious quirk. That is, when I try to use 
any special glyph, be it an accented character of any kind, or e.g. an 
eth. The result of something like \a (or \{a}) is _a_ without the 
diacritic. Curiously (to me, at least:), if I enter the actual glyph: 
, it gives me the character I needbut only for a few runs! After 
adding a couple more of such alternative glyphs, it starts to show 
gibberish. Some trials evince an ff-ligature as the diacritic. Errors 
in the mapping/virtual font/?

Again I hope to save myself some time by asking to be pointed in the 
right direction, as my initial searches haven't really helped.

Kind Regards,
David Wooten
On Feb 21, 2005, at 1:17 AM, Adam Lindsay wrote:
Thomas A.Schmitz said this at Mon, 21 Feb 2005 10:01:50 +0100:
Just a quick reply:
having the afm is already very good. The file without an extension
looks suspiciously like a Mac font resource. Can you try running the
utility fondu on it (from the command line)? That will usually
produce the pfbs (very likely, there's more than one: roman, italics,
bold ...). Texfont, btw, can equally well work with truetype fonts, so
if you have a proper tryetype font with extension .ttf. you might as
well use this. texfont will produce a map entry that you will have to
modify a bit (so it points to a .ttf instead of the default .pfb), but
that's not too difficult. As to names: don't bother, ConTeXt is happy
with whatever name you throw at it.
Only a couple things to add:
When fondu generates the .pfb file, copy the .afm to share the new
(probably longer) filename.
Texfont on MacOSX trips on capital letter extensions: make sure they're
uniformly lower case.
If fondu fails you (it hasn't failed me yet), there's also t1unmac 
(lcdf.org).

And if texfont installation fails or inexplicably stalls, you might 
need
to go in and truncate long (255+ character) lines by manually editing 
the
text file. I've always found these to be comment/copyright lines, so
you're not hurting anything by doing so.

You lucky so-and-so for getting Andulka!
adam
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] lettrine.sty, but not LaTeX

2005-02-25 Thread David Wooten
Hmm, this is great.
However, I can't seem to get it to accept an image (Image=true or 
Image=yes). Anyone else have some luck?

On Feb 25, 2005, at 2:28 PM, Taco Hoekwater wrote:
Sorrry about that, last-minute change :-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Initial Font Installation Question (Mac)

2005-02-24 Thread David Wooten
Thanks so much!
After a fair amount of tinkering  testing, I've got it worked out.
Regards,
David Wooten
On Feb 21, 2005, at 1:17 AM, Adam Lindsay wrote:
Thomas A.Schmitz said this at Mon, 21 Feb 2005 10:01:50 +0100:
Just a quick reply:
having the afm is already very good. The file without an extension
looks suspiciously like a Mac font resource. Can you try running the
utility fondu on it (from the command line)? That will usually
produce the pfbs (very likely, there's more than one: roman, italics,
bold ...). Texfont, btw, can equally well work with truetype fonts, so
if you have a proper tryetype font with extension .ttf. you might as
well use this. texfont will produce a map entry that you will have to
modify a bit (so it points to a .ttf instead of the default .pfb), but
that's not too difficult. As to names: don't bother, ConTeXt is happy
with whatever name you throw at it.
Only a couple things to add:
When fondu generates the .pfb file, copy the .afm to share the new
(probably longer) filename.
Texfont on MacOSX trips on capital letter extensions: make sure they're
uniformly lower case.
If fondu fails you (it hasn't failed me yet), there's also t1unmac 
(lcdf.org).

And if texfont installation fails or inexplicably stalls, you might 
need
to go in and truncate long (255+ character) lines by manually editing 
the
text file. I've always found these to be comment/copyright lines, so
you're not hurting anything by doing so.

You lucky so-and-so for getting Andulka!
adam
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Initial Font Installation Question (Mac)

2005-02-21 Thread David Wooten
Greetings all,
I've been having a lot of fun struggling with the installation of a 
newly purchased font, and wanted to double check a preliminary question 
before I give in and ask a more thorough question ;)

I'm working with Mac OS X, so I bought a font-set with both Mac TTF and 
Postscript files. The Postscript folders have 2 types of file for each 
fontname: .afm and another without a suffix. The names also have 
uppercase letters, such as AndulBooBol (a.k.a. Andulka Book Bold).

For the texfont script, it apparently needs the .afm files and .pfb 
files. Thus:

1) Are these non-suffixed files the .pfb files in question? If so, 
should I rename (add .pfb to) them before trying to install them? (I 
could convert the TTF files to .pfb?)

2) Should I take away the UpperCaseLettering as well? Rename them to 
something more Berry-like?

In fact, I've tried these things with no success, but before I spell 
out the details of my failure I thought I would get this straight.

Kind regards,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Error messages with first attempts to use ConTeXt

2005-02-06 Thread David Wooten
Greetings all,
I'm a LaTeXer who is intrigued by ConTeXt. I'm running Mac OS 10.3, 
using Gerben Wierda's i-Installer, and have been receiving some error 
messages with my first attempts that a little searching-around haven't 
been clarified. Without the latest ConTeXt update from the i-Installer, 
for a file like:

\starttext
Hello there.
\stoptext
when run with texexec =
texexec Condy.tex
 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004
executable : pdfetex
format : cont-en
 inputfile : Condy
output : standard
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
fmtutil: no info for format `cont-en'.
Sorry, I can't find the format `cont-en.fmt'; will try `context.fmt'.
kpathsea: Running mktexfmt context.fmt
fmtutil: no info for format `context'.
I can't find the format file `context.fmt'!
   return code : 256
  run time : 3 seconds
total run time : 3 seconds
With the update, I get =
texexec Condy.tex
 TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004
executable : pdfetex
format : cont-en
 inputfile : Condy
output : standard
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
output format initialized to DVI
entering extended mode
(./Condy.tex
ConTeXt  ver: 2001.11.13  fmt: 2005.2.5  int: english  mes: english
language   : language en is active
system : cont-new loaded
(/Users/wooten/Library/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 473] \ifcsname
)
system : cont-old loaded
(/Users/wooten/Library/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/Users/wooten/Library/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns 2-en-2 2-uk-2 2-de-2 2-fr-2 2-es-2 2-nl-2 
loaded
specials   : tex,postscript,rokicki loaded
system : Condy.top loaded
(./Condy.top
! Undefined control sequence.
argument \c!directory
={/Users/wooten/}
\xprocesscommaitem #1,#2-\if ]#1
 \expandafter \gobbleoneargument \else 
\p!do...

\xdogetparameters #1]-\xprocesscommaitem #1,]
  ,[EMAIL PROTECTED]@
\dosetupsystem [#1]-\getparameters [\??sv ][#1]
\setuprandomize 
[\@@svwillek...
l.3 \setupsystem[\c!directory={/Users/wooten/}]


I'd appreciate any advice you can give, and perhaps I won't even have 
to eat crow ;)

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