public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
@ 2022-12-05  9:46 -
       [not found] ` <e26599d4-c65f-4dce-979e-10a2db942ea3n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: - @ 2022-12-05  9:46 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 899 bytes --]

I'm trying to use Pandoc to convert my markdown files created using 
Obsidian.md  to PDF files with a LaTeX template. The text works fine, but 
I'm having trouble with images, specifically image sizes and positions. 

When I use ![Artist Photo](absolute/path/to/image) Pandoc and LaTeX render 
the image, but it's half off the screen and so big as to take up a whole 
page.

How do I limit the image size to e.g. its original size? And make it so 
there's text on the page too?

Thanks!


-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1486 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
       [not found] ` <e26599d4-c65f-4dce-979e-10a2db942ea3n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-12-05  9:51   ` -
  2022-12-05 10:00   ` BPJ
  1 sibling, 0 replies; 7+ messages in thread
From: - @ 2022-12-05  9:51 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1118 bytes --]

 Plus if possible would it be possible to link an image to a specific 
paragraph or line, so I can determine where the image goes?

On Monday, December 5, 2022 at 10:46:19 a.m. UTC+1 - wrote:

> I'm trying to use Pandoc to convert my markdown files created using 
> Obsidian.md  to PDF files with a LaTeX template. The text works fine, but 
> I'm having trouble with images, specifically image sizes and positions. 
>
> When I use ![Artist Photo](absolute/path/to/image) Pandoc and LaTeX 
> render the image, but it's half off the screen and so big as to take up a 
> whole page.
>
> How do I limit the image size to e.g. its original size? And make it so 
> there's text on the page too?
>
> Thanks!
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ec317ccd-ce5d-49e8-9469-5d190bd1dbd3n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1912 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
       [not found] ` <e26599d4-c65f-4dce-979e-10a2db942ea3n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2022-12-05  9:51   ` -
@ 2022-12-05 10:00   ` BPJ
       [not found]     ` <CADAJKhD_Mqyht9PnegmArBfdzE7ax+tpv4vAffSi9b56Vw0Z3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: BPJ @ 2022-12-05 10:00 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]

https://pandoc.org/MANUAL.html#extension-link_attributes

Den mån 5 dec. 2022 10:47- <paulschillinger93-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:

> I'm trying to use Pandoc to convert my markdown files created using
> Obsidian.md  to PDF files with a LaTeX template. The text works fine, but
> I'm having trouble with images, specifically image sizes and positions.
>
> When I use ![Artist Photo](absolute/path/to/image) Pandoc and LaTeX
> render the image, but it's half off the screen and so big as to take up a
> whole page.
>
> How do I limit the image size to e.g. its original size? And make it so
> there's text on the page too?
>
> Thanks!
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhD_Mqyht9PnegmArBfdzE7ax%2Btpv4vAffSi9b56Vw0Z3g%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 2778 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
       [not found]     ` <CADAJKhD_Mqyht9PnegmArBfdzE7ax+tpv4vAffSi9b56Vw0Z3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2022-12-05 10:06       ` -
       [not found]         ` <8ef66243-605e-4d71-94f1-39524902a6een-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2022-12-05 10:19       ` -
  1 sibling, 1 reply; 7+ messages in thread
From: - @ 2022-12-05 10:06 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1900 bytes --]

Thanks but if I include this: { width=50% height=50%} right after the 
(path), the image is distorted. Am I doing that wrong?

On Monday, December 5, 2022 at 11:01:05 a.m. UTC+1 BPJ wrote:

> https://pandoc.org/MANUAL.html#extension-link_attributes
>
> Den mån 5 dec. 2022 10:47- <paulschi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
>
>> I'm trying to use Pandoc to convert my markdown files created using 
>> Obsidian.md  to PDF files with a LaTeX template. The text works fine, but 
>> I'm having trouble with images, specifically image sizes and positions. 
>>
>> When I use ![Artist Photo](absolute/path/to/image) Pandoc and LaTeX 
>> render the image, but it's half off the screen and so big as to take up a 
>> whole page.
>>
>> How do I limit the image size to e.g. its original size? And make it so 
>> there's text on the page too?
>>
>> Thanks!
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8ef66243-605e-4d71-94f1-39524902a6een%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3793 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
       [not found]     ` <CADAJKhD_Mqyht9PnegmArBfdzE7ax+tpv4vAffSi9b56Vw0Z3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2022-12-05 10:06       ` -
@ 2022-12-05 10:19       ` -
  1 sibling, 0 replies; 7+ messages in thread
From: - @ 2022-12-05 10:19 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1816 bytes --]

Also I don't think that centers the image.

On Monday, December 5, 2022 at 11:01:05 a.m. UTC+1 BPJ wrote:

> https://pandoc.org/MANUAL.html#extension-link_attributes
>
> Den mån 5 dec. 2022 10:47- <paulschi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
>
>> I'm trying to use Pandoc to convert my markdown files created using 
>> Obsidian.md  to PDF files with a LaTeX template. The text works fine, but 
>> I'm having trouble with images, specifically image sizes and positions. 
>>
>> When I use ![Artist Photo](absolute/path/to/image) Pandoc and LaTeX 
>> render the image, but it's half off the screen and so big as to take up a 
>> whole page.
>>
>> How do I limit the image size to e.g. its original size? And make it so 
>> there's text on the page too?
>>
>> Thanks!
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/e26599d4-c65f-4dce-979e-10a2db942ea3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/11ce698a-4774-4b71-9841-c1b4de9355f2n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3711 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
       [not found]         ` <8ef66243-605e-4d71-94f1-39524902a6een-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-12-05 10:58           ` Albert Krewinkel
       [not found]             ` <87h6yaw02i.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Albert Krewinkel @ 2022-12-05 10:58 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

- <paulschillinger93-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Thanks but if I include this: { width=50% height=50%} right after the
> (path), the image is distorted.

Percentage values are relative to the page width and height. Try to set
`width=50%` and leave height unset; scaling should happen automatically.


-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX)
       [not found]             ` <87h6yaw02i.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2022-12-05 11:44               ` -
  0 siblings, 0 replies; 7+ messages in thread
From: - @ 2022-12-05 11:44 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1021 bytes --]

That centers it and defines the width to 50%, but it's still the same 
height so really distorted. Any other ideas?

On Monday, December 5, 2022 at 12:40:38 p.m. UTC+1 Albert Krewinkel wrote:

> - <paulschi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > Thanks but if I include this: { width=50% height=50%} right after the
> > (path), the image is distorted.
>
> Percentage values are relative to the page width and height. Try to set
> `width=50%` and leave height unset; scaling should happen automatically.
>
>
> -- 
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c8656bfc-5529-4878-aad4-a9e54e5ee162n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1619 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-05 11:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05  9:46 Centering Images/Image Size, converting from .md (Obsidian) to PDF (via LaTeX) -
     [not found] ` <e26599d4-c65f-4dce-979e-10a2db942ea3n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-05  9:51   ` -
2022-12-05 10:00   ` BPJ
     [not found]     ` <CADAJKhD_Mqyht9PnegmArBfdzE7ax+tpv4vAffSi9b56Vw0Z3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-12-05 10:06       ` -
     [not found]         ` <8ef66243-605e-4d71-94f1-39524902a6een-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-05 10:58           ` Albert Krewinkel
     [not found]             ` <87h6yaw02i.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-12-05 11:44               ` -
2022-12-05 10:19       ` -

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).