Executing
Code:
echo "# This is a test" > test.md
ebook-convert test.md test.pdf --custom-size 4.724x7.48 --pdf-odd-even-offset 10
--pdf-add-toc --level1-toc //h:h1
results in a test.pdf having a width of 4.54.
Code:
ebook-convert test.md test.pdf --custom-size 4.724x7.48 --pdf-odd-even-offset 0
--pdf-add-toc --level1-toc //h:h1
or
Code:
ebook-convert test.md test.pdf --custom-size 4.724x7.48 --pdf-odd-even-offset 10
results in a with of 4.71.
Not exact though, but very much closer to the specified width.
1. First is a bug I guess.
2. Question: Why can't it be exact? (I need this to upload a book to bod.de)