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 (249 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.6k 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 (630 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.
May the God who gives endurance and encouragement give you the same attitude of mind toward each other that Christ Jesus had.
Romans 15:5
2,729 questions
5,540 answers
5,150 comments
1,572 users