Re: [NTG-context] Something got wrong here

2016-07-29 Thread Ursula Hermann
Hello Alan and Henri!

Thanks so much fort he tipps.

Uschi

-Ursprüngliche Nachricht-
Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Alan BRASLAU
Gesendet: Donnerstag, 28. Juli 2016 22:17
An: Henri Menke
Cc: ntg-context@ntg.nl
Betreff: Re: [NTG-context] Something got wrong here

On Thu, 28 Jul 2016 19:52:41 +0200
Henri Menke <henrime...@gmail.com> wrote:

> \footnote{\cite[righttext={; p.~1}][Berlant2011]}

Several comments:

1. \setupbtx [default:cite:righttext] [left={; }] allows you to drop the 
semicolon+space in your righttext values, if this is what you desire; 
[left=\btxsemicolon] can also be used.

2. \footnote{\cite[alternative=entry,after={ p.~1}][Berlant2011]} allows you to 
include the full citation in the footnote, if desired.
This is the same as \footnote{\placecitation[Berlant2011]}.
(Note that this still requires the use of \placelistofcitations somewhere in 
the text.) The difference between "righttext=" and "after=" in a \cite is that 
the first one adds the page reference to the citation reference and the second 
adds the page reference to the end of the citation rendering.

3. The default style is extremely basic. One can setup the citation reference 
numbers to be placed high like footnote references, if desired.

Alan



--
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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
___

Re: [NTG-context] Something got wrong here

2016-07-28 Thread Alan BRASLAU
On Thu, 28 Jul 2016 19:52:41 +0200
Henri Menke  wrote:

> \footnote{\cite[righttext={; p.~1}][Berlant2011]}

Several comments:

1. \setupbtx [default:cite:righttext] [left={; }]
allows you to drop the semicolon+space in your righttext values, if
this is what you desire; [left=\btxsemicolon] can also be used.

2. \footnote{\cite[alternative=entry,after={ p.~1}][Berlant2011]}
allows you to include the full citation in the footnote, if desired.
This is the same as \footnote{\placecitation[Berlant2011]}.
(Note that this still requires the use of \placelistofcitations
somewhere in the text.)
The difference between "righttext=" and "after=" in a \cite is that the
first one adds the page reference to the citation reference and the
second adds the page reference to the end of the citation rendering.

3. The default style is extremely basic. One can setup the citation
reference numbers to be placed high like footnote references, if
desired.

Alan



-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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] Something got wrong here

2016-07-28 Thread Henri Menke
Hi Uschi,

see below for a possible solution.

Cheers, Henri.

---

\startbuffer[biblio]
@book{Berlant2011,
  author = {Berlant, Laurent},
  title = {Cruel Optimism},
  year = {2011},
}
\stopbuffer

\mainlanguage[en]
\usebtxdataset[biblio.buffer]

\starttext

\startbodymatter
  \startchapter[title={Me}]
Your attachment actively impedes the aim that brought you to it initially 
\footnote{\cite[righttext={; p.~1}][Berlant2011]}
  \stopchapter
\stopbodymatter

\startbackmatter
  \startchapter[title={Bibliography}]
\placelistofpublications
  \stopchapter
\stopbackmatter

\stoptext

On 07/28/2016 03:59 PM, Ursula Hermann wrote:
> Hello list!
> 
>  
> 
> I have a litte done wrong:
> 
>  
> 
> The \cite in the footnote is a title of a book, which I need  in the 
> „Bibliography“ at the backmatter,  with the Autors and the title and the year 
> .  .
> 
> I am not satisfied, because i got no backmatter with the publication.
> 
> I have mkiv.
> 
> \mainlanguage[en]
> 
> \startbodymatter
> 
> \starttext
> 
> \startchapter {Me}
> 
> Your attachment actively impedes the aim that brought you to it initially 
> \footnote \cite{book,author: Berlant, Laurent: title:Cruel Optimism. year: 
> 2011, Page 1}
> 
> \stopbodymatter
> 
>  
> 
> \startbackmatter
> 
>\startchapter
> 
>[title:Bibliography]
> 
> \placelistofpublications
> 
>\stopchapter
> 
>\stoptext
> 
> \stopbackmatter
> 
>  
> 
> Uschi
> 
> I got this as the result:
> 
> Command Line:   context.exe --synctex=-1 "Probe.tex"
> 
> Startup Folder: D:\My Documents
> 
>  
> 
>  
> 
> mtx-context | warning: synctex is enabled
> 
> mtx-context | run 1: luatex 
> --fmt="C:/Users/Ursula/.texlive2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en"
>  --jobname="Probe" 
> --lua="C:/Users/Ursula/.texlive2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui"
>  --no-parse-first-line --synctex=-1 --c:currentrun=1 
> --c:directives="system.synctex=-1" --c:fulljobname="./Probe.tex" 
> --c:input="./Probe.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" 
> "cont-yes.mkiv"
> 
> This is LuaTeX, Version 0.95.0 (TeX Live 2016/W32TeX)
> 
>  system commands enabled.
> 
>  
> 
> system  > synctex functionality is enabled (-1), expect runtime 
> overhead!
> 
> open source > 1 > 1 > 
> C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> 
>  
> 
> ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.7.28  int: 
> english/english
> 
>  
> 
> system  > 'cont-new.mkiv' loaded
> 
> open source > 2 > 2 > 
> C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> 
> close source> 2 > 2 > 
> C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> 
> system  > files > jobname 'Probe', input './Probe', result 'Probe'
> 
> fonts   > latin modern fonts are not preloaded
> 
> languages   > language 'en' is active
> 
> open source > 2 > 3 > D:/My Documents/Probe.tex
> 
> structures  > begin of sectionblock 'bodypart'
> 
> fonts   > preloading latin modern fonts (second stage)
> 
> fonts   > 'fallback modern-designsize rm 12pt' is loaded
> 
> structure   > sectioning > chapter @ level 2 : 0.1 ->
> 
> publications> analyzing previous publication run for 'default'
> 
> publications> cite > non-existent entry '\relax ' in 'default'
> 
> publications> no entry '\relax ' found in dataset 'default'
> 
> structures  > end of sectionblock 'bodypart'
> 
>  
> 
> Overfull \hbox (27.3531pt too wide) in paragraph at lines 4--6
> 
> []\3>modern-designsize-12pt-rm-tf-0--0 Me Your at-tach-ment ac-tively 
> im-pedes the aim that brought you to it ini-tially[]book,author:
> 
> backend > xmp > using file 
> 'C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'
> 
> pages   > flushing realpage 1, userpage 1
> 
> structures  > begin of sectionblock 'backpart'
> 
> setup   > error in line 11, namespace 'structure', key 
> 'title:Bibliography'
> 
> structure   > sectioning > chapter @ level 2 : 0.1 ->
> 
> publications> list > collecting entries using method 'global' and sort 
> order 'default'
> 
> pages   > flushing realpage 2, userpage 2
> 
>  
> 
> fonts   > !! No bodyfont has been defined and no defaults have been
> 
> fonts   > !! loaded (maybe due to a missing \starttext).
> 
>  
> 
> close source> 2 > 3 > D:/My Documents/Probe.tex
> 
> close source> 1 > 3 > 
> C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> 
> (\end occurred inside a group at level 1)
> 
>  
> 
> ### semi simple group (level 1) entered at line 9 (\begingroup)
> 
> ### bottom level
> 
>  
> 
> mkiv lua stats  > used config file: 
> selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
> 
> mkiv lua stats  > used cache path: readable: 
> 

Re: [NTG-context] Something got wrong here

2016-07-28 Thread Wolfgang Schuster

Ursula Hermann 
28. Juli 2016 um 15:59

Hello list!

I have a litte done wrong:

The \cite in the footnote is a title of a book, which I need  in the 
"Bibliography" at the backmatter,  with the Autors and the title and 
the year .  .


I am not satisfied, because i got no backmatter with the publication.

I have mkiv.

\mainlanguage[en]

\startbodymatter

\starttext


Move \startbodymatter after \starttext.


\startchapter {Me}


\startchapter[title=...]


Your attachment actively impedes the aim that brought you to it 
initially \footnote \cite{book,author: Berlant, Laurent: title:Cruel 
Optimism. year: 2011, Page 1}



\footnote needs braces around its argument (\footnote{...}).

The \cite command expects a reference to a bibliography entry and not 
the entry itself, you can look into the manual 
(http://pragma-ade.nl/show-man-29.htm) how you can create your own entries.


The \stopchapter command is missing.


\stopbodymatter

\startbackmatter

   \startchapter

   [title:Bibliography]


Use = as separator for the key and entry of your chapter title.


\placelistofpublications

   \stopchapter

   \stoptext

\stopbackmatter

Move \stopbackmatter before \stoptext because everything after the final 
\stoptext is ignored.


Wolfgang
___
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] Something got wrong here

2016-07-28 Thread Ursula Hermann
Hello list!

 

I have a litte done wrong: 

 

The \cite in the footnote is a title of a book, which I need  in the
"Bibliography" at the backmatter,  with the Autors and the title and the
year .  . 

I am not satisfied, because i got no backmatter with the publication. 

I have mkiv. 

\mainlanguage[en]

\startbodymatter

\starttext

\startchapter {Me}

Your attachment actively impedes the aim that brought you to it initially
\footnote \cite{book,author: Berlant, Laurent: title:Cruel Optimism. year:
2011, Page 1}

\stopbodymatter

 

\startbackmatter

   \startchapter

   [title:Bibliography]

\placelistofpublications

   \stopchapter

   \stoptext

\stopbackmatter 

 

Uschi

I got this as the result: 

Command Line:   context.exe --synctex=-1 "Probe.tex"

Startup Folder: D:\My Documents

 

 

mtx-context | warning: synctex is enabled

mtx-context | run 1: luatex
--fmt="C:/Users/Ursula/.texlive2016/texmf-var/luatex-cache/context/a86c089b3
84a3076dc514ba966a1fac9/formats/luatex/cont-en" --jobname="Probe"
--lua="C:/Users/Ursula/.texlive2016/texmf-var/luatex-cache/context/a86c089b3
84a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line
--synctex=-1 --c:currentrun=1 --c:directives="system.synctex=-1"
--c:fulljobname="./Probe.tex" --c:input="./Probe.tex" --c:kindofrun=1
--c:maxnofruns=9 --c:synctex="-1" "cont-yes.mkiv"

This is LuaTeX, Version 0.95.0 (TeX Live 2016/W32TeX) 

 system commands enabled.

 

system  > synctex functionality is enabled (-1), expect runtime
overhead!

open source > 1 > 1 >
C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv

 

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.7.28  int:
english/english

 

system  > 'cont-new.mkiv' loaded

open source > 2 > 2 >
C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv

close source> 2 > 2 >
C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv

system  > files > jobname 'Probe', input './Probe', result 'Probe'

fonts   > latin modern fonts are not preloaded

languages   > language 'en' is active

open source > 2 > 3 > D:/My Documents/Probe.tex

structures  > begin of sectionblock 'bodypart'

fonts   > preloading latin modern fonts (second stage)

fonts   > 'fallback modern-designsize rm 12pt' is loaded

structure   > sectioning > chapter @ level 2 : 0.1 -> 

publications> analyzing previous publication run for 'default'

publications> cite > non-existent entry '\relax ' in 'default'

publications> no entry '\relax ' found in dataset 'default'

structures  > end of sectionblock 'bodypart'

 

Overfull \hbox (27.3531pt too wide) in paragraph at lines 4--6

[]\3>modern-designsize-12pt-rm-tf-0--0 Me Your at-tach-ment ac-tively
im-pedes the aim that brought you to it ini-tially[]book,author:

backend > xmp > using file
'C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'

pages   > flushing realpage 1, userpage 1

structures  > begin of sectionblock 'backpart'

setup   > error in line 11, namespace 'structure', key
'title:Bibliography'

structure   > sectioning > chapter @ level 2 : 0.1 -> 

publications> list > collecting entries using method 'global' and sort
order 'default'

pages   > flushing realpage 2, userpage 2

 

fonts   > !! No bodyfont has been defined and no defaults have been

fonts   > !! loaded (maybe due to a missing \starttext).

 

close source> 2 > 3 > D:/My Documents/Probe.tex

close source> 1 > 3 >
C:/TeXlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv

(\end occurred inside a group at level 1)

 

### semi simple group (level 1) entered at line 9 (\begingroup)

### bottom level

 

mkiv lua stats  > used config file:
selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua

mkiv lua stats  > used cache path: readable:
'C:/TeXlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1
fac9' | readable+writable:
'C:/Users/Ursula/.texlive2016/texmf-var/luatex-cache/context/a86c089b384a307
6dc514ba966a1fac9'

mkiv lua stats  > synctex tracing: synctex has been enabled (extra log file
generated)

mkiv lua stats  > resource resolver: loadtime 0.110 seconds, 0 scans with
scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths:


mkiv lua stats  > stored bytecode data: 387 modules (0.322 sec), 82 tables
(0.011 sec), 469 chunks (0.333 sec)

mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable:
1175

mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444

mkiv lua stats  > node memory usage: 14 glue, 3 penalty, 38 attribute, 38
glue_spec, 11 attribute_list, 2 temp

mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances
(re)created, 108 calls

mkiv lua stats  > used backend: pdf (backend for directly generating pdf
output)

mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001