0
290 次浏览

我想了解一下页眉中页码的行为。在下方的截图中,约翰一书(1 John)的引言被格式化为三个带有灰色背景的侧边栏,分布在连续的 3 页上。在第一页上,页码位于底部。(因为我在“页眉+页脚”选项卡中勾选了“在引言页面底部打印页码”。否则,这一页将完全没有页码。)但在第二页上,页码位于顶部。然后在第三页上,莫名其妙地完全没有页码。而在第四页及后续包含经文文本的页面上,页码正常显示在顶部。(正如在前几页中显示的那样。)  我真正希望的是,页码能够在所有页面上连续运行,而不会从顶部切换到底部,或者完全消失。

第二个问题:我是否可以在这些引言/侧边栏页面上添加某些指令,使页眉包含书名“Jah ma Min”,就像在经文文本页面上显示的那样?

 

机器翻译自 English
PTXprint (206 分) 发布 | 290 次浏览

1 个回答

+1

The range of settings available through the PTXprint user interface is intentionally limited to try and provide a simpler user experience to meet the needs of MOST users. And it automatically mirrors settings if Mirror Pages is enabled (keeping that complexity away from users). Occasionally you need more control and can specify advanced settings as needed.

Could I encourage you to examine the generated .tex file (see View+Edit tab) to see what is being set, and if necessary you can override those header/footer settings by adding appropriate lines to the ptxprint-mods.tex file (available on the Advanced tab).

% Syntax of defining headers and footers:

RH=Running Header
RF=Running Footer

even=2,4,6,8... (usually the Left page of the spread in a LTR book) - swaps for RTL
odd=1,3,5,7... (usually the Right page of the spread in a LTR book) - swaps for RTL

left/center/right = these are the 3 horizontal positions where header material can be placed.

Within the {curly brackets} you can ask for any of the following to be displayed:
\empty   \firstref   \lastref   \rangeref   \pagenumber     \book (which is the contents of \h)    \bookalt (from \h1)

Note that you can also use codes like: \isodate   \usdate   \ukdate   \timestamp   \hrsmins   \folio   and these can be used in combination with each other too: [\folio]\ |\ \timestamp

Those odd/even combinations cover all the normal scripture body pages. But there are 2 other types of pages:

title=the first page of each book/file in the publication (incl peripheral books/files)
noV=pages that don't have scripture text (intro matter, back matter, glossary, etc.)

So for example,
\def\RFtitleoddcenter{\pagenumber}
means that the center position of odd/RHS pages of the title page(s) of the Running Footer (RF) will have the page number showing

Here is an example from the generated .tex file:

%%%%% Running Header/Footer %%%%%
\def\HeaderPosition{0.758}
\def\FooterPosition{0.083}
%\RHruleposition=13pt
\def\RangeSeparator{\kern.1em–\kern.1em} % what to put between first - last of a reference range
\def\ChapterVerseSeparator{\kern.02em.\kern.02em} % what to put between chapter:verse

%% Even Header
\def\RHevenleft{\rangeref}
\def\RHevencenter{\empty}
\def\RHevenright{\book}

%% Odd Header
\def\RHoddleft{\book}
\def\RHoddcenter{\empty}
\def\RHoddright{\rangeref}

%% Extra Books Even Header
\def\RHnoVevenleft{\empty}
\def\RHnoVevencenter{\empty}
\def\RHnoVevenright{\book}

%% Extra Books Odd Header
\def\RHnoVoddleft{\book}
\def\RHnoVoddcenter{\empty}
\def\RHnoVoddright{\empty}

\VerseRefstrue               % Include verses in reference text?
\OmitChapterNumberRHfalse    % Omit the chapter numbers in the running header (RH)
\OmitBookReftrue             % Omit the book name in the running header reference

%% Footer
\def\RFoddcenter{\pagenumber}
\def\RFevencenter{\pagenumber}
\def\RFtitleevencenter{\pagenumber}
\def\RFtitleoddcenter{\pagenumber}
\def\RFnoVoddcenter{\pagenumber}
\def\RFnoVevencenter{\pagenumber}

Note that you cannot EDIT what is in the generated .tex file, but you can (i) see what is being set, and if needed (ii) change/override the setting(s) by copying the appropriate lines and putting them in the ptxprint-mods.tex file with different {\values} as required.

I trust this helps you figure out what is happening. If not, shout out again...

(3.2k 分) 发布
已编辑 发布
只是想说明,凭借这些建议,我能够完成我想做的所有事情。此外,作为一个额外收获,我学会了 ptxprint-mods.tex 的新技巧。这非常有帮助。谢谢。
机器翻译自 English

相关问题

0
1 个回答 200 次浏览
页码和章节号未对齐。我该如何修复此问题(见附件)? 页码和章节号未对齐1088×234 35.3 KB
anon441204 250 发布 提问于 五月 13, 2021
0
1 个回答 113 次浏览
问题中的 PTXPrint 项目是在外围部分(peripherals section)中构建的,使用了以下设置: 选定的前置事项 PDF(Selected Front Matter PDF(s)) 已选中目录(Table of Contents),并带有目录标题 未选中本 ... 没有办法删除这个页码,或者为前置事项 PDF 添加合适的(例如罗马数字)页码?
Alastair 102 发布 提问于 一月 15, 2025
0
1 个回答 53 次浏览
你好 我在 PTXPrint 中尝试了页眉中经文引用的多种选项,但行为看起来有点奇怪 1 - 当我尝试在 页眉+页脚 选择中选择 引用范围 (Reference Range)时,范围分隔符会随机交替显示为我目前在 PT 引用设置 ... -mods.tex 中修正这个问题,修正内容会被插入到文件顶部,因此会被上述内容覆盖 有什么想法吗?Phil
anon913937 124 发布 提问于 十一月 19, 2025
0
3 个回答 537 次浏览
这是我第一次使用 PTXprint,但我觉得操作还算直观 然而,尽管我选择了 书名 (/h)以显示在中央页眉中,但它并没有显示出来 我有一种感觉,这与 Paratext 项目中内容的格式设置有关,但我不确定 我查阅的所有资料都没有揭示任何 ... 们就干脆不做了 或者我直接在 Mac 上通过预览应用将图片添加到 PDF 中(这非常容易做到) 感谢任何帮助
ASmith 169 发布 提问于 五月 23, 2024
0
1 个回答 304 次浏览
感谢 PTXPrint 的灵活性。这张来自画廊的截图正是我想要实现的效果。如何让章节号和页码以天城体(Devanagari)显示?
mlucas53 148 发布 提问于 一月 19, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus, his Son, purifies us from all sin.
1 John 1:7
3,045 个问题
6,005 个回答
5,671 条评论
2,026 位用户