[Jprogramming] J, Tex, Latex
John Baker
bakerjd99 at gmail.com
Sun Dec 1 21:38:43 UTC 2013
Box characters are a problem. You need a font that includes them and you need to define them for lstlistings to work. This is similar to what needs to done to use APL characters in lstlistings. My blog post, on typesetting APL with the lstlistings package shows how to setup arbitrary Unicode for lstlistings.
Sent from my iPhone
On Dec 1, 2013, at 2:34 PM, Y-01 <darling.kicks at gmail.com> wrote:
> Thanks.
>
> In real my problem - to turn on the support of box-ornament-encoding inside
> tex. For example on such text
>
> 'a';'b';'c'
> ┌─┬─┬─┐
> │a│b│c│
> └─┴─┴─┘
>
> i get ! Package inputenc Error: Keyboard character used is undefined
> (inputenc) in inputencoding `utf8'.
>
> See the inputenc package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.66 ┌─┬─┬─┐
>
>
> I play with
> \usepackage[T1]{fontenc}
> \usepackage[utf8]{inputenc} utf8, ascii, latin9
>
> what argv for {inputenc} do you use?
>
> On Mon, Dec 2, 2013 at 12:09 AM, John Baker <bakerjd99 at gmail.com> wrote:
>
>> On a related note it's easy to define J as supported language with the
>> lstlistings package. There are some limitations but the the results are
>> quite good. I used this to put together the JOD PDF document.
>>
>>
>> On Sun, Dec 1, 2013 at 2:02 PM, Joe Bogner <joebogner at gmail.com> wrote:
>>
>>> Semi-related: you can generate LaTeX from org-babel under emacs and I
>>> have an org-babel plugin for J to allow embedding J in org-mode
>>> documents.
>>>
>>> https://github.com/joebo/org-babel-j
>>>
>>> I haven't tried exporting to LaTeX myself, but I understand it should
>>> work out of the box. I have used other exporters.
>>>
>>> http://orgmode.org/worg/org-contrib/babel/examples/foo.html
>>>
>>>
>>> On Sun, Dec 1, 2013 at 2:18 PM, Y-01 <darling.kicks at gmail.com> wrote:
>>>> Hi, Jets
>>>>
>>>> Here is package ESJTeX, by EwartShaw
>>>> http://www.jsoftware.com/jwiki/EwartShaw/ESJTeX
>>>>
>>>> Package consists of 5 files, but available only 3 of them (the most
>>>> important are not in this group: example.tex & esjtex.sty).
>>>>
>>>> Who can fix it? Maybe somebody will be able to share these files?
>>>>
>>>> thanks
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>>
>>
>> --
>> John D. Baker
>> bakerjd99 at gmail.com
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list