Here is an upgrade to my previous poor man's solution that will be of use if one only wants to process images in the original pdf, what will be the case if it contains a scanned document.
Instead of using pdftk to get the pages and then converting them to png, pdfimages should be used to get the ...
Search found 20 matches
- Thu Dec 08, 2022 2:37 pm
- Forum: Conversion Tools
- Topic: How to convert from a 2nup pdf to a single page one
- Replies: 2
- Views: 29174
- Thu Dec 08, 2022 1:47 pm
- Forum: Conversion Tools
- Topic: How to convert from a 2nup pdf to a single page one
- Replies: 2
- Views: 29174
How to convert from a 2nup pdf to a single page one
It seems the problem I am dealing with has no known solution, so I offer a poor man's one:
- use pdftk, or any similar tool to create a pdf file for each page in the original document
mkdir temp ; cd temp
pdftk burst ../original.pdf
- for each page in pg001.pdf .... convert from pdf to png ...
- use pdftk, or any similar tool to create a pdf file for each page in the original document
mkdir temp ; cd temp
pdftk burst ../original.pdf
- for each page in pg001.pdf .... convert from pdf to png ...
- Wed Dec 07, 2022 8:51 pm
- Forum: Graphics, Figures & Tables
- Topic: Smaller font /Overfull hbox
- Replies: 2
- Views: 2129
Smaller font /Overfull hbox
Hello,
Have a look at "The node text", "Text parameters: font" in the PGF manual. In the version I have this begins in page 233.
In situations as you describe I used, for instance, "\font=\scriptsize".
Hope this helps!
Have a look at "The node text", "Text parameters: font" in the PGF manual. In the version I have this begins in page 233.
In situations as you describe I used, for instance, "\font=\scriptsize".
Hope this helps!
- Wed Dec 07, 2022 12:53 pm
- Forum: Conversion Tools
- Topic: How to convert from a 2nup pdf to a single page one
- Replies: 2
- Views: 29174
How to convert from a 2nup pdf to a single page one
Hello,
I have a pdf file with 2 nup sub-pages per landscape page and I need to convert this to an upright document whose pages are the sub-pages. I tried to use pstops but I could not make out how to do this. I can also use the other psutils, poppler, pdfjam, pdftk and Texlive, And of course I can ...
I have a pdf file with 2 nup sub-pages per landscape page and I need to convert this to an upright document whose pages are the sub-pages. I tried to use pstops but I could not make out how to do this. I can also use the other psutils, poppler, pdfjam, pdftk and Texlive, And of course I can ...
- Tue Apr 21, 2020 12:44 pm
- Forum: General
- Topic: Testing in a document if a package is available
- Replies: 2
- Views: 5847
Testing in a document if a package is available
Thanks a lot for your reply! This is the kind of stuff I rarely use...
- Tue Apr 21, 2020 12:41 pm
- Forum: Theses, Books, Title pages
- Topic: How to display both Summary and Table of contents in the same document?
- Replies: 5
- Views: 15394
How to display both Summary and Table of contents in the same document?
The table of contents is inserted in your document by the \tableofcontents command. So, you just have to change its position in your source.
If you cannot find it there, it must be in a style file you are using, and in that case you have two alternatives: either you can edit that style file to ...
If you cannot find it there, it must be in a style file you are using, and in that case you have two alternatives: either you can edit that style file to ...
- Tue Apr 21, 2020 12:17 pm
- Forum: General
- Topic: Testing in a document if a package is available
- Replies: 2
- Views: 5847
Testing in a document if a package is available
Hello,
In a LaTeX document I am preparing I need to know whether a certain package is installed in order either to use it, or use some other alternative without getting an error. I would preferably make some kind of test that would also allow setting a toggle for later use. But I could not find out ...
In a LaTeX document I am preparing I need to know whether a certain package is installed in order either to use it, or use some other alternative without getting an error. I would preferably make some kind of test that would also allow setting a toggle for later use. But I could not find out ...
- Tue Nov 06, 2018 2:25 pm
- Forum: TeX Live and MacTeX
- Topic: Linux - remove XTerm without breaking the whole texlive-full package
- Replies: 1
- Views: 6979
Linux - remove XTerm without breaking the whole texlive-full package
Hi,
Yes, the prerex and vprerex packages are part of Tikz that is required by texlive and it is prerex that depends on xterm.
You could solve your problem by building your own meta-package as explained for instance here https://askubuntu.com/questions/33413/ , by finding the dependencies of texlive ...
Yes, the prerex and vprerex packages are part of Tikz that is required by texlive and it is prerex that depends on xterm.
You could solve your problem by building your own meta-package as explained for instance here https://askubuntu.com/questions/33413/ , by finding the dependencies of texlive ...
- Wed Oct 31, 2018 3:45 pm
- Forum: Graphics, Figures & Tables
- Topic: tikz mindmap, defining environments or commands
- Replies: 0
- Views: 2234
tikz mindmap, defining environments or commands
Hello,
I'm starting using tikz for drawing a lot of mindmaps and I need environments or commands to simplify the task. So I
defined an environment for a mindmap like this:
\newenvironment{tree}[2]{
\begin{center}
\tikz \draw (0,-10) node [anchor=east,fill=orange!20] {some title};
\tikz[mindmap ...
I'm starting using tikz for drawing a lot of mindmaps and I need environments or commands to simplify the task. So I
defined an environment for a mindmap like this:
\newenvironment{tree}[2]{
\begin{center}
\tikz \draw (0,-10) node [anchor=east,fill=orange!20] {some title};
\tikz[mindmap ...
- Thu Apr 06, 2017 2:42 pm
- Forum: General
- Topic: Issues when using \put in a command definition
- Replies: 5
- Views: 4044
Issues when using \put in a command definition
I have found the problem: the macros created by the listofitems package to index list elements cannot be directly used as arguments to the \addlink command in the MWE. Instead of them its \itemtomacro command must be used to obtain fully expandable macros for the elements.
\newcommand{\addlist}[1 ...
\newcommand{\addlist}[1 ...