ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: EnglishRule and Lua / Simplefonts module
Date: Tue, 24 Nov 2009 19:06:29 +0100	[thread overview]
Message-ID: <94E0C076-4D33-464F-A0B8-F74B27019166@gmail.com> (raw)
In-Reply-To: <0DD98DB5-4DAF-4ED1-9C12-418BE6B5C27A@upcmail.ie>

Hi Charles and Wolfgang,

I have noticed the same problem, as the one Charles is describing, with the « English rule » or the « swelled rule » and mkiv, and I think that this has nothing to do with fonts. Maybe, it is rather with the way \localhsize is defined in recent versions of mkiv: the « rule » appears in a rather starnge way on different pages.

My minimal example test file:

%%%%%%%%%%%

%% defining swelled rule, or English rule...
\setupMPvariables[SwelledRule][height=2pt,breadth=.667\localhsize]
\startuniqueMPgraphic{SwelledRule}{height,breadth} 
x1 = 0; x2 = x6 = .333x4; x3 = x5 = .667x4; x4 = \MPvar{breadth}; 
y1 = y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0; 
fill z1--z2--z3--z4--z5--z6--cycle; 
\stopuniqueMPgraphic 

\def\SwelledRule{\blank%
\setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank} 
%% end swelled rule

\starttext

\dorecurse{20}{\input knuth \par \blank
\SwelledRule
\input knuth \page}
\stoptext

%%%%%%%%%%%


Best regards: OK


On 24 nov. 2009, at 13:57, Charles Doherty wrote:

> Dear Hans and Wolfgang,
> 
> I have started experimenting with the Lua engine through TeXShop. I use \EnglishRule in a Newsletter to separate major items. When I use it in the attached file it works as always when I use the ConteXt engine (TL2009) and in my minimals installation it works fine using MinimalsConTeXt engine and MinimalsXeConTeXt engine. When I switch to using the simplefonts module in MinimalsLua engine the \EnglishRule does not behave properly. Also the text switches to italic. I have attached a small file and if you comment out the lines and switch between the engines you can see what I mean. 
> 
> Thanks for any help,
> Best wishes,
> Charlie
> <EnglishRuleTest.tex>___________________________________________________________________________________
> 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
___________________________________________________________________________________


  parent reply	other threads:[~2009-11-24 18:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 12:57 Charles Doherty
2009-11-24 13:38 ` Wolfgang Schuster
2009-11-24 14:52   ` Charles Doherty
2009-11-24 15:36     ` Wolfgang Schuster
2009-11-24 16:17       ` Charles Doherty
2009-11-24 17:07         ` Wolfgang Schuster
2009-11-24 18:03           ` Charles Doherty
2009-11-24 18:20             ` Wolfgang Schuster
2009-11-24 18:06 ` Otared Kavian [this message]
2009-11-24 18:16   ` Wolfgang Schuster
2009-11-24 19:59     ` Otared Kavian

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=94E0C076-4D33-464F-A0B8-F74B27019166@gmail.com \
    --to=otared@gmail.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).