Re: Why is an image width restricted to being between 0 and 200% of the text area

2021-11-23 Thread autofrettage
Hi, If org mode won't blow up, kick out the restriction. It is not up to us to decide what users will have use for or not. Besides, if someone specifies an outrageously wide picture by mistake, it's a mistake which is easy to spot and fix. I finish my argument with a small war story. Many year

Re: Why is an image width restricted to being between 0 and 200% of the text area

2021-11-23 Thread Tim Cross
Matt Huszagh writes: > I agree that requesting an image to be >2x the buffer text width is a > strange request, and it's not one I've ever tried to give. But, I think > the salient point is that it's a very clear request, and I think org > should carry it out. I'm all in favor of org helping pe

Re: Why is an image width restricted to being between 0 and 200% of the text area

2021-11-22 Thread Matt Huszagh
Timothy writes: > It occurred to me that large values would only really appear when occurring > in a > narrower scope, e.g. in a multi-column document an image which is multiple > columns wide. Say, > ┌ > │ #+attr_latex: 3.0\columnwidth > └ > > However, I doubt that when previewing the i

Re: Why is an image width restricted to being between 0 and 200% of the text area

2021-11-22 Thread Timothy
Hi Matt, > I agree that requesting an image to be >2x the buffer text width is a > strange request, and it’s not one I’ve ever tried to give. But, I think > the salient point is that it’s a very clear request, and I think org > should carry it out. I’m all in favor of org helping people not shoot

Re: Why is an image width restricted to being between 0 and 200% of the text area

2021-11-22 Thread Matt Huszagh
Timothy writes: > Just to be clear, this isn’t preventing people from setting image widths to > say > `5.0\linewidth', it just prevents them from being previewed at 5x the buffer > text > width as that seems a bit ridiculous. Happy to reconsider the [0,2] preview > restriction, but I don’t thin

Re: Why is an image width restricted to being between 0 and 200% of the text area

2021-11-22 Thread Timothy
Hi Matt, > I’m also not sure that we should prevent people from using > 5.0, even if it is a bit odd. The intent is clear. > > Maybe I’m missing a reason as to why this is done? Just to be clear, this isn’t preventing people from setting image widths to say `5.0\linewidth', it just prevents them

Why is an image width restricted to being between 0 and 200% of the text area

2021-11-22 Thread Matt Huszagh
Hi, In org-display-inline-image--width we have the restriction that percentages and floating point width specifications must be between 0 and 200% (or 0.0 and 2.0) of the text area. Reading the comments, it sounds like this is done because you might specify something like 1.2\linewidth, but you wo