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
Thank you very much for developing a useful script.
I am trying to use this script, but unfortunately, it does not work well.
It seems that the directories are not generated properly.
$ ./pdf2pptx.sh test.pdf
Doing test.pdf
Extraction succ!
cp: cannot stat '/home/???/tmp/template': No such file or directory
mkdir: cannot create directory 'test.pdf.pptx.base/ppt/media': No such file or directory
cp: target 'test.pdf.pptx.base/ppt/media/' is not a directory
./pdf2pptx.sh: line 99: pushd: test.pdf.pptx.base/ppt/media/: No such file or directory
Processing 3
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-3.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 2
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-2.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 1
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-1.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 0
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-0.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
./pdf2pptx.sh: line 112: popd: directory stack empty
./pdf2pptx.sh: line 114: pushd: test.pdf.pptx.base: No such file or directory
./pdf2pptx.sh: line 117: popd: directory stack empty
The text was updated successfully, but these errors were encountered:
I got the same problem; by reading the first error, you can see that you need to have the repo Template directory to process the output. So, just put the directory next to your Tex presentation, and it should work.
Thank you very much for developing a useful script.
I am trying to use this script, but unfortunately, it does not work well.
It seems that the directories are not generated properly.
$ ./pdf2pptx.sh test.pdf
Doing test.pdf
Extraction succ!
cp: cannot stat '/home/???/tmp/template': No such file or directory
mkdir: cannot create directory 'test.pdf.pptx.base/ppt/media': No such file or directory
cp: target 'test.pdf.pptx.base/ppt/media/' is not a directory
./pdf2pptx.sh: line 99: pushd: test.pdf.pptx.base/ppt/media/: No such file or directory
Processing 3
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-3.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 2
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-2.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 1
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-1.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 0
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-0.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
./pdf2pptx.sh: line 112: popd: directory stack empty
./pdf2pptx.sh: line 114: pushd: test.pdf.pptx.base: No such file or directory
./pdf2pptx.sh: line 117: popd: directory stack empty
The text was updated successfully, but these errors were encountered: