405 reputation
318
bio website
location
age
visits member for 3 years
seen yesterday

1d
comment Help for a complicated macro: breaking pages at custom places and itemize environment
OK, yes it seems to work. Do you have a guess why @Heiko (who wrote this macro) put this command (\vspace*{\dimexpr0.000cm-\topskip plus 1fill})?
1d
comment Help for a complicated macro: breaking pages at custom places and itemize environment
I have edited the question to explain the goal of the macro.
1d
revised Help for a complicated macro: breaking pages at custom places and itemize environment
added 741 characters in body
1d
comment Help for a complicated macro: breaking pages at custom places and itemize environment
I want to to generate a PDF document from a LaTeX document with the following constraints: 1) the first page should have a given height (for instance, 2cm less than normal) 2) the other pages have all the same height 3) the last page has the same height as its content (it is "cut" after the end of the content)
1d
comment Help for a complicated macro: breaking pages at custom places and itemize environment
The line \vspace*{\dimexpr0.000cm-\topskip plus 1fill} is very important because in other situations, I want to specify instead: \vspace*{\dimexpr2.000cm-\topskip plus 1fill}. The goal is to say: the height of the first page should be 2cm less that normal.
1d
comment Help for a complicated macro: breaking pages at custom places and itemize environment
OK, thanks! Do you see, apart from that, why the macro is behaving like that with itemize environments... This macro is really complicated!
1d
comment Help for a complicated macro: breaking pages at custom places and itemize environment
These commands were intended for having no top and bottom margin BUT, if two such pages are next one to another, the baselines are aligned.
1d
asked Help for a complicated macro: breaking pages at custom places and itemize environment
2d
comment How to have a precise control on the size of each page?
OK I really understand. Thanks for your help, again. If by any chance, you see the beginning of a solution for this last problem, I am very interested !
Oct
21
comment How to have a precise control on the size of each page?
Hi @Heiko! I am really sorry to keep finding nasty situations where there are problems... Nonetheless, this new non-working situation is not far-fetched! There is a problem when dealing with itemize environments. Could you cast your eye on it (see the edit in the question)? Thanks ! As soon as I will be able to deliver a bounty (and for this question, it has to be huge, since it will be the third or forth one), it will be for you!
Oct
21
revised How to have a precise control on the size of each page?
added 4856 characters in body
Oct
14
comment How to log the value of a variable?
How does one launch the interactive mode?
Oct
14
comment How to log the value of a variable?
OK, thanks. It prints -0.00002pt plus 1.0fill. My problem is that it fills to much space I think.
Oct
14
comment How to log the value of a variable?
I tried \typeout{\glueexpr 0pt plus 1fill - \topskip\relax} but it prints [...]*geometry* detected driver: pdftex \glueexpr 0pt plus 1fill - \topskip \relax [1{/usr/local/texlive/2013/texmf-var/fonts/map/pdftex/updmap/pdftex.map}][...]. I bother because this code does not what it is supposed to do in some situations.
Oct
14
comment How to log the value of a variable?
It seems that you corrected my code but did not answer my question... Can I "log" (in a way or in another) the value passed to vspace? Thanks!
Oct
13
comment How to log the value of a variable?
OK, thanks. This goes far beyond my knowledge.
Oct
13
comment How to have a precise control on the size of each page?
OK, thanks anyway ;-)
Oct
13
comment How to explicitly set the color to transparent/nothing in the options of mdframed?
See my update for a legal solution.
Oct
13
revised How to explicitly set the color to transparent/nothing in the options of mdframed?
added 590 characters in body
Oct
13
comment How to have a precise control on the size of each page?
In some situations, the line \vspace*{\dimexpr5cm-\topskip plus 1fill}% first page should not be larger than 15cm seems to create problems. More precisely, when I have a box, then a itemize environment... I am investigating!