JafSoft Support Forums  
  Products:
AscToHTM (text to HTML) / AscToPDF (text to PDF) / AscToRTF (text to RTF) / Detagger (HTML to text and markup removal) 

 
  Forum options:
Forum Index  Register  Login  Search  FAQ  Log Out
Member options:
My Profile  Inbox  Member List  Address Book  My Subscription  My Forums 
 
 

Note: Some forums require a login other than "Guest" in order to post messages and replies


How to wrap long lines

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums > [Product forums] > AscToHTM > How to wrap long lines Page: [1]
Login
Message << Older Topic   Newer Topic >
How to wrap long lines - 5/18/2008 12:55:47 PM   
library12

 

Posts: 4
Joined: 5/9/2008
Status: offline
Well, I'm quite close to becoming a hero with the implementation of our new titles list for each Program area at our fine educational institution. However, one small snag. I'm not having any luck wrapping very long lines.

Here is the a sample with the text not wrapped in the file though it will wrap in the post window here.  Actually it looks very nice shown here, just what I need to be able to do when converting to html.

RC86.7 .P48 2007
PHTLS : prehospital trauma life support
Prehospital Trauma Life Support Committee of the National Association of Emergency Medical Technicians in cooperation with The Committee on Trauma of the American College of Surgeons
[[HYPERLINK URL,"http://library.siast.sk.ca/web2/tramp2.exe/do_keyword_search/guest?setting_key=wascana&servers=1home&index=ckey&query=608834","View Catalogue Record"]]
Post #: 1
RE: How to wrap long lines - 5/18/2008 4:21:09 PM   
Jaf

 

Posts: 70
Joined: 2/1/2006
Status: offline
quote:


Well, I'm quite close to becoming a hero with the implementation of our new titles list for each Program area at our fine educational institution.


Always good news to hear we're making you look good

quote:

However, one small snag. I'm not having any luck wrapping very long lines.


I'm not sure exactly what problem you're having here.  AscToHTM will attempt to calculate your page width, and then use that to decide which are "short" lines.   Most text will be put out in paragraph form, so that lines will run together, but any "short" lines will have a <br> places on them in an attempt to preserve this "artificial" structure.

It may be worth playing with the Short line length and page width parameters on the Anaylsis tab after you've first tried a conversion (the tab will update to reflect the values the software auo-detects after a conversion).

Alternatively, if you want to preserve the line structure of the original in it's entirely, go to

   Conversion Options -> Output... -> File Generation -> General

and select the Preserve line structure option.

However, if what you want if to insert line breaks into text that doesn't already contain them, then I'm afraid there's not an option for that.  Although you could perhaps use a CSS stylesheet to limit the text width on a page.

(in reply to library12)
Post #: 2
Page:   [1]
All Forums > [Product forums] > AscToHTM > How to wrap long lines Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts