Hey all,
I'm running prince 10 and using the following HTML:
w/CSS:
and running:
The generated PDF does not have PDF links from the anchors to the headings. Any idea what I'm doing wrong?
I'm running prince 10 and using the following HTML:
<body>
<div class='page-break'>
<a href='#hello'>to Hello</a>
<a href='#again'>to Again</a>
</div>
<div class='page-break'>
<h1 id='hello'>Hello</h1>
</div>
<div class='page-break'>
<h1 id='again'>Again</h1>
</div>
</body>
w/CSS:
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic);
body {
font-family: "Source Sans Pro", sans-serif;
font-size: 12pt; }
img {
content: attr("src", url); }
br {
content: '\A';
white-space: pre;
background: none; }
h1 {
display: block;
text-align: center;
font-size: 24pt;
font-weight: 900; }
a {
display: block; }
.page-break {
display: block;
page-break-after: always; }
/*# sourceMappingURL=test.css.map */
and running:
prince --debug -s test.css test.xml -o test.pdf
The generated PDF does not have PDF links from the anchors to the headings. Any idea what I'm doing wrong?
Edited by abhik