+1
459 次瀏覽

L.S.
I have noticed that when executing the “Mark occurences as glossary items …” it also adds \w \w* to words that appear in footnotes. Can this be prevented ? If not, can you help me with a regex that removes all \w \w* that appear in footnotes ?

Thanks in advance for your help,
goodgoan

舊文章 - 以原文顯示
Paratext (347 點) 提出
已重新顯示 | 459 次瀏覽

3 個回答

0
最佳回答

goodgoan, @anon467281 is correct, you need to use the embedded marker markup \+w …\+w* in footnotes. When you do that the \+w markup will inherit the font size of its parent style. You should not have any problem with incorrect font size.
If you are using Print Draft (is that what you mean by “proof print”) then you can create a PrintDraftChanges.txt file with the following code:

# Display a glossary word with an asterisk
'\\\+?w\s(.*?)(\|.*?)?\\\+?w\*'    >   '\1*'

This will delete the \w and \+w styles altogether, along with any following lemma form. It will also add an asterisk after the word, which is generally want people want printed to indicate a word in the glossary.

Alternately, you can use this code to simply strip off the \w markup before doing a Print Draft:

# Remove glossary word markup
'\\\+?w\s([^\\|].*?)(\|[^\\].*?)?\\\+?w\*' > '\1'

The same code can be used in changes.txt to modify the input to PA

舊文章 - 以原文顯示
(1.8k 點) 提出
已重新顯示
0

\f .*?\f*:::\w*?

      should do the trick. why do

you want them removed. to have \w embedded in a footnote the
syntax is

+w …+w*

舊文章 - 以原文顯示
(571 點) 提出
已重新顯示

Hi anon467281,
I want them removed because in PA they get the w character style which is bigger (11pt) then the footnote text. I guess in changes.txt this could be dealt with in another way. Do you have a suggestion ?

舊文章 - 以原文顯示

You can edit the character style in Indesign and remove the font size characteristic so that it is blank. It should then use whatever size is already being used. If it doesn’t, then it would be a significant enough issue for reporting a problem. It rather surprises me that it even has a font size defined originally. Of course, save the style change back to your template for your other books.

舊文章 - 以原文顯示

Thank you Shegnada,
This is what I did for a proof print, changing the character style, but the real problem is that there is only one “w” character style, which will take its pointsize from the mail text (in my case 11pt), resulting in a 11pt word in a 10pt footnote text, whenever the \w \w* appears in a footnote. (I`ll pick up on that in Tcop)

舊文章 - 以原文顯示
0

Thank you all, this is helpful input. It is the embedded marker I was in need of. Merci beaucoup.

舊文章 - 以原文顯示
(347 點) 提出

相關問題

0
1 個回答 194 次瀏覽
I see that in printdraft the footnotes are a little smaller than the Bible fonts. Any way I can make them the same size as the Bible fonts?
anon261997 124 提出 已提問 10月 16, 2017
0
1 個回答 96 次瀏覽
我正在協助一位使用者,他的章節標題中有腳註。他希望腳註中的經文參考指向章節標題之後的經文。腳註引文的基礎檢查(Basic Checks)回傳了錯誤,訊息為「Quoted text not found in verse:」(經文中找不到引文:)。我們該如何解決這個錯誤?
Zak_OLeary 104 提出 已提問 4月 2
0
5 個回答 590 次瀏覽
我們在腳註中使用單引號來表示單字的意義 例如: ... \ft "Messiah" in Hebrew means 'Anointed One'. \f* 當我們執行引號檢查(Quotation check)時,它會將這些識別為引號中的引號或引號中的引號中 ... 引號中的引號 ' 引號 必須在以下位置使用延續符號:p p/q1 b/q1
anon469793 155 提出 已提問 1月 29, 2020
0
2 個回答 391 次瀏覽
When viewing footnotes in formatted or aper,cu view, we see that the alphabet marker for the footnote is in the space above ... wè, pe nɛ̂ cé luʔɔ kúu nɛ̀ tɔliyɔ jíge yè wi nɛ̄.
anon200667 145 提出 已提問 6月 18, 2019
0
1 個回答 221 次瀏覽
I'm working with a publishing house to prepare their text in Paratext before it gets worked on in Publishing ... ? If not any ideas for making this happen programmatically?
anon659920 128 提出 已提問 11月 5, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Give proper recognition to those widows who are really in need.
1 Timothy 5:3
3,048 個問題
6,007 個回答
5,672 則評論
2,028 位使用者