View Single Post
Old 07-15-2022, 04:02 AM   #12
lktr45
Zealot
lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'
 
Posts: 135
Karma: 10280
Join Date: Oct 2016
Device: none
Bonjour Azkoor,

Je n'ai pas trouvé de méthode simple pour mettre le nom de l'auteur en majuscules.

Essayez ceci qui utlise les expressions régulières.
L'auteur doit être sous la forme Nom, Prénom
Ne fonctionne pas correctement dans le cas d'auteurs multiples Nom1, Prénom1 & Nom2, Prénom2

Méthode :
Aller dans l'onglet Rechercher et remplacer

Type de recherche : sélectionner Expression régulière

Remplir les champs de la manière suivante :
Champ de recherche : sélectionner {template}
Modèle :
Quote:
program: re_group(field('authors'), '(.*,)', '[[$:uppercase()]] ', "[[$]]")
Rechercher : x
Remplacer par : laisser vide
Champ de destination : authors

Si le nom en majuscules s'affiche correctement en bas de la fenêtre pour le Livre 1, pensez à sauvegarder la méthode :
Charger rechercher/remplacer : Nom auteur en majuscules puis Enregistrer
lktr45 is offline   Reply With Quote