newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
895 stars 143 forks source link

Better printing through avoiding page breaks #135

Open jscher2000 opened 3 years ago

jscher2000 commented 3 years ago

Saw the beautiful graphs here:

https://www.nytimes.com/interactive/2020/10/02/science/charting-a-coronavirus-infection.html

Supporting paged media might not be a goal of this project, but please consider adding something like the following so that the entire graphic stays together as a unit in printouts/PDFs:

.ai2html > .g-artboard {
  page-break-inside: avoid;
}

(I can't tell where this should go.)

archietse commented 3 years ago

Thanks for raising this. We didn't realize this was even an option.

On Sat, Oct 3, 2020 at 4:23 PM Jefferson Scher notifications@github.com wrote:

Saw the beautiful graphs here:

https://www.nytimes.com/interactive/2020/10/02/science/charting-a-coronavirus-infection.html

Supporting paged media might not be a goal of this project, but please consider adding something like the following so that the entire graphic stays together as a unit in printouts/PDFs:

.ai2html > .g-artboard { page-break-inside: avoid; }

(I can't tell where this should go.)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/newsdev/ai2html/issues/135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMZAWTEJTA5P7FODYNELULSI6B4PANCNFSM4SDHLKKA .