ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using Luatex.
@ 2011-06-29 20:50 John Culleton
  2011-06-29 21:01 ` Wolfgang Schuster
  2011-06-29 23:39 ` luigi scarso
  0 siblings, 2 replies; 5+ messages in thread
From: John Culleton @ 2011-06-29 20:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 737 bytes --]

Been away for a while. Currently using luatex for lightly 
formatted documents. But I want to use Context for my next
job (lots of formatting). How do I incorporate luatex and 
the fonts found by luatex in my Context file? 

And should I use MKII or MKIV?

My luatex books are basically pdftex files with a few 
statements to get at fonts not included with TeX, e.g.,

\input luaotfload.sty
\font\lll={CHOPS___.TTF} at 48bp
\font\lk={CHOPS___.TTF} at 36bp
\font\hl={CHOPS___.TTF} at 16bp
\font\head={CHOPS___.TTF} at 26bp
\font\lr pplr7t at 12bp 
\font\llr pplr7t at 14bp 
\font\rm pplr7t at 10bp 
\font\it pplri7t at 10bp
\font\bf pplb7t at 10bp


-- 
John Culleton
Able Indexers and Typesetters
Cover design, Indexing, Interior Layout

[-- Attachment #1.2: Type: text/html, Size: 4598 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using Luatex.
  2011-06-29 20:50 Using Luatex John Culleton
@ 2011-06-29 21:01 ` Wolfgang Schuster
  2011-06-30 16:21   ` John Culleton
  2011-06-29 23:39 ` luigi scarso
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-06-29 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.06.2011 um 22:50 schrieb John Culleton:

> Been away for a while. Currently using luatex for lightly formatted documents. But I want to use Context for my next
> job (lots of formatting). How do I incorporate luatex and the fonts found by luatex in my Context file? 
> And should I use MKII or MKIV?

John, the question you should ask yourself is if ConTeXt is the right tool for you.

What i learnt from you past mails is that you always use many macros from files which are written for plain TeX instead of ConTeXt’s own mechanism. When you really want to use ConTeXt then use ConTeXt’s commands to change the font, the layout and also to produce a index etc.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using Luatex.
  2011-06-29 20:50 Using Luatex John Culleton
  2011-06-29 21:01 ` Wolfgang Schuster
@ 2011-06-29 23:39 ` luigi scarso
  1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2011-06-29 23:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jun 29, 2011 at 10:50 PM, John Culleton <john@wexfordpress.com> wrote:
> Been away for a while. Currently using luatex for lightly formatted
> documents. But I want to use Context for my next
> job (lots of formatting). How do I incorporate luatex and the fonts found by
> luatex in my Context file?
See fonts in context
http://www.boekplan.nl/node/11

>
> And should I use MKII or MKIV?
mkii uses pdftex
mkiv uses luatex
Best solution is the minimals.
>
> My luatex books are basically pdftex files with a few statements to get at
> fonts not included with TeX, e.g.,
> \input luaotfload.sty
>
> \font\lll={CHOPS___.TTF} at 48bp
>
> \font\lk={CHOPS___.TTF} at 36bp
>
> \font\hl={CHOPS___.TTF} at 16bp
>
> \font\head={CHOPS___.TTF} at 26bp
>
> \font\lr pplr7t at 12bp
>
> \font\llr pplr7t at 14bp
>
> \font\rm pplr7t at 10bp
>
> \font\it pplri7t at 10bp
>
> \font\bf pplb7t at 10bp
Even if you can use a sort of plain luatex in mkiv, It's better ti use
the mkiv syntax.

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using Luatex.
  2011-06-29 21:01 ` Wolfgang Schuster
@ 2011-06-30 16:21   ` John Culleton
  2011-07-01  6:09     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: John Culleton @ 2011-06-30 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2253 bytes --]

On Wednesday, June 29, 2011 05:01:29 pm Wolfgang Schuster 
wrote:
> Am 29.06.2011 um 22:50 schrieb John Culleton:
> > Been away for a while. Currently using luatex for 
lightly formatted
> > documents. But I want to use Context for my next job 
(lots of
> > formatting). How do I incorporate luatex and the fonts 
found by luatex
> > in my Context file? And should I use MKII or MKIV?
> 
> John, the question you should ask yourself is if ConTeXt 
is the right tool
> for you.
> 
> What i learnt from you past mails is that you always use 
many macros from
> files which are written for plain TeX instead of 
ConTeXt’s own mechanism.
> When you really want to use ConTeXt then use ConTeXt’s 
commands to change
> the font, the layout and also to produce a index etc.
> 
> 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
> 
___________________________________________________________________________
> ________

Understood. I also found a chapter on fonts which I presume 
will go in a manual yet to be written. In that chapter I 
found a \definefont command which should allow me to 
emulate my previous use of the \font commmand. 

In my work I frequently adjust font sizes by tiny 
increments to help fit text better on a specific page etc. 
And customers sometimes want a specific decorative font at 
a specific size. And the \font command is very direct. For 
this reason in both LaTeX and Context I tend to revert to 
the primitive. 

The new task I have in front of me will have a complex 
layout where the features of Context for lists within lists 
etc. will be most useful. And there will be lots of small 
illustrations. So I will do it in Context. 

Thanks as always for the help from this list. 


-- 
John Culleton
Able Indexers and Typesetters
Cover design, Indexing, Interior Layout

[-- Attachment #1.2: Type: text/html, Size: 9018 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using Luatex.
  2011-06-30 16:21   ` John Culleton
@ 2011-07-01  6:09     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-07-01  6:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.06.2011 um 18:21 schrieb John Culleton:

> Understood. I also found a chapter on fonts which I presume will go in a manual yet to be written. In that chapter I found a \definefont command which should allow me to emulate my previous use of the \font commmand. 
> In my work I frequently adjust font sizes by tiny increments to help fit text better on a specific page etc. And customers sometimes want a specific decorative font at a specific size. And the \font command is very direct. For this reason in both LaTeX and Context I tend to revert to the primitive.

This is no reason why you have to use \definefont for each font you want to use, write a separate typeface for for each of them and switch to it, you can also select the size with this method. There are also many ways to influence how the lines are broken, see below for a few examples.

\definenarrower
  [adjustmargin]
  [  left=0.1mm,
   middle=0.1mm,
    right=0.1mm]

\definefontfeature[default][default][expansion=yes]

\setupbodyfont[palatino,10bp]

\starttext \showframe

\input zapf

\startadjustmargin[10*right]
\input zapf
\stopadjustmargin

\start \setuptolerance[verytolerant,stretch]
\input zapf
\stop

\start \kerncharacters[0.01]
\input zapf
\stop

\start \setupalign[hz]
\input zapf
\stop

\start \switchtobodyfont[9.8bp]
\input zapf
\stop

\stoptext

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-01  6:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-29 20:50 Using Luatex John Culleton
2011-06-29 21:01 ` Wolfgang Schuster
2011-06-30 16:21   ` John Culleton
2011-07-01  6:09     ` Wolfgang Schuster
2011-06-29 23:39 ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).