# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "html2pdfr" in publications use:' type: software license: LGPL-3.0-only title: 'html2pdfr: R Wrapper For Openhtmltopdf Java Library' version: 0.4.5 doi: 10.5281/zenodo.6576088 identifiers: - type: doi value: 10.32614/CRAN.package.html2pdfr abstract: HTML and CSS do a good job at automatically laying out and styling content particularly in tables, however it is not natively designed for pagination. This library converts HTML content into PDF and PNG formats for embedding into LaTeX documents, within the constraints of page sizes. It allows use of HTML table layout from HTML first libraries such as 'gt' and 'huxtable' within latex documents. It allows HTML content to grow in width up to the page dimensions, but preventing it from overflowing, and without forcing table layout to be wider than it would normally be. This heurisitic calculation of the output size up to fit within set limits is one of the differentiators between this and other HTML to PDF converters. Although the focus is on tables, any basic HTML content can be rendered, including simple SVG and MathML, up to the support of the underlying HTML rendering engine (https://github.com/danfickle/openhtmltopdf). authors: - family-names: Challen given-names: Rob email: rob.challen@bristol.ac.uk orcid: https://orcid.org/0000-0002-5504-7768 preferred-citation: type: manual title: 'html2pdfr: R Wrapper For Openhtmltopdf Java Library' authors: - family-names: Challen given-names: Rob email: rob.challen@bristol.ac.uk orcid: https://orcid.org/0000-0002-5504-7768 year: '2024' notes: 'R package version 0.4.5; Maven artifact: io.github.terminological:html2pdfr:0.4.5' url: https://terminological.github.io/html2pdfr/docs/index.html doi: 10.5281/zenodo.6576088 repository: https://terminological.r-universe.dev repository-code: https://github.com/terminological/html2pdfr commit: 65dcb2445ca2cbad0044a375014dcafcd6b94c6d url: https://terminological.github.io/html2pdfr/docs/index.html contact: - family-names: Challen given-names: Rob email: rob.challen@bristol.ac.uk orcid: https://orcid.org/0000-0002-5504-7768 references: - type: manual title: 'r6-generator: Code Generation Framework for using Java within R' authors: - family-names: Challen given-names: Rob email: rob.challen@bristol.ac.uk orcid: https://orcid.org/0000-0002-5504-7768 notes: 'Maven plugin artifact: io.github.terminological:r6-generator-maven-plugin:0.6.2-SNAPSHOT' year: '2022' url: https://github.com/terminological/r6-generator doi: 10.5281/zenodo.6644970