ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bibliography: alignment of first hanging lines in publications list, hyphenation
@ 2015-01-28  7:42 Jörg Weger
  2015-01-28  9:00 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Weger @ 2015-01-28  7:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- 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
___________________________________________________________________________________

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

* Re: bibliography: alignment of first hanging lines in publications list, hyphenation
  2015-01-28  7:42 bibliography: alignment of first hanging lines in publications list, hyphenation Jörg Weger
@ 2015-01-28  9:00 ` Hans Hagen
  2015-01-28 13:39   ` Jörg Weger
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2015-01-28  9:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1/28/2015 8:42 AM, Jörg Weger wrote:
> 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?

\setupbtxlist[alternative=left,margin=0cm,align={hanging,hz}]

just the settings of descriptions

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

\placebtxrendering[method=dataset]

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: bibliography: alignment of first hanging lines in publications list, hyphenation
  2015-01-28  9:00 ` Hans Hagen
@ 2015-01-28 13:39   ` Jörg Weger
  2015-01-29  3:36     ` Jörg Weger
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Weger @ 2015-01-28 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

But with

 > \setupbtxlist[alternative=left,margin=0cm,align={hanging,hz}]

there is no hanging indentation.

Isn’t it possible for the first “hanging” line of an hanging indentation 
layout to start exactly on the very left, while the next lines are 
exactly indented?

 > just the settings of descriptions

To be honest, i don’t know exactly what you mean by „descriptions“.


Greetings Jörg



On 28.01.2015 10:00, Hans Hagen wrote:
> On 1/28/2015 8:42 AM, Jörg Weger wrote:
>> 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?
>
> \setupbtxlist[alternative=left,margin=0cm,align={hanging,hz}]
>
> just the settings of descriptions
>
>> 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.
>
> \placebtxrendering[method=dataset]
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                               | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
>
> 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
___________________________________________________________________________________

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

* Re: bibliography: alignment of first hanging lines in publications list, hyphenation
  2015-01-28 13:39   ` Jörg Weger
@ 2015-01-29  3:36     ` Jörg Weger
  0 siblings, 0 replies; 4+ messages in thread
From: Jörg Weger @ 2015-01-29  3:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I looked in the wiki for “descriptions” and found this:

http://wiki.contextgarden.net/Command/setupdescriptions

I played around a lot with the parameters from there in \setupbtxlist, 
but the problem remains. The only way to get hanging indentation is 
\setupbtxlist[alternative=hanging] and no matter what else I change the 
respectively first lines of every publications list entry are not 
aligned to the very left of the full text width :(

Maybe it has something to do with the numbering?

If I use \setupbtxrendering[numbering=yes] the numbers are aligned 
properly to the very left while the following beginnings of the entries 
are not. Maybe the problem is that the numbers are only “hidden”, but 
not really “deleted”? (Excuse my probably incorrect use of terminology.)

For comparison I tried the old mechanism again:


\setupbibtex[database={<BibTeX_file>},sort=author]

\setuppublications[alternative=apa]

\starttext

\title{Literaturverzeichnis}

\placepublications[criterium=all]

\stoptext


Here the hanging first lines of each entry align with the title at the 
very left.

I can live with the actual state of the new mkiv mechanism for now as my 
lecturers’ eyes will be blinded by the remaining perfect ConTeXt layout :)

But in future it would be great to have a real hanging indentation in 
the publications list according to the definition that in hanging 
indentation in contrary to normal indentation all but the very first 
line (which starts as a normal line at the very left) are indented.

Greetings Jörg

PS: By the way, Did I thank you for making this great software freely 
available and for the great quick support on the mailing list?



On 28.01.2015 14:39, Jörg Weger wrote:
> But with
>
>  > \setupbtxlist[alternative=left,margin=0cm,align={hanging,hz}]
>
> there is no hanging indentation.
>
> Isn’t it possible for the first “hanging” line of an hanging indentation
> layout to start exactly on the very left, while the next lines are
> exactly indented?
>
>  > just the settings of descriptions
>
> To be honest, i don’t know exactly what you mean by „descriptions“.
>
>
> Greetings Jörg
>
>
>
> On 28.01.2015 10:00, Hans Hagen wrote:
>> On 1/28/2015 8:42 AM, Jörg Weger wrote:
>>> 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?
>>
>> \setupbtxlist[alternative=left,margin=0cm,align={hanging,hz}]
>>
>> just the settings of descriptions
>>
>>> 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.
>>
>> \placebtxrendering[method=dataset]
>>
>> -----------------------------------------------------------------
>>                                            Hans Hagen | PRAGMA ADE
>>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>      tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>>                                               | www.pragma-pod.nl
>> -----------------------------------------------------------------
>> ___________________________________________________________________________________
>>
>>
>> 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
___________________________________________________________________________________

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

end of thread, other threads:[~2015-01-29  3:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28  7:42 bibliography: alignment of first hanging lines in publications list, hyphenation Jörg Weger
2015-01-28  9:00 ` Hans Hagen
2015-01-28 13:39   ` Jörg Weger
2015-01-29  3:36     ` Jörg Weger

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