ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Weger" <joerg73.muc@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: bibliography: alignment of first hanging lines in publications list, hyphenation
Date: Wed, 28 Jan 2015 08:42:31 +0100	[thread overview]
Message-ID: <54C892E7.9060508@googlemail.com> (raw)

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

Attached are a MWE using plain APA and the corresponding BibTeX file. 
(Don’t mind the mistakes regarding series/volumes, I got that working in 
my personal setup that overrides plain APA.)

APA style defaults with hanging indents in the publications list.

The respectively hanging first lines of each entry in the publications 
list are not properly aligned on the left. (The indented lines are). I 
would like all of those first lines to start on the very left of the 
textfield.

If I use \hyphenation to prevent e.g. names from being hyphenated those 
words might be driven into the right margin.

Hanging punctuation doesn’t seem to work as well.


Is there anything that can be done about that? Or how can the 
justification be switched to flush left/ragged right with hanging 
indents on the left?


Greetings Jörg


PS: And by the way, “\placebtxrendering[criterium=all]” is not working 
anymore. I think I had it working before to place all entries from the 
BibTeX file into the publications list regardless of their actual 
appearance in the text as citations–which was a good way to test only 
the publications list’s layout.

[-- Attachment #2: 150128_bibtest_list_alignment.tex --]
[-- Type: text/x-tex, Size: 725 bytes --]

\setuplanguage [de]
\mainlanguage [de] 	

\usebtxdataset[testbib_daf.bib]

\showframe

\setbreakpoints[compound]

\setupalign [hyphenated,justified,hanging,hz,]

\definefontfeature[default][default][expansion=quality,protrusion=quality,] 

\hyphenation{Helbig Deutscher Heraus-geber}


\starttext

\cite[authoryears][weinrich:2006] 

\cite[authoryear][goethe:2008]

\cite[authoryears][hoelscher:2006]

\cite[authoryear][martinez:1999]

\cite[authoryears][stedje:2007]

\cite[authoryear][wrobel:2007]

\cite[authoryears][baur:2001] 

\cite[authoryear][hoffmann:2000]

\cite[authoryears][sereno:1994] \\

\blank

\startsection[title=Literaturverzeichnis, number=no]

\placebtxrendering[criterium=text]

\stopsection

\stoptext

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: testbib_daf.bib --]
[-- Type: text/x-bibtex; name="testbib_daf.bib", Size: 2312 bytes --]


@Book{		  goethe:2008,
  author	= {{Johann Wolfgang von} Goethe},
  title		= {{Die Leiden des jungen Werthers}},
  publisher	= {Deutscher Taschenbuchverlag},
  year		= 2008,
  address	= {München},
  note		= {Original von 1774},
}

@Book{		  hoelscher:2006,
  author	= {Petra Hölscher and Eberhard Piepho and Jörg Roche},
  title		= {{Handlungsorientierter Unterricht mit Lernszenarien –
		  Kernfragen zum Spracherwerb}},
  publisher	= {Finken},
  year		= 2006,
  address	= {Oberursel},
}

@Book{		  martinez:1999,
  author	= {Matias Martinez and Michael Scheffel},
  title		= {{Einführung in die Erzähltheorie}},
  publisher	= {Beck},
  year		= 1999,
  address	= {München},
}

@Book{		  stedje:2007,
  author	= {Astrid Stedje},
  title		= {{Deutsche Sprache gestern und heute}},
  publisher	= {Fink},
  year		= 2007,
  address	= {München},
  edition	= {6.~neubearb.},
}

@Book{		  weinrich:2006,
  author	= {Harald Weinrich},
  title		= {{Sprache, das heißt Sprachen}},
  publisher	= {Narr},
  year		= 2006,
  address	= {Tübingen},
}

@Book{		  wrobel:2007,
  author	= {Ulrike Wrobel},
  title		= {{Raum als kommunikative Ressource: eine
		  handlungstheoretische Analyse visueller Sprachen}},
  publisher	= {Peter Lang},
  year		= 2007,
  volume	= 47,
  series	= {{Arbeiten zur Sprachanalyse}},
  address	= {Frankfurt am Main u.|~|a.},
}

@InCollection{	  sereno:1994,
  author	= {Joan A. Sereno},
  title		= {{Phonosyntactics}},
  booktitle	= {{Sound Symbolism}},
  publisher	= {Cambridge University Press},
  year		= 1994,
  editor	= {Leanne Hinton and Joanna Nichols and John Ohala},
  pages		= {263–275},
  address	= {New York},
}

@InCollection{	  baur:2001,
  author	= {Rupprecht Baur},
  title		= {{Deutsch als Fremdsprache – Deutsch als Zweitsprache}},
  booktitle	= {{Deutsch als Fremdsprache}},
  publisher	= {de Gruyter},
  year		= 2001,
  editor	= {Gerhard Helbig and Lutz Götze and Gert Henrici and Hans-Jürgen Krumm},
  volume	= {19.1},
  series	= {{HSK}},
  pages		= {617–628},
  address	= {Berlin},
}

@Book{	  hoffmann:2000,
  title		= {{Sprachwissenschaft: Ein Reader}},
  publisher	= {Walter de Gruyter},
  year		= 2000,
  editor	= {Ludger Hoffmann},
  address	= {Berlin, New York},
}

[-- Attachment #4: 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:[~2015-01-28  7:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28  7:42 Jörg Weger [this message]
2015-01-28  9:00 ` Hans Hagen
2015-01-28 13:39   ` Jörg Weger
2015-01-29  3:36     ` Jörg Weger

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=54C892E7.9060508@googlemail.com \
    --to=joerg73.muc@googlemail.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).