yii2-apidoc icon indicating copy to clipboard operation
yii2-apidoc copied to clipboard

(PDF guide) On each even page content is slightly shifted to the right

Open arogachev opened this issue 3 years ago • 5 comments
trafficstars

What steps will reproduce the problem?

Download PDF guide or generate it.

What's expected?

The same indentation on each page.

What do you get instead?

Different indentation on odd and even pages.

Additional info

Q A
Yii version doesn't matter
Yii APIDoc version doesn't matter
PHP version doesn't matter
Operating system doesn't matter

Maybe this is by design? :thinking: Would like to know more details and history behind it. But overall it's acceptable and not a high priority right now.

arogachev avatar Dec 09 '21 11:12 arogachev

@cebe anything about the topic you can remember?

samdark avatar Dec 09 '21 13:12 samdark

You do this when you want to print PDF on both sides of the paper - then extra margin is on the same edge, which could be used to bind the pages together.

rob006 avatar Dec 09 '21 14:12 rob006

Cool. Wasn't aware of it. Thanks.

samdark avatar Dec 09 '21 16:12 samdark

@rob006 Hi. Thanks for shedding light on this. What about odd pages though? Do they also have according margin?

Also I'm pretty sure that majority of people use it without printing. So maybe it's nice to have option for disabling this behavior.

arogachev avatar Dec 10 '21 07:12 arogachev

I've actually seen the guide printed in a few companies already.

We could provide different versions (online and print) but it does not seem very relevant to me.

cebe avatar Apr 21 '22 15:04 cebe

@cebe Got i, good to know. Closing then.

arogachev avatar Sep 13 '22 10:09 arogachev