Subversive and copyrighted books?

I am busy writing a book and I use MS Office to write a book. However, doc files are binary files and therefore a real pain to put in subversion with proper version control. So, is there any application or some other suggestions (other than text files) that I can use to write a book in text format, but can be displayed as a real book with images and graphics, etc. Perhaps some kind of "author" markup, which refers to images, etc. Preferably a program that can automatically create a table of contents, spellcheck, etc., but it will allow you to format in plain text?

+3
source share
7 answers

The first edition of C # in Depth was written in Word and stored in Subversion without any problems - and Word has a reasonable built-in diff that Subversion will use so that you can compare versions. It's not so fun to merge the changes, though, but it works great if you're the only author. (The first Groovy edition of Action was also done using Word / Subversion, but we removed the locks to prevent simultaneous editing.)

The second edition is written in a subset of DocBook , which so far works well. Using the XMLmind XML Editor I can see how it will look when I go, and I have a PDF generator to get a more accurate look.

, TeX - , LaTeX, . " " , .

: , . , , , . , ( - urgh), . , , .

+9

LaTeX. , .

HTML ( ), :
HTML → HTML → PDF ( HTMLDOC 1 2)
. HTMLDOC , .

+5

docbook. pdf, html ( xslt: -).

+2

LaTeX Lyx, , .

+1

LaTeX , , , , .

0

You can use a WYSIWYG web editor such as Dreamweaver, which will give you simple basic controls for formatting, table of contents, images, etc., but at the same time writing a simple html on the backend that subversion can manage the version very well.

Easier to learn than LaTeX, although LaTeX is more powerful.

0
source

LaTeX is good, and you can try LyX to easily create LaTeX documents.

0
source

Source: https://habr.com/ru/post/1715045/


All Articles