15 Nov 2013 04:28

How to reflash the image ?


How can I reload image in the buffer ?

I edit image directly from the buffer with gimp in muse-mode. After
editing I couldn't see the edited image in the buffer. The buffer always
shows the original image.

There is no effect when I reopen the buffer.
Can I reload the image ?


14 Oct 2013 18:52

stack overflow in regexp matcher

Hi,

I've been using Muse and planner-mode for years without major hassles.
Starting today, I receive Muse warnings whenever I publish my planner
pages:

Warning (muse): An error occurred while publishing index:
(error Stack overflow in regexp matcher)

As a consequence, the index page is not updated properly. I did not
update Emacs, planner, or Muse lately. All that changes on a daily base
is the size of the planner project and hence, the size of the index.
Apparently I've hit some sort of ceiling. My project directory now
contains more than 6500 files, excluding the backup files.

I could not see in the sources that regexp matching was explicitly used
in generating the index. Does anyone understand why this happens and how
I could work around it?

The versions used are:
GNU Emacs 24.2.1 (i686-pc-cygwin, GTK+ Version 2.24.11)
of 2012-08-27 on fiona
Muse 3.20
Planner 3.42

regards,
Markus

--

--
Markus Hoenicka


2 Jun 2013 20:36

Perl module capable of parsing Muse files


Hello there!

I use the Muse markup on a couple of wiki projects (meant to be edited
via a web interface). For this purpose I've written a parser in Perl and
released it today on the CPAN; the module is called Text::Amuse, given
that it's more a dialect of Muse than a full implementation. I post this
news here in case it could be useful to someone else.

https://metacpan.org/module/Text::Amuse

Direct output via the method calls: (X)HTML and LaTeX.

Via the provided script (which has additional dependencies:
Template::Tiny, Ebook::EPUB, Data::UUID): PDF (via XeLaTeX or pdfLaTeX)
and EPUB.

Notable differences in the syntax:

** Inline markup

Underlining has been dropped.

Emphasis and strong can also be written with tags, like
<em>emphasis</em>, <strong>strong</strong> and <code>code</code>.

Added tags <sup> and <sub> for superscript and subscript.

** Block markup



5 Oct 2012 10:52

(no subject)


. http://chineserestaurants.com.my/moneyatyourpc.php?qjID=y6w3


7 Sep 2012 14:09

(no subject)

<div><div><div><a href="http://www.howdiysolarpanels.com/wp-content/plugins/all-in-one-seo-pack/nwmslck.php?ecgb=ecgb"> http://www.howdiysolarpanels.com/wp-content/plugins/all-in-one-seo-pack/nwmslck.php?ecgb=ecgb</a></div></div></div>

2 Sep 2012 13:01

(no subject)

<div><div><div><a href="http://berlitzuniontokyo.org/ibbsgls.php?yklt=yklt"> http://berlitzuniontokyo.org/ibbsgls.php?yklt=yklt</a></div></div></div>

1 Sep 2012 20:25

FW:hi, see it!


Hi friend! http://www.brianchon.jazztel.es/pharmedicinehat-now.html?yFriendID=x9oh6


31 Aug 2012 20:46

(no subject)

<div><div><div><a href="http://unlimitedflooringsheffield.co.uk/pmngbl.php?clwz=clwz"> http://unlimitedflooringsheffield.co.uk/pmngbl.php?clwz=clwz</a></div></div></div>

31 Aug 2012 14:30

(no subject)

<div><div><div><a href="http://siamroad.net/wp-admin/jhikdba.php?jkib=jkib"> http://siamroad.net/wp-admin/jhikdba.php?jkib=jkib</a></div></div></div>

19 Jul 2012 00:33

<src lang="noweb"> not fully supported

First, thank you Michael Olsson and other muse-developers - I really
like muse and I am impressed by its capabilities.

Amongst other things, I blog with muse, and often I include source
code in my blog-posts.

It is indeed nice to have the <src> tag which automatically colors
those snippets when publishing to HTML.

I read http://mwolson.org/projects/MuseQuickStart.html#sec19 - which I
exemplified it in this blog-post
http://code.cjb.net/colorize-bash-scripts-in-html.html

Sometimes I blog about noweb, and in particular Latex, Sweave and R.
While there is a noweb-mode, colorizing of src marked noweb does not
really work.

Here is an example:

<src lang="noweb">
\documentclass{beamer}

% LaTeX settings
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}
\usepackage{array}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage{multirow}

% Sweave settings
\usepackage{tikz}
\usepackage[nogin]{Sweave}
\SweaveOpts{keep.source=TRUE,cache=F,prefix.string=sweave-cache/figs/fig}

\title{Here comes the title}
\begin{document}
% Beamer settings
\definecolor{darkred}{rgb}{0.545,0,0}
\definecolor{midnightblue}{rgb}{0.098,0.098,0.439}
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl,formatcom=\color{midnightblue}}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom=\color{darkred}}
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl,formatcom=\color{blue}}

\maketitle

<<setup,echo=F,print=F,cache=F>>=
setCacheDir("sweave-cache/values")
options(width=60)
<at>

\subsection{Some problem 1}

\begin{frame}[fragile] \frametitle{3.1.a}
Calculate the probability for a standard normally distributed variable to be larger than 3.
\begin{small}
<<ISwR-3-1-0,fig=F,eval=F>>=
curve(dnorm, from = -4, to = 4)
abline(v=3)
abline(h=0)
<at>
</src>

What I would exepect is out like in http://code.cjb.net/TeachingR.html
but only the latex parts are colored. If I define the snippet as "R"
or "ess", only the R chunks are colored.

When I open a noweb-file (with the .Rnw file extension), only the latex parts are colored at the beginning -
the R chunks get their color only when the insertion-mark has passed through them (as when you set the
insertion-mark at the top of the document and then keep Ctrl-n down to move it downwards through the chunks).

If muse could do this, execute next-line through the buffer, I think
the colorizing would be just fine. On the other hand, I understand
that you might not want to implement such a hack.

Even if noweb in itself is a very nice idea, it does complicate
matters when code from different languages are mixed.

Or, perhaps there is a hook somewhere in noweb-mode that could be used
that someone on the list knows about?

Currently, I work around it by creating lots of <src> parts, some with
<src lang="latex"> and others with <src lang="R"> and I edit the HTML
manually afterwards, joining them together.

--

--
Hans Ekbrand


20 Jun 2012 06:20

(no subject)

<div><div><div><a href="http://www.adamduncan.com/activeNarrative/wp-content/themes/suffusion/rowkla.html?vb=edeh.dhega&amp;uedha=yp.dhm&amp;zdmz=vxvo"> http://www.adamduncan.com/activeNarrative/wp-content/themes/suffusion/rowkla.html?vb=edeh.dhega&amp;uedha=yp.dhm&amp;zdmz=vxvo</a></div></div></div>


Gmane