Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
I am currently helping colleagues to migrate their document to Asciidoctor.
They use the "left right double arrow" character a lot in their documentation ('⇔', encoded as "%E2%87%94" in urls or as "U+21D4" in unicode). On Wikipedia: the ⇔ page redirects to the "If and only if" definition. Thanks to the numeric character reference section in the documentation, I was able to use my "left right double arrow" in Asciidoctor: ⇔ In Asciidoctor: * "=>" is automatically translated to ⇒ (right double arrow) * "<=" is automatically translated to ⇐ (left double arrow) * "->" is automatically translated to → (right arrow) * "<-" is automatically translated to ← (left arrow) Why is there support for those unidirectional arrows in Asciidoctor and not for the bidirectional ones? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
On Wed, Oct 28, 2015 at 1:37 AM, Jeremie Bresson [via Asciidoctor :: Discussion] <[hidden email]> wrote: Why is there support for those unidirectional arrows in Asciidoctor and not for the bidirectional ones? Only because it's not as common and wasn't a requirement for compliance with AsciiDoc Python at the time. It does seem logical to support it. I have it in my notes, so it must have come up before. We should probably support both <=> and <-> for completeness. Cheers, |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
In reply to this post by Jeremie Bresson
I was probabelly to quick...
My solution does not work for PDF. Source: = Example Manual Doc Writer <doc.writer@example.org> v1.0, 2014-09-09 This is a user manual for an example project. This is a double arrow: ⇔ This is a user manual for an example project. Maven output: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Asciidoctor PDF Maven example 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- asciidoctor-maven-plugin:1.5.2.1:process-asciidoc (generate-pdf-doc) @ asciidoctor-pdf-example --- io/console not supported; tty will not be manipulated Failed to parse formatted text: This is a double arrow: ⇔ [INFO] Rendered ###\asciidoctor-pdf-example\src\docs\asciidoc\example-manual.adoc [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ asciidoctor-pdf-example --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory ###\asciidoctor-pdf-example\src\main\resources [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.089 s [INFO] Finished at: 2015-10-28T10:15:48+01:00 [INFO] Final Memory: 82M/989M [INFO] ------------------------------------------------------------------------ Thank you in advance for your help. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
In reply to this post by mojavelinux
I have opened this issue: https://github.com/asciidoctor/asciidoctor/issues/1554 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
In reply to this post by Jeremie Bresson
This is not working for PDF: This is a double arrow: ⇔ But this works: This is a double arrow: ⇔ Problem solved. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
+1 On Wed, Oct 28, 2015 at 6:38 AM, Jeremie Bresson [via Asciidoctor :: Discussion] <[hidden email]> wrote: This is not working for PDF: ... [show rest of quote] Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Free forum by Nabble | Edit this page |