public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to type arrow?
@ 2012-04-09 21:17 Peng Yu
       [not found] ` <b27a3f27-81a8-444d-abe4-4b2114a5f220-QDc/DHGF8irHdqrNY7FC6GB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Yu @ 2012-04-09 21:17 UTC (permalink / raw)
  To: pandoc-discuss

Hi,

There is a few ways for typing arrows (left, right). Does anybody know
the most convenient way?

Regards,
Peng


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

* Re: How to type arrow?
       [not found] ` <b27a3f27-81a8-444d-abe4-4b2114a5f220-QDc/DHGF8irHdqrNY7FC6GB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
@ 2012-04-10  2:42   ` John Gabriele
       [not found]     ` <CAO9PwMXzrSWG_M-caWGJy3p0-1GgBPfZMOVhq0qkFKiuvuxZZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2017-09-28 18:10   ` Salim B
  1 sibling, 1 reply; 11+ messages in thread
From: John Gabriele @ 2012-04-10  2:42 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On Mon, Apr 9, 2012 at 5:17 PM, Peng Yu <pengyu.ut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> There is a few ways for typing arrows (left, right). Does anybody know
> the most convenient way?

Hi Peng,

The code points are 2192 for "→", and 2190 for "←".

In Emacs, you type "M-x ucs-insert", then the code point, then <Enter>.

With GTK-based apps, it's Shift-Ctrl-u, then the codepoint, then <Enter>.

---John

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

* Re: How to type arrow?
       [not found]     ` <CAO9PwMXzrSWG_M-caWGJy3p0-1GgBPfZMOVhq0qkFKiuvuxZZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-04-10  5:10       ` Peng Yu
       [not found]         ` <CABrM6wnnrAe7HzvquoLRYKDeiUREaCYgpbLWsPMVd1shkmwmnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Yu @ 2012-04-10  5:10 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

> Hi Peng,
>
> The code points are 2192 for "→", and 2190 for "←".
>
> In Emacs, you type "M-x ucs-insert", then the code point, then <Enter>.

I use vim. Does anybody know any shortcut?

-- 
Regards,
Peng

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

* Re: How to type arrow?
       [not found]         ` <CABrM6wnnrAe7HzvquoLRYKDeiUREaCYgpbLWsPMVd1shkmwmnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-04-10  5:26           ` John Gabriele
  2012-04-10  5:34           ` Dirk Laurie
  1 sibling, 0 replies; 11+ messages in thread
From: John Gabriele @ 2012-04-10  5:26 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On Tue, Apr 10, 2012 at 1:10 AM, Peng Yu <pengyu.ut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> I use vim. Does anybody know any shortcut?
>

I quick search http://duckduckgo.com/?q=vim+insert+unicode turned up a
number of links, including this:
https://en.wikipedia.org/wiki/Unicode_input . Vim is mentioned in
there.

---John


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

* Re: How to type arrow?
       [not found]         ` <CABrM6wnnrAe7HzvquoLRYKDeiUREaCYgpbLWsPMVd1shkmwmnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-04-10  5:26           ` John Gabriele
@ 2012-04-10  5:34           ` Dirk Laurie
       [not found]             ` <CABcj=t=CcDD_MhQcXrNRDSik1rBi2FCkbPVNzXNC1OhykCKCMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 11+ messages in thread
From: Dirk Laurie @ 2012-04-10  5:34 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

>>
>> The code points are 2192 for "→", and 2190 for "←".
>>
>> In Emacs, you type "M-x ucs-insert", then the code point, then <Enter>.
>
> I use vim. Does anybody know any shortcut?
>

You can do magic with .vimrc, but if you use vim, you're probably on some
sort of Unix, and it's less confusing to have your keyboard the same for all
applications.

On  an X-window based system (I can actually only confirm for Gnome)
shortcuts are handled as specified in a file named Compose.  `man Compose`
will tell you where the file is.  The file tells you about all
predefined multikey
sequences, e.g. mine has these lines:

<Multi_key> <less> <minus>      : "←"   U2190 # LEFTWARDS ARROW
<Multi_key> <minus> <greater>   : "→"   U2192 # RIGHTWARDS ARROW
<Multi_key> <equal> <greater>   : "⇒"   U21D2 # RIGHT DOUBLE ARROW
<Multi_key> <less> <equal>      : "⇐"   U21D0 # LEFT DOUBLE ARROW

You need to have specified a Multi key (aka Compose key) somewhere; Gnome
can do it from the settings menu.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

* Re: How to type arrow?
       [not found]             ` <CABcj=t=CcDD_MhQcXrNRDSik1rBi2FCkbPVNzXNC1OhykCKCMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-04-10  5:43               ` HansBKK
  2012-04-10  5:50               ` Peng Yu
  2012-04-10  6:39               ` Werner LEMBERG
  2 siblings, 0 replies; 11+ messages in thread
From: HansBKK @ 2012-04-10  5:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

On Tuesday, April 10, 2012 12:34:40 PM UTC+7, Dirk wrote:
>
>
> if you use vim, you're probably on some sort of Unix, and it's less 
> confusing to have your keyboard the same for all
> applications.
>

I happen to be a Vim user on Windows, but I feel the same way, and use 
AutoHotKey for my hotkeys for that exact reason. Also lets me have 
app-specific macros for apps that don't even support them natively, or 
without having to learn a new paradigm for each that does.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pandoc-discuss/-/Ij6GQxCJwQ4J.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.


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

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

* Re: How to type arrow?
       [not found]             ` <CABcj=t=CcDD_MhQcXrNRDSik1rBi2FCkbPVNzXNC1OhykCKCMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-04-10  5:43               ` HansBKK
@ 2012-04-10  5:50               ` Peng Yu
       [not found]                 ` <CABrM6wnACvawOz95WxT5hZr6yxJxQrT4tEX9Qs83+wNW1hiQoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-04-10  6:39               ` Werner LEMBERG
  2 siblings, 1 reply; 11+ messages in thread
From: Peng Yu @ 2012-04-10  5:50 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On Tue, Apr 10, 2012 at 12:34 AM, Dirk Laurie <dirk.laurie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>>
>>> The code points are 2192 for "→", and 2190 for "←".
>>>
>>> In Emacs, you type "M-x ucs-insert", then the code point, then <Enter>.
>>
>> I use vim. Does anybody know any shortcut?
>>
>
> You can do magic with .vimrc, but if you use vim, you're probably on some
> sort of Unix, and it's less confusing to have your keyboard the same for all
> applications.
>
> On  an X-window based system (I can actually only confirm for Gnome)
> shortcuts are handled as specified in a file named Compose.  `man Compose`
> will tell you where the file is.  The file tells you about all
> predefined multikey
> sequences, e.g. mine has these lines:
>
> <Multi_key> <less> <minus>      : "←"   U2190 # LEFTWARDS ARROW
> <Multi_key> <minus> <greater>   : "→"   U2192 # RIGHTWARDS ARROW
> <Multi_key> <equal> <greater>   : "⇒"   U21D2 # RIGHT DOUBLE ARROW
> <Multi_key> <less> <equal>      : "⇐"   U21D0 # LEFT DOUBLE ARROW

I use mac. So I guess this won't help natively? (Also, I'm not sure
what is Multi_key on mac)

> You need to have specified a Multi key (aka Compose key) somewhere; Gnome
> can do it from the settings menu.

Is there a way to just convert -> into an arrow for example in --smart?

-- 
Regards,
Peng

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

* Re: How to type arrow?
       [not found]                 ` <CABrM6wnACvawOz95WxT5hZr6yxJxQrT4tEX9Qs83+wNW1hiQoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-04-10  6:03                   ` Peter Wang
       [not found]                     ` <20120410160320.GG8657-j5sBwglC4Qx82hYKe6nXyg@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Wang @ 2012-04-10  6:03 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On Tue, 10 Apr 2012 00:50:07 -0500, Peng Yu <pengyu.ut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> I use vim. Does anybody know any shortcut?

vim digraph feature should work everywhere, e.g. ^K<- and ^K->

Peter


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

* Re: How to type arrow?
       [not found]             ` <CABcj=t=CcDD_MhQcXrNRDSik1rBi2FCkbPVNzXNC1OhykCKCMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2012-04-10  5:43               ` HansBKK
  2012-04-10  5:50               ` Peng Yu
@ 2012-04-10  6:39               ` Werner LEMBERG
  2 siblings, 0 replies; 11+ messages in thread
From: Werner LEMBERG @ 2012-04-10  6:39 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw,
	dirk.laurie-Re5JQEeQqe8AvxtiuMwx3w


> On  an X-window based system (I can actually only confirm for Gnome)
> shortcuts are handled as specified in a file named Compose.  `man
> Compose` will tell you where the file is.  [...]

Note, however, that if you use SCIM (for providing various input
methods), the compose configuration file is ignored, unfortunately.
Maybe other, more recent input method implementations have this fixed.


    Werner

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

* Re: How to type arrow?
       [not found]                     ` <20120410160320.GG8657-j5sBwglC4Qx82hYKe6nXyg@public.gmane.org>
@ 2012-04-10 20:04                       ` John MacFarlane
  0 siblings, 0 replies; 11+ messages in thread
From: John MacFarlane @ 2012-04-10 20:04 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ Peter Wang [Apr 10 12 16:03 ]:
> On Tue, 10 Apr 2012 00:50:07 -0500, Peng Yu <pengyu.ut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > >> I use vim. Does anybody know any shortcut?
> 
> vim digraph feature should work everywhere, e.g. ^K<- and ^K->

Yes, this is what I use.

Remember that you can also use HTML entities in markdown
(and they'll work properly in all output formats).  So,
for example, `&larr;` `&rarr;`.



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

* Re: How to type arrow?
       [not found] ` <b27a3f27-81a8-444d-abe4-4b2114a5f220-QDc/DHGF8irHdqrNY7FC6GB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
  2012-04-10  2:42   ` John Gabriele
@ 2017-09-28 18:10   ` Salim B
  1 sibling, 0 replies; 11+ messages in thread
From: Salim B @ 2017-09-28 18:10 UTC (permalink / raw)
  To: pandoc-discuss


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

Just wanted to note that there's a Pandoc filter (written in Perl) that 
converts ASCII arrows to Latex arrows: 
https://github.com/nichtich/pandoc-filter-arrows

I've tested it quickly and it seems to work as expected. And even doesn't 
interpret/break (multiline) HTML comments (<!-- -->)!

Am Montag, 9. April 2012 23:17:29 UTC+2 schrieb Peng Yu:
>
> Hi, 
>
> There is a few ways for typing arrows (left, right). Does anybody know 
> the most convenient way? 
>
> Regards, 
> Peng


-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c749a968-234b-4bd9-97b1-2d0ffeafd4aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2017-09-28 18:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-09 21:17 How to type arrow? Peng Yu
     [not found] ` <b27a3f27-81a8-444d-abe4-4b2114a5f220-QDc/DHGF8irHdqrNY7FC6GB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2012-04-10  2:42   ` John Gabriele
     [not found]     ` <CAO9PwMXzrSWG_M-caWGJy3p0-1GgBPfZMOVhq0qkFKiuvuxZZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-10  5:10       ` Peng Yu
     [not found]         ` <CABrM6wnnrAe7HzvquoLRYKDeiUREaCYgpbLWsPMVd1shkmwmnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-10  5:26           ` John Gabriele
2012-04-10  5:34           ` Dirk Laurie
     [not found]             ` <CABcj=t=CcDD_MhQcXrNRDSik1rBi2FCkbPVNzXNC1OhykCKCMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-10  5:43               ` HansBKK
2012-04-10  5:50               ` Peng Yu
     [not found]                 ` <CABrM6wnACvawOz95WxT5hZr6yxJxQrT4tEX9Qs83+wNW1hiQoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-10  6:03                   ` Peter Wang
     [not found]                     ` <20120410160320.GG8657-j5sBwglC4Qx82hYKe6nXyg@public.gmane.org>
2012-04-10 20:04                       ` John MacFarlane
2012-04-10  6:39               ` Werner LEMBERG
2017-09-28 18:10   ` Salim B

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