Re: [NTG-context] ConTeXt Fonts

2005-09-12 Thread Bill McClain
On Mon, 12 Sep 2005 16:53:04 +0200
Peter Rolf [EMAIL PROTECTED] wrote:

 http://wiki.contextgarden.net/Fonts
 
 There is a bunch of links on this page. I've learned it with help from
 Bill McLain's page (includes a step by step font installation), but some
 things have changed in the meantime (typescrips,?). So it doesn't harm
 to follow other links too.

You're right, my page is out of date. I will revise it eventually, but I don't
actually do anything with Context except when I'm typesetting a book, and am
stuck on other projects now. I'm way behind on new developments.

-Bill
-- 
Sattre PressIn the Quarter
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://sattre-press.com/itq.html
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt in use

2005-07-09 Thread Bill McClain
On Sat, 9 Jul 2005 03:51:12 -0700 (PDT)
Arun Swarup [EMAIL PROTECTED] wrote:

 I haven't seen any books typset using ConTeXt (excluding ConTeXt
 manuals, of courz :P). Have you?

All of the ones at the site below. History of Astronomy is actually a
facimile reprint, so Context is rather incidental, although it is used
to assemble all the pages.

-Bill
-- 
Sattre Press  History of Astronomy 
http://sattre-press.com/   During the 19th Century
[EMAIL PROTECTED]   by Agnes M. Clerke
  http://sattre-press.com/han.html
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] stretched text

2004-10-25 Thread Bill McClain
On Mon, 25 Oct 2004 16:06:10 +0200
[EMAIL PROTECTED] (Piotr Kopszak) wrote:

 Hello, 
 
 I know it's a bad habit to use stretched text, but apparently
 formerly people thought differently. I am typesetting old quotations
 and would not want to replace stretched text simply by emphasized. Is
 it absolutely discouraged in ConTeXt or is there any way to have
 it... (in spite of its ugliness).

It's still recommended in certain cases, for example in all capital or
small cap titles. Sometimes I do it and sometimes not.

You can do it in Context. See:

http://home.salamander.com/~wmcclain/context-help.html#typography-letterspacing

You might have to look into the sources to find other options.

-Bill
-- 
Sattre PressIn the Quarter
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://sattre-press.com/itq.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2004-08-18 Thread Bill McClain
On Wed, 18 Aug 2004 15:16:43 -0400
[EMAIL PROTECTED] wrote:

 I get errors.  I am using Fedora Core 2 with teTex 2.02.  The error
 messages follow this message.

I'm using TeXLive 7 and this works for me:

\usetypescript[berry][ec] % or [8r]
\usetypescript[palatino][ec] %
\setupbodyfont[palatino]

I have other typeface examples in the Predefined fonts section of this
document:

http://home.salamander.com/~wmcclain/context-help.html

-Bill
-- 
Sattre Press  Tales of War
http://sattre-press.com/   by Lord Dunsany
[EMAIL PROTECTED] http://sattre-press.com/tow.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt output commercial printing houses: Thanks!

2004-07-27 Thread Bill McClain
On Tue, 27 Jul 2004 00:15:09 -0600
Matt Gushee [EMAIL PROTECTED] wrote:

  Different shops might have different requirements, but Bookmobile
  simply requires an exact image of the book, page size defined to be
  the paper size. Easy. 
 
 You're referring to just the interior, right? I would think that
 covers have to have a bit of bleed, no?

For the front and back covers I've just used the interior paper size.
Given a page count the printer specifies the spine width, and perhaps
they allow a little exapansion there?

For the cover I create a single PDF file with the panels joined as so:

back|spine|front

-Bill
-- 
Sattre Press  Pagan Papers
http://sattre-press.com/by Kenneth Grahame
[EMAIL PROTECTED]  http://sattre-press.com/pp.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] a problem with \defineprotrudefactor

2004-07-15 Thread Bill McClain
After a long lull, I have installed a recent Context (ver: 2004.6.30)
and find that my typescripts that do margin kerning are having trouble.
Invoking a typescript that uses \defineprotrudefactor will cause the job
to stop; I don't see any error messages. When the problem line is
commented out the job completes.

I've attached a minimal example.

-Bill
-- 
Sattre PressCuriosities of the Sky
http://sattre-press.com/by Garrett Serviss
[EMAIL PROTECTED]http://sattre-press.com/csky.html


example.tex
Description: TeX document


type-billmc.tex
Description: TeX document


example.log
Description: Binary data
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] a problem with \defineprotrudefactor

2004-07-15 Thread Bill McClain
On Thu, 15 Jul 2004 16:59:29 +0200
Hans Hagen [EMAIL PROTECTED] wrote:

 i've been messing around with that because thanh is updating his
 stuff; i need to handle both hz and protruding and more -) 

I must ask: would this mean adding Context support for the font
expansion mentioned in his thesis? I've wanted to experiment with that
but as far as I can tell it has previously required too much (for
me) font manipulation outside of tex.

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


Re: [NTG-context] ConTeXt and the blind

2004-04-15 Thread Bill McClain
On Thu, 15 Apr 2004 10:00:12 -0400
Alan Bowen [EMAIL PROTECTED] wrote:

 Thank you very much for the suggestions. I will explore pdftotext and 
 the Acrobat _Save As_ options. 

Another issue with these methods is that the header and footer
information on each page will be included, which could be irritating or
helpful, depending on the application.

 One of the problems for all_and perhaps
 it is insuperable_is the ability of such reading software to present 
 phrases in foreign languages and mathematical expressions.

I haven't done any XML writing, but I think that would be the superior
approach. If special elements of the text are tagged, then they could be
translated appropriately for the blind reader. 

I use a text-to-speech program for proofing some of my documents and
have found it helpful to filter the original text and emit a coded
version which makes it easy for the speech program to read, and easier
for me to understand. I'll have it say quote, endquote, italics,
etc. I'm working from the Context source directly, but XML sources could
be used similarly, and there are lots of XML tools in the world. 

-Bill
-- 
Sattre Press  History of Astronomy 
http://sattre-press.com/   During the 19th Century
[EMAIL PROTECTED]   by Agnes M. Clerke
  http://sattre-press.com/han.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt and the blind

2004-04-14 Thread Bill McClain
On Wed, 14 Apr 2004 16:50:04 -0400
Alan Bowen [EMAIL PROTECTED] wrote:

 So, does anyone on the list have ideas about how to produce such files
 
 from the files I currently have in hand or any experience with this 
 sort of problem?

I have used the pdftotext utility, part of the xpdf package, for similar
tasks. In the case of hyphenated line endings, the word will be
hyphenated and broken across lines just as in the pdf, and that might be
a problem for the reader program.

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://sattre-press.com/kiy.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Drop capital

2004-03-08 Thread Bill McClain
On Sun, 7 Mar 2004 23:40:29 +
Charles Doherty [EMAIL PROTECTED] wrote:

 I would like to use a drop capital at the start of 
 articles.

I have an example in this document:

http://home.salamander.com/~wmcclain/context-help.html

-Bill
-- 
Sattre Press  Tales of War
http://sattre-press.com/   by Lord Dunsany
[EMAIL PROTECTED] http://sattre-press.com/tow.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Indenting all lines in a paragraph, first line excluded

2003-11-13 Thread Bill McClain
On Thu, 13 Nov 2003 12:49:44 +0100
Tim 't Hart [EMAIL PROTECTED] wrote:

 I want the first line of the paragraph to appear normally, and the
 second and all consecutive lines to be indented. So basically you can
 also say that I want an 'inverted' paragraph; instead of an indented
 first line, I want all the other lines to be indented instead.

I don't know if there is a more Context-way of doing it, but I've used
this:

\hangafter=1 \hangindent=1em

in each paragraph that needs it.

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


Re: [NTG-context] Dithering (off-topic)

2003-11-04 Thread Bill McClain
On Tue, 04 Nov 2003 14:34:54 +0100
Michal Kvasnicka [EMAIL PROTECTED] wrote:

 BTW, is there some easy way to set the size of the dithering points
 (eg. 2x2 pixels, 3x3 pixels), or should I do it ex post in some image
 editor (Gimp, imagemagick)?

I haven't studied the Floyd-Steinberg algorithm, but it seems to be an
error-difusion technique that handles that automatically. The
resulting pixel dimensions of the image are the same as the
original. There are other halftoning methods you can experiment with in
pgmtopbm.

Although I did some experimentation, I am by no means an expert at this.
My method is simply to expand the orginal image to so that a pixel in
the image will be a dot on the output. Using the example I posted
before, the image was 3.5 inches wide, the printer was 600 dots per
inch, so I sized the graphic to 3.5 x 600 = 1950 pixels before
halftoning. I've dealt with only one printer so far, but the results
have been good.

Depending on the original grayscale image, it may need to be normed
(pgmnorm) or smoothed (pgmsmooth) before halftoning.

-Bill
-- 
Sattre Press  Pagan Papers
http://sattre-press.com/by Kenneth Grahame
[EMAIL PROTECTED]  http://pp.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] inmargin text problems remain

2003-10-16 Thread Bill McClain
On Thu, 16 Oct 2003 14:57:12 +0200
Willi Egger [EMAIL PROTECTED] wrote:

 Does anybody see the clue, how to tell Context to use the full
 marginwidth?

The problem is that notes in the left page outer margin do not use the
full margin width, right? If you change your setup to
use leftmargin=18mm it will match the outer margin on the right pages,
which is already set to 18mm.

If this case, rightmargin and leftmargin seem to refer to the outer
margins on the right and left pages, not the outer and gutter margins on
a single page.

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://kiy.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \inmargin{} problems with typsetting inmargin texts

2003-10-12 Thread Bill McClain
On Sun, 12 Oct 2003 22:20:30 +0200
Willi Egger [EMAIL PROTECTED] wrote:

 The strange thing is, that on lefthandpages the inmargin text 
 is typset in the left (outer) margin but it is typeset on two lines, 
 indicating that the measures of the leftmargin of the righthandpage is
 used.

Does \showframe show symmetrical left and right margin areas?

I have a margin notes example on my help page. I define the right and
left margin areas explicitly like so:

\setuplayout[backspace=0.9375in, width=3.25in,
rightmargindistance=.25in, rightmargin=1.125in,
leftmargindistance=.25in, leftmargin=1.125in]
\setuppagenumbering[alternative=doublesided]

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


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

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

 (the unnumbered headings *are* numbered)

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

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


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

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

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

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

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

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

I'll correct the page.

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


Re: [NTG-context] Status update on e-Omega/Aleph

2003-09-09 Thread Bill McClain
On Tue, 09 Sep 2003 09:45:32 -0600
Idris S Hamid [EMAIL PROTECTED] wrote:

 With an otp u can define
 the character sequence .d so that it always gives you \.d in the
 output.

I know I could look this up, but briefly:

(1) What's an otp?

(2) Given a set of pfb and afm files (or a set of ttf files) how do I
define such things for Aleph?

-Bill
-- 
Sattre Press  Tales of War
http://sattre-press.com/   by Lord Dunsany
[EMAIL PROTECTED] http://tow.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Sieve of Eratosthenes

2003-08-17 Thread Bill McClain
On Sat, 16 Aug 2003 14:23:28 -0700
David Arnold [EMAIL PROTECTED] wrote:

 I'd love to see different approaches. A good opportunity to learn new
 technique and ideas for attacking this problem.

I'll make a shameful admission: when I have tasks like this, I generate
the TeX source from another language, usually Python these days. A REAL
TeX user would be more clever, or use metapost, which I've never used.

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


Re: [NTG-context] \placefigure[left] again!

2003-08-14 Thread Bill McClain
On Tue, 12 Aug 2003 15:31:44 +0100
Duncan Hothersall [EMAIL PROTECTED] wrote:

 Interestingly, it remains broken even if the \bf isn't there, just the
 open and close braces. So presumably this is something to do with the
 expansion of what comes after the \placefigure?

I ran into this also and wrote:

I've found that it has to do with the content of my text. Any paragraph
beginning with a block does not flow properly. The best workaround I
have found is to insert a \strut at the beginning of the text where it
starts with a block.

To which Hans replied:

 right, this is a known weakness: if you start a par with a \command,
 you may end up with yes/no indentation or some everypar interference
 (can for instance be due to the fact that the command can start a
 group and aftergroup things can be messed up), your \strut solution is
 ok (\indent\ noindent or \dontleavehmode is also ok), since they start
 the paragraph

So begin your text with:

\strut {\bf }

or one of the other commands. \strut is a zero-width character.

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://kiy.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Lucida again

2003-08-02 Thread Bill McClain
On Sat, 02 Aug 2003 12:10:10 -0700
David Arnold [EMAIL PROTECTED] wrote:

 \usetypescript[lbr]
 \setupbodyfont[lbr]

I can't test it because I don't have Lucida, but what happens if you add
this before the statements above:

\usetypescript[berry][ec]

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://kiy.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Right-aligning blocks of text

2003-06-05 Thread Bill McClain
On Wed, 4 Jun 2003 08:10:07 -0700 (PDT)
Andrew Lawson [EMAIL PROTECTED] wrote:

 I want to right-align a block of text, e.g. have
 the text left-aligned but the block right aligned. An
 ascii example would be;

Would indenting the left margin do this? If so, look at \startnarrower
and \stopnarrower, and see the examples under Indenting at:

http://home.salamander.com/~wmcclain/context-help.html

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