-
On the copying and pasting from a PDF it's because of the line break at the end of each line. Most but not all PDFs have them. If you are not scared of working with the XML files there is a work around. FG discards the line breaks when it reads them in from an XML file.
Thus if you are copying from say a dungeon adventure you can make a storybook entry for each encounter to make a skeletal XML file for the adventure. Then open the XML file in a editer and copy and past the body text from the PDF into the file - you do have to surround pasted text with FG's tags but they are pretty easy to add. When FG reads in the text from the XML file it will discard all the line breaks and only care about the XML tags.
Obviously this works best if you are trying to input a large amount of PDF data into an adventure or library book.
-
The 4EParser also handles story elements. All the non-html formatting is ignored. The downside is if you want to do something in a frame or paragraph you have to punch in the html-ish formatting for it.
-
Heh. I'm surprised no one has mentioned this before when they tried to make Heathen into a module. :)
In that tutorial, I'm cut-n-pasting the text from another copy of FG2 running on the other screen. The tutorial campaign (being recorded) was called Heathen 2, and I was copying the text from my Heathen module. :P
However, I do have a solution for your line breaks. There's 2:
1. Get bigger hands. Keep your pinky on the space bar and index finder on Delete--get good at "left-click, delete, space" at the end of each line. Take breaks periodically. :P
2. Use a site like https://www.textfixer.com/tools/remove-line-breaks.php to paste in your text to remove line breaks.
If you have commercial versions of Acrobat Reader, you can modify an unlocked document to remove line breaks too, but it tends to remove spaces instead of putting line breaks, so it's not much better.
-
Thanks alot Xorn!
I used method one for the first two chapters of RHoD, but the textfixer worked wonders when I tried it.
-
I finally had to OCR the file and covert it into a DOC, I don't know why but that also worked for me.
Thanks a lot for all your answers, I will consider all of your solutions for the future.
-
Another option is to use an OCR file, as it will convert the line breaks to spaces if you tell it to. That's how I did KotS, as I OCR'd my own PDF of it.
-
Last couple of days I tried to look at the tutorials and they dont seem to be around. Any suggestions? (the video ones)
~darksandman
-
Xorn is having some issues...you can find them here:
https://www.rpgvirtualtabletop.com/t...tutorials.html
-
I can't edit my original post anymore, but my links will work if you change Eugee.Net to Eugee.Info!
Enjoy!
-
Has anyone found any documentation on the parser yet? I installed it, but have no clue what to do next.. hehe