Sagelt / Dungeon-World

A tabletop roleplaying game.
www.dungeon-world.com
Other
372 stars 111 forks source link

Scribus support [feature request] #177

Open smurzin opened 12 years ago

smurzin commented 12 years ago

It would be great if aside indd files, there would be PostScript files, so users with Linux could actually read the book.

Unifex commented 12 years ago

On Wed, Nov 7, 2012 at 10:08 AM, Sergey Murzin notifications@github.comwrote:

It would be great if aside indd files, there would be PostScript files, so users with Linux could actually read the book.

+1

Regards Gold Riding for Christchurch http://intentionallyhomeless.org/

Sagelt commented 12 years ago

I'd love for this to happen!

I'll even work on it myself, but it's way down my to-do list.

geneome commented 11 years ago

Hey SageIt - Any headway made on providing PostScript files?

Anth0rx commented 5 years ago

@Sagelt Is there any update on this issue? I'd love seeing Dungeon World in an editable free and open source format.

lifelike commented 5 years ago

I posted a version in org-mode format that is more editable, but lacks any of the original formatting or graphics. It might be possible to use some clever org-export settings (or pandoc) to generate nicer PDFs from that version, but never looked into it. Pandoc has some InDesign support, but not sure if it can import the styles from DW to apply to an org-mode document? https://github.com/lifelike/Dungeon-World-Org-Mode

Anth0rx commented 5 years ago

Well, that's good to know. Thank you very much @lifelike :+1: Still it would be awesome to see Dungeon World documents (especially the character sheets) in an editable format.

Anth0rx commented 5 years ago

@Sagelt Is there a way for me to help in that situation?

lifelike commented 5 years ago

The rules are already in a reasonably editable (XML) format. I think the best thing you could do is add a script of some kind to turn that into what. scribus can render. I have a script to generate the org-mode version (to be released sometime in the future). It is not a very difficult format to parse. There are many formats that are more convenient to edit, but imo not worth maintaining two different plain-text formats, and maintaining some binary (scribus?) version would be even worse.

Anth0rx commented 5 years ago

@lifelike You are right, the text itself is editable in xml. What I mean are the character sheets, the layout, etc.

Anth0rx commented 5 years ago

@Sagelt It would be possible to simply save the indd files as PostScript, wouldn't it?

nerun commented 3 years ago

Suggestion, use PANDOC

In Debian-like distros: sudo aptitude install pandoc, or any "apt" tool you like.

I got better results importing to Scribus from ODT than from HTML (XML).

Usage: pandoc -f html -t odt filename.xml -o filename.odt

Script to convert all files in the current folder and move all ODT files to "ODT" folder

#!/bin/bash
if [ ! -d "ODT" ]; then
    mkdir ODT
fi

for file in *.*
do
    if [ -f $file ]; then
        fileShort=${file/.xml/}
        pandoc -f html -t odt $file -o ./ODT/$fileShort.odt
    fi
done