:::
OOo使用者討論區

关于writer自动生成目录的两个问题

discuss pic 2005-12-27 11:12:30
关于自动生成的目录,如果按照目录二字如果按照内容目录的样式,那么在标题里就不会出现,必须要生成,而后再改成标题一的样式,而标题一的居中居然和页眉做了两个空格,不得不重新移动,可是在标题里显示的就变成两个空格后再跟着目录二字,很不美观。

目录如果要加上链接,填充符就会消失,奇怪的是undo之后再做同样的操作,就又可以了。而且如果都将它们链接到标题中的内容,那么只有摘要,目录和每个大的章节可以前进到正确的文中位置,节和小节目录都只能在目录内作些许的位移。

郁闷之极,不知哪位大大有解决之策
1129897859
discuss pic 2005-12-28 22:43:21
Ehm... I am not 100% sure if I understood your problem, the text is a bit confusing. Forgive me if I misunderstood, perhaps you could explain your problem once more.

An index (目錄) is a collection of headings (標題). At least the "standard" index is made this way. That means, you have to format your text correctly, or OO can not help you create the index.

If your text is larger, it will have more headings. Some of those headings are more important, some less. In Chinese, people sometimes speak of 大標題 and 小標題. However, in OO, these are the names for two different styles: Title and Subtitle, which are special, not "regular" headings.

So we have heading 1, heading 2 etc. Heading 1 is for the most important headings, heading 2 for the next level of headings, heading 3 for the next...

OO will use an indent in the index, so you can easily see the "importance" of a heading. The more a heading is set to the right in the index, the "less important" it is.

So, please format your documents that way first. Next, you will find that OO is using paragraph styles also for the index. In the English version, they are called "Content 1, 2..." and "Content Heading". Modify them, if you want different fonts, distances etc.

And of course you can also choose your own index title before you insert the index. So, basically, you can do everything you could need.

If you want to check, I have two files I am using for my classes. They look the same, but one is correctly formatted, the other more "classic":

Correct formatting
Bad formatting
--
"I am at a rough estimate, thirty billion times more intelligent than you. Let me give you an example. Think of a number, any number."
"Er, five."
"Wrong! You see?"

Douglas Adams, "Life, the Universe and Everything"
discuss pic 2005-12-29 11:15:36
问题不在于文章格式,前面已说过,当目录正确生成之后,标题里不会显示出目录,而这个是必要的,因为OOo只会根据标题一、二、三来生成标题,目录自然是不在其中,如果将目录改成标题一,又不能正常居中,如果加以空格使他居中,那么标题中的显示就变成“ 目录”

还有默认的目录是没有链接的,如果目录的每一行链接到相关标题,那么只有章是正常的,也就是只有标题一可以正常链接,标题二三的动作都只是向下移动几行,不知为何

所用系统xp+OOo2.01.rc5
1129897859
discuss pic 2006-01-02 10:56:59
I only respond to the first problem, since I have not yet started to use 2.0 seriously, so I am not familiar with the links it produces in PDF documents.

However, I do not really understand your first problem, which is why I tried to clarify some terminology.

參照:
标题里不会显示出目录
owen 寫道:

You see, it is exactly the other way around: Headings will show up in the index, but the index can never show up in headings.

參照:
如果将目录改成标题一,又不能正常居中
owen 寫道:

This does not make sense. The index is using its own set of styles, named "content" in English.

Now imagine, if the index would be using the same paragraph styles as headings, you would start to insert an index and it would index itself - again and again and again.

An index only contains a collection of headings used in a document. It does not index itself.

If I misunderstood you again, sorry. Maybe you could explain once more. However, I think you are trying to do something not quite possible.
--
"I am at a rough estimate, thirty billion times more intelligent than you. Let me give you an example. Think of a number, any number."
"Er, five."
"Wrong! You see?"

Douglas Adams, "Life, the Universe and Everything"
discuss pic 2006-01-06 23:44:39
我想你一定不理解我的意思,如果我从ooo里的标题导航,我一定希望我可以看到这样的情况
摘要
目录
第一章 绪论
……

而不是这样的
摘要
第一章 绪论
……

目录占了页面,就应该导航页中显示出来

在目录也同样是这样
摘要………………………………I
目录……………………………III
第一章 绪论……………………1
第二章……
……

在OOo里生成目录则是这样的
摘要………………………………I
第一章 绪论……………………1
第二章……
……
1129897859
discuss pic 2006-01-11 15:45:02
參照:

owen 寫道:
我想你一定不理解我的意思

Yes, that could very well be, sorry. But let's try once more.

I am not sure if your problem is with the Navigator (F5) or with the way OO creates an index. In the navigator, you will not see the index under headings, because the index collects all headings, but is not a heading itself. You see, you insert an index, it is regarded as an object.

That is why you will find your index under "index" in the navigator, but not under "headings".

And this I may have misunderstood again, but: An index can also not index itself. The paragraph style for an index is "content", not "heading". But the entries in the index are collected from all paragraphs formatted with "heading" styles.

I hope this time I got your problem right...
--
"I am at a rough estimate, thirty billion times more intelligent than you. Let me give you an example. Think of a number, any number."
"Er, five."
"Wrong! You see?"

Douglas Adams, "Life, the Universe and Everything"
:::

快速登入

線上書籍列表

誰在線上

14人線上 (12人在瀏覽互動討論區)

會員: 0
訪客: 14

更多…