English 中文(简体)
在“LaTeX”指数中添加“h”标记,并加上“Ax”指数。
原标题:Inclusion of hash marks in a LaTeX indexentry aliased with a ewcommand

这是奇怪的。 我不得不做一些令人感兴趣的工作,以便它能够发挥一点作用,但我们还有另一个 st脚石。

我在努力建立一个单独的文件,其中使用大量原始文件(使用纸张、小个人.子文件制作的索引),其想法是,我最终将拥有一份单一的文件,其中显示SUB-文件以及在有指数数据时的页数。

为此,我必须确定一个指挥部,收集所有指数条目如下:


ewcommand{myindexer}[3]
    {index{myindex}{#1 : #2.#3!href{doctitle.pdf}}}

其结果是我指数中的指数条目。 id:

indexentry{IndexedItemA : 55.iii!href{Volume 1.pdf}{Volume 1.pdf}}{30}}
indexentry{IndexedItemB : 23.vi!href{Volume 3.pdf}{Volume 3.pdf}}{114}}

然而,在试图为目标人民抵抗力量制造高射线时,问题依然存在。 为了在某个特定网页上开放人民抵抗力量,需要采用以下格式(在超级参考书包中注明第2页第xx syntax号的表格上,需向登机的其他人推荐):

href{FILENAME#page.XX}{Link Text}

wihch means that a hash mark needs to be included in the output stream of the ewcommand when myindex is declared, possibly using an escaped hash mark # as:


ewcommand{myindexer}[3]
    {index{myindex}{#1 : #2.#3!href{doctitle.pdf#page.	hepage}}}

或根据一些碎块,我发现有些地方使用双面标记:


ewcommand{myindexer}[3]
    {index{myindex}{#1 : #2.#3!href{doctitle.pdf##page.	hepage}}}

前者在编篡列入索引的多份文件的晚期资料来源时产生以下错误:

! Illegal parameter number in definition of @gtempa.
<to be read again>
                   	hepage
l.31 myindex{IndexedItemA}{55}{iii}

虽然后者导致我的指数出现不必要的反弹。 id:

indexentry{IndexedItemA : 55.iii!href  {Volume 1.pdf#page.33}{Volume 1}}{33}

这导致目标“PDF”没有正确开张。

任何想法,如何强迫新通商以这种方式生产散射标志,以支持国防军的超链接?

问题回答

<代码>href,protect?

页: 1 a)

catcode`\%=6 catcode`#=12

然后用百分比标示参数:

ewcommand{myindexer}[3]
    {index{myindex}{%1 : %2.%3!href{doctitle.pdf#page.	hepage}}}

之后,恢复通常的目录编码:

catcode`\%=12 catcode`#=6

这是一种cl,但即使有些事情干扰了通常的 escaping机制,它也应该发挥作用,并且它允许在<条码>上删除<>href>/code>。





相关问题
How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Extract everything from PDF [closed]

Looking for solution to extract content from a PDF file (using console tool or a library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following ...

PDF compression How does Adobe do it?

This is a bit more of a fun question than a serious one, but how does the Adobe PDF format make documents so... portable? I just created a small Word document, 235kb in size, containing multiple ...

Exporting HTML Tables

How can I export an HTML table in my page as PDF and/or XLS? (preferably using JS (+jquery))

Using Java PDFBox library to write Russian PDF

I am using a Java library called PDFBox trying to write text to a PDF. It works perfect for English text, but when i tried to write Russian text inside the PDF the letters appeared so strange. It ...

HTML --> PDF with PHP [duplicate]

Possible Duplicate: Convert HTML + CSS to PDF with PHP? How can I convert an HTML page (via $cURL or something) to a PDF file?

Free way to convert PDF to XPS with C#

Are there any free tools that I can use to convert a PDF document into an XPS document? Although a nice programmatic API would be nice, I m not opposed to shelling out to a command line tool to do ...

PDF conversion service

I need to develop a service able to convert MS Office and Open Office documents to PDF. And the PDF`s also need to be commentable when opened in ADOBE Reader. I have used a piece of software from www....

热门标签