Re: [tex4ht] Why tex4ht changes apostrophe to Right Single Quotation Mark?

2018-01-08 Thread Nasser M. Abbasi


On 1/8/2018 11:33 PM, Nasser M. Abbasi wrote:

In Matlab, a string is something with apostrophe around it:

x='this is string'

Using '  character (the thing below " on standard keyboard).

When I compile this, even inside verbatim, the HTML comes
out looking like

x=’this is string’

This is a problem. Since now when I copy the above from
the HTML page to Matlab, it gives error. Since now it is
no longer a string.

The problem seems to be that ' has unicode  but
this is also the same code for Right Single Quotation Mark?

So why does it appear as ’ on the web page, when inside
the plain text file it appears as '   ?

And what should one do to keep '  showing as ' in HTML?

Here is MWE

--
\documentclass[11pt]{article}
\begin{document}

Why make4ht changes ' to  Right Single Quotation Mark \verb|?
It also does it in \verb|'| and verbatim:

\begin{verbatim}
x='this is string'
\end{verbatim}

\end{document}
-

Compiled using make4ht foo.tex

This is what the HTML looks like

--


x=thisisstring
--

Even when I compile using

make4ht -u foo.tex

The problem is still there
---



 
x=’this is string’

-

What do I need to do to keep apostrophe as apostrophe
in the HTML?

Using tex4ht 2017 on Linux.

Thanks
--Nasser






Sorry, I meant to also send link to this web page which has
the codes

https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html

But it says above that "U+0027 APOSTROPHE" and then it says
later

"U+2019RIGHT SINGLE QUOTATION MARK ’
this is the preferred character to use for apostrophe"

This is all so confusing to me.  I just need ' to remain
' in the HTML.

Thanks
--Nasser


[tex4ht] Why tex4ht changes apostrophe to Right Single Quotation Mark?

2018-01-08 Thread Nasser M. Abbasi

In Matlab, a string is something with apostrophe around it:

x='this is string'

Using '  character (the thing below " on standard keyboard).

When I compile this, even inside verbatim, the HTML comes
out looking like

x=’this is string’

This is a problem. Since now when I copy the above from
the HTML page to Matlab, it gives error. Since now it is
no longer a string.

The problem seems to be that ' has unicode  but
this is also the same code for Right Single Quotation Mark?

So why does it appear as ’ on the web page, when inside
the plain text file it appears as '   ?

And what should one do to keep '  showing as ' in HTML?

Here is MWE

--
\documentclass[11pt]{article}
\begin{document}

Why make4ht changes ' to  Right Single Quotation Mark \verb|?
It also does it in \verb|'| and verbatim:

\begin{verbatim}
x='this is string'
\end{verbatim}

\end{document}
-

Compiled using make4ht foo.tex

This is what the HTML looks like

--


x=thisisstring
--

Even when I compile using

make4ht -u foo.tex

The problem is still there
---



   
x=’this is string’

-

What do I need to do to keep apostrophe as apostrophe
in the HTML?

Using tex4ht 2017 on Linux.

Thanks
--Nasser




[tex4ht] [bug #376] Biblatex 3.10

2018-01-08 Thread Karl Berry
Update of bug #376 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

it would not seem so difficult to me to do the version number checking
differently, but anyway, i agree we might as well just eliminate the old code,
at least until there's a problem. i pushed this to tl (a couple days ago) ...
--thanks, k.


___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #376] Biblatex 3.10

2018-01-08 Thread Michal Hoftich
URL:
  

 Summary: Biblatex 3.10
 Project: tex4ht
Submitted by: michal_h21
Submitted on: Mon 08 Jan 2018 10:02:27 AM EET
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

tex4ht is broken with Biblatex 3.10, as reported on TeX.sx [1]. The issue is
that this version executes code intended  for Biblatex version < 3.4. It seems
that the version checking code is quite fragile and it breaks quite often.
Moreover, we can expect that if someone uses up to date tex4ht version, he
also uses up to date Biblatex. So I've removed the obsolete code and updated
the sources.


[1] https://tex.stackexchange.com/q/408742/2891




___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/