ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bibtex doubt
@ 2008-11-04 20:01 Xan
  2008-11-05 10:05 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Xan @ 2008-11-04 20:01 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

Hi,

I'm a beginner with ConText. Before I used LaTeX and I want to switch to 
try....

Now I'm preparing a simple document: resum-recerca.contex (I attach it) 
and I have a bibtex bibliography, but when I run texexec 
resum-recerca.tex, I get the "References" empty.

What fails?

Thanks a lot,
Xan.

PS: I attach too running.txt that outputs the texexec.

[-- Attachment #2: resum-recerca.contex --]
[-- Type: text/plain, Size: 1755 bytes --]

% interface=en output=pdftex

% Regime
\enableregime[utf]

% Choose a font
%\usetypescript [palatino][\defaultencoding]
\setupbodyfont [palatino,12pt]

% Be tolerant with paragraph building
\setuptolerance [horizontal,verytolerant,stretch]

% Choose a language, and associated hyphenation rules.
\language [ca]

% Page number
\setuppagenumbering [location={footer}]

% White space between paragraphs
\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% On the grid please
\setuplayout
  [grid=yes,
   footer=0.5\footerheight,
   header=0.5\headerheight]

% Enable colors and activate hyperlinks
\setupcolors [state=start]
\definecolor[lightBlue][r=0.5, g=0.5, b=1.0]
\setupinteraction [state=start, color=lightBlue]
\setupurl[style=small, space=yes]

% Enumerate the URLs
\useURL [pragma] [{www.pragma-ade.com}]
\useURL [contextgarden] [{contextgarden.net}]
\useURL [ntg-context] [{www.ntg.nl/mailman/listinfo/ntg-context}]
\useURL [literatesolutions] [{literatesolutions.com/Members/guravage/tpj/askNelly/context.tex}]
\useURL [mge] [{mailto:info@literatesolutions.com}][][\tfx info@literatesolutions.com]

% Modules
\usemodule[bib]
\usemodule[bibltx]

% Bibliography options
%\setupbibtex[database=llibres]
\setuppublications [numbering=yes, sort=author]

% Start the text
\starttext

\midaligned{\tfb De què faré l'article?}

\midaligned{\tfx Xavier Bordoy}

%\midaligned{\tfx \currentday}

Posar el problema de Dehn.

{\bf Automatic group}: 


Bibliografia
Posar el llibre de Word processing in groups
El llibre d'en Meier
El curs de Bellaterra sobre el problema de la paraula.

\jobname

\placepublications

\completepublications

\stoptext

% Finish de text


[-- Attachment #3: resum-recerca.bib --]
[-- Type: text/x-bibtex, Size: 626 bytes --]

@Book{abramowitz+stegun,
  author =	 "Milton Abramowitz and Irene A. Stegun",
  title = 	 "Handbook of Mathematical Functions with
                  Formulas, Graphs, and Mathematical Tables",
  publisher = 	 "Dover",
  year = 	 1964,
  address =	 "New York",
  edition =	 "ninth Dover printing, tenth GPO printing"
}

@Book{HPL2000,
  editor =	 {John D. Barnsford and Ann L. Brown and Rodney R. Cocking},
  title = 	 {{How people learn: Brain, mind, experience, and school}},
  publisher = 	 {National Academy Press},
  year = 	 2000,
  address =	 {Washington, DC},
  edition =	 {expanded},
  url =		 {http://www.nap.edu/}
}

[-- Attachment #4: runnning.txt --]
[-- Type: text/plain, Size: 5924 bytes --]

TeXExec | processing document 'resum-recerca.contex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file resum-recerca.top
TeXExec | using randomseed 956
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
 (/usr/share/texmf/web2c/natural.tcx)
entering extended mode
(./resum-recerca.contex

ConTeXt  ver: 2007.09.28 16:52 MKII  fmt: 2008.5.11  int: english/english

language        : language en is active
system          : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/share/texmf/tex/context/base/cont-new.mkii)
(/usr/share/texmf/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/etc/texmf/tex/context/user/cont-sys.rme
(/usr/share/texmf/tex/context/base/type-tmf.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-one.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : resum-recerca.top loaded
(./resum-recerca.top
specials        : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex
(/usr/share/texmf/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
systems         : system commands are disabled
(/usr/share/texmf/tex/context/base/type-pre.tex)
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
interaction     : active
system          : module bib loaded
(/usr/share/texmf/tex/context/bib/t-bib.tex
publications    : loading formatting style from bibl-apa
(/usr/share/texmf/tex/context/bib/bibl-apa.tex))
system          : module bibltx loaded
(/usr/share/texmf/tex/context/bib/t-bibltx.tex) (./resum-recerca.tuo)
(./resum-recerca.tuo) (./resum-recerca.tuo) (./resum-recerca.tuo)
(./resum-recerca.tuo) (./resum-recerca.tuo) (./resum-recerca.tuo)
(./resum-recerca.tuo) (./resum-recerca.tuo) (./resum-recerca.tuo)
(/usr/share/texmf/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(/usr/share/texmf/tex/context/base/sort-lan.mkii)) (./resum-recerca.tuo)
(./resum-recerca.tuo) (/usr/share/texmf/tex/context/base/pdfr-def.tex)
publications    : file resum-recerca.bbl not found, waiting for bibtex
systems         : begin file resum-recerca at line 53
{vertical mode: \tracingstats}
{\tracingpages}
{\tracingoutput}
{\tracinglostchars}
{\tracingmacros}
{\tracingparagraphs}
{\tracingrestores}
{\showboxbreadth}
{\showboxdepth}
{\tracinggroups}
{\tracingifs}
{\tracingscantokens}
{\tracingnesting}
{\tracingassigns}
{into \tracingassigns=2}
{\errorstopmode}

{\tracingonline}
{changing \tracingonline=1}
fonts           : resetting map file list
{/usr/share/texmf/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{/usr/share/texmf/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-public-lm
{/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-ec
{/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map}
fonts           : using map file: lm-math
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           : using map file: 8r-base
{/usr/share/texmf/fonts/map/pdftex/context/8r-base.map}
fonts           : using map file: ec-base
{/usr/share/texmf/fonts/map/pdftex/context/ec-base.map}
fonts           : using map file: t5-base
{/usr/share/texmf/fonts/map/pdftex/context/t5-base.map}
fonts           : using map file: original-ams-euler
{/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}
interaction     : pdftex code inserted

Completed box being shipped out [1.1]
Memory usage before: 1912&602129; after: 436&601896; still untouched: 931788
title           : - References
[2.2]
systems         : end file resum-recerca at line 77
system          : cont-err loaded
(/usr/share/texmf/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )
(see the transcript file for additional information){/usr/share/texmf/fonts/enc
/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/public/lm/lmbx12.pfb></usr/sh
are/texmf/fonts/type1/public/lm/lmr10.pfb></usr/share/texmf/fonts/type1/public/
lm/lmr12.pfb>
Output written on resum-recerca.pdf (2 pages, 73741 bytes).
Transcript written on resum-recerca.log.
TeXUtil | parsing file resum-recerca.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 4
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 21
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 2.168478

[-- Attachment #5: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Bibtex doubt
  2008-11-04 20:01 Bibtex doubt Xan
@ 2008-11-05 10:05 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2008-11-05 10:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Xan wrote:
> Hi,
> 
> I'm a beginner with ConText. Before I used LaTeX and I want to switch to 
> try....
> 
> Now I'm preparing a simple document: resum-recerca.contex (I attach it) 
> and I have a bibtex bibliography, but when I run texexec 
> resum-recerca.tex, I get the "References" empty.
> 
> What fails?

You have to fix this line:

%\setupbibtex[database=llibres]

Remove the % sign, and change the database to "resum-reserca". by
the \setupbibtex command  you tell the bib module to use bibtex,
and bibtex to use a specific .bib file.

There is no implied magic, you have to be explicit.

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-05 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-04 20:01 Bibtex doubt Xan
2008-11-05 10:05 ` Taco Hoekwater

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