Re: how to load hyperref before titlesec to avoid off-sync links?

2016-11-09 Thread Joel Kulesza
On Wed, Nov 9, 2016 at 10:04 AM, Scott Kostyshak wrote: > It seems there are many cases with hyperref. If this is confirmed by > others, I wonder if a checkbox in the PDF tab of "load hyperref at end > of preamble" would solve many cases. It might be better to come up with > a

Re: how to load hyperref before titlesec to avoid off-sync links?

2016-11-09 Thread Scott Kostyshak
On Wed, Nov 09, 2016 at 05:33:14PM +0100, Liviu Andronic wrote: > Do we document this (i.e. explicitly controlling the order of loaded > packages) somewhere? I've quickly searched the docs before firing the > email, but couldn't find something (I checked User's Guide B.21 and > 6.10.2). I don't

Re: how to load hyperref before titlesec to avoid off-sync links?

2016-11-09 Thread Liviu Andronic
On Wed, Nov 9, 2016 at 3:47 PM, Scott Kostyshak wrote: > On Wed, Nov 09, 2016 at 12:26:18PM +0100, Liviu Andronic wrote: > >> > The >> > solution it seems is to make sure that hyperref is loaded before >> > titlesec, but I'm at a loss as to how to achieve this. > > Do you mean

Re: how to load hyperref before titlesec to avoid off-sync links?

2016-11-09 Thread Scott Kostyshak
On Wed, Nov 09, 2016 at 12:26:18PM +0100, Liviu Andronic wrote: > > The > > solution it seems is to make sure that hyperref is loaded before > > titlesec, but I'm at a loss as to how to achieve this. Do you mean load hyperref *after* titlesec? In local layout, put Provides hyperref Then

Re: how to load hyperref before titlesec to avoid off-sync links?

2016-11-09 Thread Liviu Andronic
And of course a typo: *how to load titlesec before hyperref to avoid off-sync links? On Wed, Nov 9, 2016 at 12:22 PM, Liviu Andronic wrote: > Dear all, > In a document I want to start new page with each section, and follow > this recipe for that: >

how to load hyperref before titlesec to avoid off-sync links?

2016-11-09 Thread Liviu Andronic
Dear all, In a document I want to start new page with each section, and follow this recipe for that: http://tex.stackexchange.com/questions/9497/start-new-page-with-each-section/9505?noredirect=1#comment829734_9505 \usepackage{titlesec} \newcommand{\sectionbreak}{\clearpage} The problem arises