ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Issue with 2013.04.30 00:31
@ 2013-05-06  6:36 Kip Warner
  2013-05-06 21:31 ` Kip Warner
  2013-05-07  8:46 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Kip Warner @ 2013-05-06  6:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2742 bytes --]

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
        resolvers       > modules > '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)
        ...
        
The second issue is a fatal error:

        ...
        references      > unknown reference '[Leitmotifs][Resources For
        Everyone]'
        pages           > flushing 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?

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

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue with 2013.04.30 00:31
  2013-05-06  6:36 Issue with 2013.04.30 00:31 Kip Warner
@ 2013-05-06 21:31 ` Kip Warner
  2013-05-07  8:46 ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Kip Warner @ 2013-05-06 21:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Adam Reviczky


[-- Attachment #1.1: Type: text/plain, Size: 2664 bytes --]

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
>         resolvers       > modules > '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]'
>         pages           > flushing 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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue with 2013.04.30 00:31
  2013-05-06  6:36 Issue with 2013.04.30 00:31 Kip Warner
  2013-05-06 21:31 ` Kip Warner
@ 2013-05-07  8:46 ` Hans Hagen
  2013-05-07  8:57   ` luigi scarso
  2013-05-07 23:38   ` Kip Warner
  1 sibling, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2013-05-07  8:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Kip Warner

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
>          resolvers       > modules > '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]'
>          pages           > flushing 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue with 2013.04.30 00:31
  2013-05-07  8:46 ` Hans Hagen
@ 2013-05-07  8:57   ` luigi scarso
  2013-05-07 23:35     ` Kip Warner
  2013-05-07 23:38   ` Kip Warner
  1 sibling, 1 reply; 6+ messages in thread
From: luigi scarso @ 2013-05-07  8:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Kip Warner


[-- Attachment #1.1: Type: text/plain, Size: 1209 bytes --]

On Tue, May 7, 2013 at 10:46 AM, Hans Hagen <pragma@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
>>          resolvers       > modules > '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

[-- Attachment #1.2: Type: text/html, Size: 1973 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue with 2013.04.30 00:31
  2013-05-07  8:57   ` luigi scarso
@ 2013-05-07 23:35     ` Kip Warner
  0 siblings, 0 replies; 6+ messages in thread
From: Kip Warner @ 2013-05-07 23:35 UTC (permalink / raw)
  To: luigi scarso; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue with 2013.04.30 00:31
  2013-05-07  8:46 ` Hans Hagen
  2013-05-07  8:57   ` luigi scarso
@ 2013-05-07 23:38   ` Kip Warner
  1 sibling, 0 replies; 6+ messages in thread
From: Kip Warner @ 2013-05-07 23:38 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 758 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-07 23:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-06  6:36 Issue with 2013.04.30 00:31 Kip Warner
2013-05-06 21:31 ` Kip Warner
2013-05-07  8:46 ` Hans Hagen
2013-05-07  8:57   ` luigi scarso
2013-05-07 23:35     ` Kip Warner
2013-05-07 23:38   ` Kip Warner

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).