Re: Smart quotes?

Sherwood Botsford <[email protected]> Fri, 25 Mar 2016 09:55:41 -0600
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CAOX=2F8qj8T5oOhDRSUd7KGeDhzydmMuoC4G0FkLPZKs+_NieQ@mail.gmail.com>
--===============0745313476558344908==
Content-Type: multipart/alternative; boundary=94eb2c086638aee9d0052ee19a0e

--94eb2c086638aee9d0052ee19a0e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I may end up doing that.  That sort of thing gets in the way of the
creative process.  Even now in TT2 I have to escape dollar signs when I
want a dollar sign.  That's another thing to fix.

I like writing in Markdown.  All the yuck in my template is in and INCLUDE
HEADER.  My basic web page has 3 directives at the top, 3 at the bottom and
the rest is markdown.  Mind you HEADER.INC is 200 lines of TT2 and there
are another pair of 200 line perl programs that do some pre-processing.

I was hoping to be able to do this by adding another FILTER to the stack.

Respectfully,

Sherwood of Sherwood's Forests


On 25 March 2016 at 02:46, Johan Vromans <[email protected]> wrote:

> On Thu, 24 Mar 2016 21:18:08 -0600
> Sherwood Botsford <[email protected]> wrote:
>
> > I was hoping for a little bit more comprehensive solution.  Even
> > SmartyPants doesn't get it all correct.
>
> Warning: This is not an answer to your question although it may help...
>
> I find it easy to input the typographical quotes (=E2=80=98single=E2=80=
=99 =E2=80=9Cdouble=E2=80=9D
> even =E2=80=9Aoldstyle=E2=80=99) while typing, using one of the compose-k=
ey input
> mechanisms. The same goes for accented letters (=C3=A1 =C3=AB =C3=B8) and=
 some other stuff
> (=E2=82=AC =E2=98=BA).
>
> For software that cannot handle UTF-8 encoded, I have a TT filter that
> replaces non-ascii characters by their &ent; counterparts.
>
> -- Johan
>
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
>

--94eb2c086638aee9d0052ee19a0e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I may end up doing that.=C2=A0 That sort of thing gets in =
the way of the creative process.=C2=A0 Even now in TT2 I have to escape dol=
lar signs when I want a dollar sign.=C2=A0 That&#39;s another thing to fix.=
<div><br></div><div>I like writing in Markdown.=C2=A0 All the yuck in my te=
mplate is in and INCLUDE HEADER.=C2=A0 My basic web page has 3 directives a=
t the top, 3 at the bottom and the rest is markdown.=C2=A0 Mind you HEADER.=
INC is 200 lines of TT2 and there are another pair of 200 line perl program=
s that do some pre-processing.</div><div><br></div><div>I was hoping to be =
able to do this by adding another FILTER to the stack.</div></div><div clas=
s=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signature"><di=
v dir=3D"ltr"><div><div dir=3D"ltr"><div>Respectfully,<br><br>Sherwood of S=
herwood&#39;s Forests<br><br></div></div></div></div></div></div>
<br><div class=3D"gmail_quote">On 25 March 2016 at 02:46, Johan Vromans <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><span class=3D"">On Thu, 24 Mar 2016 21:18:08 -0600<br>
Sherwood Botsford &lt;<a href=3D"mailto:[email protected]">sgbotsford@gm=
ail.com</a>&gt; wrote:<br>
<br>
&gt; I was hoping for a little bit more comprehensive solution.=C2=A0 Even<=
br>
&gt; SmartyPants doesn&#39;t get it all correct.<br>
<br>
</span>Warning: This is not an answer to your question although it may help=
...<br>
<br>
I find it easy to input the typographical quotes (=E2=80=98single=E2=80=99 =
=E2=80=9Cdouble=E2=80=9D<br>
even =E2=80=9Aoldstyle=E2=80=99) while typing, using one of the compose-key=
 input<br>
mechanisms. The same goes for accented letters (=C3=A1 =C3=AB =C3=B8) and s=
ome other stuff<br>
(=E2=82=AC =E2=98=BA).<br>
<br>
For software that cannot handle UTF-8 encoded, I have a TT filter that<br>
replaces non-ascii characters by their &amp;ent; counterparts.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-- Johan<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
templates mailing list<br>
<a href=3D"mailto:[email protected]">templates@template-toolki=
t.org</a><br>
<a href=3D"http://mail.template-toolkit.org/mailman/listinfo/templates" rel=
=3D"noreferrer" target=3D"_blank">http://mail.template-toolkit.org/mailman/=
listinfo/templates</a><br>
</div></div></blockquote></div><br></div>

--94eb2c086638aee9d0052ee19a0e--


--===============0745313476558344908==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

--===============0745313476558344908==--