0 votes
453 vues

I am trying to create a link to a chapter span like this:
\xt 1:16–2:12|MRK 1:16–2:12\xt*
But this generates an “Invalid extra material” error.

Interestingly a chapter list is valid:
\xt 1:16–2:12|MRK 1:16; 2:12\xt*
It produces this USX:

<char style="xt" link-href="MRK 1:16; 2:12">1:16–2:12</char>
  • Does anyone know if there is a syntax for the link-href text to the right of the | that will link to a chapter span?

Point of geeky interest
In the NIV 11 there is a link to a chapter span at the beginning of Psalms. It produces the following USX

<para style="mr">
    <ref loc="PSA 1-41">Psalms 1–41</ref></para>

So I tried the following syntax thinking it might link to Mark chapters 1 and 2:
\xt 1:16–2:12|MRK 1-2\xt*
But no, it too generated.an “Invalid extra material” error☐☐

Paratext par (1,8k points)
réaffiché | 453 vues

2 Réponses

0 votes
Meilleure réponse

I’m not sure what the problem could be off the top of my head. Probably best to send in a problem report (Help > Give feedback) so we can take a closer look.

par [Expert]
(16,7k points)

Problem report sent,

0 votes

Is the “|MRK …” actually used anywhere outside of Paratext?

I tried to use it in a project for both the DBL and SAB and it wasn’t recognized in either.

par (607 points)
réaffiché

It looks like that should be valid. Does it say what it thinks is the invalid extra material?

Looking at the documentation, it doesn’t look like that should be valid (semi-colon doesn’t look like a valid thing to put inside the href).

It’s defined in USFM 3.0 as a valid thing to do. I would expect that DBL and SAB would allow USFM 3.0 stuff (DBL especially). Was your Paratext project marked as a USFM 3.0 project?

Yes it was a 3.0 project. I tried in both a regular book and a peripheral book.

And the project I was working on was USFM 3.0 also.

At YouVersion, the \r lines showed up like this:

“Mark chapter 2 verses 1 to 10|MRK 2:1-10”

The link passed straight through as text.

Questions connexes

0 votes
0 réponses 48 vues
Do there already exist any syntax highlighters for USFM? These could be in the forms of pattern matchers parsers ... d be to provide this functionality in other USFM editors.
Mercado 203 posée oct. 24, 2024
0 votes
2 réponses 302 vues
I have a question about \nd name of Deity'. In USFM 2.4 (p. 53) the syntax is: \nd_ \nd* ... ., automatically adding a space following a word within marker boundaries) expected?
Paul 642 posée sept. 17, 2015
0 votes
1 réponse 184 vues
Is there a way to find out if PT consultant notes have been deleted for a chapter? If yes, can they be restored?
listentwice 1,2k posée août 13, 2024
0 votes
2 réponses 234 vues
There are notes with a specific tag that are unassigned, but I'd like to assign ALL if them to a ... used with Notepad++ for syntax highlighting USFM text files) anon589069
anon589069 132 posée juil. 25, 2022
0 votes
2 réponses 367 vues
What's the syntax to print a range of verses from a chapter? The pop-up help covers a contiguous range, but not ... ,20-21 in the PTXprint output, no matter what I do
Paul 642 posée juil. 11, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs