Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 3

Displaying posts with tag: tidy (reset)

Docbook XHTML generation with tidy, chapter the third
+0 Vote Up -0Vote Down
In chapter the first, I presented a way to install HTML tidy.

In chapter the second, I created a script to install the most recent version of tidy with a single command.

In this chapter, I will show you how to run tidy in a way that cleans up the HTML that was generated by Office™.
Docbook XHTML generation with tidy, chapter the second
+0 Vote Up -0Vote Down
In Chapter the First, we presented a set of commands you could run to install HTML Tidy on your system.

In this chapter, we will present a script that you may run on your Linux or OS X system to install the most recent version of HTML tidy.

You may use subversion, wget, or your favorite browser to retrieve the most recent version of this tidy installer.

I'm writing a perl script using Commands::Guarded to automate what I did in the first article.

You may retrieve the source with wget, so:
$ wget -r

Or subversion, so:
$ svn co svn://

You may also get the most recent version of the individual files in the distribution using your favorite

  [Read more...]
Docbook XHTML generation with tidy, chapter the first
+0 Vote Up -0Vote Down
So I'm getting the new version of the MaxDB FAQ ready for production. We used Microsoft Word to create the document and manage corrections. And then I exported to HTML. Word did a terrific (note that the root word here is "terror") job of translating to HTML, and Tidy won't touch it unless I fix some issues manually.

So here I go.

Getting most recent build from cvs:

$ cd ~/src/
$ cvs login
$ cvs co tidy

Building said code:

$ cd tidy/build/gmake
$ make

ld: archive: ../../lib/libtidy.a has no table of contents, add one with ranlib(1) (can't load from it)
make: *** [../../bin/tidy] Error 1

$ ranlib ../../lib/libtidy.a
$ make

Running code:

$ cd ../../bin
$ ./tidy -h
$ open

  [Read more...]
Showing entries 1 to 3

Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.