Re: [XeTeX] strange difference
Hi Apostolos, it may feel like a bug in this situation, but it is not, for the single reason that includegraphics cannot look inside the picture and decide which part of the picture is irrelevant. If you add a picture of some width and height, TeX makes sure it is completely inserted. If you turn it by an angle, TeX makes sure the whole of the picture is included and no corners are cut off. If TeX did otherwise, I would consider that a bug. Regards, Julius
Re: [XeTeX] strange difference
>it may feel like a bug in this situation, but it is not, for the single>reason >that includegraphics cannot look inside the picture and decide >which part of the picture is irrelevant. If you add a picture of some >width and height, TeX makes sure it is completely inserted. If you turn >it by an angle, TeX makes sure the whole of the picture is included and >no corners are cut off. If TeX did otherwise, I would consider that a bug. Hi Julius, In different words: When I place an image in the middle of an A4 page,the final PDF will be a A4 page but if turn the same image, the final PDF will not fit inside an A4 page, right? The attached images aregenerated from XeLaTeX sources that do not rely on the standalonedocument class. Regards, Apostolos --Apostolos Syropoulos Xanthi, Greece
Re: [XeTeX] strange difference
st 1. 6. 2022 v 19:40 odesílatel Apostolos Syropoulos via XeTeX napsal: > > >it may feel like a bug in this situation, but it is not, for the single > >reason that includegraphics cannot look inside the picture and decide > >which part of the picture is irrelevant. If you add a picture of some > >width and height, TeX makes sure it is completely inserted. If you turn > >it by an angle, TeX makes sure the whole of the picture is included and > >no corners are cut off. If TeX did otherwise, I would consider that a bug. > > Hi Julius, > > In different words: When I place an image in the middle of an A4 page, > the final PDF will be a A4 page but if turn the same image, the final > PDF will not fit inside an A4 page, right? The attached images are > generated from XeLaTeX sources that do not rely on the standalone > document class. > Hi, as Julius wrote, an imaga is a rectangle, thus the area needed for the rotated image can be calculated by a simple geometry. If you know that the corners do not contain anything, you should prepare a rotated and cropped image and include this instance. Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml > Regards, > > Apostolos > > -- > Apostolos Syropoulos > Xanthi, Greece > > > > > > > > >
Re: [XeTeX] strange difference
UNSUBSCRIBE On Wed, Jun 1, 2022 at 2:20 PM Zdenek Wagner wrote: > st 1. 6. 2022 v 19:40 odesílatel Apostolos Syropoulos via XeTeX > napsal: > > > > >it may feel like a bug in this situation, but it is not, for the single > > >reason that includegraphics cannot look inside the picture and decide > > >which part of the picture is irrelevant. If you add a picture of some > > >width and height, TeX makes sure it is completely inserted. If you turn > > >it by an angle, TeX makes sure the whole of the picture is included and > > >no corners are cut off. If TeX did otherwise, I would consider that a > bug. > > > > Hi Julius, > > > > In different words: When I place an image in the middle of an A4 page, > > the final PDF will be a A4 page but if turn the same image, the final > > PDF will not fit inside an A4 page, right? The attached images are > > generated from XeLaTeX sources that do not rely on the standalone > > document class. > > > Hi, > > as Julius wrote, an imaga is a rectangle, thus the area needed for the > rotated image can be calculated by a simple geometry. If you know that > the corners do not contain anything, you should prepare a rotated and > cropped image and include this instance. > > Zdeněk Wagner > http://ttsm.icpf.cas.cz/team/wagner.shtml > > > > Regards, > > > > Apostolos > > > > -- > > Apostolos Syropoulos > > Xanthi, Greece > > > > > > > > > > > > > > > > > > > >
Re: [XeTeX] strange difference
UNSUBSCRIBE On Wed, Jun 1, 2022 at 2:20 PM Zdenek Wagner wrote: > st 1. 6. 2022 v 19:40 odesílatel Apostolos Syropoulos via XeTeX > napsal: > > > > >it may feel like a bug in this situation, but it is not, for the single > > >reason that includegraphics cannot look inside the picture and decide > > >which part of the picture is irrelevant. If you add a picture of some > > >width and height, TeX makes sure it is completely inserted. If you turn > > >it by an angle, TeX makes sure the whole of the picture is included and > > >no corners are cut off. If TeX did otherwise, I would consider that a > bug. > > > > Hi Julius, > > > > In different words: When I place an image in the middle of an A4 page, > > the final PDF will be a A4 page but if turn the same image, the final > > PDF will not fit inside an A4 page, right? The attached images are > > generated from XeLaTeX sources that do not rely on the standalone > > document class. > > > Hi, > > as Julius wrote, an imaga is a rectangle, thus the area needed for the > rotated image can be calculated by a simple geometry. If you know that > the corners do not contain anything, you should prepare a rotated and > cropped image and include this instance. > > Zdeněk Wagner > http://ttsm.icpf.cas.cz/team/wagner.shtml > > > > Regards, > > > > Apostolos > > > > -- > > Apostolos Syropoulos > > Xanthi, Greece > > > > > > > > > > > > > > > > > > > >
Re: [XeTeX] strange difference
UNSUBSCRIBE On Wed, Jun 1, 2022 at 1:41 PM Apostolos Syropoulos via XeTeX wrote: > >it may feel like a bug in this situation, but it is not, for the single > >reason that includegraphics cannot look inside the picture and decide > >which part of the picture is irrelevant. If you add a picture of some > >width and height, TeX makes sure it is completely inserted. If you turn > >it by an angle, TeX makes sure the whole of the picture is included and > >no corners are cut off. If TeX did otherwise, I would consider that a bug. > > Hi Julius, > > In different words: When I place an image in the middle of an A4 page, > the final PDF will be a A4 page but if turn the same image, the final > PDF will not fit inside an A4 page, right? The attached images are > generated from XeLaTeX sources that do not rely on the standalone > document class. > > Regards, > > Apostolos > > -- > Apostolos Syropoulos > Xanthi, Greece > > > > > > > > > >