Open vindevoy opened 5 years ago
Hi Yves,
The current PDF exporter that we are using doesn't have the functionality to add page numbers to pages. However, we plan to improve the PDF export by using another implementation. When we do that we could add the possibility to add page numbers.
Thanks for the suggestion.
Hi,
Thank you for reviewing my request. I understand that you cannot add all the features straight away. But I'm looking forward to new features.
I one thing I could ask more, it would be that I would like to change the template used to create the PDF. I suppose this is some kind of CSS file. So I would like to change that CSS with my fonts, for example.
Thank you for your time and your product,
Yves
On 07.01.2019 09:30, Antonio Stoilkov wrote:
Hi Yves,
The current PDF exporter that we are using doesn't have the functionality to add page numbers to pages. However, we plan to improve the PDF export by using another implementation. When we do that we could add the possibility to add page numbers.
Thanks for the suggestion.
-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/careteditor/issues/issues/852#issuecomment-451857709 [2] https://github.com/notifications/unsubscribe-auth/AZe-yCanIpPW1iYb61gUJhRiNybSRzrLks5vAwWRgaJpZM4Zn0-T
If you understand CSS you can create your own CSS theme by going to View -> Preview Theme -> Add Theme
and there you can modify everything you want. However, you should know that we will be removing that feature in the next major release.
Hello, I’m interested with the feature. I create a document with images and headers and it’s impossible for the moment to manage how they will appear in pdf (end or debut of page). So I have to export the content into another editor to manage this. Too bad.
@Li-An With time we are moving away from controlling the presentation layer of the documents. We discovered that it's a very hard problem that needs more work than we have the capacity to handle.
Thanks for the answer. Too bad it’s so hard to manage.
Doing some research I found that a plugin of Visual Studio Code https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf#user-content-markdown-pdfpageranges uses a pagebreak to separate pages <div class="page"/>
. I don’t know if it is possible in Caret but it looks like an easy way to manage pdf presentation/pagination (well, I’m not coder :-)).
Sorry to flood this thread but I finally discovered that <div style="page-break-before: always;"></div>
will create a page break when exporting to pdf.
@Li-An You can achieve the same thing by writing +++
on an empty line.
@Li-An You can achieve the same thing by writing
+++
on an empty line.
Wow. I did not know the trick.
I discovered that Panwriter https://panwriter.com/ proposes a page preview through CSS (well, it does not seem to work :-)) and code like this
---
title: my document
style :
@page {
size: A4;
margin-top : 2cm;
}
---
I don’t know if it’s a possible solution for Caret but if I don’t ask, I will never know.
@Li-An No, we don't support such a configuration.
OK, thanks.
This is more a feature request:
Could you add a possibility to add page numbers when you export to PDF ?