public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Converting RTL script from markdown to docx
@ 2020-12-02 13:09     ` Chanamel Ungar
       [not found]       ` <2768c979-c00c-4c6e-baed-fbd9814cc7e9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Chanamel Ungar @ 2020-12-02 13:09 UTC (permalink / raw)
  To: pandoc-discuss


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

Hello all,

 I'm trying to convert a Hebrew markdown file to docx. The results are 
mostly fine, any **bolds** or *italics* are lost in the conversion.
This doesn't happen if the conversion is ltr, or is on latin text.

For example, if I convert the following to rtl:
**test** **בדיקה**

the result is:
בדיקה *test*

Using the style inspector, it appears the bold styling is only applied to 
latin (while Hebrew is complex).

Anyone else encountered this? I've tried setting the mainfont to Arial, 
which has good Hebrew support, but the issue persists.

Thanks in advance,
Chanamel


-- 
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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com.

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

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

* AW: Converting RTL script from markdown to docx
       [not found]       ` <2768c979-c00c-4c6e-baed-fbd9814cc7e9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-12-02 14:17         ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
       [not found]           ` <381458c33fb74f4a834e5801b4a060ee-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-02 14:17 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Works here. On which version are you?

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 14:10
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Converting RTL script from markdown to docx

Hello all,

 I'm trying to convert a Hebrew markdown file to docx. The results are mostly fine, any **bolds** or *italics* are lost in the conversion.
This doesn't happen if the conversion is ltr, or is on latin text.

For example, if I convert the following to rtl:
**test** **בדיקה**

the result is:
בדיקה test

Using the style inspector, it appears the bold styling is only applied to latin (while Hebrew is complex).

Anyone else encountered this? I've tried setting the mainfont to Arial, which has good Hebrew support, but the issue persists.

Thanks in advance,
Chanamel


--
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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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/381458c33fb74f4a834e5801b4a060ee%40ub.unibe.ch.

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

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

* Re: Converting RTL script from markdown to docx
       [not found]           ` <381458c33fb74f4a834e5801b4a060ee-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-02 14:23             ` Chanamel Ungar
       [not found]               ` <b57bf667-765f-4eb8-9953-34af75a11f8an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Chanamel Ungar @ 2020-12-02 14:23 UTC (permalink / raw)
  To: pandoc-discuss


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

I'm using version 2.11.2

To be clear, the desired result of the example above would be:

*בדיקה test*



On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
wrote:

> Works here. On which version are you?
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *Chanamel Ungar
> *Gesendet:* Mittwoch, 2. Dezember 2020 14:10
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Converting RTL script from markdown to docx
>
>  
>
> Hello all,
>
>  
>
>  I'm trying to convert a Hebrew markdown file to docx. The results are 
> mostly fine, any **bolds** or *italics* are lost in the conversion.
>
> This doesn't happen if the conversion is ltr, or is on latin text.
>
>  
>
> For example, if I convert the following to rtl:
>
> **test** **בדיקה**
>
>  
>
> the result is:
>
> בדיקה *test*
>
>  
>
> Using the style inspector, it appears the bold styling is only applied to 
> latin (while Hebrew is complex).
>
>  
>
> Anyone else encountered this? I've tried setting the mainfont to Arial, 
> which has good Hebrew support, but the issue persists.
>
>  
>
> Thanks in advance,
>
> Chanamel
>
>  
>
>  
>
> -- 
> 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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com.

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

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

* AW: Converting RTL script from markdown to docx
       [not found]               ` <b57bf667-765f-4eb8-9953-34af75a11f8an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-12-02 14:25                 ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
       [not found]                   ` <417d8c3aceae40b7a79262c1e4e59acd-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-02 14:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Sure, I’m getting:
[cid:image001.png-RhVD93d6h5/eZ0L2XMcJATRmByFHzeGd@public.gmane.org]

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 15:23
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: Converting RTL script from markdown to docx

I'm using version 2.11.2

To be clear, the desired result of the example above would be:

בדיקה test



On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org<mailto:denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org> wrote:
Works here. On which version are you?

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 14:10
An: pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Converting RTL script from markdown to docx

Hello all,

 I'm trying to convert a Hebrew markdown file to docx. The results are mostly fine, any **bolds** or *italics* are lost in the conversion.
This doesn't happen if the conversion is ltr, or is on latin text.

For example, if I convert the following to rtl:
**test** **בדיקה**

the result is:
בדיקה test

Using the style inspector, it appears the bold styling is only applied to latin (while Hebrew is complex).

Anyone else encountered this? I've tried setting the mainfont to Arial, which has good Hebrew support, but the issue persists.

Thanks in advance,
Chanamel


--
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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch.

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

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 2588 bytes --]

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

* AW: Converting RTL script from markdown to docx
       [not found]                   ` <417d8c3aceae40b7a79262c1e4e59acd-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-02 14:26                     ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
       [not found]                       ` <9015322ea8bb488aa76cfa80740c9f1e-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-02 14:26 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

That’s the AST:

[Para [Strong [Str "test"],Space,Strong [Str "\1489\1491\1497\1511\1492"]]]

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
Gesendet: Mittwoch, 2. Dezember 2020 15:25
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: AW: Converting RTL script from markdown to docx

Sure, I’m getting:
[cid:image001.png-RhVD93d6h59uXm7naDsiSzRmByFHzeGd@public.gmane.org]

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 15:23
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss@googlegroups.com>>
Betreff: Re: Converting RTL script from markdown to docx

I'm using version 2.11.2

To be clear, the desired result of the example above would be:

בדיקה test



On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org<mailto:denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org> wrote:
Works here. On which version are you?

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 14:10
An: pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-...@googlegroups.com>>
Betreff: Converting RTL script from markdown to docx

Hello all,

 I'm trying to convert a Hebrew markdown file to docx. The results are mostly fine, any **bolds** or *italics* are lost in the conversion.
This doesn't happen if the conversion is ltr, or is on latin text.

For example, if I convert the following to rtl:
**test** **בדיקה**

the result is:
בדיקה test

Using the style inspector, it appears the bold styling is only applied to latin (while Hebrew is complex).

Anyone else encountered this? I've tried setting the mainfont to Arial, which has good Hebrew support, but the issue persists.

Thanks in advance,
Chanamel


--
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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discus...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch<https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch?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/9015322ea8bb488aa76cfa80740c9f1e%40ub.unibe.ch.

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

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 2588 bytes --]

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

* Re: Converting RTL script from markdown to docx
       [not found]                       ` <9015322ea8bb488aa76cfa80740c9f1e-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-02 14:42                         ` Chanamel Ungar
       [not found]                           ` <e319b14d-ebad-4aae-b85e-c8c16f9355f9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Chanamel Ungar @ 2020-12-02 14:42 UTC (permalink / raw)
  To: pandoc-discuss


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

Judging by the location of the paragraph mark, the direction isn't set to 
rtl. The problem only occurs when I change the direction.
I'm using this command:

pandoc test.md -f markdown -t docx -o test.docx -M dir=rtl 
--reference-doc=custom-reference.docx

Thanks.
On Wednesday, December 2, 2020 at 4:26:51 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
wrote:

> That’s the AST:
>
>  
>
> [Para [Strong [Str "test"],Space,Strong [Str "\1489\1491\1497\1511\1492"]]]
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
> *Gesendet:* Mittwoch, 2. Dezember 2020 15:25
> *An:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> *Betreff:* AW: Converting RTL script from markdown to docx
>
>  
>
> Sure, I’m getting:
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *Chanamel Ungar
> *Gesendet:* Mittwoch, 2. Dezember 2020 15:23
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Re: Converting RTL script from markdown to docx
>
>  
>
> I'm using version 2.11.2
>
>  
>
> To be clear, the desired result of the example above would be:
>
>  
>
> *בדיקה **test*
>
>  
>
>  
>
>  
>
> On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
> wrote:
>
> Works here. On which version are you?
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *Chanamel Ungar
> *Gesendet:* Mittwoch, 2. Dezember 2020 14:10
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Converting RTL script from markdown to docx
>
>  
>
> Hello all,
>
>  
>
>  I'm trying to convert a Hebrew markdown file to docx. The results are 
> mostly fine, any **bolds** or *italics* are lost in the conversion.
>
> This doesn't happen if the conversion is ltr, or is on latin text.
>
>  
>
> For example, if I convert the following to rtl:
>
> **test** **בדיקה**
>
>  
>
> the result is:
>
> בדיקה *test*
>
>  
>
> Using the style inspector, it appears the bold styling is only applied to 
> latin (while Hebrew is complex).
>
>  
>
> Anyone else encountered this? I've tried setting the mainfont to Arial, 
> which has good Hebrew support, but the issue persists.
>
>  
>
> Thanks in advance,
>
> Chanamel
>
>  
>
>  
>
> -- 
> 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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch 
> <https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch?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/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%40googlegroups.com.

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

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

* AW: Converting RTL script from markdown to docx
       [not found]                           ` <e319b14d-ebad-4aae-b85e-c8c16f9355f9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-12-02 14:58                             ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
       [not found]                               ` <d19f45b2a4fd4f6bba3019c07dd7df65-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-02 14:58 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

That’s funny.
If I use you’re command (without the reference doc), the result is this:

[cid:image001.png-QcfrdMj/5X2ggbM+RQxDGTRmByFHzeGd@public.gmane.org]

Although “bold” is selected, the text does not appear in bold, neither the Latin nor the Hebrew.

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 15:43
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: Converting RTL script from markdown to docx

Judging by the location of the paragraph mark, the direction isn't set to rtl. The problem only occurs when I change the direction.
I'm using this command:

pandoc test.md -f markdown -t docx -o test.docx -M dir=rtl --reference-doc=custom-reference.docx

Thanks.
On Wednesday, December 2, 2020 at 4:26:51 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org<mailto:denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org> wrote:
That’s the AST:

[Para [Strong [Str "test"],Space,Strong [Str "\1489\1491\1497\1511\1492"]]]

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
Gesendet: Mittwoch, 2. Dezember 2020 15:25
An: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: AW: Converting RTL script from markdown to docx

Sure, I’m getting:
[https://groups.google.com/group/pandoc-discuss/attach/3ef7732d986f9/image001.png?part=0.1&view=1]

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 15:23
An: pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: Converting RTL script from markdown to docx

I'm using version 2.11.2

To be clear, the desired result of the example above would be:

בדיקה test



On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org wrote:
Works here. On which version are you?

Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Chanamel Ungar
Gesendet: Mittwoch, 2. Dezember 2020 14:10
An: pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Converting RTL script from markdown to docx

Hello all,

 I'm trying to convert a Hebrew markdown file to docx. The results are mostly fine, any **bolds** or *italics* are lost in the conversion.
This doesn't happen if the conversion is ltr, or is on latin text.

For example, if I convert the following to rtl:
**test** **בדיקה**

the result is:
בדיקה test

Using the style inspector, it appears the bold styling is only applied to latin (while Hebrew is complex).

Anyone else encountered this? I've tried setting the mainfont to Arial, which has good Hebrew support, but the issue persists.

Thanks in advance,
Chanamel


--
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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch<https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch?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/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%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/d19f45b2a4fd4f6bba3019c07dd7df65%40ub.unibe.ch.

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

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 50638 bytes --]

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

* Re: Converting RTL script from markdown to docx
       [not found]                               ` <d19f45b2a4fd4f6bba3019c07dd7df65-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-02 15:29                                 ` Chanamel Ungar
       [not found]                                   ` <9dc66ea1-995d-48c1-b588-6edb15cf74e8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Chanamel Ungar @ 2020-12-02 15:29 UTC (permalink / raw)
  To: pandoc-discuss


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

After further investigation, the difference between my observed results to 
those of Denis is that I was working with Word 2013. When I tried the same 
on a machine running Word 2019, I got the same results as Denis. 

Opening the font pane, I see that Latin text is defined as bold, but not 
complex script:
[image: BoldLatinFont.png]

In my mind, both complex scripts and Latin text should be set to bold.
Seems like a bug to me. Should I open an issue on Github?



On Wednesday, December 2, 2020 at 4:58:29 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
wrote:

> That’s funny.
>
> If I use you’re command (without the reference doc), the result is this:
>
>  
>
>  
>
> Although “bold” is selected, the text does not appear in bold, neither the 
> Latin nor the Hebrew.
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *Chanamel Ungar
> *Gesendet:* Mittwoch, 2. Dezember 2020 15:43
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Re: Converting RTL script from markdown to docx
>
>  
>
> Judging by the location of the paragraph mark, the direction isn't set to 
> rtl. The problem only occurs when I change the direction.
>
> I'm using this command:
>
>  
>
> pandoc test.md -f markdown -t docx -o test.docx -M dir=rtl 
> --reference-doc=custom-reference.docx
>
>
> Thanks.
>
> On Wednesday, December 2, 2020 at 4:26:51 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
> wrote:
>
> That’s the AST:
>
>  
>
> [Para [Strong [Str "test"],Space,Strong [Str "\1489\1491\1497\1511\1492"]]]
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
> *Gesendet:* Mittwoch, 2. Dezember 2020 15:25
> *An:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> *Betreff:* AW: Converting RTL script from markdown to docx
>
>  
>
> Sure, I’m getting:
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *Chanamel Ungar
> *Gesendet:* Mittwoch, 2. Dezember 2020 15:23
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Re: Converting RTL script from markdown to docx
>
>  
>
> I'm using version 2.11.2
>
>  
>
> To be clear, the desired result of the example above would be:
>
>  
>
> *בדיקה **test*
>
>  
>
>  
>
>  
>
> On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
> wrote:
>
> Works here. On which version are you?
>
>  
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> Auftrag von *Chanamel Ungar
> *Gesendet:* Mittwoch, 2. Dezember 2020 14:10
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Converting RTL script from markdown to docx
>
>  
>
> Hello all,
>
>  
>
>  I'm trying to convert a Hebrew markdown file to docx. The results are 
> mostly fine, any **bolds** or *italics* are lost in the conversion.
>
> This doesn't happen if the conversion is ltr, or is on latin text.
>
>  
>
> For example, if I convert the following to rtl:
>
> **test** **בדיקה**
>
>  
>
> the result is:
>
> בדיקה *test*
>
>  
>
> Using the style inspector, it appears the bold styling is only applied to 
> latin (while Hebrew is complex).
>
>  
>
> Anyone else encountered this? I've tried setting the mainfont to Arial, 
> which has good Hebrew support, but the issue persists.
>
>  
>
> Thanks in advance,
>
> Chanamel
>
>  
>
>  
>
> -- 
> 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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch 
> <https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch?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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%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/9dc66ea1-995d-48c1-b588-6edb15cf74e8n%40googlegroups.com.

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

[-- Attachment #2: BoldLatinFont.png --]
[-- Type: image/png, Size: 32334 bytes --]

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

* Re: Converting RTL script from markdown to docx
       [not found]                                   ` <9dc66ea1-995d-48c1-b588-6edb15cf74e8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-12-02 18:18                                     ` John MacFarlane
       [not found]                                       ` <m2k0u0oyut.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2020-12-02 18:18 UTC (permalink / raw)
  To: Chanamel Ungar, pandoc-discuss


I'm not sure whether it's a bug (it works in Word 2019?).
We boldface things by putting them in the `<w:b>` element;
Hebrew and latin text should not differ in how we're
treating them.

Unless something is wrong in our default style?

Chanamel Ungar <Chanamel-Rw1WCSvBAmdUkLafFIKz2WXnswh1EIUO@public.gmane.org> writes:

> After further investigation, the difference between my observed results to 
> those of Denis is that I was working with Word 2013. When I tried the same 
> on a machine running Word 2019, I got the same results as Denis. 
>
> Opening the font pane, I see that Latin text is defined as bold, but not 
> complex script:
> [image: BoldLatinFont.png]
>
> In my mind, both complex scripts and Latin text should be set to bold.
> Seems like a bug to me. Should I open an issue on Github?
>
>
>
> On Wednesday, December 2, 2020 at 4:58:29 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
> wrote:
>
>> That’s funny.
>>
>> If I use you’re command (without the reference doc), the result is this:
>>
>>  
>>
>>  
>>
>> Although “bold” is selected, the text does not appear in bold, neither the 
>> Latin nor the Hebrew.
>>
>>  
>>
>> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
>> Auftrag von *Chanamel Ungar
>> *Gesendet:* Mittwoch, 2. Dezember 2020 15:43
>> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
>> *Betreff:* Re: Converting RTL script from markdown to docx
>>
>>  
>>
>> Judging by the location of the paragraph mark, the direction isn't set to 
>> rtl. The problem only occurs when I change the direction.
>>
>> I'm using this command:
>>
>>  
>>
>> pandoc test.md -f markdown -t docx -o test.docx -M dir=rtl 
>> --reference-doc=custom-reference.docx
>>
>>
>> Thanks.
>>
>> On Wednesday, December 2, 2020 at 4:26:51 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
>> wrote:
>>
>> That’s the AST:
>>
>>  
>>
>> [Para [Strong [Str "test"],Space,Strong [Str "\1489\1491\1497\1511\1492"]]]
>>
>>  
>>
>> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
>> Auftrag von *denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
>> *Gesendet:* Mittwoch, 2. Dezember 2020 15:25
>> *An:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> *Betreff:* AW: Converting RTL script from markdown to docx
>>
>>  
>>
>> Sure, I’m getting:
>>
>>  
>>
>> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
>> Auftrag von *Chanamel Ungar
>> *Gesendet:* Mittwoch, 2. Dezember 2020 15:23
>> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
>> *Betreff:* Re: Converting RTL script from markdown to docx
>>
>>  
>>
>> I'm using version 2.11.2
>>
>>  
>>
>> To be clear, the desired result of the example above would be:
>>
>>  
>>
>> *בדיקה **test*
>>
>>  
>>
>>  
>>
>>  
>>
>> On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
>> wrote:
>>
>> Works here. On which version are you?
>>
>>  
>>
>> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
>> Auftrag von *Chanamel Ungar
>> *Gesendet:* Mittwoch, 2. Dezember 2020 14:10
>> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
>> *Betreff:* Converting RTL script from markdown to docx
>>
>>  
>>
>> Hello all,
>>
>>  
>>
>>  I'm trying to convert a Hebrew markdown file to docx. The results are 
>> mostly fine, any **bolds** or *italics* are lost in the conversion.
>>
>> This doesn't happen if the conversion is ltr, or is on latin text.
>>
>>  
>>
>> For example, if I convert the following to rtl:
>>
>> **test** **בדיקה**
>>
>>  
>>
>> the result is:
>>
>> בדיקה *test*
>>
>>  
>>
>> Using the style inspector, it appears the bold styling is only applied to 
>> latin (while Hebrew is complex).
>>
>>  
>>
>> Anyone else encountered this? I've tried setting the mainfont to Arial, 
>> which has good Hebrew support, but the issue persists.
>>
>>  
>>
>> Thanks in advance,
>>
>> Chanamel
>>
>>  
>>
>>  
>>
>> -- 
>> 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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch 
>> <https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch?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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%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/9dc66ea1-995d-48c1-b588-6edb15cf74e8n%40googlegroups.com.

-- 
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/m2k0u0oyut.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


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

* Re: Converting RTL script from markdown to docx
       [not found]                                       ` <m2k0u0oyut.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-12-03  7:47                                         ` Chanamel Ungar
  0 siblings, 0 replies; 10+ messages in thread
From: Chanamel Ungar @ 2020-12-03  7:47 UTC (permalink / raw)
  To: pandoc-discuss


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

Hey John,

Looking into a Word file with bolded Hebrew text, bold for complex script 
is tagged as* <w:bCs>* . *Cs* most likely stands for complex script. The 
<w:b> tag also appears, Word applies both when bolding complex script.
I'm opening an issue on Github.

To clarify the distinction between the word versions:

   - In Word 2013, bold is retained on Latin characters.
   - In Word 2019, bold is not retained at all.

My deduction is that in Word 2013, Latin text is treated as such even when 
in an RTL environment, while in 2019, when writing in RTL all text is 
considered complex script.

Chanamel


On Wednesday, December 2, 2020 at 8:19:09 PM UTC+2 John MacFarlane wrote:

>
> I'm not sure whether it's a bug (it works in Word 2019?).
> We boldface things by putting them in the `<w:b>` element;
> Hebrew and latin text should not differ in how we're
> treating them.
>
> Unless something is wrong in our default style?
>
> Chanamel Ungar <Chan...-Rw1WCSvBAmdUkLafFIKz2WXnswh1EIUO@public.gmane.org> writes:
>
> > After further investigation, the difference between my observed results 
> to 
> > those of Denis is that I was working with Word 2013. When I tried the 
> same 
> > on a machine running Word 2019, I got the same results as Denis. 
> >
> > Opening the font pane, I see that Latin text is defined as bold, but not 
> > complex script:
> > [image: BoldLatinFont.png]
> >
> > In my mind, both complex scripts and Latin text should be set to bold.
> > Seems like a bug to me. Should I open an issue on Github?
> >
> >
> >
> > On Wednesday, December 2, 2020 at 4:58:29 PM UTC+2 denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org 
> > wrote:
> >
> >> That’s funny.
> >>
> >> If I use you’re command (without the reference doc), the result is this:
> >>
> >> 
> >>
> >> 
> >>
> >> Although “bold” is selected, the text does not appear in bold, neither 
> the 
> >> Latin nor the Hebrew.
> >>
> >> 
> >>
> >> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> >> Auftrag von *Chanamel Ungar
> >> *Gesendet:* Mittwoch, 2. Dezember 2020 15:43
> >> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> >> *Betreff:* Re: Converting RTL script from markdown to docx
> >>
> >> 
> >>
> >> Judging by the location of the paragraph mark, the direction isn't set 
> to 
> >> rtl. The problem only occurs when I change the direction.
> >>
> >> I'm using this command:
> >>
> >> 
> >>
> >> pandoc test.md -f markdown -t docx -o test.docx -M dir=rtl 
> >> --reference-doc=custom-reference.docx
> >>
> >>
> >> Thanks.
> >>
> >> On Wednesday, December 2, 2020 at 4:26:51 PM UTC+2 denis...-FfwAq0itz3r1GAl8QSHYmA@public.gmane.orgh 
> >> wrote:
> >>
> >> That’s the AST:
> >>
> >> 
> >>
> >> [Para [Strong [Str "test"],Space,Strong [Str 
> "\1489\1491\1497\1511\1492"]]]
> >>
> >> 
> >>
> >> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> >> Auftrag von *denis...-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
> >> *Gesendet:* Mittwoch, 2. Dezember 2020 15:25
> >> *An:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> >> *Betreff:* AW: Converting RTL script from markdown to docx
> >>
> >> 
> >>
> >> Sure, I’m getting:
> >>
> >> 
> >>
> >> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> >> Auftrag von *Chanamel Ungar
> >> *Gesendet:* Mittwoch, 2. Dezember 2020 15:23
> >> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> >> *Betreff:* Re: Converting RTL script from markdown to docx
> >>
> >> 
> >>
> >> I'm using version 2.11.2
> >>
> >> 
> >>
> >> To be clear, the desired result of the example above would be:
> >>
> >> 
> >>
> >> *בדיקה **test*
> >>
> >> 
> >>
> >> 
> >>
> >> 
> >>
> >> On Wednesday, December 2, 2020 at 4:17:28 PM UTC+2 denis...-FfwAq0itz3r1GAl8QSHYmA@public.gmane.orgh 
> >> wrote:
> >>
> >> Works here. On which version are you?
> >>
> >> 
> >>
> >> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im 
> >> Auftrag von *Chanamel Ungar
> >> *Gesendet:* Mittwoch, 2. Dezember 2020 14:10
> >> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> >> *Betreff:* Converting RTL script from markdown to docx
> >>
> >> 
> >>
> >> Hello all,
> >>
> >> 
> >>
> >> I'm trying to convert a Hebrew markdown file to docx. The results are 
> >> mostly fine, any **bolds** or *italics* are lost in the conversion.
> >>
> >> This doesn't happen if the conversion is ltr, or is on latin text.
> >>
> >> 
> >>
> >> For example, if I convert the following to rtl:
> >>
> >> **test** **בדיקה**
> >>
> >> 
> >>
> >> the result is:
> >>
> >> בדיקה *test*
> >>
> >> 
> >>
> >> Using the style inspector, it appears the bold styling is only applied 
> to 
> >> latin (while Hebrew is complex).
> >>
> >> 
> >>
> >> Anyone else encountered this? I've tried setting the mainfont to Arial, 
> >> which has good Hebrew support, but the issue persists.
> >>
> >> 
> >>
> >> Thanks in advance,
> >>
> >> Chanamel
> >>
> >> 
> >>
> >> 
> >>
> >> -- 
> >> 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/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%40googlegroups.com 
> >> <
> https://groups.google.com/d/msgid/pandoc-discuss/2768c979-c00c-4c6e-baed-fbd9814cc7e9n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >> To view this discussion on the web visit 
> >> 
> https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%40googlegroups.com 
> >> <
> https://groups.google.com/d/msgid/pandoc-discuss/b57bf667-765f-4eb8-9953-34af75a11f8an%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>
> >> To view this discussion on the web visit 
> >> 
> https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch 
> >> <
> https://groups.google.com/d/msgid/pandoc-discuss/417d8c3aceae40b7a79262c1e4e59acd%40ub.unibe.ch?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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>
> >> To view this discussion on the web visit 
> >> 
> https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%40googlegroups.com 
> >> <
> https://groups.google.com/d/msgid/pandoc-discuss/e319b14d-ebad-4aae-b85e-c8c16f9355f9n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/9dc66ea1-995d-48c1-b588-6edb15cf74e8n%40googlegroups.com
> .
>

-- 
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/9122b308-fb81-4f64-b0f9-ed64d1dbd619n%40googlegroups.com.

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

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

end of thread, other threads:[~2020-12-03  7:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AQHWyKxxjRfxxrTS5kO16Q7moqOvM6nj2kIg///w7ACAABEzsIAAAITw///zx4CAABScoA==>
     [not found] ` <AQHWyKxxjRfxxrTS5kO16Q7moqOvM6nj2kIg///w7ACAABEzsIAAAITw>
     [not found]   ` <AQHWyKxxjRfxxrTS5kO16Q7moqOvM6nj2kIg>
2020-12-02 13:09     ` Converting RTL script from markdown to docx Chanamel Ungar
     [not found]       ` <2768c979-c00c-4c6e-baed-fbd9814cc7e9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-12-02 14:17         ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
     [not found]           ` <381458c33fb74f4a834e5801b4a060ee-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-02 14:23             ` Chanamel Ungar
     [not found]               ` <b57bf667-765f-4eb8-9953-34af75a11f8an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-12-02 14:25                 ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
     [not found]                   ` <417d8c3aceae40b7a79262c1e4e59acd-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-02 14:26                     ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
     [not found]                       ` <9015322ea8bb488aa76cfa80740c9f1e-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-02 14:42                         ` Chanamel Ungar
     [not found]                           ` <e319b14d-ebad-4aae-b85e-c8c16f9355f9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-12-02 14:58                             ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
     [not found]                               ` <d19f45b2a4fd4f6bba3019c07dd7df65-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-02 15:29                                 ` Chanamel Ungar
     [not found]                                   ` <9dc66ea1-995d-48c1-b588-6edb15cf74e8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-12-02 18:18                                     ` John MacFarlane
     [not found]                                       ` <m2k0u0oyut.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-12-03  7:47                                         ` Chanamel Ungar

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