Re: [NTG-context] Issue with 2013.04.30 00:31

2013-05-07 Thread Hans Hagen

On 5/6/2013 8:36 AM, Kip Warner wrote:

Hey list,

I am experiencing two issues in compiling my document. The first is a
non-fatal warning during compilation of my book:

 ...
 (/usr/share/texmf/tex/context/base/s-abr-02.tex
 resolversmodules  'abr-01' is loaded
 (/usr/share/texmf/tex/context/base/s-abr-01.tex))tr: invalid
 option -- '
 '
 Try 'tr --help' for more information.

 publications wrote a new auxiliary file \jobname.aux
 This is BibTeX, Version 0.99d (TeX Live 2012/Debian)
 The top-level auxiliary file: Handbook.aux
 The style file: cont-au.bst
 Database file #1: References/References.bib
 (/usr/share/texmf/tex/context/bib/bibl-apa.tex)
 ...


i'm not aware of a tr command so it's some kind of side effect i guess


The second issue is a fatal error:

 ...
 references   unknown reference '[Leitmotifs][Resources For
 Everyone]'
 pagesflushing realpage 9, userpage 9, subpage 2
 ! LuaTeX error [string \directlua ]:1: invalid escape sequence
 near '\#'.
 \ctxcommand #1^^@-\directlua {commands.#1}

 \bibgotoURL #1#2\-\useURL [#1][#2][][#1]
 \from [#1]
 argument ...ded {\bibgotoURL {\@@pb@title }{\@@pb@biburl }}
   .\egroup
 \space
 \firstoftwoarguments #1#2o-#1

 \@@pv:l:misc ...{\bgroup \it }{.\egroup \space }{}
   \insertpubname
 {}{. }{}\in...
 \dotypesetapublication ...ative {\bibgetvart {#1}}

 \removeunwantedspaces \egr...
 ...
 l.37 ...olumn to sort demand by vote.}][occupy_poll]
This should
 not discourag...
 E
 ? You want to edit file Leitmotifs/Leitmotifs.tex at line 1
 ...

I don't know what the error means, but I think it is probably not being
raised in the latter file since line one is merely a comment. But
perhaps this is due to something in my environment file?


no, more with an unexpandable or undefined command being used which then 
ends up \likethis which confuses lua as \l is no escape (change between 
lua 5.1 and 5.2)



https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Environment.tex

I am using ConTeXt 2013.04.30 00:31, LuaTeX beta-0.77.0-2013042719 (TeX
Live 2013/dev/Debian)(rev 4635), and LuajitTeX version
beta-0.77.0-2013042721  (TeX Live 2013/dev/Debian)(rev 39).

Regards,

PS I am not a subscriber. Kindly cc me.



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




--

-
  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] Issue with 2013.04.30 00:31

2013-05-07 Thread luigi scarso
On Tue, May 7, 2013 at 10:46 AM, Hans Hagen pra...@wxs.nl wrote:

 On 5/6/2013 8:36 AM, Kip Warner wrote:

 Hey list,

 I am experiencing two issues in compiling my document. The first is a
 non-fatal warning during compilation of my book:

  ...
  (/usr/share/texmf/tex/context/**base/s-abr-02.tex
  resolversmodules  'abr-01' is loaded
  (/usr/share/texmf/tex/context/**base/s-abr-01.tex))tr: invalid
  option -- '
  '
  Try 'tr --help' for more information.

  publications wrote a new auxiliary file \jobname.aux
  This is BibTeX, Version 0.99d (TeX Live 2012/Debian)
  The top-level auxiliary file: Handbook.aux
  The style file: cont-au.bst
  Database file #1: References/References.bib
  (/usr/share/texmf/tex/context/**bib/bibl-apa.tex)
  ...


 i'm not aware of a tr command so it's some kind of side effect i guess


tr is a unix command that translate or delete characters: for some reason
is executed
from his tex  source.
A similar effect can be done with
\starttext
\ctxlua{os.execute('tr --')}
\stoptext

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

Re: [NTG-context] Issue with 2013.04.30 00:31

2013-05-07 Thread Kip Warner
On Tue, 2013-05-07 at 10:57 +0200, luigi scarso wrote:
 tr is a unix command that translate or delete characters: for some
 reason
 is executed
 from his tex  source.
 A similar effect can be done with
 \starttext
 \ctxlua{os.execute('tr --')}
 \stoptext

Hey Luigi. Yes, I managed to solve this problem with an additional
space between the tr command and its parameter as a macro in my
environment file. Thanks a lot for your help.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Issue with 2013.04.30 00:31

2013-05-07 Thread Kip Warner
On Tue, 2013-05-07 at 10:46 +0200, Hans Hagen wrote:
 i'm not aware of a tr command so it's some kind of side effect i guess

Hey Hans. I managed to sort this out by adding a space between the
command and its parameter in my environment file.

 no, more with an unexpandable or undefined command being used which then 
 ends up \likethis which confuses lua as \l is no escape (change between 
 lua 5.1 and 5.2)

Yes, I managed to solve this by removing an escaped pound sign ('\#' -
'') in one of my BibTeX references. If I wanted to keep the pound sign,
what is the proper way to escape it in my BibTeX database?

Thanks Hans.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Issue with 2013.04.30 00:31

2013-05-06 Thread Kip Warner
On Sun, 2013-05-05 at 23:36 -0700, Kip Warner wrote:
 Hey list,
 
 I am experiencing two issues in compiling my document. The first is a
 non-fatal warning during compilation of my book:
 
 ...
 (/usr/share/texmf/tex/context/base/s-abr-02.tex
 resolversmodules  'abr-01' is loaded
 (/usr/share/texmf/tex/context/base/s-abr-01.tex))tr: invalid
 option -- '
 '
 Try 'tr --help' for more information.
 
 publications wrote a new auxiliary file \jobname.aux
 This is BibTeX, Version 0.99d (TeX Live 2012/Debian)
 The top-level auxiliary file: Handbook.aux
 The style file: cont-au.bst
 Database file #1: References/References.bib
 (/usr/share/texmf/tex/context/bib/bibl-apa.tex)
 ...

So I managed to solve this problem with an additional space between the
tr command and its parameter as a macro in my environment file.

 
 The second issue is a fatal error:
 
 ...
 references   unknown reference '[Leitmotifs][Resources For
 Everyone]'
 pagesflushing realpage 9, userpage 9, subpage 2
 ! LuaTeX error [string \directlua ]:1: invalid escape sequence
 near '\#'.
 \ctxcommand #1^^@-\directlua {commands.#1}
 
 \bibgotoURL #1#2\-\useURL [#1][#2][][#1]
 \from [#1]
 argument ...ded {\bibgotoURL {\@@pb@title }{\@@pb@biburl }}
   .\egroup
 \space 
 \firstoftwoarguments #1#2o-#1
  
 \@@pv:l:misc ...{\bgroup \it }{.\egroup \space }{}
   \insertpubname
 {}{. }{}\in...
 \dotypesetapublication ...ative {\bibgetvart {#1}}
 
 \removeunwantedspaces \egr...
 ...
 l.37 ...olumn to sort demand by vote.}][occupy_poll]
This should
 not discourag...
 E
 ? You want to edit file Leitmotifs/Leitmotifs.tex at line 1
 ...

This was solved as well by removing an escaped pound sign in one of my
bibtex references. It shouldn't have choked on it, because as I said, it
was escaped, but removing it made it appear to compile ok.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___