ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bernhard Rosensteiner <brosensteiner@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: bug with \cite in latest beta (2011.04.13)
Date: Thu, 14 Apr 2011 11:31:05 +0200	[thread overview]
Message-ID: <4659C54CB9B547B7A85DB34FE855A03B@gmail.com> (raw)


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

Hello all,

there are some problems with the citecommand in the latest beta. I always get a LuaTeX error...
Actually i was in the middle of narrowing down a bug where a \cite command in a caption produced a entry in the publication list of the caption text (and also made that sometimes interaction did not work with some references in the text), so i tried to update to the latest beta and now the document does not compile any more. Please see attached files.

best regards
Bernhard


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

[-- Attachment #2: temp.tex --]
[-- Type: application/octet-stream, Size: 645 bytes --]


\setupinteraction[state=start]



\startpublication[k=Zelditch:2004te,t=book,
a={{Zelditch},{}},y=2004,
n=2,s=ZSSF04]
\author[]{Miriam~L}[M.~L.]{}{Zelditch}
\author[]{Donald~L}[D.~L.]{}{Swiderski}
\author[]{David~H}[D.~H.]{}{Sheets}
\author[]{William~L}[W.~L.]{}{Fink}
\pubyear{2004}
\title{{Geometric morphometrics for biologists}}
\isbn{978-0-12-778460-1}
\city{Amsterdam}
\pubname{Elsevier Academic Press}
\stoppublication


\starttext

\input tufte
\cite{Zelditch:2004te}

\placefigure[middle][]{Testcaption \cite[alternative=authoryear][Zelditch:2004te]}{
{\externalfigure[cow][width=.6\textwidth]}
}


\page

\placepublications

\stoptext

[-- Attachment #3: temp.log --]
[-- Type: application/octet-stream, Size: 7223 bytes --]

(/Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex

ConTeXt  ver: 2011.04.13 09:23 MKIV  fmt: 2011.4.14  int: english/english

system          > cont-new.mkiv loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > temp.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "/Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=/Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(temp.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv){/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > defining > forced type afm of stmary10 not found
fonts           > defining > font with asked name 'stmary10' is not found using lookup 'file'
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > defining > forced type afm of stmary10 not found
fonts           > defining > font with asked name 'stmary10' is not found using lookup 'file'
fonts           > defining > forced type afm of stmary10 not found
fonts           > defining > font with asked name 'stmary10' is not found using lookup 'file'
fonts           > fallback modern rm 12pt is loaded
system          > begin file /Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex at line 21
(/Applications/ConTeXt/tex/texmf-context/tex/context/sample/tufte.tex)
! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:192: attempt to compare number with string
stack traceback:
	...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:192: in function 'resolve'
	<main ctx instance>:1: in main chunk.

system          > tex > error on line 24 in file /Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex: LuaTeX error  ...

14     \title{{Geometric morphometrics for biologists}}
15     \isbn{978-0-12-778460-1}
16     \city{Amsterdam}
17     \pubname{Elsevier Academic Press}
18     \stoppublication
19     
20     
21     \starttext
22     
23     \input tufte
24 >>  \cite{Zelditch:2004te}
25     
26     \placefigure[middle][]{Testcaption \cite[alternative=authoryear][Zelditch:2004te]}{
27     {\externalfigure[cow][width=.6\textwidth]}
28     }
29     
30     
31     \page
32     
33     \placepublications
34     


\bibnumref ...ve("","\number \bibtexblock ","#1")}
                                                  \bibalternative \v!right \...
\docite ...cite {#1}{#2}\else \donumberedcite {#1}
                                                  \fi \endgroup 
l.24 \cite{Zelditch:2004te}
                           
? 
publications    > loading database from temp.bbl
(temp.bbl)
floatblocks     > 1 placed
backend         > xmp > using file '/Applications/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
 </Applications/ConTeXt/tex/texmf-context/tex/context/sample/cow.pdf>
pages           > flushing realpage 1, userpage 1, subpage 1
pages           > flushing realpage 2, userpage 2
system          > end file /Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex at line 35
 )</Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-italic.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats  > used config file          - selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > input load time           - 0.007 seconds
mkiv lua stats  > stored bytecode data      - 283 modules, 58 tables, 341 chunks
mkiv lua stats  > cleaned up reserved nodes - 36 nodes, 9 lists of 423
mkiv lua stats  > node memory usage         - 19 glue_spec
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 2489 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2732 direct, 3714 indirect, 6446 total
mkiv lua stats  > randomizer                - resumed with value 0.22899183455342
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 18 lpath calls, 3 cached calls
mkiv lua stats  > interactive elements      - 1 references, 2 destinations
mkiv lua stats  > result saved in file      - temp.pdf
mkiv lua stats  > loaded fonts              - 33 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-italic.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.207 seconds 
mkiv lua stats  > graphics processing time  - 0.004 seconds including tex, 1 processed images
mkiv lua stats  > pdf annotations           - 1 embedded, 1 unique
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.66.0-2011041318 (rev 4144)
mkiv lua stats  > control sequences         - 30414 of 165536
mkiv lua stats  > current memory usage      - 42 MB (ctx: 43 MB)
mkiv lua stats  > runtime                   - 3.786 seconds, 1 processed pages, 2 shipped pages, 0.528 pages/second


[-- Attachment #4: temp.pdf --]
[-- Type: application/pdf, Size: 21594 bytes --]

[-- Attachment #5: 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
___________________________________________________________________________________

             reply	other threads:[~2011-04-14  9:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14  9:31 Bernhard Rosensteiner [this message]
2011-04-16  4:47 Reviczky, Adam
2011-04-16  5:55 ` Bernhard Rosensteiner
2011-04-16  6:38   ` Thomas Schmitz
2011-04-16 16:03     ` Bernhard Rosensteiner
2011-04-16  6:39   ` Pontus Lurcock
2011-04-16  6:53 Reviczky, Adam
2011-04-16  8:37 ` Thomas Schmitz
2011-04-16 21:29 ` Hans Hagen
2011-04-16 21:51   ` Reviczky, Adam
2011-04-17 14:57     ` Hans Hagen
2011-04-17 18:27       ` Reviczky, Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4659C54CB9B547B7A85DB34FE855A03B@gmail.com \
    --to=brosensteiner@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).