Re: [NTG-context] Minor date formatting issue

2013-08-10 Thread Sietse Brouwer
 Perhaps someone should update the wiki? I suppose I could get an
 account and fix it myself ... if people don't mind someone as inexpert
 as me messing around in there ...

It would be very nice if you could do that. Don’t worry about
inexpertise -- people improving the documentation of how commands work
is always welcome. (If you can't get the formatting right, you can
leave it in plain text and I'll come in later and tidy it up.)

Cheers,
Sietse


On 10 August 2013 07:04, Matt Gushee m...@gushee.net wrote:
 Hi, Wolfgang--

 On Fri, Aug 9, 2013 at 6:58 AM, Wolfgang Schuster
 schuster.wolfg...@gmail.com wrote:

 I am experimenting with the \currentdate command. I am finding that

  \currentdate [weekday,{,~},month,day+,{,~},year]

 which should work according to the Wiki, produces:

  Thursday, Augustday+, 2013

 It’s recommended to use “day:ord” with \currentdate but you also use “day:+”.

 \starttext
 \currentdate[day,space,day:ord,space,day:+]
 \stoptext

 Ah, yes, thank you!

 Perhaps someone should update the wiki? I suppose I could get an
 account and fix it myself ... if people don't mind someone as inexpert
 as me messing around in there ...

 --
 Matt
 ___
 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
___

Re: [NTG-context] include two pages from typesetbuffer

2013-08-10 Thread Pablo Rodríguez
On 08/09/2013 11:42 PM, Hans Hagen wrote:
 [...]
 actually there was already a test for that but i made a better one, so 
 now we have:
 
 \starttext
 
  \enabletrackers[buffers.run]
 
  \startbuffer [sample]
  \starttext
  \startTEXpage[offset=10pt] one   \stopTEXpage
  \startTEXpage[offset=10pt] two   \stopTEXpage
  \startTEXpage[offset=10pt] three \stopTEXpage
  \stoptext
  \stopbuffer
 
  \typesetbuffer[sample][frame=on,page=1]
  \typesetbuffer[sample][frame=on,page=2]
  \typesetbuffer[sample][frame=on,page=3]
 
  \externalfigure[\lasttypesetbuffer][frame=on,page=2]
 
  \typesetbuffer[*][frame=on,page=3]
 
 \stoptext

Many thanks for the improvement, Hans.

Wikified at http://wiki.contextgarden.net/Command/typesetbuffer.


Pablo
-- 
http://www.ousia.tk
___
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
___


[NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Pablo Rodríguez
Dear list,

I have just created http://wiki.contextgarden.net/Command/typesetbuffer.

In the typeset sample, it seems that \typesetbuffer doesn’t work at the
wiki (it doesn’t include the image).

Am I missing something here?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___


[NTG-context] issue with \stoplinenote

2013-08-10 Thread Pablo Rodríguez
Dear Hans,

the following sample shows an already described issue with linenotes:

\mainlanguage[es]
\setuppapersize[A7]
\starttext
\startlinenumbering
\startlinenote[MRU]{{\em om.} X}En un lugar de la Mancha, de cuyo
nombre no quiero acordarme, no ha mucho tiempo que vivía un
hidalgo de los de lanza en astillero, adarga antigua, rocín flaco
y galgo corredor.\stoplinenote[MRU]
\stoplinenumbering
\stoptext

Last word in body doesn’t get hyphenated. I know that this is something
related to references.

But in the meantime: wouldn’t it be possible that \stoplinenote
internally includes a \prewordbreak command?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___


Re: [NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Sietse Brouwer
Hi Pablo,

This is probably a backend problem. I know that examples where
multiple pages are imposed onto one sheet also don’t work; this is
probably similar. I might look into it at some point, try to improve
the php, but it’s not a priority. (Unless you think it should be.)

Cheers,
Sietse

On 10 August 2013 12:06, Pablo Rodríguez oi...@web.de wrote:
 Dear list,

 I have just created http://wiki.contextgarden.net/Command/typesetbuffer.

 In the typeset sample, it seems that \typesetbuffer doesn’t work at the
 wiki (it doesn’t include the image).

 Am I missing something here?

 Many thanks for your help,


 Pablo
 --
 http://www.ousia.tk
 ___
 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
___

Re: [NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Pablo Rodríguez
On 08/10/2013 01:51 PM, Sietse Brouwer wrote:
 Hi Pablo,
 
 This is probably a backend problem. I know that examples where
 multiple pages are imposed onto one sheet also don’t work; this is
 probably similar. I might look into it at some point, try to improve
 the php, but it’s not a priority. (Unless you think it should be.)

Hi Sietse,

this is fine for me. I guess the sample is understandable even with the
pages.

Best,


Pablo
-- 
http://www.ousia.tk
___
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
___

[NTG-context] Hyphen as separator for formulas

2013-08-10 Thread Thomas Kreuzer

Hello everyone,

I am using mkiv, and my qestion is:
Is it possible to have a hyphen instead of a dot as a separator for 
formula references?

I can achieve it by using

\definestructureseparatorset[default][][-]

but this changes all separators in my document (including section 
headers etc.). The command isn't referenced in the wiki, so I am at a 
loss if this is even possible, and how to achieve it.


And

\setupformulas[separator={-}]

seems to have no effect at all.

Thanks in advance!

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


Re: [NTG-context] Hyphen as separator for formulas

2013-08-10 Thread Wolfgang Schuster

Am 10.08.2013 um 17:42 schrieb Thomas Kreuzer thomas.kreu...@rwth-aachen.de:

 Hello everyone,
 
 I am using mkiv, and my qestion is:
 Is it possible to have a hyphen instead of a dot as a separator for formula 
 references?
 I can achieve it by using
 
 \definestructureseparatorset[default][][-]
 
 but this changes all separators in my document (including section headers 
 etc.). The command isn't referenced in the wiki, so I am at a loss if this is 
 even possible, and how to achieve it.
 
 And
 
 \setupformulas[separator={-}]
 
 seems to have no effect at all.

Instead if redefining the default separator for all floats you can create your 
own set and apply it only to formulas.


There are different separators you can set:

1. The separator between the section numbers in the prefix,

2. the separator between the prefix and the formula number and

3. the separator between the formula numbers (main and sub numbers).


\defineseparatorset[formulaprefix][][+]
\defineseparatorset[formulanumber][][-]

\setupformulas
  [prefixseparatorset=formulaprefix,
   numberseparatorset=formulanumber,
   prefixconnector=?,
   prefixsegments=1:*]

\starttext

\chapter{Formulas}

\section{Indeed}

\startplaceformula
\startformula
c^2 = a^2 + b^2
\stopformula
\stopplaceformula

\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
___


[NTG-context] Euler with fallback

2013-08-10 Thread Aditya Mahajan

Hi all,

This is to announce that the latest beta supports creating virtual math 
fonts with fallback. The main test case is to use Euler font with missing 
characters taken from Pagella but the mechanism is general and can be used 
to replace a specific set of math glyphs from a font.


This feature is not extensively tested. As such it will be useful if 
everyone interested in math fallback mechanism could test this out and 
report any bugs or inconsistencies.


To use this feature you have to use `pagellaovereuler` as your math font. 
For example, to use Euler with DejaVu fonts, use:



\usetypescriptfile[euler]
\starttypescript[mainface]
\definetypeface[mainface][rm][serif][dejavu]  [default]
\definetypeface[mainface][ss][sans] [dejavu]  [default]
\definetypeface[mainface][tt][mono] [dejavu]  [default]
\definetypeface[mainface][mm][math] [pagellaovereuler][default]
\stoptypescript

\setupbodyfont[mainface]

\appendtoks \rm \to \everymathematics
\setupmathematics
   [lcgreek=normal, ucgreek=normal]


There is a built-in typescript `euler-with-pagella` to use 
`pagellaovereuler` as the math font and `pagella` as the text font.


If you are interested in implementing similar fallback mechanisms for 
other fonts, see type-imp-euler.mkiv and euler-math.lfg for details.


Aditya
___
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
___


[NTG-context] Small caps from otf in luatex.

2013-08-10 Thread john Culleton
I have asked everywhere else to no avail. In (plain) luatex how do I
specify the small cap version of an otf font? I use context for
non-fiction but pdftex and now luatex for fiction.

-- 
John Culleton

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


Re: [NTG-context] Small caps from otf in luatex.

2013-08-10 Thread Philipp Gesang
Hi John!

···date: 2013-08-10, Saturday···from: john Culleton···

 I have asked everywhere else to no avail. In (plain) luatex how do I
 specify the small cap version of an otf font? I use context for
 non-fiction but pdftex and now luatex for fiction.

Plain uses a feature syntax similar to Xetex’s:

  \font \foo = file:Iwona-Regular.otf:+smcp
  \foo
  whatever
  \bye

the expression after the second colon is the same as “smcp=yes”
in Context. Multiple definitions are separated by semicola, e.g.:

  \font \foo = file:Iwona-Regular.otf:+smcp;mode=base;+tlig

Best regards,
Philipp



pgpjSKkfeNnpq.pgp
Description: PGP signature
___
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
___