Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitals in french #24

Open
ghost opened this issue Dec 20, 2016 · 4 comments
Open

Capitals in french #24

ghost opened this issue Dec 20, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 20, 2016

"This section is in French, as it is most useful to French speaking people."

Je n'ai pas trouvé d'option permettant d'écrire « Dix-septième » au lieu de « Dix-Septième ».

C'est la fonction \Ordinalstringnum qui génère les capitales initiales, et il me semble qu'elle en met partout. Or il me semble que la version numérale de ce nombre est un mot composé. Et pas plus que « Guet-apens » il ne prend de capitale initiale à sa deuxième partie, si ?

La capitale initiale à « Septième » me choque visuellement, et je n'ai trouvé de règle typographique relative à ce cas.

Mais je préfère nettement une seule capitale initiale : « Dix-septième ».

Voir ce fil sur texnique.fr

@vincentb1
Copy link
Owner

vincentb1 commented Dec 20, 2016 via email

vincentb1 added a commit that referenced this issue Jun 15, 2017
* fc-french.def: Fix issue #24, by adding \fc@gcase to capitalize 1st letter, and setting \fc@wcase to do nothing.
* fcnumparser.sty: Rename \fc@case to \fc@wcase also in docstrippable documentation.
* test/Makefile: Make pdftests dependant of sty files, and add target overwrite_pdftests.
* test/reference/fc-frlargenum.txt: overwrite reference with corrected content as a result of fixing issue #24.
* test/reference/test-crossref-french+ucf+Numberstring.txt: overwrite reference with corrected content as a result of fixing issue #24.
* test/reference/test-crossref-french+ucf+Ordinalstring.txt: overwrite reference with corrected content as a result of fixing issue #24.
@vincentb1
Copy link
Owner

C'est corrigé, je viens de livrer au CTAN (la 3.02).

Fais moi savoir si tout est OK pour toi… ?

@ghost
Copy link
Author

ghost commented Jun 21, 2017

Ça fonctionne et c'est formidable. Merci.

@vincentb1
Copy link
Owner

J'ai fait la correction de sorte que l'ancienne capitalisation (à l'anglaise) puisse être re-activée plus tard un jour. Il faudrait pour cela changer l'interface utilisateur. Par ex. comme ça :

\ordinalstringnum[cap=camel,lang=french,gender=f,number=2]{31} ;
\ordinalstringnum[cap=camel,lang=french,gender=f,number=2]{1}

Pour faire Trente-et-Unièmes ; Premières
M'enfin bref, il faudrait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant