RE: LaTeX Legally Blind: Table Wrapping, Overful Hbox and Code Listings

  • From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 1 Apr 2008 18:51:13 -0700


Sorry about that quick answer I normally do better but I was in a bit of a
rush my new German Sheppard puppy was eating my earphones.

Now as for an answer here is an example of a DocBook full of math examples

http://docs.huihoo.com/xml/using-docbook/dbexample.html 

Ken

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Ken Perry
Sent: Tuesday, April 01, 2008 6:25 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: LaTeX Legally Blind: Table Wrapping, Overful Hbox and Code
Listings



It has tags for them.

Ken 

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of tribble
Sent: Tuesday, April 01, 2008 1:38 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: LaTeX Legally Blind: Table Wrapping, Overful Hbox and Code
Listings

Hey Ken, How does docbook handle math and scientific symbols?  Just curious.


----- Original Message -----
From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Tuesday, April 01, 2008 3:09 AM
Subject: RE: LaTeX Legally Blind: Table Wrapping, Overful Hbox and Code
Listings



Wow you just pointed out every reason I stopped using Latex and switched to
DocBook xml .  I hope you find your answers but if you want less head ache
and a better document system DocBook is much better.

Ken

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Veli-Pekka
Tätilä
Sent: Monday, March 31, 2008 11:52 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: LaTeX Legally Blind: Table Wrapping, Overful Hbox and Code Listings

Hi,
I'm new to LaTeX and am currently writing my master's thesis using it.
I'd also like to use it for program docs, reference manuals and many other
things, considering how easy and supposedly elegant looking it is.
IT is also nice for math and BibTeX is great and accessible.

Ideally I'd like to manage without sighted help so once the doc has been
converted to DVI, is there an accessible way of viewing how the text looks
exactly. PDF is not currently very accessible with Supernova and ACrobat,
the performance is horrible I think. I've run into some basic problems I'd
like to ask you about:

1. How do I ensure that table columns don't wrap? That is, if I layout them
by default, using the left column specifier, LaTeX doesn't ensure that the
lines will in fact fit in the table cells but rather extends the table over
the page size. Is there a good way to deal with this without having to se
where  the lines would need wrapping? HTMl is quite intuitive in this regard
and unlike LaTeX has semantics for table headings. But well, HTML is not
about type setting.

2. In languages like Finnish, with lots of long compound words and words
that do include dashes, is there an easy way to recover from overful hbox
and underful badness. Even in standard FInnish text using FInnish babel I
get a depressing amount of these warnings and their result seems to be
LaTeX's insistance on not wrapping certain lines. HOwever, it would seem to
me fixing these errors is all about visual layout that's hard to convay with
a screen reader. Is there a relatively accessible way to troubleshoot them
such as a verbose switch? i.e. can I find out exactly which physical line in
the output, not the whole paragraph, got extended over the page, why, and
what I could do about that.

Since I've got about 100 pages of raw text I'm formatting with LaTeX now, my
solution is to simply put everything in the sloppypar environment and run
LaTeX with the quiet option to maintain my sanity.
The only other bad thing about that, though, is that it doesn't give me as
much error info as the LaTeX command without switches.  Any workarounds for
that and where are the TeX, LaTeX and add-on docs in accessible form? I've
mostly been going with  Googling and a Finnish LaTeX Guide.

3. If I'd like to do code listings in any language, PErl in this case,
straight from the source, is there an environment that knows how to handle
escaping and tabs correctly without me having to touch my source in any way.
The best thing would be the ability to include source listings by file name.

Any help appreciated.

PS: Hope this is the right list for this kind of thing. If not, feel free to
point me to something VI-related and more appropriate.

--
With kind regards Veli-Pekka Tätilä (vtatila@xxxxxxxxxxxxxxxxxxxx)
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: