0 votes
295 vues

J'aide sur un projet qui ne contient aucun code de mise en forme inséré dans les Psaumes. Existe-t-il un moyen de copier/dupliquer des codes d'un projet vers un autre projet qui a déjà le texte en place ?

EpiWaetMan

Traduit automatiquement depuis English
Paratext par (196 points) | 295 vues

1 Réponse

0 votes
Meilleure réponse

Je ne connais pas de moyen de copier les marqueurs de formatage d'un projet vers un autre qui contient déjà du texte.
Mais peut-être que certaines routines de recherche et remplacement vous permettraient d'aller loin.

D'abord, vous pourriez insérer un \q1 avant chaque marqueur de verset avec une recherche/remplacement comme ceci :
rechercher : \v
remplacer par \q1 \v

Ensuite, vous pourriez insérer un \q2 après tout signe de ponctuation qui n'est pas à la fin d'un verset, avec cette chaîne dans RegExPal

rechercher : ([;.,?:]\s)(?!\n)
remplacer par \1 \\q2

Cela transformerait un texte comme celui-ci :

\c 23
A Psalm by David.
\v 1 Yahweh is my shepherd; I shall lack nothing.
\v 2 He makes me lie down in green pastures. He leads me beside still waters.
\v 3 He restores my soul. He guides me in the paths of righteousness for his name’s sake.
\v 4 Even though I walk through the valley of the shadow of death, I will fear no evil, for you are with me. Your rod and your staff, 2 they comfort me.
\v 5 You prepare a table before me in the presence of my enemies. You anoint my head with oil. My cup runs over.
\v 6 Surely goodness and loving kindness shall follow me all the days of my life, and I will dwell in Yahweh’s house forever.

Et vous donnerait ceci :
\c 23 A Psalm by David.
\q1 \v 1 Yahweh is my shepherd;
\q2 I shall lack nothing.
\q1 \v 2 He makes me lie down in green pastures.
\q2 He leads me beside still waters.
\q1 \v 3 He restores my soul.
\q2 He guides me in the paths of righteousness for his name’s sake.
\q1 \v 4 Even though I walk through the valley of the shadow of death,
\q2 I will fear no evil,
\q2 for you are with me.
\q2 Your rod and your staff,
\q2 they comfort me.
\q1 \v 5 You prepare a table before me in the presence of my enemies.
\q2 You anoint my head with oil.
\q2 My cup runs over.
\q1 \v 6 Surely goodness and loving kindness shall follow me all the days of my life,
\q2 and I will dwell in Yahweh’s house forever.

Vous devrez probablement revoir cela, par exemple, il manque un marqueur pour « A Psalm by David » et il y a probablement trop de lignes au verset 4.
Ce que je ferais, c'est copier le livre des Psaumes dans un projet temporaire et expérimenter avec cela. Si vous obteniez de bons résultats, vous pourriez ensuite importer les Psaumes dans le projet régulier, mais si vous obteniez de mauvais résultats, vous pourriez simplement abandonner le projet temporaire et vous auriez toujours ce que vous avez maintenant.

Traduit automatiquement depuis English
par [Expert]
(3,3k points)

réaffiché

Merci pour les idées, sewhite !
EpiWaetMan

Traduit automatiquement depuis English

Questions connexes

+4 votes
1 réponse 615 vues
Si vous avez Paratext installé et souhaitez réinitialiser votre code d'enregistrement (ou peut-être qu'il a été ... puis démarrez Paratext et il devrait accepter le nouveau code.
[Expert]
sewhite
3,3k
posée mai 3, 2023
0 votes
2 réponses 655 vues
Do I have the right, as an administrator, to go to the Paratext Registry and look up the registration codes of the members of the project?
wdavidhj 1,4k posée mai 12, 2019
0 votes
1 réponse 235 vues
All the text in a local translator's back translation project has suddenly become right justified, with the backslash ... to do that? See attachment for screen shot. anon101508
anon101508 117 posée mai 9, 2017
0 votes
0 réponses 64 vues
Existe-t-il déjà des colorateurs syntaxiques pour USFM ? Ils pourraient prendre la forme de matchers de motifs ... de fournir cette fonctionnalité dans d'autres éditeurs USFM.
Mercado 203 posée oct. 24, 2024
0 votes
2 réponses 423 vues
We work with translators from a number of dialects. I've just gotten to the point where I've created a separate Project ... Is there a way to migrate Notes to a different project?
Paul 642 posée févr. 7, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
3,052 questions
6,011 réponses
5,677 commentaires
2,031 utilisateurs