ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: waiting for mswincontext
Date: Fri, 21 Sep 2007 20:15:51 +0200	[thread overview]
Message-ID: <20070921201551.9fffa564.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <46F3BBC1.2030102@wxs.nl>

On Fri, 21 Sep 2007 14:40:33 +0200
Hans Hagen <pragma@wxs.nl> wrote:

> Wolfgang Schuster wrote:
> 
> > THis is a nice feature for our own simple plain documents but nothing
> > for ConTeXt because there is no replacement in pdfTeX/luaTeX but it
> > would be nice to have also something to use different fonts for latin,
> > greek, CJK without using environments and switch to them with only the
> > right characters.
> > 
> > I want such a feature because CJK fonts have sometimes ugly latin
> > characters and I want to use another font for them, I know this did
> > happen in the current ConTeXt version but there should be no
> > difference in fonts for CJK and the rest. Both should be defined with
> > typescripts, one can use one fonts for both or select one for CJK and
> > another one for the rest.
> 
> i dunno what this featurs is but if it has to do with some kind of 
> automatism for switching fonts depending on chars, then it has to wait 
> till i have something in place for luatex (using virtual fonts btw, 
> basics are there actually), and then we can look if we can use the same 
> high level interface to mimick this in xetex; it's ok to have the same 
> high level interface with slightly different behaviour, as with font 
> features

you can use this feature for font switching but this is not hard coded.

Version 0.997 of XeTeX introduced a new concept to assign every
character a class value. You can define rules what should happen if you
switch for example from class 1 to class 2 and another one if you do
the same in reverse order. The commands for this action are saved in
token register and came into action if this class switch appear in the
document.

the unicode-letters file from XeTeX define a class for quotation,
punctutation ... in CJK and another one for the other CJK characters
and define spacing and linebreaking between normal characters and
punctuation now by the class number (you did something similiar in your
chinese module but used active characters instead).

The XeTeX reference manual has a simple example of this concept on page
10 and 11.

http://tug.ctan.org/info/xetexref/XeTeX-reference.pdf

can't  this be done in LuaTeX with nodes (or what you mentioned for
your color modell) or something similar.

> >>>>> - etex.src (btw: why is that one only used in xetex, but not in pdfTeX?)
> >>>> this is also used for the pdftex format in w32tex
> >> because i cannot imagine a macro package to use the content of that file
> >>
> >>> I will take a look at w32tex then.
> >>>
> >>> It would be really handy to have those three plain formats.
> >> well, only is if it is not adding too much to the minimals, (and formats 
> >> to be generated by users)
> > 
> > I have nothing against to make another archive cont-pln with all the
> > file we need for the plain formats.
> 
> no problem if we need what should go in there
>
> >> if you want such formats, we need dedicated files to make them, like 
> >> pdftex-plain.tex and such (after all, we want predictable stuff) for 
> >> initializing them
> >>
> >> Hans
> > 
> > the file name for the format should math the engine name because it
> > will be loaded with engine by default if you call it, e.g. pdftex myfile
> > with process the file myfile with the format file pdftex.fmt
> 
> sure, but that's why you can have a different formatname and filename 
> that generates it, so you can have blabla.tex being used for generating 
> the format pdftex.fmt (also, since one has to move files anyway, 
> renaming isno big deal either)

but I am too lazy to rename files or create them always by hand with
every update ...

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


  reply	other threads:[~2007-09-21 18:15 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1190023202.9795.ntg-context@ntg.nl>
2007-09-17 14:30 ` Recommendations for Speed? Duncan Hothersall
2007-09-18 20:33 ` waiting for mswincontext Vyatcheslav Yatskovsky
2007-09-19  7:46   ` Hans Hagen
2007-09-19 14:25     ` Idris Samawi Hamid
2007-09-19 16:33       ` Joel C. Salomon
2007-09-19 17:08         ` Idris Samawi Hamid
2007-09-19 18:02           ` Hans Hagen
2007-09-19 17:24       ` Mojca Miklavec
2007-09-19 14:40     ` Wolfgang Schuster
2007-09-19 14:45       ` Taco Hoekwater
2007-09-19 17:13         ` Idris Samawi Hamid
2007-09-20  7:01           ` Taco Hoekwater
2007-09-19 17:25         ` Wolfgang Schuster
2007-09-19 19:19           ` Idris Samawi Hamid
2007-09-19 19:53             ` Hans Hagen
2007-09-19 22:19               ` Aditya Mahajan
2007-09-19 23:22                 ` Arthur Reutenauer
2007-09-20  7:06                   ` Taco Hoekwater
2007-09-20  7:47                     ` Hans Hagen
2007-09-20 17:24                     ` Joel C. Salomon
2007-09-20 19:15                       ` Aditya Mahajan
2007-09-20  7:36                 ` Hans Hagen
2007-09-20  7:37                 ` Hans Hagen
2007-09-19 17:26         ` Mojca Miklavec
2007-09-19 17:54           ` Hans Hagen
2007-09-19 14:45       ` Hans Hagen
2007-09-19 17:22         ` Wolfgang Schuster
2007-09-19 18:00           ` Hans Hagen
2007-09-19 18:31             ` Mojca Miklavec
2007-09-19 19:19               ` Hans Hagen
2007-09-20  6:59                 ` Taco Hoekwater
2007-09-20 13:18                   ` Mojca Miklavec
2007-09-20 18:22                     ` Wolfgang Schuster
2007-09-20 20:21                       ` Mojca Miklavec
2007-09-20 20:41                         ` Hans Hagen
2007-09-21  7:37                           ` Wolfgang Schuster
2007-09-21 12:40                             ` Hans Hagen
2007-09-21 18:15                               ` Wolfgang Schuster [this message]
2007-09-22 10:34                                 ` waiting for mswincontext / injecting Hans Hagen
2007-09-23 11:52                                   ` Wolfgang Schuster
2007-09-23 17:45                                     ` Mojca Miklavec
2007-09-23 17:49                                       ` Arthur Reutenauer
2007-09-23 18:00                                         ` Hans Hagen
2007-09-23 18:18                                       ` Idris Samawi Hamid
2007-09-23 20:01                                         ` Hans Hagen
2007-09-23 20:19                                           ` Idris Samawi Hamid
2007-09-23 18:24                                       ` Hans Hagen
2007-09-19 16:14     ` waiting for mswincontext Joel C. Salomon
2007-09-19 16:58       ` Hans Hagen
     [not found]   ` <6faad9f00709190257x35bd3495p1a5ee0de51f2a150@mail.gmail.com>
2007-09-19 15:00     ` Vyatcheslav Yatskovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070921201551.9fffa564.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).