[NTG-context] mkIV framedcontent not working

2009-08-31 Thread Thomas Floeren

Hi,

\stopframedcontent gives an undefined control sequence in mkIV. mkII is ok.

Any ideas?

Thomas

LuaTeX, Version beta-0.43.0-2009082718
ConTeXt  ver: 2009.08.30 12:25 MKIV  fmt: 2009.8.31

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


Re: [NTG-context] publications and custom author separator

2009-08-31 Thread Mojca Miklavec
On Mon, Aug 31, 2009 at 01:55, Črt Gorup wrote:
 Hi

 I am trying to replace ('in' instead of 'and') a  separator between the last
 two authors for every article, but I am facing a semi success. My approach
 was to set the variable finalnamesep in \setuppublicationlist. At the moment
 it is working only when there are three or more authors per entry.

 This example with 5 authors is ok, there is 'in' between last two authors.

 Rong-En Fan, Kai-Wei Chang, Cho-Jui Hsieh, Xiang-Rui Wang in Chih-Jen
 Lin, LIBLINEAR: A library for large linear classification v Journal of
 Machine
 Learning Research, 2008.


 This example has only 2 authors, there should be 'in' instead of 'and'.

 T. M. J. Fruchterman and E. M. Reingold, Graph drawing by force-directed
 placement v Software: Practice and Experience, št. 11, zv. 21, str.
 1129-1164,
 1991.


 Does anybody have any idea?

There's a long list of adjustments that one needs to make. See
bibl-num.tex or bibl-yourcitingstyle.tex for example (I might be that
I'm looking into the old module, so don't take my word for it). There
are lots of places such as:

\setupcite
   [author,year]
   [\c!andtext={ and },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ and },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={(},
\c!right={)}]

\setupcite
   [authoryear]
   [\c!andtext={ and },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ and },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={(},
\c!right={)}]

(you would normally leave the \c! out of course).

But the idea is to rewrite that file completely (see bibl-num-fr.tex
for example), so that you can also change page into str etc.

If you have done that already or planning to do it or if you have half
an hour of free time in the following days ... let me know. I would be
interested to get the file translated as well (though I would only
need it until Friday or not at all for the next few years :).

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


Re: [NTG-context] Intro to Luatex

2009-08-31 Thread luigi scarso
On Sat, Aug 29, 2009 at 11:35 PM, John Culletonj...@wexfordpress.com wrote:
 Luatex has a lot of features that Context doesn't. Where is the best
 place to start learning about it?
For example ?

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


Re: [NTG-context] mkIV framedcontent not working

2009-08-31 Thread luigi scarso
On Mon, Aug 31, 2009 at 11:36 AM, Thomas
Floerenthomas.floe...@boschung.com wrote:

 Hi,

 \stopframedcontent gives an undefined control sequence in mkIV. mkII is ok.

 Any ideas?

Can you give  a short example ?



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


Re: [NTG-context] Helvetica Neue and Snow Leopard

2009-08-31 Thread Wolfgang Schuster


Am 31.08.2009 um 06:37 schrieb Brian R. Landy:

Hi, I've run into a problem using Helvetica Neue on a Mac under Snow  
Leopard.  The font is provided by Apple and was a dfont package on  
10.5, now it is a ttc.


What should we say, LuaTeX gets dfont support and Apple convert most  
of their

fonts from dfont to ttc.


I am getting garbled and funny text using it.


It seems to be a problem with ttc-fonts in ConTeXt (unrelated to  
typescripts),

here is a shorter example:

\starttext
\char65 {\definedfont[name:helveticaneue]\char65}
\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Helvetica Neue and Snow Leopard

2009-08-31 Thread Brian R. Landy


On Aug 31, 2009, at 4:53 PM, Wolfgang Schuster wrote:



Am 31.08.2009 um 06:37 schrieb Brian R. Landy:

Hi, I've run into a problem using Helvetica Neue on a Mac under  
Snow Leopard.  The font is provided by Apple and was a dfont  
package on 10.5, now it is a ttc.


What should we say, LuaTeX gets dfont support and Apple convert most  
of their

fonts from dfont to ttc.


At least they left a few around so it wasn't completely wasted effort :)




I am getting garbled and funny text using it.


It seems to be a problem with ttc-fonts in ConTeXt (unrelated to  
typescripts),

here is a shorter example:

\starttext
\char65 {\definedfont[name:helveticaneue]\char65}
\stoptext



Is there a location that I could put the dfont file (and I also have  
access to HelveticaNeue in a set of otf files) that would override  
ConTeXt locating Apple's ttc, but not be visible to OS X?


Thanks,
Brian


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
___



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


Re: [NTG-context] mkIV framedcontent not working

2009-08-31 Thread Thomas Floeren
luigi scarso mailto:luigi.sca...@gmail.com wrote on Monday, August 31, 2009 
11:24 PM:

 On Mon, Aug 31, 2009 at 11:36 AM, Thomas
 Floerenthomas.floe...@boschung.com wrote:
 
 Hi,
 
 \stopframedcontent gives an undefined control sequence in mkIV. mkII
 is ok. 
 
 Any ideas?
 
 Can you give  a short example ?



\defineframedcontent[FrCT]
[offset=.5em]
\starttext
\startframedcontent[FrCT]
Am I framed?
\stopframedcontent
\stoptext

I know that \framed*text* would work in this minimal example, but it does not 
return the same results as \framedcontent in mkII; and it does not work well 
with more complicated group content (at least in mkII).

Thomas

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