Re: styles that are not paragraphs

1999-07-12 Thread Greg Lee

On Sun, 11 Jul 1999, Jean-Pierre.Chretien wrote:
...

  so that now when I request colored text, I get IPA
  printed instead.
 

 Fine hacking, but what about using the general font définition mechanism ?
 I don't know about the TIPA fonts, but for sans serif for instance, you
 just have to put \usepackage{helvet} or \usepackage{avant} to shift
 fron helvetica to avant-garde. Su if TIPA is a sans-serif familiy, this
 should work:
...

But tipa is not a font family, it's a "superfamily", including
Roman, slanted, bold, bold-extended, and sans families.  Putting
\usepackage{tipa} has the effect that text inside \tipaencoding{...}
will be ipa Roman, ipa sans, etc., depending on the context.  So,
it works just like color.

Perhaps the developers might consider institutionalizing my hack,
so one could customize by substituting superfamilies for colors.

Greg Lee [EMAIL PROTECTED]



Re: styles that are not paragraphs

1999-07-12 Thread Jean-Marc Lasgouttes

 "Greg" == Greg Lee [EMAIL PROTECTED] writes:

Greg But tipa is not a font family, it's a "superfamily", including
Greg Roman, slanted, bold, bold-extended, and sans families.  Putting
Greg \usepackage{tipa} has the effect that text inside
Greg \tipaencoding{...}  will be ipa Roman, ipa sans, etc., depending
Greg on the context.  So, it works just like color.

Greg Perhaps the developers might consider institutionalizing my
Greg hack, so one could customize by substituting superfamilies for
Greg colors.

There are talks about defining caracter-level styles in a later
version. I do not know when, though...

JMarc



Re: styles that are not paragraphs

1999-07-12 Thread Jean-Pierre.Chretien


 Date: Mon, 12 Jul 1999 16:58:16 +0200 (MET DST)
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: styles that are not paragraphs
 
  "Greg" == Greg Lee [EMAIL PROTECTED] writes:
 
 Greg But tipa is not a font family, it's a "superfamily", including
 Greg Roman, slanted, bold, bold-extended, and sans families.  Putting
 Greg \usepackage{tipa} has the effect that text inside
 Greg \tipaencoding{...}  will be ipa Roman, ipa sans, etc., depending
 Greg on the context.  So, it works just like color.
 
 Greg Perhaps the developers might consider institutionalizing my
 Greg hack, so one could customize by substituting superfamilies for
 Greg colors.
 
 There are talks about defining caracter-level styles in a later
 version. I do not know when, though...
 
 JMarc

Would a mechanism associating a button or a shortcut to a command be OK ?
Works in math mode, which suggest another hack
 - define math-macro tipa as \mbox{\tipaencoding{#1}}
 - call when needed \tipa in math mode, fill-in the field.
Sole problem: mathed interprets the text as math text (cf a recent private
discussion with Jean-Marc), and M-m m before the #1 above does not seem to work.

What about an implementation of \newcommand as a text macro ?

-- 
Jean-Pierre

 



Re: styles that are not paragraphs

1999-07-12 Thread Greg Lee

On Sun, 11 Jul 1999, Jean-Pierre.Chretien wrote:
...

  so that now when I request colored text, I get IPA
  printed instead.
 

 Fine hacking, but what about using the general font définition mechanism ?
 I don't know about the TIPA fonts, but for sans serif for instance, you
 just have to put \usepackage{helvet} or \usepackage{avant} to shift
 fron helvetica to avant-garde. Su if TIPA is a sans-serif familiy, this
 should work:
...

But tipa is not a font family, it's a "superfamily", including
Roman, slanted, bold, bold-extended, and sans families.  Putting
\usepackage{tipa} has the effect that text inside \tipaencoding{...}
will be ipa Roman, ipa sans, etc., depending on the context.  So,
it works just like color.

Perhaps the developers might consider institutionalizing my hack,
so one could customize by substituting superfamilies for colors.

Greg Lee [EMAIL PROTECTED]



Re: styles that are not paragraphs

1999-07-12 Thread Jean-Marc Lasgouttes

 "Greg" == Greg Lee [EMAIL PROTECTED] writes:

Greg But tipa is not a font family, it's a "superfamily", including
Greg Roman, slanted, bold, bold-extended, and sans families.  Putting
Greg \usepackage{tipa} has the effect that text inside
Greg \tipaencoding{...}  will be ipa Roman, ipa sans, etc., depending
Greg on the context.  So, it works just like color.

Greg Perhaps the developers might consider institutionalizing my
Greg hack, so one could customize by substituting superfamilies for
Greg colors.

There are talks about defining caracter-level styles in a later
version. I do not know when, though...

JMarc



Re: styles that are not paragraphs

1999-07-12 Thread Jean-Pierre.Chretien


 Date: Mon, 12 Jul 1999 16:58:16 +0200 (MET DST)
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: styles that are not paragraphs
 
  "Greg" == Greg Lee [EMAIL PROTECTED] writes:
 
 Greg But tipa is not a font family, it's a "superfamily", including
 Greg Roman, slanted, bold, bold-extended, and sans families.  Putting
 Greg \usepackage{tipa} has the effect that text inside
 Greg \tipaencoding{...}  will be ipa Roman, ipa sans, etc., depending
 Greg on the context.  So, it works just like color.
 
 Greg Perhaps the developers might consider institutionalizing my
 Greg hack, so one could customize by substituting superfamilies for
 Greg colors.
 
 There are talks about defining caracter-level styles in a later
 version. I do not know when, though...
 
 JMarc

Would a mechanism associating a button or a shortcut to a command be OK ?
Works in math mode, which suggest another hack
 - define math-macro tipa as \mbox{\tipaencoding{#1}}
 - call when needed \tipa in math mode, fill-in the field.
Sole problem: mathed interprets the text as math text (cf a recent private
discussion with Jean-Marc), and M-m m before the #1 above does not seem to work.

What about an implementation of \newcommand as a text macro ?

-- 
Jean-Pierre

 



Re: styles that are not paragraphs

1999-07-12 Thread Greg Lee

On Sun, 11 Jul 1999, Jean-Pierre.Chretien wrote:
...
>
> >> so that now when I request colored text, I get IPA
> >> printed instead.
> >>
>
> Fine hacking, but what about using the general font définition mechanism ?
> I don't know about the TIPA fonts, but for sans serif for instance, you
> just have to put \usepackage{helvet} or \usepackage{avant} to shift
> fron helvetica to avant-garde. Su if TIPA is a sans-serif familiy, this
> should work:
...

But tipa is not a font family, it's a "superfamily", including
Roman, slanted, bold, bold-extended, and sans families.  Putting
\usepackage{tipa} has the effect that text inside \tipaencoding{...}
will be ipa Roman, ipa sans, etc., depending on the context.  So,
it works just like color.

Perhaps the developers might consider institutionalizing my hack,
so one could customize by substituting superfamilies for colors.

Greg Lee <[EMAIL PROTECTED]>



Re: styles that are not paragraphs

1999-07-12 Thread Jean-Marc Lasgouttes

> "Greg" == Greg Lee <[EMAIL PROTECTED]> writes:

Greg> But tipa is not a font family, it's a "superfamily", including
Greg> Roman, slanted, bold, bold-extended, and sans families.  Putting
Greg> \usepackage{tipa} has the effect that text inside
Greg> \tipaencoding{...}  will be ipa Roman, ipa sans, etc., depending
Greg> on the context.  So, it works just like color.

Greg> Perhaps the developers might consider institutionalizing my
Greg> hack, so one could customize by substituting superfamilies for
Greg> colors.

There are talks about defining caracter-level styles in a later
version. I do not know when, though...

JMarc



Re: styles that are not paragraphs

1999-07-12 Thread Jean-Pierre.Chretien


>> Date: Mon, 12 Jul 1999 16:58:16 +0200 (MET DST)
>> From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> CC: [EMAIL PROTECTED]
>> Subject: Re: styles that are not paragraphs
>> 
>> >>>>> "Greg" == Greg Lee <[EMAIL PROTECTED]> writes:
>> 
>> Greg> But tipa is not a font family, it's a "superfamily", including
>> Greg> Roman, slanted, bold, bold-extended, and sans families.  Putting
>> Greg> \usepackage{tipa} has the effect that text inside
>> Greg> \tipaencoding{...}  will be ipa Roman, ipa sans, etc., depending
>> Greg> on the context.  So, it works just like color.
>> 
>> Greg> Perhaps the developers might consider institutionalizing my
>> Greg> hack, so one could customize by substituting superfamilies for
>> Greg> colors.
>> 
>> There are talks about defining caracter-level styles in a later
>> version. I do not know when, though...
>> 
>> JMarc

Would a mechanism associating a button or a shortcut to a command be OK ?
Works in math mode, which suggest another hack
 - define math-macro tipa as \mbox{\tipaencoding{#1}}
 - call when needed \tipa in math mode, fill-in the field.
Sole problem: mathed interprets the text as math text (cf a recent private
discussion with Jean-Marc), and M-m m before the #1 above does not seem to work.

What about an implementation of \newcommand as a text macro ?

-- 
Jean-Pierre

 



Re: styles that are not paragraphs

1999-07-11 Thread Greg Lee


I asked earlier about how to define a layout to use the
tipa IPA fonts.  For whatever it may be worth, I found a
hack. I renamed the file "color.sty", copied "tipa.sty"
as the new "color.sty", and modified it by (1) changing
the \ProvidesPackage line to say "color" instead of "tipa",
and (2) adding after the definition of \textipa the new
definition
\newcommand\textcolor[2]{{\tipaencoding #2}}
so that now when I request colored text, I get IPA
printed instead.

Greg Lee [EMAIL PROTECTED]



Re: styles that are not paragraphs

1999-07-11 Thread Greg Lee


I asked earlier about how to define a layout to use the
tipa IPA fonts.  For whatever it may be worth, I found a
hack. I renamed the file "color.sty", copied "tipa.sty"
as the new "color.sty", and modified it by (1) changing
the \ProvidesPackage line to say "color" instead of "tipa",
and (2) adding after the definition of \textipa the new
definition
\newcommand\textcolor[2]{{\tipaencoding #2}}
so that now when I request colored text, I get IPA
printed instead.

Greg Lee [EMAIL PROTECTED]



Re: styles that are not paragraphs

1999-07-11 Thread Greg Lee


I asked earlier about how to define a layout to use the
tipa IPA fonts.  For whatever it may be worth, I found a
hack. I renamed the file "color.sty", copied "tipa.sty"
as the new "color.sty", and modified it by (1) changing
the \ProvidesPackage line to say "color" instead of "tipa",
and (2) adding after the definition of \textipa the new
definition
\newcommand\textcolor[2]{{\tipaencoding #2}}
so that now when I request colored text, I get IPA
printed instead.

Greg Lee <[EMAIL PROTECTED]>



styles that are not paragraphs

1999-07-10 Thread root


Can I make a layout with a style for individual words or
phrases rather than paragraphs?

In case there is some more straightforward way to accomplish
what I want, I'm trying to fix a way to use IPA fonts for
some words in a text, using the tipa.sty IPA package.  I
added a layout style that asks for text to be bracketed
by "begin{IPA}" and "end{IPA}", and that works, but only
for whole paragraphs.

Of course, I'd like also to be able to select a special
screen font for display of IPA, too, but even with the
default screen fonts, it would still be very useful, if
I could just select words.A

Greg Lee, [EMAIL PROTECTED], [EMAIL PROTECTED]



styles that are not paragraphs

1999-07-10 Thread root


Can I make a layout with a style for individual words or
phrases rather than paragraphs?

In case there is some more straightforward way to accomplish
what I want, I'm trying to fix a way to use IPA fonts for
some words in a text, using the tipa.sty IPA package.  I
added a layout style that asks for text to be bracketed
by "begin{IPA}" and "end{IPA}", and that works, but only
for whole paragraphs.

Of course, I'd like also to be able to select a special
screen font for display of IPA, too, but even with the
default screen fonts, it would still be very useful, if
I could just select words.A

Greg Lee, [EMAIL PROTECTED], [EMAIL PROTECTED]



styles that are not paragraphs

1999-07-10 Thread root


Can I make a layout with a style for individual words or
phrases rather than paragraphs?

In case there is some more straightforward way to accomplish
what I want, I'm trying to fix a way to use IPA fonts for
some words in a text, using the tipa.sty IPA package.  I
added a layout style that asks for text to be bracketed
by "begin{IPA}" and "end{IPA}", and that works, but only
for whole paragraphs.

Of course, I'd like also to be able to select a special
screen font for display of IPA, too, but even with the
default screen fonts, it would still be very useful, if
I could just select words.A

Greg Lee, [EMAIL PROTECTED], [EMAIL PROTECTED]