تالار گفتگوی پارسی‌لاتک

لاتک LATEX => حروف‌چینی مستندات => نويسنده: Baktash در اوت 19, 2012, 02:15:14 pm

عنوان: نمایش عنوان و فهرست در bookmark ها
رسال شده توسط: Baktash در اوت 19, 2012, 02:15:14 pm
با سلام،
هنگام استفاده از بسته hyperref عنوان متن و فهرست متن در bookmark های نهایی وجود ندارند. چطور میشه کاری کرد که عنوان و فهرست هم در bookmark ها باشند؟
ممنون از هر کمکی.
عنوان: پاسخ : نمایش عنوان و فهرست در bookmark ها
رسال شده توسط: هادی صفی‌اقدم در اوت 19, 2012, 02:16:51 pm
راهنمای بسته‌ی Hyperref در این مورد توضیح داده.
‪\pdfbookmark[level]{text}{name}‬

در راهنما آمده:
Setting bookmarks
Usually hyperref automatically adds bookmarks for \section and similar macros. But they can
also set manually.
\pdfbookmark[level]{text}{name}
creates a bookmark with the specified text and at the given level (default is 0). As name for
the internal anchor name is used (in conjunction with level). Therefore the name must be unique
(similar to \label).
4 ADDITIONAL USER MACROS 19
\currentpdfbookmark{text}{name}
creates a bookmark at the current level.
\subpdfbookmark{text}{name}
creates a bookmark one step down in the bookmark hierarchy. Internally the current level is
increased by one.
\belowpdfbookmark{text}{name}
creates a bookmark below the current bookmark level. However after the command the current
bookmark level has not changed.
Hint: Package bookmark replaces hyperref’s bookmark organization by a new algorithm:
• Usually only one LATEX run is needed.
• More control over the bookmark appearance (color, font).
• Different bookmark actions are supported (external file links, URLs, …).
Therefore I recommend using this package.
عنوان: پاسخ : نمایش عنوان و فهرست در bookmark ها
رسال شده توسط: Baktash در اوت 19, 2012, 02:52:12 pm
ممنون، مشکل حل شد! آیا لینک راهنما رو دارید؟؟
عنوان: پاسخ : نمایش عنوان و فهرست در bookmark ها
رسال شده توسط: هادی صفی‌اقدم در اوت 19, 2012, 05:35:01 pm
در Command Prompt بزنید، texdoc hyperref
یا توی گوگل بزنید: latex hyperref package