Bookmark skips section and only displays subsection












0















I've used such a command to generate bookmarks,



usepackage[colorlinks=true,citecolor=red,bookmarksopen,bookmarksdepth=2]{hyperref}



However, only subsections appear in the bookmarks. Did I miss something?



I'm using ascelike-new document class which is specifically for Journal of Enginnerging Mechanics. The MWE is provided herein,



documentclass[Journal,letterpaper]{ascelike-new}
usepackage[utf8]{inputenc}
usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref}
begin{document}
begin{equation}
section{Introduction}
subsection{Exp1}
subsection{Exp2}
section{Conclusions}
subsection{Exp3}
subsection{Exp4}
end{document}


Best,










share|improve this question

























  • That's no a MWE, it is far from being minimal. Remove all the irrelevant packages.

    – Ulrike Fischer
    Mar 11 at 9:10











  • @UlrikeFischer, I'm sorry for the inconvenience. Now I removed unnecessary packages.

    – Rilin Shen
    Mar 11 at 9:14











  • Well remove also the begin{equation} and then it will be perfect. But beside this: your example clearly shows that the class is at fault, it redefines section in a way that breaks hyperref, so complain to the author.

    – Ulrike Fischer
    Mar 11 at 9:18













  • Adding a link to the exact documentclass (and relevant files it possibly requires) should help us to have a look... (doesn't needed to add all this code... but at least a link to the official-er -:P- page that this documentclass can be found could make your example a "working example")

    – koleygr
    Mar 11 at 9:18











  • You have a begin{equation} but no end{equation} ...

    – Kurt
    Mar 11 at 9:56
















0















I've used such a command to generate bookmarks,



usepackage[colorlinks=true,citecolor=red,bookmarksopen,bookmarksdepth=2]{hyperref}



However, only subsections appear in the bookmarks. Did I miss something?



I'm using ascelike-new document class which is specifically for Journal of Enginnerging Mechanics. The MWE is provided herein,



documentclass[Journal,letterpaper]{ascelike-new}
usepackage[utf8]{inputenc}
usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref}
begin{document}
begin{equation}
section{Introduction}
subsection{Exp1}
subsection{Exp2}
section{Conclusions}
subsection{Exp3}
subsection{Exp4}
end{document}


Best,










share|improve this question

























  • That's no a MWE, it is far from being minimal. Remove all the irrelevant packages.

    – Ulrike Fischer
    Mar 11 at 9:10











  • @UlrikeFischer, I'm sorry for the inconvenience. Now I removed unnecessary packages.

    – Rilin Shen
    Mar 11 at 9:14











  • Well remove also the begin{equation} and then it will be perfect. But beside this: your example clearly shows that the class is at fault, it redefines section in a way that breaks hyperref, so complain to the author.

    – Ulrike Fischer
    Mar 11 at 9:18













  • Adding a link to the exact documentclass (and relevant files it possibly requires) should help us to have a look... (doesn't needed to add all this code... but at least a link to the official-er -:P- page that this documentclass can be found could make your example a "working example")

    – koleygr
    Mar 11 at 9:18











  • You have a begin{equation} but no end{equation} ...

    – Kurt
    Mar 11 at 9:56














0












0








0








I've used such a command to generate bookmarks,



usepackage[colorlinks=true,citecolor=red,bookmarksopen,bookmarksdepth=2]{hyperref}



However, only subsections appear in the bookmarks. Did I miss something?



I'm using ascelike-new document class which is specifically for Journal of Enginnerging Mechanics. The MWE is provided herein,



documentclass[Journal,letterpaper]{ascelike-new}
usepackage[utf8]{inputenc}
usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref}
begin{document}
begin{equation}
section{Introduction}
subsection{Exp1}
subsection{Exp2}
section{Conclusions}
subsection{Exp3}
subsection{Exp4}
end{document}


Best,










share|improve this question
















I've used such a command to generate bookmarks,



usepackage[colorlinks=true,citecolor=red,bookmarksopen,bookmarksdepth=2]{hyperref}



However, only subsections appear in the bookmarks. Did I miss something?



I'm using ascelike-new document class which is specifically for Journal of Enginnerging Mechanics. The MWE is provided herein,



documentclass[Journal,letterpaper]{ascelike-new}
usepackage[utf8]{inputenc}
usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref}
begin{document}
begin{equation}
section{Introduction}
subsection{Exp1}
subsection{Exp2}
section{Conclusions}
subsection{Exp3}
subsection{Exp4}
end{document}


Best,







sectioning bookmarks






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 11 at 9:13







Rilin Shen

















asked Mar 11 at 9:02









Rilin ShenRilin Shen

134




134













  • That's no a MWE, it is far from being minimal. Remove all the irrelevant packages.

    – Ulrike Fischer
    Mar 11 at 9:10











  • @UlrikeFischer, I'm sorry for the inconvenience. Now I removed unnecessary packages.

    – Rilin Shen
    Mar 11 at 9:14











  • Well remove also the begin{equation} and then it will be perfect. But beside this: your example clearly shows that the class is at fault, it redefines section in a way that breaks hyperref, so complain to the author.

    – Ulrike Fischer
    Mar 11 at 9:18













  • Adding a link to the exact documentclass (and relevant files it possibly requires) should help us to have a look... (doesn't needed to add all this code... but at least a link to the official-er -:P- page that this documentclass can be found could make your example a "working example")

    – koleygr
    Mar 11 at 9:18











  • You have a begin{equation} but no end{equation} ...

    – Kurt
    Mar 11 at 9:56



















  • That's no a MWE, it is far from being minimal. Remove all the irrelevant packages.

    – Ulrike Fischer
    Mar 11 at 9:10











  • @UlrikeFischer, I'm sorry for the inconvenience. Now I removed unnecessary packages.

    – Rilin Shen
    Mar 11 at 9:14











  • Well remove also the begin{equation} and then it will be perfect. But beside this: your example clearly shows that the class is at fault, it redefines section in a way that breaks hyperref, so complain to the author.

    – Ulrike Fischer
    Mar 11 at 9:18













  • Adding a link to the exact documentclass (and relevant files it possibly requires) should help us to have a look... (doesn't needed to add all this code... but at least a link to the official-er -:P- page that this documentclass can be found could make your example a "working example")

    – koleygr
    Mar 11 at 9:18











  • You have a begin{equation} but no end{equation} ...

    – Kurt
    Mar 11 at 9:56

















That's no a MWE, it is far from being minimal. Remove all the irrelevant packages.

– Ulrike Fischer
Mar 11 at 9:10





That's no a MWE, it is far from being minimal. Remove all the irrelevant packages.

– Ulrike Fischer
Mar 11 at 9:10













@UlrikeFischer, I'm sorry for the inconvenience. Now I removed unnecessary packages.

– Rilin Shen
Mar 11 at 9:14





@UlrikeFischer, I'm sorry for the inconvenience. Now I removed unnecessary packages.

– Rilin Shen
Mar 11 at 9:14













Well remove also the begin{equation} and then it will be perfect. But beside this: your example clearly shows that the class is at fault, it redefines section in a way that breaks hyperref, so complain to the author.

– Ulrike Fischer
Mar 11 at 9:18







Well remove also the begin{equation} and then it will be perfect. But beside this: your example clearly shows that the class is at fault, it redefines section in a way that breaks hyperref, so complain to the author.

– Ulrike Fischer
Mar 11 at 9:18















Adding a link to the exact documentclass (and relevant files it possibly requires) should help us to have a look... (doesn't needed to add all this code... but at least a link to the official-er -:P- page that this documentclass can be found could make your example a "working example")

– koleygr
Mar 11 at 9:18





Adding a link to the exact documentclass (and relevant files it possibly requires) should help us to have a look... (doesn't needed to add all this code... but at least a link to the official-er -:P- page that this documentclass can be found could make your example a "working example")

– koleygr
Mar 11 at 9:18













You have a begin{equation} but no end{equation} ...

– Kurt
Mar 11 at 9:56





You have a begin{equation} but no end{equation} ...

– Kurt
Mar 11 at 9:56










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478853%2fbookmark-skips-section-and-only-displays-subsection%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478853%2fbookmark-skips-section-and-only-displays-subsection%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?