jsonresume-theme-kendall icon indicating copy to clipboard operation
jsonresume-theme-kendall copied to clipboard

`export` and `serve` create different looking outputs

Open gregdan3 opened this issue 4 years ago • 3 comments

See the issue here.

make init to set up, then make build and check the PDF. It outputs the one column version of this resume theme, but make serve produces the two column version of this theme (unless your window is very narrow).

Is there a way to control this behavior? I would prefer to have two column pdf.

gregdan3 avatar Sep 08 '21 15:09 gregdan3

Could you please attach PDF produced by resume-cli and the PDF made by your browser from served version, so it would be clear what the difference is?

paskal avatar Sep 16 '21 17:09 paskal

My bad:

Print to pdf nukes the colors in the html built resume, but the formatting is the same. It uses the two column format, but rendering to a pdf produces a one column output.

Here's the source html (which github forced me to upload as a txt): gregdan3-resume.txt

gregdan3 avatar Sep 16 '21 18:09 gregdan3

html_built_resume is the version author intended to have printed and exported as a PDF as far as I know. pdf_built versions definitely look strange, I hope the author will help you make it work properly.

In the meantime, you can use something like this to print the same pdf as html_built_resume.pdf you attached:

version: '2'
services:
    build-pdf:
        image: pink33n/html-to-pdf
        command: --url https://terrty.net/cv/verhoturov.html --pdf verhoturov.pdf --scale 1.0
        privileged: true
        volumes:
            - ./:/workspace

Scale can be adjusted to make it into the number of pages you desire to have.

paskal avatar Sep 16 '21 18:09 paskal