我對這裡另外兩個回答有類似的想法,但有一些額外的評論。
1) 如果您只打算停止發布少數幾條腳註或詞彙表條目,那麼在發布時半手動刪除是最佳選擇。正如 @Phil_Leckrone 所說,許多出版工具都包含某種建立「變更」(Changes)的方式,您可以提供規則讓其套用。這可以包括像「刪除以這些特定詞語開頭的腳註」或「刪除包含此特定詞彙的詞彙表條目」這樣的規則。
2) 如果您認為會有許多這樣的腳註/詞彙表條目,那麼花時間設定使用不同的標記來區分是值得的。但與 @LivingField 所說的不同,我不建議錯誤地使用現有的標記(例如 \fe)。相反,我會在 custom.sty 中建立一個新標記,命名為 \zfapp 或 \zfprint 或 \z-f-app 之類的(我一時想不起來標記名稱中是否允許使用 -)。以 \z 開頭是警告每個人「這是一個我們以非標準方式使用的標記」的好方法。
然後,當到了印刷的時候,您可以簡單地設定 \TextProperties publishable 或 \TextProperties nonpublishable 來獲得您想要的結果。
I had similar thoughts to the other two answers here, but have a few additional comments.
1) If you only plan on stopping a few footnotes or glossary entries from being published, then semi-manually deleting at the time of publication is the best option. As @Phil_Leckrone said, many publishing tools include some way of creating "Changes", where you can give it a rule which it applies. This can include rules like "delete a footnote that starts with these certain words" or "delete the glossary entry with this particular term in it".
2) If you think there will be a lot of such footnotes/glossary entries, then it will be worth your time to set up using different markers to differentiate. But unlike what @LivingField said, I wouldn't recommend using a pre-existing maker incorrectly (like \fe). Rather I'd create a new marker in custom.sty which is named something like \zfapp or \zfprint or \z-f-app or the like (I can't remember off the top of my head if - is allowed in a marker name). Starting the name with \z is a great way of warning everyone that "this is a marker we're using in a non-standard way".
Then, when it comes time for print, you can simply set \TextProperties publishable or \TextProperties nonpublishable to get your desired results.
機器翻譯自 English