Permalink
Browse files

Get Info version of QuickStart to publish

2007-06-17  Michael Olson  <mwolson@gnu.org>

	* examples/QuickStart.muse: Make images local so that the Info
	version of this document works.  Add <example> for the Literal
	paragraphs chapter, so that it is clear what is happening.

	* examples/Makefile (%.html, %.pdf, %.info): Add message to
	indicate what we are publishing.
	(realclean distclean fullclean): Remove all TeX crud.

	* examples/emacs-muse.png, examples/muse-made-with.png: Include so
	that the Info version of QuickStart can publish correctly.

	* lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
	default to nil, since texinfmt.el is a serious nuisance.
	(muse-texinfo-markup-strings): Add newlines to begin-example and
	end-example.
	(muse-texinfo-decide-specials): Also escape URL-type specials in a
	whole slew of other contexts.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-373
  • Loading branch information...
1 parent bf4a40e commit 6b54b0fa7491baa1b92e3053f9f598006eca05ca @mwolson mwolson committed Jun 17, 2007
View
@@ -1,14 +1,32 @@
2007-06-17 Michael Olson <mwolson@gnu.org>
+ * examples/QuickStart.muse: Make images local so that the Info
+ version of this document works. Add <example> for the Literal
+ paragraphs chapter, so that it is clear what is happening.
+
* Makefile: Add elpa target, which is used for building an ELPA
package for Muse.
* Makefile.defs (ELPADIR, ELPADESC): New variables used for
building ELPA packages.
+ * examples/Makefile (%.html, %.pdf, %.info): Add message to
+ indicate what we are publishing.
+ (realclean distclean fullclean): Remove all TeX crud.
+
+ * examples/emacs-muse.png, examples/muse-made-with.png: Include so
+ that the Info version of QuickStart can publish correctly.
+
* lisp/muse-latex.el (muse-latex-slides-header)
(muse-latex-lecture-notes-header): Docfix.
+ * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
+ default to nil, since texinfmt.el is a serious nuisance.
+ (muse-texinfo-markup-strings): Add newlines to begin-example and
+ end-example.
+ (muse-texinfo-decide-specials): Also escape URL-type specials in a
+ whole slew of other contexts.
+
* lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
muse-xml.
View
3 README
@@ -232,3 +232,6 @@ copy of the license is included in the section entitled "GNU Free
Documentation License" in the Muse manual. All Emacs Lisp code
contained in the manual may be used, distributed, and modified without
restriction.
+
+The PNG images included in the examples/ directory may be used,
+distributed, and modified without restriction.
View
@@ -10,16 +10,22 @@ all: examples
examples: $(EXAMPLES)
%.html: %.muse
+ @echo Generating HTML for $<...
EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish html $<
%.pdf: %.muse
+ @echo Generating PDF for $< ...
EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish pdf $<
%.info: %.muse
+ @echo Generating Info for $< ...
EMACS=$(EMACS) SITEFLAG=$(SITEFLAG) ../scripts/publish info $<
clean:
- -rm -f missfont.log QuickStart.texi *~
+ rm -f missfont.log QuickStart.texi *~
realclean distclean fullclean: clean
- -rm -f $(EXAMPLES)
+ rm -f $(EXAMPLES)
+ rm -f QuickStart.aux QuickStart.log QuickStart.out QuickStart.tex
+ rm -f QuickStart.cp QuickStart.fn QuickStart.ky QuickStart.pg
+ rm -f QuickStart.tp QuickStart.vr
View
@@ -204,12 +204,30 @@ If you want some text to only be inserted when publishing to a
particular format, use the =style= attribute for the
=<literal><literal></literal>= tag. Some examples follow.
+<example>
+You are reading the
+<literal style="html">HTML</literal>
+<literal style="pdf">PDF</literal>
+<literal style="info">Info</literal>
+version of this document.
+</example>
+
+Produces:
+
You are reading the
<literal style="html">HTML</literal>
<literal style="pdf">PDF</literal>
<literal style="info">Info</literal>
version of this document.
+<example>
+<literal style="latex">
+LaTeX was used in the publishing of this document.
+</literal>
+</example>
+
+Produces:
+
<literal style="latex">
LaTeX was used in the publishing of this document.
</literal>
@@ -344,22 +362,22 @@ put the text "URL:" immediately in front of the link.
This is an inlined image example:
<example>
-Made with [[http://mwolson.org/static/logos/muse-made-with.png]] Emacs Muse.
+Made with [[muse-made-with.png]] Emacs Muse.
</example>
This publishes as:
-Made with [[http://mwolson.org/static/logos/muse-made-with.png]] Emacs Muse.
+Made with [[muse-made-with.png]] Emacs Muse.
Here is an example of a captioned image:
<example>
-[[http://mwolson.org/static/logos/emacs-muse.png][Muse, the publishing choice of Great Thinkers]]
+[[emacs-muse.png][Muse, the publishing choice of Great Thinkers]]
</example>
This publishes as:
-[[http://mwolson.org/static/logos/emacs-muse.png][Emacs Muse, the publishing choice of (a subset of) Great Thinkers]]
+[[emacs-muse.png][Emacs Muse, the publishing choice of (a subset of) Great Thinkers]]
The following will be published as a link only.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -90,7 +90,7 @@
:include "/\\(CurriculumVitae\\|BriefResume\\)[^/]*$"))
("Projects" ("~/proj/wiki/projects/"
- :force-publish ("WikiIndex")
+ :force-publish ("WikiIndex" "MuseQuickStart")
:default "WelcomePage")
(:base "my-xhtml"
:base-url "http://mwolson.org/projects/"
View
@@ -39,7 +39,7 @@
"Rules for marking up a Muse file as a Texinfo article."
:group 'muse-publish)
-(defcustom muse-texinfo-process-natively t
+(defcustom muse-texinfo-process-natively nil
"If non-nil, use the Emacs `texinfmt' module to make Info files."
:type 'boolean
:require 'texinfmt
@@ -155,8 +155,8 @@ For more on the structure of this list, see
(end-verse-line . "")
(verse-space . "@ @ ")
(end-verse . "\n@end display")
- (begin-example . "@example")
- (end-example . "@end example")
+ (begin-example . "@example\n")
+ (end-example . "\n@end example")
(begin-center . "@quotation\n")
(end-center . "\n@end quotation")
(begin-quote . "@quotation\n")
@@ -196,7 +196,7 @@ These are applied to URLs."
(defun muse-texinfo-decide-specials (context)
"Determine the specials to escape, depending on CONTEXT."
- (cond ((memq context '(url image))
+ (cond ((memq context '(underline literal emphasis email url url-desc image))
muse-texinfo-markup-specials-url)
(t muse-texinfo-markup-specials)))

0 comments on commit 6b54b0f

Please sign in to comment.