* bib, Italian style
@ 2008-07-02 13:39 Andrea Valle
2008-07-02 13:46 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Valle @ 2008-07-02 13:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 860 bytes --]
Hi to all,
I'm using this:
\setuppublications[alternative=num]
\setuppublicationlist[author=\invertedshortauthor, editor=
\invertedshortauthor]
All works fine, but terminology is in English, and my next project is
in Italian.
Is there a way to create an Italian template?
In general, I could provide translations
Thanks
Best
-a-
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> andrea.valle@unito.it
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
[-- Attachment #1.2: Type: text/html, Size: 5061 bytes --]
[-- Attachment #2: 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] 5+ messages in thread
* Re: bib, Italian style
2008-07-02 13:39 bib, Italian style Andrea Valle
@ 2008-07-02 13:46 ` Wolfgang Schuster
2008-07-02 14:42 ` Andrea Valle
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-07-02 13:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Jul 2, 2008 at 3:39 PM, Andrea Valle <valle@di.unito.it> wrote:
> Hi to all,
> I'm using this:
> \setuppublications[alternative=num]
> \setuppublicationlist[author=\invertedshortauthor,
> editor=\invertedshortauthor]
> All works fine, but terminology is in English, and my next project is in
> Italian.
> Is there a way to create an Italian template?
> In general, I could provide translations
Take the english style bibl-num.tex and save it as bibl-num-it.tex where
you can translate the keywords and send it back to Taco so he can include
it in the next release.
You could use the modified version with \setuppublications[alternative=num-it].
Regards
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bib, Italian style
2008-07-02 13:46 ` Wolfgang Schuster
@ 2008-07-02 14:42 ` Andrea Valle
2008-07-03 6:39 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Valle @ 2008-07-02 14:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2131 bytes --]
Thanks Woflgang,
here's my attempt, I've saved it into the same bib folder of bibl-
num.tex but lua
seems not to recognize it (I'd like to test it).
Here's my log:
publications : file bibl-num-it not found, unknown style ignored
Should I do anything to setup?
Best
-a-
On 2 Jul 2008, at 15:46, Wolfgang Schuster wrote:
> On Wed, Jul 2, 2008 at 3:39 PM, Andrea Valle <valle@di.unito.it>
> wrote:
>> Hi to all,
>> I'm using this:
>> \setuppublications[alternative=num]
>> \setuppublicationlist[author=\invertedshortauthor,
>> editor=\invertedshortauthor]
>> All works fine, but terminology is in English, and my next project
>> is in
>> Italian.
>
>> Is there a way to create an Italian template?
>> In general, I could provide translations
>
> Take the english style bibl-num.tex and save it as bibl-num-it.tex
> where
> you can translate the keywords and send it back to Taco so he can
> include
> it in the next release.
>
> You could use the modified version with \setuppublications
> [alternative=num-it].
>
> Regards
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ______________________________________________________________________
> _____________
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> andrea.valle@unito.it
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
[-- Attachment #1.2.1: Type: text/html, Size: 891 bytes --]
[-- Attachment #1.2.2: bibl-num-it.tex --]
[-- Type: application/octet-stream, Size: 11447 bytes --]
%D \module
%D [ file=bibl-num,
%D version=2006.07.01,
%D title=Numeric bibliography style,
%D subtitle=Publications,
%D author={Taco Hoekwater},
%D date=\currentdate,
%D copyright={Public Domain}]
%C
%C Donated to the public domain. Use at your own risk
\unprotect
\def\setuppublicationlayout[#1]#2%
{\setvalue{@@pvdata#1}{#2\unskip\vadjust{\kern 6pt}}}
\setupcite
[author,year]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={(},
\c!right={)}]
\setupcite
[authoryear]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={(},
\c!right={)}]
\setupcite
[authoryears]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={, },
\c!left={(},
\c!right={)}]
\setupcite
[key,serial,authornum,page,short,type,doi,url]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={[},
\c!right={]}]
\setupcite
[num]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ and },
\c!compress=\v!no,
\c!inbetween={--},
\c!left={[},
\c!right={]}]
\def\withbrackets#1{[#1]~~}
\setuppublications[%
\c!sorttype=,
\c!criterium=,
\c!refcommand=num,
\c!numbering=\v!yes,
\c!numbercommand=\withbrackets,
\c!autohang=\v!yes]
\setuppublicationlist
[\c!artauthor=\normalauthor,
\c!editor=\normalauthor,
\c!author=\normalauthor,
\c!namesep={, },
\c!lastnamesep={ e },
\c!finalnamesep={ e },
\c!firstnamesep={ },
\c!juniorsep={ },
\c!vonsep={ },
\c!surnamesep={ },
\c!authoretallimit=5,
\c!editoretallimit=5,
\c!artauthoretallimit=5,
\c!authoretaldisplay=5,
\c!editoretaldisplay=5,
\c!artauthoretaldisplay=5,
\c!authoretaltext={ et al.},
\c!editoretaltext={ et al.},
\c!artauthoretaltext={ et al.},
]
\def\maybeyear#1{}
\def\etalchar#1{#1}
%D \macros{insertchapter,insertpublisher}
%D Some shortcuts.
% ((#1(type\ |)chapter#2)|#3)
\def\insertchap#1#2#3%
{\insertchapter
{#1\insertbibtype{}{\ }{chapter\ }}{#2}%
{#3}}
\def\insertpublisher#1#2#3%
{\insertpubname
{#1}{\insertcity
{, }
{\insertcountry{, }{}{#2}}%
{\insertcountry{, }{}{#2}}}%
{\insertcity
{}{\insertcountry{, }{}{#2}}%
{\insertcountry{#1}{#2}{#3}}}%
}
\setuppublicationlayout[article]{%
\insertartauthors{}{\unskip. }{\insertthekey{}{. }{}}%
\insertarttitle{\bgroup }{\egroup. }{}%
\insertjournal{\bgroup \it}{\egroup}
{\insertcrossref{In }{}{}}%
\insertvolume
{, }
{\insertissue{(}{)}{}%
\insertpages{:}{}{}%
\insertpubyear{, }{}{}.}
{\insertpages{, pages }{}{}%
\insertpubyear{, }{}{}.}%
\insertnote{ }{.}{}%
\insertcomment{}{.}{}%
}
\newif\ifeditedbook
\setuppublicationlayout[book]{%
\insertauthors{}{\unskip. }{\inserteditors{}{\unskip, a c. di%
\ifnum\getvalue{editor@num}> 1 s\fi.%
\ \global\editedbooktrue
}{\insertthekey{}{\unskip. }{}}}%
\inserttitle
{\bgroup\it }%
{\/\egroup
\ifeditedbook.%
\global\editedbookfalse
\insertvolume
{ Numero~}%
{\insertseries
{ in~\bgroup}%
{\egroup. }%
{\insertcrossref{ in~}{}{. }}}%
{\insertseries{ }{.}{} }%
\else
\insertcrossref
{\insertchap{, }{}{}%
\insertpages{, pag }{. }{. }%
\insertvolume{Volume~}{ of~}{}%
}%
{}%
{\insertvolume
{, volume~}%
{\insertseries
{ of~\bgroup\it}%
{\egroup}
{}}
{}%
\insertchap{, }{}{}%
\insertpages{, pag }{.}{.}%
}%
\fi}%
{}%
\insertpublisher
{ }%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{.}{.}}%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{.}{.}}%
\insertpages{ }{p.}{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[inbook]{%
\insertauthors{}{\unskip. }{\inserteditors{}{\unskip, a c. di%
\ifnum\getvalue{editor@num}> 1 s\fi
\ \global\editedbooktrue
}{\insertthekey{}{\unskip. }{}}}%
\inserttitle
{\bgroup\it }%
{\/\egroup
\ifeditedbook
\global\editedbookfalse
\insertvolume
{ number~}%
{\insertseries
{ in~\bgroup}%
{\egroup. }%
{\insertcrossref{ in~}{}{. }}}%
{\insertseries{ }{.}{} }%
\else
\insertcrossref
{\insertchap{, }{}{}%
\insertpages{, pag }{. }{. }%
\insertvolume{Volume~}{ of~}{}%
}%
{}%
{\insertvolume
{, volume~}%
{\insertseries
{ of~\bgroup\it}%
{\egroup}
{}}
{}%
\insertchap{, }{}{}%
\insertpages{, pag }{. }{. }%
}%
\fi}%
{ }%
\insertpublisher
{}%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{. }{\unskip.}}%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{. }{\unskip.}}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[booklet]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertpublisher
{}%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{. }{}}%
{\insertedition{, }{ edizione. }{}%
\insertpubyear{, }{. }{}}%
\insertpages{}{p. }{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[manual]{%
\insertauthors{}{\unskip. }{\insertthekey{}{. }{}}%
\inserttitle
{\bgroup \it }
{\/\egroup \insertseries{ (}{)}{}. }
{}%
\insertorganization
{}%
{\insertcity
{, }%
{\insertedition
{, }
{ edizione\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}%
{\insertedition
{, }
{ edizione\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}}%
{\insertedition{, }{ edizione\insertpubyear{, }{. }{. }}{}}%
\insertpages{}{p. }{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[incollection]{%
\insertartauthors{}{\unskip. }{\insertthekey{}{\unskip. }{}}%
\insertarttitle{\bgroup }{\egroup. }{}%
\inserttitle
{In \inserteditors{}%
{\unskip, a c. di\ifnum\getvalue{editor@num}> 1 s\fi, }%
{}%
\bgroup\it}%
{\egroup
\insertseries
{\insertvolume{, numero }{~in }{ }}%
{}%
{}%
\insertchap{\unskip, }{ }{ }%
\insertpages{\unskip, pag~}{. }{\unskip. }%
\insertpublisher
{}%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{. }{. }}%
{\insertedition{, }{ edizione}{}%
\insertpubyear{, }{. }{}}%
}%
{In \insertcrossref{}{}{}%
\insertchap{\unskip, }{ }{ }%
\insertpages{\unskip, pag~}{. }{\unskip. }%
}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[inproceedings]{%
\insertauthors{}{\unskip. }{}%
\insertarttitle{\bgroup }{\egroup. }{}%%
\inserttitle
{In \inserteditors{}%
{\unskip, a c. di\ifnum\getvalue{editor@num}> 1 s\fi, }%
{}%
\bgroup\it}%
{\egroup
\insertseries
{\insertvolume{, numero }{~in }{ }}%
{}%
{}%
\insertchap{\unskip, }{ }{ }%
\insertpages
{\unskip, pag~}
{\insertcity{, }{}{}%
\insertpubyear{\unskip, }{. }{. }}%
{\unskip
\insertpubyear{\unskip, }{. }{. }}%
\insertorganization
{}%
{\insertpubname{, }{. }{. }}%
{\insertpubname{}{. }{}}% was {, }{. }{}
}%
{In \insertcrossref{}{}{}%
\insertchap{\unskip, }{ }{ }%
\insertpages{\unskip, pag~}{. }{\unskip. }%
}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[proceedings]{%
\inserteditors{}{\unskip, a c. di%
\ifnum\getvalue{editor@num}> 1 s\fi.%
\ \global\editedbooktrue
}{\insertthekey{}{ }{}}%
\inserttitle
{\bgroup\it}%
{\egroup
\insertseries
{\insertvolume{, numero }{~in }{ }}%
{}%
{}%
\insertchap{\unskip, }{ }{ }%
\insertpages
{\unskip, pag~}
{\insertcity
{, }
{\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}
{\unskip
\insertcity
{, }
{\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}%
\insertorganization
{}%
{\insertpubname{, }{. }{. }}%
{\insertpubname{, }{. }{}}%
}%
{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[mastersthesis]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{, }{Tesi di Laurea, }%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertpages{, }{p.}{.}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[phdthesis]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup\it }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{, }{Tesi di dottorato, }%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertpages{, }{p.}{.}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[misc]{%
\insertauthors{}{\unskip. }{\insertthekey{}{. }{}}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}. }{}%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[techreport]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{\insertvolume{ }{, }{, }}{Technical Report, }%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertpages{, }{p.}{.}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[unpublished]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertpublisher
{}
{, \insertpubyear{}{.}{}}
{\insertpubyear{}{.}{}}%
\insertbibtype{ (}{)}{}%
\insertnote{ }{.}{}%
}
\protect
[-- Attachment #1.2.3: Type: text/html, Size: 9004 bytes --]
[-- Attachment #2: 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] 5+ messages in thread
* Re: bib, Italian style
2008-07-02 14:42 ` Andrea Valle
@ 2008-07-03 6:39 ` Wolfgang Schuster
2008-07-03 11:59 ` Andrea Valle
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-07-03 6:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Jul 2, 2008 at 4:42 PM, Andrea Valle <valle@di.unito.it> wrote:
> Thanks Woflgang,
> here's my attempt, I've saved it into the same bib folder of bibl-num.tex
> but lua
> seems not to recognize it (I'd like to test it).
You could put it in your working directory.
> Here's my log:
> publications : file bibl-num-it not found, unknown style ignored
> Should I do anything to setup?
For new files in your tree call "luatools --generate" or "context --generate"
to update the file database.
You could also change the header in your bibliography style.
%D \module
%D [ file=bibl-num-it,
%D version=2008.07.02,
%D title=Italian numeric bibliography style,
%D subtitle=Publications,
%D author={Taco Hoekwater \& Andrea Valle},
%D date=\currentdate,
%D copyright={Public Domain}]
and you should send the file to Taco after it is finished.
Regards
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bib, Italian style
2008-07-03 6:39 ` Wolfgang Schuster
@ 2008-07-03 11:59 ` Andrea Valle
0 siblings, 0 replies; 5+ messages in thread
From: Andrea Valle @ 2008-07-03 11:59 UTC (permalink / raw)
To: Taco Hoekwater; +Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2327 bytes --]
Ciao Taco,
here's an Italian version of bibl-num, following Wolfgang's suggestions.
Still I've not tested it extensively (works on a ~20 entry biblio for
my last project).
In case, I'll update it
Best
-a-
On 3 Jul 2008, at 08:39, Wolfgang Schuster wrote:
> On Wed, Jul 2, 2008 at 4:42 PM, Andrea Valle <valle@di.unito.it>
> wrote:
>> Thanks Woflgang,
>> here's my attempt, I've saved it into the same bib folder of bibl-
>> num.tex
>> but lua
>> seems not to recognize it (I'd like to test it).
>
> You could put it in your working directory.
>
>> Here's my log:
>> publications : file bibl-num-it not found, unknown style ignored
>> Should I do anything to setup?
>
> For new files in your tree call "luatools --generate" or "context --
> generate"
> to update the file database.
>
> You could also change the header in your bibliography style.
>
> %D \module
> %D [ file=bibl-num-it,
> %D version=2008.07.02,
> %D title=Italian numeric bibliography style,
> %D subtitle=Publications,
> %D author={Taco Hoekwater \& Andrea Valle},
> %D date=\currentdate,
> %D copyright={Public Domain}]
>
> and you should send the file to Taco after it is finished.

> Regards
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ______________________________________________________________________
> _____________
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> andrea.valle@unito.it
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
[-- Attachment #1.2.1: Type: text/html, Size: 4769 bytes --]
[-- Attachment #1.2.2: bibl-num-it.tex --]
[-- Type: application/octet-stream, Size: 11376 bytes --]
%D \module
%D [ file=bibl-num-it,
%D version=2008.07.03,
%D title=Italian numeric bibliography style,
%D subtitle=Publications,
%D author={Taco Hoekwater \& Andrea Valle (transl.)},
%D date=\currentdate,
%D copyright={Public Domain}]
\unprotect
\def\setuppublicationlayout[#1]#2%
{\setvalue{@@pvdata#1}{#2\unskip\vadjust{\kern 6pt}}}
\setupcite
[author,year]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={(},
\c!right={)}]
\setupcite
[authoryear]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={(},
\c!right={)}]
\setupcite
[authoryears]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={, },
\c!left={(},
\c!right={)}]
\setupcite
[key,serial,authornum,page,short,type,doi,url]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ e },
\c!compress=\v!no,
\c!inbetween={ },
\c!left={[},
\c!right={]}]
\setupcite
[num]
[\c!andtext={ e },
\c!otherstext={ et al.},
\c!pubsep={, },
\c!lastpubsep={ and },
\c!compress=\v!no,
\c!inbetween={--},
\c!left={[},
\c!right={]}]
\def\withbrackets#1{[#1]~~}
\setuppublications[%
\c!sorttype=,
\c!criterium=,
\c!refcommand=num,
\c!numbering=\v!yes,
\c!numbercommand=\withbrackets,
\c!autohang=\v!yes]
\setuppublicationlist
[\c!artauthor=\normalauthor,
\c!editor=\normalauthor,
\c!author=\normalauthor,
\c!namesep={, },
\c!lastnamesep={ e },
\c!finalnamesep={ e },
\c!firstnamesep={ },
\c!juniorsep={ },
\c!vonsep={ },
\c!surnamesep={ },
\c!authoretallimit=5,
\c!editoretallimit=5,
\c!artauthoretallimit=5,
\c!authoretaldisplay=5,
\c!editoretaldisplay=5,
\c!artauthoretaldisplay=5,
\c!authoretaltext={ et al.},
\c!editoretaltext={ et al.},
\c!artauthoretaltext={ et al.},
]
\def\maybeyear#1{}
\def\etalchar#1{#1}
%D \macros{insertchapter,insertpublisher}
%D Some shortcuts.
% ((#1(type\ |)chapter#2)|#3)
\def\insertchap#1#2#3%
{\insertchapter
{#1\insertbibtype{}{\ }{chapter\ }}{#2}%
{#3}}
\def\insertpublisher#1#2#3%
{\insertpubname
{#1}{\insertcity
{, }
{\insertcountry{, }{}{#2}}%
{\insertcountry{, }{}{#2}}}%
{\insertcity
{}{\insertcountry{, }{}{#2}}%
{\insertcountry{#1}{#2}{#3}}}%
}
\setuppublicationlayout[article]{%
\insertartauthors{}{\unskip. }{\insertthekey{}{. }{}}%
\insertarttitle{\bgroup }{\egroup. }{}%
\insertjournal{\bgroup \it}{\egroup}
{\insertcrossref{In }{}{}}%
\insertvolume
{, }
{\insertissue{(}{)}{}%
\insertpages{:}{}{}%
\insertpubyear{, }{}{}.}
{\insertpages{, pages }{}{}%
\insertpubyear{, }{}{}.}%
\insertnote{ }{.}{}%
\insertcomment{}{.}{}%
}
\newif\ifeditedbook
\setuppublicationlayout[book]{%
\insertauthors{}{\unskip. }{\inserteditors{}{\unskip, a c. di%
\ifnum\getvalue{editor@num}> 1 \fi.%
\ \global\editedbooktrue
}{\insertthekey{}{\unskip. }{}}}%
\inserttitle
{\bgroup\it }%
{\/\egroup
\ifeditedbook.%
\global\editedbookfalse
\insertvolume
{ Numero~}%
{\insertseries
{ in~\bgroup}%
{\egroup. }%
{\insertcrossref{ in~}{}{. }}}%
{\insertseries{ }{.}{} }%
\else
\insertcrossref
{\insertchap{, }{}{}%
\insertpages{, pag. }{. }{. }%
\insertvolume{Volume~}{ of~}{}%
}%
{}%
{\insertvolume
{, volume~}%
{\insertseries
{ of~\bgroup\it}%
{\egroup}
{}}
{}%
\insertchap{, }{}{}%
\insertpages{, pag. }{.}{.}%
}%
\fi}%
{}%
\insertpublisher
{ }%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{.}{.}}%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{.}{.}}%
\insertpages{ }{p.}{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[inbook]{%
\insertauthors{}{\unskip. }{\inserteditors{}{\unskip, a c. di%
\ifnum\getvalue{editor@num}> 1 \fi
\ \global\editedbooktrue
}{\insertthekey{}{\unskip. }{}}}%
\inserttitle
{\bgroup\it }%
{\/\egroup
\ifeditedbook
\global\editedbookfalse
\insertvolume
{ number~}%
{\insertseries
{ in~\bgroup}%
{\egroup. }%
{\insertcrossref{ in~}{}{. }}}%
{\insertseries{ }{.}{} }%
\else
\insertcrossref
{\insertchap{, }{}{}%
\insertpages{, pag. }{. }{. }%
\insertvolume{Volume~}{ of~}{}%
}%
{}%
{\insertvolume
{, volume~}%
{\insertseries
{ of~\bgroup\it}%
{\egroup}
{}}
{}%
\insertchap{, }{}{}%
\insertpages{, pag. }{. }{. }%
}%
\fi}%
{ }%
\insertpublisher
{}%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{. }{\unskip.}}%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{. }{\unskip.}}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[booklet]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertpublisher
{}%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{. }{}}%
{\insertedition{, }{ ed.. }{}%
\insertpubyear{, }{. }{}}%
\insertpages{}{p. }{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[manual]{%
\insertauthors{}{\unskip. }{\insertthekey{}{. }{}}%
\inserttitle
{\bgroup \it }
{\/\egroup \insertseries{ (}{)}{}. }
{}%
\insertorganization
{}%
{\insertcity
{, }%
{\insertedition
{, }
{ ed.\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}%
{\insertedition
{, }
{ ed.\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}}%
{\insertedition{, }{ ed.\insertpubyear{, }{. }{. }}{}}%
\insertpages{}{p. }{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[incollection]{%
\insertartauthors{}{\unskip. }{\insertthekey{}{\unskip. }{}}%
\insertarttitle{\bgroup }{\egroup. }{}%
\inserttitle
{In \inserteditors{}%
{\unskip, a c. di\ifnum\getvalue{editor@num}> 1 \fi, }%
{}%
\bgroup\it}%
{\egroup
\insertseries
{\insertvolume{, numero }{~in }{ }}%
{}%
{}%
\insertchap{\unskip, }{ }{ }%
\insertpages{\unskip, pag.~}{. }{\unskip. }%
\insertpublisher
{}%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{. }{. }}%
{\insertedition{, }{ ed.}{}%
\insertpubyear{, }{. }{}}%
}%
{In \insertcrossref{}{}{}%
\insertchap{\unskip, }{ }{ }%
\insertpages{\unskip, pag.~}{. }{\unskip. }%
}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[inproceedings]{%
\insertauthors{}{\unskip. }{}%
\insertarttitle{\bgroup }{\egroup. }{}%%
\inserttitle
{In \inserteditors{}%
{\unskip, a c. di\ifnum\getvalue{editor@num}> 1 \fi, }%
{}%
\bgroup\it}%
{\egroup
\insertseries
{\insertvolume{, numero }{~in }{ }}%
{}%
{}%
\insertchap{\unskip, }{ }{ }%
\insertpages
{\unskip, pag.~}
{\insertcity{, }{}{}%
\insertpubyear{\unskip, }{. }{. }}%
{\unskip
\insertpubyear{\unskip, }{. }{. }}%
\insertorganization
{}%
{\insertpubname{, }{. }{. }}%
{\insertpubname{}{. }{}}% was {, }{. }{}
}%
{In \insertcrossref{}{}{}%
\insertchap{\unskip, }{ }{ }%
\insertpages{\unskip, pag.~}{. }{\unskip. }%
}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[proceedings]{%
\inserteditors{}{\unskip, a c. di%
\ifnum\getvalue{editor@num}> 1 \fi.%
\ \global\editedbooktrue
}{\insertthekey{}{ }{}}%
\inserttitle
{\bgroup\it}%
{\egroup
\insertseries
{\insertvolume{, numero }{~in }{ }}%
{}%
{}%
\insertchap{\unskip, }{ }{ }%
\insertpages
{\unskip, pag.~}
{\insertcity
{, }
{\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}
{\unskip
\insertcity
{, }
{\insertpubyear{, }{. }{. }}
{\insertpubyear{, }{. }{. }}}%
\insertorganization
{}%
{\insertpubname{, }{. }{. }}%
{\insertpubname{, }{. }{}}%
}%
{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[mastersthesis]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{, }{Tesi di Laurea, }%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertpages{, }{p.}{.}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[phdthesis]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup\it }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{, }{Tesi di dottorato, }%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertpages{, }{p.}{.}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[misc]{%
\insertauthors{}{\unskip. }{\insertthekey{}{. }{}}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}. }{}%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[techreport]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{\insertvolume{ }{, }{, }}{Technical Report, }%
\insertpublisher
{}
{, \insertpubyear{}{}{}}
{\insertpubyear{}{}{}}%
\insertpages{, }{p.}{.}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[unpublished]{%
\insertauthors{}{\unskip. }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertpublisher
{}
{, \insertpubyear{}{.}{}}
{\insertpubyear{}{.}{}}%
\insertbibtype{ (}{)}{}%
\insertnote{ }{.}{}%
}
\protect
[-- Attachment #1.2.3: Type: text/html, Size: 6524 bytes --]
[-- Attachment #2: 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] 5+ messages in thread
end of thread, other threads:[~2008-07-03 11:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-02 13:39 bib, Italian style Andrea Valle
2008-07-02 13:46 ` Wolfgang Schuster
2008-07-02 14:42 ` Andrea Valle
2008-07-03 6:39 ` Wolfgang Schuster
2008-07-03 11:59 ` Andrea Valle
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).