You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, this tool is awesome! I am starting to like Google Docs as it facilitates collaboration, but I hate that Google Docs doesn't translate the TOC when saving it as a PDF, and making the doc --> docx --> pdf messes with the format.
Anyway: I would like to automatically save the output file (with the TOC) as the original file. That is, I do not want to have two files (keeping the original without the TOC).
I tried: pdftocio -o original.pdf original.pdf < toc
but I get an error: save to original must be incremental
Is there an easy way to automatically saved the TOC in the original file? Thanks!
The text was updated successfully, but these errors were encountered:
I think this is a general "problem" with command-line utilities, they don't allow redirecting output to the same file used as input. Although it may seem obvious, the easiest thing to do is just do something like this: pdftocio original.pdf < toc; mv original_out.pdf original.pdf
First, this tool is awesome! I am starting to like Google Docs as it facilitates collaboration, but I hate that Google Docs doesn't translate the TOC when saving it as a PDF, and making the doc --> docx --> pdf messes with the format.
Anyway: I would like to automatically save the output file (with the TOC) as the original file. That is, I do not want to have two files (keeping the original without the TOC).
I tried:
pdftocio -o original.pdf original.pdf < toc
but I get an error:
save to original must be incremental
Is there an easy way to automatically saved the TOC in the original file? Thanks!
The text was updated successfully, but these errors were encountered: