pdf-generation
Here are 803 public repositories matching this topic...
Typo in docs
var pgsql = require('pdf-bot/src/db/pgsql')
module.exports = {
api: {
token: 'api-token'
},
db: pgsql({
database: 'pdfbot',
username: 'pdfbot',
password: 'pdfbot',
port: 5432
}),
webhook: {
secret: '1234',
url: 'http://localhost:3000/webhooks/pdf'
}
}
Can you change pls "username" to "user" cause it's the the correct option ther
Hi, I am trying to add a reference list at the end of the document and cite them in the main text. I have a bib file named "biblio.bib" which has the following content and put into the src folder of the project:
@inproceedings{wrigstad2017mastery,
Author = {Wrigstad, Tobias and Castegren, Elias},
Booktitle = {SPLASH-E},
Title = {Mastery Learning-L
It took me ages to work out how to get JSON to work on the command line. A quick example in the documentation would be useful. Example:
markdown-pdf --remarkable-options '{"preset":"full"}' myfile.md
Redesign home page
The home page is kind of boring. I am not that good with design so if anyone would be able to help out with this it would be appreciated!
Current home page:
-
Updated
Jun 24, 2020 - Java
-
Updated
Jan 5, 2019 - JavaScript
var element = document.getElementById('printParent');
var opt = {
html2canvas: { width: 432, height: 1056, windowWidth: 432, windowHeight: 1056 },
pagebreak: { after: '.printPageParent' }
};
var worker = html2pdf().set(opt).from(element).save();
Hi,
In our app, we create new documents, and edit existing ones.
The documents we are manipulating are not encrypted, however I need to encrypt the new and edited documents I create.
Is that possible in pdf-lib?
I know this option exists in other libraries.
Thanks, and very nice work!
-
Updated
Jun 18, 2020 - PHP
Hi guys,
I have a big problem finding the full documentation of this library.
Where can i find the documentation of all api's that i can use?
Many thanks
The title says it all, I think. They used to be aligned in previous versions.
Currently the colorspace handling only supports DeviceGray and DeviceRGB and the handling is simplistic only looping through the images in XObject and compressing all of those. If any image was never used in the contentstream it would still not be removed for example.
Also this means that inline images are not handled.
The handling should be made more generic and use the ContentStreamProc
documentation
Hi,
Is there a tutorial or Java doc I can use to see how to convert HTML to PDF using openpdftohtml.
I have a simple html -
Below is the error I got. I used PdfRenderBuilder as shown in the example -
com.openhtmltopdf.load INFO:: SAX XMLReader in use (parser): com.sun.org.apache.xerces.internal.parsers.SAXParser
com.openhtmlto
I wanted the ttf fonts of Source Han Serif. So I submit an issue on the repo.
The maintainer replied to the issue and recommend a tool, the otf2ttf tool from the AFDKO.
Then I tested the tool. I think it is a better and simpler tool than FontForge. I recommend adding a document about the tools.
The reply is: <adobe-fonts/source-han-serif#82 (comment)
-
Updated
Jun 25, 2020 - Ruby
Currently, there are 2 VM instruction definition files in this repository:
- src/frontend/bytecomp/vminstdef.yaml
- tools/gencode/vminst.ml
This may confuse contributors who wants to add new primitives. According to the Makefile, the latter is generated by the former. So, I think it should be removed from this repository. I also think the name "vminstdef" should be like "primitivedef" because
-
Updated
Jul 1, 2020 - Java
-
Updated
Jun 28, 2020 - Ruby
None of the completion triggers worked for my react app. I checked puppeteer's waitUntil: "networkidle0" and that worked for me. https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagegotourl-options
I'm trying to stick some information to the bottom of the page, e.g. a (variable sized) table with some items and a small summary with the sum of their values after the table, but in the bottom of the page the table ends.
I couldn't find anything about this through the documentation, is it possible? is there any workaround?
-
Updated
Jul 1, 2020 - Pascal
-
Updated
Jul 1, 2020 - C#
Hi,
I'm considering using this gem and will give it a shot when I have some time, but I am not sure whether it suits my needs, as the documentation is overly simplistic.
I need to overlay a smaller PDF over a larger PDF, in a specific location. Is this possible? The samples simply "overlay" a PDF on top of another and that's it.
I suppose a workaround that might work is to ensure the "overlay"
-
Updated
Jun 6, 2020 - JavaScript
-
Updated
May 11, 2020 - PHP
-
Updated
May 4, 2020 - Go
html file code like:
<body>
<header class="clearfix">
<div id="logo">
<img src="logo.png">
</div>
...
</body>html file and logo.png directory at /Users/xushike/go/src/my_project/example, i have set
page.Allow.Set("/Users/xushike/go/src/my_project/example")
...
pdfg.WriteFile("/Users/xushike/go/src/my_project/example/output.pdf")
a
-
Updated
Jun 20, 2020 - Go
I have the following rst files:
index.rst
Test Documentation!
===================
This is some test documentation
.. toctree::
:maxdepth: 2
another_page
one_more
another_page.rst
Another Page for Test Doc
==========================
This is another page for the test documentation.
Reference to :doc:`one_more`
Section A
---------
Some section
Improve this page
Add a description, image, and links to the pdf-generation topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pdf-generation topic, visit your repo's landing page and select "manage topics."

Dompdf is a nice library but for the newcomer, he can come across the dreaded "headers already sent". This can be solved using ob_start() and ob_clean() to keep the output buffer clean while rendering and streaming the pdf to the user. This can save devs from several hours of headache with a simple instruction in the docs. It should be like that: