public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to export .md to MS Word (Windows 10) with sidenotes?
@ 2020-09-12 23:05 Alan
       [not found] ` <8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alan @ 2020-09-12 23:05 UTC (permalink / raw)
  To: pandoc-discuss


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


Hi,
For a long time, I used (still using) MS Word, but in last months I start 
to write in markdown. But I need to export my text in Word for my 
publisher. I manage to do that, using pandoc and cite-proc, but lately, I 
discovered tufte.css. Now the question is: how can I export .md files in 
Word and receive sidenotes instead of footnotes. I find 
https://github.com/jez/pandoc-starter, but when I issue make command (as in 
readme.md) Windows don't recognize it. 
Sorry for n00b question. 
:-)

-- 
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/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%40googlegroups.com.

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

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

* Re: How to export .md to MS Word (Windows 10) with sidenotes?
       [not found] ` <8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-09-13 16:03   ` Leonard Rosenthol
       [not found]     ` <CALu=v3KtuDwBXg2z+dBJzcKCB8WcTD9pv1JY0J=aGPNFKMxhKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Leonard Rosenthol @ 2020-09-13 16:03 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

You might be able to do this using custom styles -
https://pandoc.org/MANUAL.html#custom-styles

Leonard

On Sat, Sep 12, 2020 at 7:05 PM Alan <omvvardar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

>
> Hi,
> For a long time, I used (still using) MS Word, but in last months I start
> to write in markdown. But I need to export my text in Word for my
> publisher. I manage to do that, using pandoc and cite-proc, but lately, I
> discovered tufte.css. Now the question is: how can I export .md files in
> Word and receive sidenotes instead of footnotes. I find
> https://github.com/jez/pandoc-starter, but when I issue make command (as
> in readme.md) Windows don't recognize it.
> Sorry for n00b question.
> :-)
>
> --
> 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/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%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/CALu%3Dv3KtuDwBXg2z%2BdBJzcKCB8WcTD9pv1JY0J%3DaGPNFKMxhKw%40mail.gmail.com.

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

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

* Re: How to export .md to MS Word (Windows 10) with sidenotes?
       [not found]     ` <CALu=v3KtuDwBXg2z+dBJzcKCB8WcTD9pv1JY0J=aGPNFKMxhKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-09-13 16:20       ` Denis Maier
       [not found]         ` <01631ad8-bbd1-d17d-e9f7-a2027f829a7c-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Denis Maier @ 2020-09-13 16:20 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

I didn't know Word supports sidenotes. Is that really possible?

Am 13.09.2020 um 18:03 schrieb Leonard Rosenthol:
> You might be able to do this using custom styles - 
> https://pandoc.org/MANUAL.html#custom-styles
>
> Leonard
>
> On Sat, Sep 12, 2020 at 7:05 PM Alan <omvvardar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
> <mailto:omvvardar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote:
>
>
>     Hi,
>     For a long time, I used (still using) MS Word, but in last months
>     I start to write in markdown. But I need to export my text in Word
>     for my publisher. I manage to do that, using pandoc and cite-proc,
>     but lately, I discovered tufte.css. Now the question is: how can I
>     export .md files in Word and receive sidenotes instead of
>     footnotes. I find https://github.com/jez/pandoc-starter, but when
>     I issue make command (as in readme.md) Windows don't recognize it.
>     Sorry for n00b question.
>     :-)
>     -- 
>     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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
>     To view this discussion on the web visit
>     https://groups.google.com/d/msgid/pandoc-discuss/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%40googlegroups.com
>     <https://groups.google.com/d/msgid/pandoc-discuss/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
> <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3KtuDwBXg2z%2BdBJzcKCB8WcTD9pv1JY0J%3DaGPNFKMxhKw%40mail.gmail.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3KtuDwBXg2z%2BdBJzcKCB8WcTD9pv1JY0J%3DaGPNFKMxhKw%40mail.gmail.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/01631ad8-bbd1-d17d-e9f7-a2027f829a7c%40mailbox.org.

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

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

* Re: How to export .md to MS Word (Windows 10) with sidenotes?
       [not found]         ` <01631ad8-bbd1-d17d-e9f7-a2027f829a7c-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
@ 2020-09-13 19:44           ` Leonard Rosenthol
       [not found]             ` <CALu=v3KLbq3T95Gim03Z3Vu+EYQsxUxEL4kr-mDd8Xv+yxM2+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Leonard Rosenthol @ 2020-09-13 19:44 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Looks like you can -
https://wordribbon.tips.net/T010668_Adding_Sidebars.html

You can also do text boxes, pull quotes, etc.   However, I didn't dig into
which coudl be done with custom styles and which would require a (Lua)
filter.  But the features are there in DocX if we figure out the best way
to expose them...

Leonard

On Sun, Sep 13, 2020 at 12:20 PM Denis Maier <denis.maier.lists-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
wrote:

> I didn't know Word supports sidenotes. Is that really possible?
>
> Am 13.09.2020 um 18:03 schrieb Leonard Rosenthol:
>
> You might be able to do this using custom styles -
> https://pandoc.org/MANUAL.html#custom-styles
>
> Leonard
>
> On Sat, Sep 12, 2020 at 7:05 PM Alan <omvvardar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>>
>> Hi,
>> For a long time, I used (still using) MS Word, but in last months I start
>> to write in markdown. But I need to export my text in Word for my
>> publisher. I manage to do that, using pandoc and cite-proc, but lately, I
>> discovered tufte.css. Now the question is: how can I export .md files in
>> Word and receive sidenotes instead of footnotes. I find
>> https://github.com/jez/pandoc-starter, but when I issue make command (as
>> in readme.md) Windows don't recognize it.
>> Sorry for n00b question.
>> :-)
>> --
>> 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/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n%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/CALu%3Dv3KtuDwBXg2z%2BdBJzcKCB8WcTD9pv1JY0J%3DaGPNFKMxhKw%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3KtuDwBXg2z%2BdBJzcKCB8WcTD9pv1JY0J%3DaGPNFKMxhKw%40mail.gmail.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/01631ad8-bbd1-d17d-e9f7-a2027f829a7c%40mailbox.org
> <https://groups.google.com/d/msgid/pandoc-discuss/01631ad8-bbd1-d17d-e9f7-a2027f829a7c%40mailbox.org?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/CALu%3Dv3KLbq3T95Gim03Z3Vu%2BEYQsxUxEL4kr-mDd8Xv%2ByxM2%2Bg%40mail.gmail.com.

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

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

* Re: How to export .md to MS Word (Windows 10) with sidenotes?
       [not found]             ` <CALu=v3KLbq3T95Gim03Z3Vu+EYQsxUxEL4kr-mDd8Xv+yxM2+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-09-15 20:41               ` Denis Maier
       [not found]                 ` <627b6a91-ef5e-7992-b6a2-417ba5398b32-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Denis Maier @ 2020-09-15 20:41 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Am 13.09.2020 um 21:44 schrieb Leonard Rosenthol:
> Looks like you can - 
> https://wordribbon.tips.net/T010668_Adding_Sidebars.html
>
> You can also do text boxes, pull quotes, etc.   However, I didn't dig 
> into which coudl be done with custom styles and which would require a 
> (Lua) filter.  But the features are there in DocX if we figure out the 
> best way to expose them...

Well, maybe... but, the link above is about Sidebars, which I understand 
as adding arbitray content in the margins. That's not the same thing as 
sidenotes, maybe a visual approximation, but I think there won't be any 
link between those boxes and the text. There even won't be a note number 
in the text unless we add one. And the worst part might be placing those 
boxes in the margins. There are some LaTeX packages that go at great 
lengths to keep the sidenotes close to the calling location, but also 
move them around if need arise, e.g. when the note is called near the 
end of a page, or if there are to many notes. (Does pandoc even have 
access to these details?)

Anyway, all that doesn't fundamentally speak against implementing this.

Just one remark regarding this particular case: The OP wrote he is going 
to send his manuscript to his publisher. So I guess the publisher will 
do the layout anyway, and I doubt that the typesetter will appreciate a 
docx with notes in the margins. (At least I wouldn't.)

Best,
Denis

-- 
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/627b6a91-ef5e-7992-b6a2-417ba5398b32%40mailbox.org.


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

* Re: How to export .md to MS Word (Windows 10) with sidenotes?
       [not found]                 ` <627b6a91-ef5e-7992-b6a2-417ba5398b32-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
@ 2021-01-14 10:03                   ` Zev Spitz
  0 siblings, 0 replies; 6+ messages in thread
From: Zev Spitz @ 2021-01-14 10:03 UTC (permalink / raw)
  To: pandoc-discuss


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

If Pandoc doesn't natively support this scenario, you might consider 
writing a filter to extract and remove the sidenotes into a separate 
file/location and write an additional program manipulating the docx Open 
XML or the Word application object model to merge the sidenotes back in.

On Tuesday, September 15, 2020 at 11:41:58 PM UTC+3 Denis Maier wrote:

> Am 13.09.2020 um 21:44 schrieb Leonard Rosenthol:
> > Looks like you can - 
> > https://wordribbon.tips.net/T010668_Adding_Sidebars.html
> >
> > You can also do text boxes, pull quotes, etc.   However, I didn't dig 
> > into which coudl be done with custom styles and which would require a 
> > (Lua) filter.  But the features are there in DocX if we figure out the 
> > best way to expose them...
>
> Well, maybe... but, the link above is about Sidebars, which I understand 
> as adding arbitray content in the margins. That's not the same thing as 
> sidenotes, maybe a visual approximation, but I think there won't be any 
> link between those boxes and the text. There even won't be a note number 
> in the text unless we add one. And the worst part might be placing those 
> boxes in the margins. There are some LaTeX packages that go at great 
> lengths to keep the sidenotes close to the calling location, but also 
> move them around if need arise, e.g. when the note is called near the 
> end of a page, or if there are to many notes. (Does pandoc even have 
> access to these details?)
>
> Anyway, all that doesn't fundamentally speak against implementing this.
>
> Just one remark regarding this particular case: The OP wrote he is going 
> to send his manuscript to his publisher. So I guess the publisher will 
> do the layout anyway, and I doubt that the typesetter will appreciate a 
> docx with notes in the margins. (At least I wouldn't.)
>
> Best,
> Denis
>

-- 
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/d0df75c0-437b-48a7-b251-63c3cf087822n%40googlegroups.com.

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

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

end of thread, other threads:[~2021-01-14 10:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12 23:05 How to export .md to MS Word (Windows 10) with sidenotes? Alan
     [not found] ` <8038ea6e-4d7a-4e0c-aa83-0c028e1cae56n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-13 16:03   ` Leonard Rosenthol
     [not found]     ` <CALu=v3KtuDwBXg2z+dBJzcKCB8WcTD9pv1JY0J=aGPNFKMxhKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-09-13 16:20       ` Denis Maier
     [not found]         ` <01631ad8-bbd1-d17d-e9f7-a2027f829a7c-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-13 19:44           ` Leonard Rosenthol
     [not found]             ` <CALu=v3KLbq3T95Gim03Z3Vu+EYQsxUxEL4kr-mDd8Xv+yxM2+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-09-15 20:41               ` Denis Maier
     [not found]                 ` <627b6a91-ef5e-7992-b6a2-417ba5398b32-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2021-01-14 10:03                   ` Zev Spitz

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).