ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unwanted uppercase letter in \high{} within bibliography
@ 2019-04-11  7:19 Damien Thiriet
  0 siblings, 0 replies; 3+ messages in thread
From: Damien Thiriet @ 2019-04-11  7:19 UTC (permalink / raw)
  To: ntg-context

Hello @list,



I have an unwanted output that might be a bug in my bibliographies.
Consider this MWE :

\setuppapersize[S4]
\mainlanguage[fr]
\language[fr]

\startbuffer[bib]


@book{Manuel5,
   editor = {Martin Ivernel and Benjamin Villemagne and Jean Hubac},
   title = {Histoire Géographie EMC 5\high{ème}, cycle 4},
   publisher = {Hatier},
   address = {Paris},
   year = {2016},
   pagetotal = {398},
   language = {french}
}
\stopbuffer

\usebtxdataset[bib.buffer]
\definebtxrendering
   [biblio]
   [apa]
   [numbering=no,
    sorttype=cite,
    title="Bibliographie"]

\starttext
\nocite[Manuel5]
\placelistofpublications
\stoptext

As you can see, we get Ème in the output instead of ème.
Is this a bug, or did I miss something?

Regards,


Damien Thiriet
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Unwanted uppercase letter in \high{} within bibliography
  2019-04-12  8:28 Huseyin Özoguz
@ 2019-04-12 15:57 ` Alan Braslau
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Braslau @ 2019-04-12 15:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 12Apr19, at 02:28, Huseyin Özoguz <h.oezoguz@mmnetz.de> wrote:
> 
>> As you can see, we get Ème in the output instead of ème.
>> Is this a bug, or did I miss something?
>> 

This is a consequence of command=\Word, set for titles. Try

\setupbtx [apa:list:title] [command=]

Explanation: APA specification asks for Words of the title to be capitalized. If you write your bib dataset correctly (title words capitalized), having command={\Word}, is unnecessary.

Why \Word capitalizes \high{ème} is another question - it is only so sophisticated. Indeed, I do not know if it Capitalizes a Title Correctly According to English Rules, not capitalizing articles and prepositions… Furthermore, this mania of capitalizing titles is NOT the practice in French, so I would set command=, for titles of works in French.


By the way, btx admits:

title:fr={Histoire géographie EMC 5\high{ème}, cycle 4},
title:en={Geographical History EMC 5\high{th}, 4\high{th} cycle},

to be used advantageously in multi-lingual documents or multi-lingual use of a single bibliography database.

Alan

--
Alan Braslau



___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Unwanted uppercase letter in \high{} within bibliography
@ 2019-04-12  8:28 Huseyin Özoguz
  2019-04-12 15:57 ` Alan Braslau
  0 siblings, 1 reply; 3+ messages in thread
From: Huseyin Özoguz @ 2019-04-12  8:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]

> Hello @list,
>
>
>
> I have an unwanted output that might be a bug in my bibliographies.
> Consider this MWE :
>
> \setuppapersize[S4]
> \mainlanguage[fr]
> \language[fr]
>
> \startbuffer[bib]
>
>
> @book{Manuel5,
>     editor = {Martin Ivernel and Benjamin Villemagne and Jean Hubac},
>     title = {Histoire Géographie EMC 5\high{ème}, cycle 4},
>     publisher = {Hatier},
>     address = {Paris},
>     year = {2016},
>     pagetotal = {398},
>     language = {french}
> }
> \stopbuffer
>
> \usebtxdataset[bib.buffer]
> \definebtxrendering
>     [biblio]
>     [apa]
>     [numbering=no,
>      sorttype=cite,
>      title="Bibliographie"]
>
> \starttext
> \nocite[Manuel5]
> \placelistofpublications
> \stoptext
>
> As you can see, we get Ème in the output instead of ème.
> Is this a bug, or did I miss something?
>
> Regards,
>
>
> Damien Thiriet

Hi,

same issue here with \low and \lohi – I don't know if it is a bug or for 
purpose.

But there is a simple workaround:

Dirty workaround: \high{\color[white]{e}\hskip-1.3ex ème}
Maybe better: \lohi{\color[white]{b}}{ème}

-- 
Huseyin Özoguz

E-Mail: h.oezoguz@mmnetz.de


[-- Attachment #1.2: Type: text/html, Size: 1899 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-04-12 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11  7:19 Unwanted uppercase letter in \high{} within bibliography Damien Thiriet
2019-04-12  8:28 Huseyin Özoguz
2019-04-12 15:57 ` Alan Braslau

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