tag:support.markedapp.com,2011-09-11:/discussions/problems/577-internalreference-links-dont-work-in-pdfMarked: Discussion 2016-08-11T03:36:40Ztag:support.markedapp.com,2011-09-11:Comment/215358922012-11-26T19:03:46Z2012-11-26T19:03:46ZInternal/Reference Links don't work in PDF <div><p>It's a limitation of the webkit print system. I've long been
looking for a way around it, but have nothing short of generating
documents entirely outside of webkit (Pandoc, wkpdf), but then I
can't maintain much of the formatting. It's a quandry.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/215358922012-11-28T19:59:50Z2012-11-28T19:59:51ZInternal/Reference Links don't work in PDF <div><p>Brett,</p>
<p>What would be the best, i.e., fastest and most accurate in terms
of preserving formatting, way of converting markdown/HTML to PDF?
Pandoc+Latex or something else?</p></div>Azattag:support.markedapp.com,2011-09-11:Comment/215358922012-11-28T20:02:19Z2012-11-28T20:02:19ZInternal/Reference Links don't work in PDF <div><p>Take a look at wkpdf and wkhtmltopdf. Combined with your
preferred Markdown processor, they can do a pretty decent job,
though I can't remember offhand if both deal with internal links
the way you need. If I find a better solution, I'll definitely post
it.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/215358922012-11-28T20:11:07Z2012-11-28T20:11:08ZInternal/Reference Links don't work in PDF <div><p>Maybe it's possible to include reference links in auto-generated
TOC which Marked app already does using page numbers in PDF,
e.g.,</p>
<p><code><A
HREF="http://www.example.com/myfile.pdf#page=4"></code></p>
<p>Would be nice to have this feature!</p></div>Azattag:support.markedapp.com,2011-09-11:Comment/215358922013-01-11T02:49:53Z2013-01-11T02:49:54ZInternal/Reference Links don't work in PDF <div><p>Same problem.</p>
<p>It wouldn't be an issue, except the "Save PDF" saves as a single
page. Which can get giant if it's a long document.</p>
<p>If that could be paginated, that would be swell.</p>
<p>P.S. OpenID login is busted on the support site. And I think the
captcha ate my comment the first time.</p></div>otto.hammersmithtag:support.markedapp.com,2011-09-11:Comment/215358922013-01-11T03:04:17Z2013-01-11T03:04:17ZInternal/Reference Links don't work in PDF <div><p>You can paginate by using Print -> Save as PDF. Internal
links don't work in <em>any</em> webkit pdf output at this point.
It's something I'm hoping Apple will fix in the near future.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/215358922013-04-09T02:37:14Z2013-04-09T02:37:15ZInternal/Reference Links don't work in PDF <div><p><strong>Has anyone any workaround to share to enable internal
linking?</strong></p>
<p>At the moment I'm resorting to inserting this in my css to make
the output not appear to be a link, but nothing more frustrating
that hovering and not being able to click in a pdf :)</p>
<p>@media print { /* print only styles. Keep it clean */ a { color:
black; } }</p></div>Ivan Wongtag:support.markedapp.com,2011-09-11:Comment/215358922013-04-09T02:43:27Z2013-04-09T02:43:27ZInternal/Reference Links don't work in PDF <div><p>Hi Ivan,</p>
<p>I solved the problem by moving the Markdown -> PDF conversion
away from Marked app to LeanPub platform. They use Latex and bunch
of other stuff.</p>
<p>Azat Mardanov<br>
azat.co (<a href="http://azat.co">http://azat.co</a>)</p></div>Azat Mardanovtag:support.markedapp.com,2011-09-11:Comment/215358922013-04-09T03:48:36Z2013-04-09T03:48:37ZInternal/Reference Links don't work in PDF <div><p>Hi Azat,</p>
<p>Thanks for the tip - am checking out their platform now and they
apparently use markdown (vs multimarkdown) so some marked features
don't seem to be available.</p>
<p>My markdown syntax for links also appears to be incorrect as it
is not being converted.</p>
<p>Could you please share your syntax for links and images in
LeanPub?</p>
<p>Thanks,<br>
Ivan</p></div>Ivan Wongtag:support.markedapp.com,2011-09-11:Comment/215358922013-04-09T04:13:33Z2013-04-09T04:13:33ZInternal/Reference Links don't work in PDF <div><p>Google for leanpub manual.</p></div>Azat Mardanovtag:support.markedapp.com,2011-09-11:Comment/215358922013-04-09T04:23:08Z2013-04-09T04:23:09ZInternal/Reference Links don't work in PDF <div><p>Oops should have RTFM first...</p>
<p>Thanks again.</p></div>Ivan Wong