0 votes

How can I export the TOC as a list without having to go in a copy/paste each item? Is this possible?

Paratext by (207 points)

1 Answer

0 votes
Best answer

One way is to use this Regex: search in the find dialog:
regex:\\toc[^\\]*
You can then save the list as a text file.

by (8.1k points)

Hi anon848905. That works well. I should have actually asked, “Is there a way to export the Scripture reference settings → Book List?” We don’t have books for some of the listed books so the regex for \toc misses those.

If you go to the project folder there should be a file called booknames.xml. This should give you what you are asking for. The format looks like this:

  <book code="GEN" abbr="Gén." short="Génesis" long="Li Hu Génesis" />
  <book code="EXO" abbr="Ex." short="Éxodo" long="Li Hu Éxodo" />
  <book code="LEV" abbr="Lev." short="Levítico" long="Li Hu Levítico" />

As always - be very careful doing any editing in any xml file if you are not sure what you are dong.

Hi anon848905.
This was really helpful. Thanks!
Clear7419

Related questions

0 votes
1 answer
Paratext Oct 27, 2018 asked by DVM (175 points)
0 votes
2 answers
Paratext Apr 1, 2023 asked by KimB (623 points)
0 votes
2 answers
0 votes
1 answer
0 votes
2 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
2,565 questions
5,297 answers
5,001 comments
1,375 users