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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 >> [email protected] >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
