Page 2 of 2

Re: APL chars into HTML docs

Posted: Fri Jan 03, 2014 2:52 pm
by kai
For those interested in the details:

http://archive.vector.org.uk/art10500400

Re: APL chars into HTML docs

Posted: Fri Jan 03, 2014 8:43 pm
by mario.sacco
Morten|Dyalog wrote:... Bizarre, I could have sworn I just copy/pasted that from my APL session(?). Thanks, I have corrected the post.



Don't worry Morten. Computers are more and more like humans:, you ask them to do something, they say they will, and then they do something different! I was sure that you had done a copy-paste of your code!

Thanks in advance about LaTex question.

Re: APL chars into HTML docs

Posted: Fri Jan 03, 2014 8:45 pm
by askom
mario.sacco wrote:At the moment I tried both Morten & Fiona code and both perform fine.

I know about HTML and XML but I cannot consider myself as an "expert". So my impression is that Fiona code doesn't force the reader to have APL385 font installed on her/his client. Am I right?

Thanks also to Brian, Dick and Roger for the tip&tricks to not irritate the HTML using its reserved words (that I'll try).

About Morten Code in rows 4 you wrote ⎕CREATE instead of ⎕NCREATE, a minor mistake just to avoid problems to non-expert Dyalog APL readers.

Solved this a second question ... :-) what about the use of APL385 characters into a LaTex doc?


With XeLateX it is not a problem anymore. In your document headings specify
\setmonofont{APL385} and use \verbatim environment for a beautiful APL text.

I also DO recommend you to look at pandoc http://johnmacfarlane.net/pandoc/
Using it you will easy create html/pdf/docx/tex/whatever from a markdown text files
with math, figures and APL.

/Sasha

Re: APL chars into HTML docs

Posted: Wed Jan 08, 2014 1:30 am
by askom
Did you try xelatex and/or pandoc? do you need any more help/genuineness?

/sasha

mario.sacco wrote:
Morten|Dyalog wrote:... Bizarre, I could have sworn I just copy/pasted that from my APL session(?). Thanks, I have corrected the post.



Don't worry Morten. Computers are more and more like humans:, you ask them to do something, they say they will, and then they do something different! I was sure that you had done a copy-paste of your code!

Thanks in advance about LaTex question.

Re: APL chars into HTML docs

Posted: Wed Jan 08, 2014 1:52 am
by mario.sacco
askom wrote:Did you try xelatex and/or pandoc? do you need any more help/genuineness?

/sasha



Hi Sasha,
I'm at half of the work. I tested xelatex with very good results. Now I'm able to easily mix APL & Math without lose a lot of time in strange character conversions and other alchemic processes.
About pandoc I haven't yet find the time to test. I read the info on http://johnmacfarlane.net/pandoc/index.html and it seems simply fantastic.
So at the moment I'm ok

Thanks for your support,
Mario