[NTG-context] new bets

2015-12-17 Thread Hans Hagen

Hi,

I'm going to upload a new beta but this one needs luatex 0.87 which is 
in the process of being released. So, don't update unless you knwo that 
your platform binary is provided (or just keep your old tree as backup).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Problem with first setup of StandAlone ConTeXt

2015-12-17 Thread Bruce Boghosian
Dear Otared:

Thank you very much!  The third solution works very well when I select the 
"ConTeXt-MKIV" program.

I am still experimenting with the other two solutions, but at least I now have 
a method to get started learning ConTeXt.

Best regards,
Bruce



> On Dec 16, 2015, at 11:48 AM, Otared Kavian  wrote:
> 
> Hi Bruce,
> 
> You have three solutions in order to solve the TeXShop issue. Here they are: 
> 
> Solution 1: add the following line at the top of your source file:
> 
> %!TEX TS-program = mkiv
> 
> Note that in the above you should replace « mkiv » with whatever engine name 
> known to your TeXShop installation (for instance « ContextSuite», or any 
> other name you have, or (may God forgive both of us…) even « latex »…). When 
> you typeset with ConTeXt, the TeXShop will use the chosen engine.
> 
> Solution 2: when your source file is open you should have at the top your 
> window a small menu named « Program ». Click on that menu and among the 
> programs (that is the engines) choose th eone you want.
> 
> Solution 3: open the TeXShop Preferences and in the « Typesetting » pane , on 
> the upper left part of the resulting window choose the radio button « Command 
> listed below » and type the name of your preferred engine.
> 
> Best regards: OK
> 
>> On 16 Dec 2015, at 17:34, Bruce Boghosian  wrote:
>> 
>> I see, thanks.  I did use --engines=luatex.  I was aware that Mark II had 
>> been superseded by Mark IV, but I hadn't realized that texexec was the same 
>> thing as Mark II.  OK, so I won't worry about that issue any more.
>> 
>> It seems that my only remaining problem is the aforementioned TeXShop issue. 
>>  I will keep working on it.
>> 
>> Best,
>> Bruce
>> 
>> 
>>> On Dec 16, 2015, at 11:25 AM, Mojca Miklavec 
>>>  wrote:
>>> 
>>> On 16 December 2015 at 17:10, Bruce Boghosian wrote:
 
 Also, FWIW, I note that de Boer's document, "LaTeX in proper ConTeXt"
 recommends compiling from the command line using texexec rather than
 context.  This does not work for me.  The command "texexec" exists, and I
 can run it, but it does not produce a .pdf file -- just a .tmp file.
>>> 
>>> That document is a very old one. Nowadays context is preferred to
>>> texexec (also known as Mark II or MkII). If you installed context with
>>> --engines=luatex you explicitly did not installed prerequisites for
>>> Mark II (pdftex with fonts etc.).
>>> 
>>> 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  : 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
>> ___
> 
> ___
> 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
___

[NTG-context] inter-word space in bibliographies

2015-12-17 Thread Alan Bowen
The appended code is supposed to allow reduction of the inter-word spacing
in my bibliographies but it does not. Adjusting the \spaceskip in the
setups for [tightspace] does not seem to make any difference.

Any suggestions will be most welcome.

I am using the latest beta (ConTeXt  ver: 2015.11.19 19:13 MKIV beta with
LuaTeX 0.85)

Alan

\startsetups[tightspace]
  \spaceskip .7\interwordspace plus .5\interwordstretch minus
\interwordshrink
\stopsetups

\def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]}
\def\startbibitem{\dosingleempty\dostartbibitem}
\def\stopbibitem{\stopBibItem}

\definedescription[BibItem][
width=broad,
margin=1.5pc,
indenting={no},
indentnext=no,
alternative=hanging,
hang=1,
headcommand=\gobbleoneargument,
align=right,
before={\directsetup{tightspace}\bgroup\language[packed]},
after={\egroup},
]

\starttext

Martin, J. 1956.
\emph{Histoire du texte des phénomènes d’Aratos}. Paris.

\startbibitem[Martin 1956]
Martin, J. 1956.
\emph{Histoire du texte des phénomènes d’Aratos}. Paris.
\stopbibitem


\stoptext
___
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] new bets

2015-12-17 Thread Thomas A. Schmitz

On 12/17/2015 03:00 PM, Hans Hagen wrote:

Hi,

I'm going to upload a new beta but this one needs luatex 0.87 which is
in the process of being released. So, don't update unless you knwo that
your platform binary is provided (or just keep your old tree as backup).

Hans


Hmm, linux64 has the latest luatex, but building formats fails with

This is LuajitTeX, Version beta-0.87.0 (TeX Live 2016/dev)  (INITEX)
 system commands enabled.
(/home/tas/latest/tex/texmf-context/tex/context/base/cont-nl.mkiv 
(/home/tas/latest/tex/texmf-context/tex/context/base/context.mkiv 
(/home/tas/latest/tex/texmf-context/tex/context/base/syst-ini.mkiv

! unexpected use of \pdfvariable.

r
l.397 ...edef\pdfreplacefont {\pdfvariable r
  eplacefont} 
\pdfre...

?
! Emergency stop.

r
l.397 ...edef\pdfreplacefont {\pdfvariable r
  eplacefont} 
\pdfre...

!  ==> Fatal error occurred, bad output DVI file produced!
No pages of output.
Transcript written on cont-nl.log.

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

[NTG-context] new bets

2015-12-17 Thread Akira Kakuto

l.397 ...edef\pdfreplacefont {\pdfvariable r
 eplacefont} 


Your ConTeXt must be older than
mtx-context | current version: 2015.12.17 15:57

Best,
Akira

___
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] [fontloader/old] mixed substitution / ligatures feature

2015-12-17 Thread Philipp Gesang
Hi Hans,

in the old loader, defining a feature containing mixed ligature /
substitution causes a crash. Here’s an example:

\enabletrackers [otf.loading]
\startluacode
  fonts.handlers.otf.addfeature ("dunno", {
  {
  type  = "substitution",
  data  = { [0x0022] = 0x201D },
  prepend   = true,
  },
  {
  type = "ligature",
  data = { [0x2013] = {0x002D, 0x002D} },
  prepend  = true,
  },
  })
  fonts.handlers.otf.features.register {
  name= "dunno",
  description = "bug demo",
  }
\stopluacode

\definefontfeature [myfeat] [default] [dunno=yes,liga=yes,mode=node]

\definefont [somefont] [file:cmunrm.otf*myfeat]
\starttext
  \somefont foo bar " baz
\stoptext

This crashes in font-otn on account of a number being indexed.
This used to work -- anything that can be done about it?

Best,
Philipp




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

Re: [NTG-context] new bets

2015-12-17 Thread Philipp Gesang
·

> I'm going to upload a new beta but this one needs luatex 0.87 which is 
> in the process of being released.

Hmm, traverse_char() … neat!

Philipp



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