COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Text export with line breaks

• Email
• Follow

Is there a way to extract text from acroread display with line breaks?
In the past this has worked but not now. So may be there is a configuration
trick or it depends on something else I haven't tried.

It's the same question again as someone has written in 1997:
+text&hl=de&lr=&ie=UTF-8&group=comp.text.pdf&start=20&sa=N

ideas?

cheers

Reimar
--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
==================================================================
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro.html


 0

See related articles to this posting

Reimar Bauer wrote:

>
> Is there a way to extract text from acroread display with line breaks?
> In the past this has worked but not now. So may be there is a
> configuration trick or it depends on something else I haven't tried.
>
>
> It's the same question again as someone has written in 1997:
> +text&hl=de&lr=&ie=UTF-8&group=comp.text.pdf&start=20&sa=N
>
> ideas?
>
> cheers
>
> Reimar

xpdf works but I need at the moment acroread. And it is a linux box.

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
==================================================================
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro.html


 0

1 Replies
432 Views

Similar Articles

12/11/2013 12:09:56 AM
page loaded in 74422 ms. (0)

Hi, I'm trying to loop through a .txt file and grab a number at the beginning of the line. I want to save this number in a variable and then compare it with the number at the beginning of the next line. For instance my text would look like this: 1sampletextsampletextsamplet22tsampletextsampletextsampletext 2sampletextsampletextsamplet22tsampletextsampletextsampletext 3sampletextsampletextsamplet22tsampletextsampletextsampletext The lines are distinct from one other, each one ends with a newline character. How do I loop through a text file line by line? #Heres my code so far $myvar = &... Sketch text exported to dwg is horribly faceted Hi all, If I created a 3d model that is a sign, and I use sw's sketch text to created the actual sign text which in this case is 8" high text. Then when I make a 2d drawing of the sign face - I need to export as a dwg then convert to adobe illustrator. The problem is that when sw exports the dwg the curved portions of the letters are converted to faceted polylines with very very large facets. Any ideas here? Thanks, Zander I tried to recreate your problem using Century Gothic set to 8 inches. I exported the part as .sat and had no problem. Then I exported the part after makin... exporting with text qualifiers Please help me to find a way to export a SAS data set as text file with pipe delimiters(|) and text qualifier(") .I'm currently using sas 9.1.0 ... line break and hyphenation I'm doing markup of some original texts, and want to be able too optionally keep the line breaks of the original. But sometimes a word is hyphenated at a line break. At TEI-L I found the proposition to encode such cases as <reg orig="hyphe|nated">hyphenated</reg> This seems good because the word is availabe for greping etc. My problem is, how do I write an xslt template to deal with this? I want to be able to get both 'hyphe-<br/>nated' and 'hyphenated' as output. Is there someone who can help me? /Patrik Nyman patrik.nyman@orient.su.se... turn text lines into a list i have a large number of lines i want to turn into a list. In perl, i can do @corenames=3Dqw( rb_basic_islamic sq1_pentagonTile sq_arc501Tile sq_arc503Tile ); use Data::Dumper; print Dumper(\@corenames); ---------- is there some shortcut to turn lines into list in Python? Xah xah@xahlee.org =E2=88=91 http://xahlee.org/ Xah Lee wrote: > i have a large number of lines i want to turn into a list. > In perl, i can do > > @corenames=qw( > rb_basic_islamic > sq1_pentagonTile > sq_arc501Tile > sq_arc503Tile > ); > > use Data::Dumper; > print Dumper(\@core... Exporting address book in text format I want to export the contents of my address book in plain text format in order to copy and paste the contents to my ISP's e-mail filters. Is there any way of doing this using an iMac G5 running OS X? In article <0001HW.C10CE8FE002EA8C4F0284530@news.claranews.com>, Peter James <pfjamesAT@clara.co.uk> wrote: > I want to export the contents of my address book in plain text format in > order to copy and paste the contents to my ISP's e-mail filters. Is there > any way of doing this using an iMac G5 running OS X? Search versiontracker.com for "addres... line breaks for url within bib I have reviewed Tex FAQs 1) URLs in BibTeX bibliographies and 2) Typesetting URLs but still cannot figure out how to (automatically) hyphenate/line break long url addresses within a bib entry description. Imagine a url: www.WhenInTheCourseOfHumanEventsItBecomes....com that I am putting in as the publisher or howpublished (in @misc). I do not need or even want the url to be an active link, just plain text (using default font for whichever item it is). I have tried \ hyphenation{When In The Course Of Human Events It Becomes} but bibtex just ignores it. I realize I can kluge it t... how to remove line breaks from imported fields I am importing from a csv in which there are hard breaks within some fields. I would like to strip them, and wonder if this can be done automagically. Yes, they could be removed automatically, depending on the format of the CSV file. For example: "12","Edward","Smith","123 Main St.","CA","95123" "24","John","Jones","358 Elm Rd.","MI","48321" "31","Mary","Adams","ACME Corp. 1000 Acme Way","WA","98246" "44&quo... line feed is missing if the text is truncated? some files cannot be read by notepad, all the texts are truncated like garbages. But if we open with a text editor, then it is fine. What are the reasons for that? The file was created using UNIX editor and there is no line feed? But I tried it and it was fine. any ideas? In article <1104709170.141958.257050@c13g2000cwb.googlegroups.com>, <jrefactors@hotmail.com> wrote: >some files cannot be read by notepad, all the texts are truncated like >garbages. But if we open with a text editor, then it is fine. What are >the reasons for that? The file was created using UNIX edi... Controlling no of lines for text area input Is there a way I can control the number of lines a user enters in a textarea? I like to allow user to enter let say 5 lines and no more than that. Thanks in advance. <effendi@epitome.com.sg> wrote in message news:1108427514.540279.78830@z14g2000cwz.googlegroups.com... > Is there a way I can control the number of lines a user enters in a > textarea? I like to allow user to enter let say 5 lines and no more > than that. > > Thanks in advance. It's more practical to work in terms of the number of characters rather than lines. The .value.length property of the textare... Insert Text on line after regex match Basically i am trying to enter some lines into an httpd.conf directly after a certain matched text. ex. I want to insert this AddType application/x-httpd-php .php .phtml after this AddHandler cgi-script .cgi and no where else. I have tried some while loops with if then matching, but i cant seem to get it right. Any help would be much appreciated. In article <1113184879.685849.325300@o13g2000cwo.googlegroups.com>, <wbell@csxinc.com> wrote: : Basically i am trying to enter some lines into an httpd.conf directly : after a certain matched text. : : ex. : : I want to in... how to break line with numbers into smaller parts? Hi, I have a line with numbers seperated by a white space and would like to break it and store individual numbers in variables. 130 84 90 44 97 23 44 25 107 143 105 49 102 32 71 30 37 25 243 197 123 114 75 31 77 28 38 32 155 137 67 47 54 144 44 76 37 45 114 123 109 62 Have been trying with a bash script calling awk but assigns the whole line to the variable. I think RS or FS has to be set in awk commands, but I am not sure where to do it. Can anyone with more practice please help me here out. Regards, -- Luqman At 2006-12-12 01:07PM, "Luqman" wrote: > Hi, > I have a l... Export to date-separated text file To explain: I want to export a file containing a list of events, sorted by date. These will be parsed into an InDesign Tags format for importation into a weekly newspaper. The events will be displayed by date, as in Tuesday, July 19 1 p.m., event 1 information 3:30 p.m., event 2 information 7 p.m., event 3 information Wednesday, July 20 10:30 a.m., event 1 information 1:30 p.m., event 2 information 6 p.m., event 3 information And so on. In the export, I need to export all of the relevant records in the date range (that part's working), and have them be separated in the text... look for two consecutive lines in all text files How to get (a list of) all the text files in the current directory and subdirectories which has the following two consecutive lines: ctrl_end_date=2009 ctrl_process=EXPIRED OR ctrl_end_date=2010 ctrl_process=EXPIRED i.e. (ctrl_end_date=2009 OR ctrl_end_date=2010) AND ctrl_process=EXPIRED On Sep 2, 11:43=A0am, albert kao <albertk...@gmail.com> wrote: > How to get (a list of) all the text files in the current directory and > subdirectories which has the following two consecutive lines: > ctrl_end_date=3D2009 > ctrl_process=3DEXPIRED > OR > ctrl_end_date=3D2010 > ctrl... wrapfigure wrapping the first line of text incorrectly I am having trouble with wrapfigure wrapping (just the first line of) the text next to it incorrectly. It wraps the line far too early. All following lines wrap correctly. This happens both on my PC (version 3.141592-1.40.4, MiKTeX 2.6, floatflt 1996/02/27 v. 1.3) and on my Linux box with tetex and whatever floatflt came with it. Wraps incorrectly abot 1/2 of the floated figures. Here is an example http://primes.utm.edu/error.gif This example comes from the code below. Any suggestions? \needspace{2\baselineskip}% \textbf{281} \newline \begin{wrapfigure}{R}{0.35\textwidth} \... Break line in part name on beamer.cls Hi, I am using the beamer for preparing presentations which have a long name for the parts. Thus, when I use \part{A Very Long Long, Really Long Name of parts of the presentation} the name of the part does not fit into the width of the bow (Warsaw theme). So, how can I insert a break line into the part name in order to allow it to fit into the box width? Best regards, Charles ... Help in searching & replacing multiple lines of text Hi, I'm trying to delete a bunch of text from a file so the application Delicious Library will run better and was hoping someone would recommend a utility that would accomplish this or explain how to do it using a tool like GREP. Here's the backstory: Delicious Library has a "feature" where it searches Amazon for items similar to those you already own, which might be helpful if it didn't slow the app down so much. I've got a huge library and DL keeps freezing for a minute or so randomly to update these similar items. Last year the support guy at DL was kind enough t... how to read in one line from a text file at one time I have to read from a text file one line at a time, but cannot find a proper command under Csh to do so, anyone can help, thanks. "Crystal, nwang" <nwang0902@gmail.com> writes: > I have to read from a text file one line at a time, but cannot find a > proper command under Csh to do so, anyone can help, thanks. You can read a line from standard input using set ans =$< And you can change standard input to be a file if you start your script as script <file But you cannot specify a filename inside a script. The C shell has issues. See answer #5 in http...