ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Matija Šuklje" <matija.suklje@rutka.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re:  First document — problems with bib module and layout
Date: Thu, 27 Dec 2007 11:56:57 +0100	[thread overview]
Message-ID: <200712271156.59435.matija.suklje@rutka.net> (raw)
In-Reply-To: <200712271138.58989.matija.suklje@rutka.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 767 bytes --]

Dne četrtek 27. decembra 2007 je Matija Šuklje napisal(a):
> From what I can tell the main problem is that in legal circles it's
> considered bad form to cite (the short one) right next to the cited text.
> The much preferred way is "below the line" in the footer.

I think I solved the problem with footnotes now by using 
\footnote{\cite[extras={, p. 12}][ref]} ...but I'm still not happy with too 
little information produced by \cite and not having a working 
\placepublications


Any help appreciated.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: matija.suklje@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje@gabbler.org
msn: matija.suklje@rutka.net
yahoo: matija_suklje

[-- Attachment #1.1.2: moja_bibliografija.bbl --]
[-- Type: text/plain, Size: 2146 bytes --]

% definicije dodatnega polja za skrajšane naslove
\newbibfield[kratko]

% definicije dodatnih polj potrebnih za pravne vire
\newbibfield[title_eng]
\newbibfield[spremembe]

%%%
%%% knjige
%%%

\startpublication[
	k=pavcnik_teorija,
	a=Pavcnik,
	t=knjiga,
	y=2001,
]
	\title{Teorija prava}
	\kratko{Teorija prava}
	\author{Marijan}[M.]{}{Pavčnik}
	\revision{2. izdaja}
	\pubyear{2001}
	\pubname{Cankarjeva založba}
	\city{Ljubljana}
\stoppublication

%%%
%%% zborniki
%%%

\startpublication[
	k=raz_purity,
	a=Raz,
	t=zbornik,
	y=1998,
]
	\title{The Purity of the Pure Theory of Law}
	\kratko{The Purity}
	\author{Joseph}[J.]{}{Raz}
	\journal{Norms and Normativity — Critcal Perspectives on Kelsenian Themes}
	\editor{}[S. L.]{}{Paulson}
	\editor{}[B.]{}{Litschewski Paulson}
	\pubname{Clarendon Press}
	\city{Oxford}
	\pubyear{1998}
\stoppublication

%%%
%%% članki v revijah
%%%

\startpublication[
	k=bavcon_zkp,
	a=Bavcon,
	t=clanek,
	y=2003
]
	\title{Na rob peti noveli zakona o kazenskem postopku}
	\kratko{Na rob}
	\author{Ljubo}[L.]{}{Bavcon}
	\journal{Pravna praksa}
	\volume{22}
	\issue{6/7}
	\pubyear{2003}
\stoppublication

%%%
%%% članki v revijah, ki izhajajo letno
%%%

\startpublication[
	k=galic_vloga,
	a=Galic,
	t=annuali,
	y=2002
]
	\title{Vloga sodnika pri spodbujevanju sodnih poravnav}
	\kratko{Vloga sodnika}
	\author{Aleš}[A.]{}{Galič}
	\journal{Zbornik znanstvenih razprav}
	\issue{63}
	\pubyear{2002}
\stoppublication

%%%
%%% pravni viri
%%%

%TODO — zlo grdi hack-i na mestih — nekak morš rešt to :/
\startpublication[
	k=SPZ,
	t=zakon,
	y=2002,
	s=SPZ
]
	\title{Stvarnopravni zakonik}
	\kratko{SPZ}
	\title_eng{Law of Property Code}
	\organization{Državni zbor RS}
	\journal{Ur. l. RS}
	\volume{2002}
	\issue{87}
	\spremembe{18/2007 Skl.US: U-I-70/04-18}
	\pubyear{2002}\month{10}\day{17}% datum objave
	\yearfiled{2003}\monthfiled{1}\dayfiled{1} % datum začetka veljave	%%% TODO — boljšo definicijo
	\biburl{http://www.uradni-list.si/1/ulonline.jsp?urlid=199612&dhid=32248}
\stoppublication

[-- Attachment #1.1.3: konkurencna_klavzula.tex --]
[-- Type: text/x-tex, Size: 1208 bytes --]

% za pravila PF UL
\input pf_ul
\def\avtor{Matija Šuklje}
\def\mentor{as. mag. Luka Tičar}
\def\tip{seminarska naloga}
\def\naslov{Konkurenčna klavzula v delovni pogodbi}
\def\kljucnebesede{delovno pravo}

% moji lastni linki
\useURL[author-email][mailto:matija.suklje@rutka.net][][matija.suklje@rutka.net]
\useURL[homepage][http://matija.suklje.name][][matija.suklje.name]

\starttext
\startstandardmakeup
\title{\naslov}
\stopstandardmakeup

% \startfrontmatter
\setuppagenumbering[left={stran },conversion=Romannumerals,location=right]
\placecontent

\section[uvod]{Uvod}

\subsection[povzetek]{Povzetek}

\input knuth

{\en		% začasno spremeni jezik v angleščino
\subsection[summary]{Summary}

\input knuth
}

% \stopfrontmatter
% 
% \startbodymatter
\setuppagenumbering[left={stran },right={ od \lastpagenumber},location=right]

\chapter{Kr en poglavje}

\section[1]{Prvo poglavje}

\input tufte

\subsection[1.1]{podpoglavje}

\input knuth

tuki citiram, veš? \footnote{\cite[extras={ str. IV-VI in XI}][bavcon_zkp]}

% \placepublications

% \stopbodymatter
% 
% \page
% \startappendices

Bibliografija



% \stopappendices
\stoptext

[-- Attachment #1.1.4: pf_ul.tex --]
[-- Type: text/x-tex, Size: 4313 bytes --]

%d Tu so ConTeXt definicije oblike ipd., kot so predpisane za seminarske
%d in diplomske naloge na Pravni fakulteti Univerze v Ljubljani
%c Avtor: Matija Šuklje, matija.suklje@rutka.net, http://matija.suklje.name
%c Avtor dovoljuje (in spodbuja) uporabo vsebino tega „dela“ pod pogoji v licenci GPL.

%d This are the ConTeXt definitions of layout etc. as perscribed for writing a thesis
%d on the Law faculty, University of Ljubljana
%c Author: Matija Šuklje, matija.suklje@rutka.net, http://matija.suklje.name
%c The author permits (and encourages) the usage of this "work" under the terms of the GPL licence.

%%%
%%% splošne definicije dokumenta
%%%

% jezik, UTF-8 in velikost papirja
\mainlanguage[sl]
\enableregime[utf8]
\setuppapersize[a4][a4]

% hack, da ni odvečnih praznih strani zadaj. ker, če uporabljaš delitev na front- pa back-matter,
% sklepa, da gre za knjigo in zato avtomatično doda strani, da je sodo število
\setupsectionblock[frontpart][page=no]
\setupsectionblock[bodypart][page=no]
\setupsectionblock[appendix][page=no]
\setupsectionblock[backpart][page=no]

%%%
%%% za informacije v PDF, pobere podatke iz definicij glavnega dokumenta
%%%

% da dela UTF-8 tudi v PDF kazalu in informacijah o dokumentu
\input spec-tst

% pobere iz glavnega dokumenta definicije in jih zapiše v informacije v PDF
\setupinteraction
	[state=start,
	title={\naslov},
	subtitle={\tip},
	author={\avtor},
	keyword={\tip, \kljucnebesede}
	]

% ustvari kazalo v PDF
\placebookmarks[chapter,section,subsection]

%%%
%%% kazalo
%%%

\setupcombinedlist[content][alternative=c]
\setuplist[chapter][style=bold,alternative=b,width=1.5em]
\setuplist[section][margin=1.5em,width=2em]
\setuplist[subsection][margin=3.5em,width=3em]
\setuplist[subsubsection][margin=6.5em,width=4em]

%%%
%%% oblika poglavij ipd.
%%%

% zgenerira okoli naslova prvo stran na podlagi definicij iz glavnega dokumenta in datuma ob generiranju
\setuphead
	[title]
	[align=middle,
	textstyle=\sc,
	style=\bfd,
	before={\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakulteta \vfill},
	after=
		{
		(\tip)		% definiraj v dokumentu — npr. \def\tip{diplomska naloga}
		\vfill
		Avtor: \avtor		% definiraj v dokumentu — npr. \def\autor{Matija Šuklje}
		\crlf
		Mentor: \mentor		% definiraj v dokumentu — npr. \def\mentor{preljubi profesor}
		\vfill
		Ljubljana, \currentdate{} \stopalignment \page
		}
	]

% poglavja
\setuphead
	[chapter]
	[header=empty,
	textstyle=\sc,
	style=\bfb,
	before={\page\noindentation\hairline\blank[line]},
	after={\nowhitespace\hairline\blank[4*line]}
	]

% oddelki
\setuphead
	[section]
	[page=yes,
	textstyle=\sc,
	style=\tfa,
	align=right,
	before={\blank[2*line]},
	after={\blank[line]}
	]

% pododdelki
\setuphead
	[subsection]
	[style=\it,
	align=right,
	before={\blank[2*line]},
	after={\blank[line]}
	]

%%%
%%% splošna oblika teksta
%%%

\setupindenting[1.5em]
\setupindenting[yes]
\setupwhitespace[medium]

%%%
%%% definicije za citiranje in bibliografijo
%%%

% da sploh dela citiranje in bibliografija in ga poišče v zunanji datoteki
\usemodule[bib]
\input moja_bibliografija.bbl

% splošne nastavitve za citiranje
%TODO — predeli ...je sam začasna oblika
% \setupcite
% 	[num]
% 	[pubsep={, }
% ]

\setuppublications
	[sorttype=cite,
	refcommand=authoryears,%deluje, ampak je daleč od tega, da bi mi bilo všeč :(
	numbering=yes,
	autohang=yes,
% 	monthconversion=Romannumerals,
	criterium=cite
]

\setuppublicationlist
	[totalnumber=5,
	author=\normalshortauthor,
	title=\title
]


% splošne nastavitve za bibliografijo
%TODO — sploh ustvari!!

% zakonodaja
%TODO — predeli ...je sam začasna oblika
\setuppublicationlayout[zakon]{%
	\inserttitle{}{. }{}%
	\insertkratko{(}{) }{}%
	\insertjournal{}{, }{}%
	\insertissue{št. }{/}{}%
	\insertvolume{}{, }{}%
	\insertspremembe{}{.}{}%
}

\setuppublicationlayout[clanek]{
	\insertauthors{}{}{}%
	\insertkratko{, }{}{}%
	\insertjournal{, v: }{}{}%
	\insertvolume{, }{}{}%
	\insertpubyear{ (}{)}{}%
	\insertissue{, }{}{}%
	\insert
}

%TODO — prenesi vse kar se le da iz glavnega dokumenta sem

%TODO — citiranje (to bo še komplicirano!)

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 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
___________________________________________________________________________________

  reply	other threads:[~2007-12-27 10:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-25 22:39 Matija Šuklje
2007-12-26 11:15 ` Taco Hoekwater
2007-12-26 22:50   ` Matija Šuklje
2007-12-27 10:38     ` Matija Šuklje
2007-12-27 10:56       ` Matija Šuklje [this message]
2007-12-27 15:46         ` Taco Hoekwater
2007-12-27 18:51           ` Matija Šuklje
2007-12-28 14:27             ` Taco Hoekwater
2007-12-29 12:20               ` Matija Šuklje
2007-12-29 19:06                 ` Aditya Mahajan
2007-12-29 20:06                   ` Matija Šuklje
2008-04-06 18:51                   ` Matija Šuklje

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=200712271156.59435.matija.suklje@rutka.net \
    --to=matija.suklje@rutka.net \
    --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).