Brad Miller | 8 Apr 2010 00:57
Picon
Gravatar

Re: path, ftp, sftp

I've been using tramp and sftp/scp successfully using this
:path "/my.host.edu:~/public_html/MyWiki"

I think ~/ is all you may need if you want them to go into your home
directory on the remote machine.  Maybe providing the remote machine
is unix based...

Brad

On Thu, Mar 25, 2010 at 12:55 PM, Jean Magnan de Bornier
<jean <at> bornier.net> wrote:
> Hi all,
> A website where muse put some files of mine just switched from ftp to sftp
> protocol.
> After some configuration trouble I finally can connect there with tramp,
> and then I mofified the ":path" in my muse-project-alist, just replacing
> ftp by sftp:
>
> :path "/sftp:bornier <at> junon.univ-cezanne.fr"
>
> The strange thing is that the file is transferred, but in a wrong place:
> muse-html creates a directory "bornier <at> junon.univ-cezanne.fr" in my
> userspace there and transfers the file in this directory!
>
> Not exactly what I expect... (of course i just want the file transfered in
> the root of my userspace)
>
>
> Is there a way to do that as should be?
>
(Continue reading)

Jean Magnan de Bornier | 8 Apr 2010 09:12

Re: path, ftp, sftp

Le 08 avril à 00:57:27 Brad Miller <bonelake <at> gmail.com> écrit notamment:

| I've been using tramp and sftp/scp successfully using this
| :path "/my.host.edu:~/public_html/MyWiki"
>
| I think ~/ is all you may need if you want them to go into your home
| directory on the remote machine.  Maybe providing the remote machine
| is unix based...
>
| Brad

Hi Brad,
Thank you, it all actually works that way!

It is really great to be able to keep using muse!
--

-- 
Jean

_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss
David Soulayrol | 8 Apr 2010 09:39
Picon
Gravatar

Escape the # character.

Hello.

For my first port on this list, please let me thank the maintainers of
muse.el, and all the people who contribute to it.

Now, I'd like to add an SSI tag to a page I generate. For the record,
such a tag is hidden inside an SGML comment and starts with a #, like
this:

<!-- #include file="my_html_chunk.html" -->

I thought I have two possibilities for this. Either I write directly
this in my muse document, or I create a personal <ssi> tag so that
muse generates SSI tags with the parameters I provide. In both cases,
I failed to get this kind of tag correctly generated.

I went further in the second case, and my problem is that the # is
always translated by muse to a <a> tag. Please, how can I prevent muse
to parse a symbol (specially this one) ?

--

-- 
David

Brad Miller | 9 Apr 2010 13:49
Picon
Gravatar

Adding coloriziation to code examples

I'm trying to figure out how to use the javascript library prettify in
my examples

I can see how to include the link/script tags in the header of my html
page using the muse-html-style-sheet variable

It looks like I can customize the pre tag by changing the entry for
begin-example in muse-html-markup-strings

But, I also need to customize the body tag that is generated.

My body tag needs to be <body onload="prettyPrint()">

What would I need to change to customize the body tag?

Thanks,

Brad
--

-- 
Brad Miller
Assistant Professor, Computer Science
Luther College

Alex Ott | 9 Apr 2010 14:09
Picon
Gravatar

Re: Adding coloriziation to code examples

Hello

Brad Miller  at "Fri, 9 Apr 2010 06:49:59 -0500" wrote:
 BM> I'm trying to figure out how to use the javascript library prettify in
 BM> my examples

 BM> But, I also need to customize the body tag that is generated.
 BM> My body tag needs to be <body onload="prettyPrint()">

 BM> What would I need to change to customize the body tag?

You can change muse-html-header variable, or redefine html header for given
project - I use custom template for my site -
http://alexott.net/header.tmpl, as described in
http://alexott.net/en/writings/EmacsMuseMyPage.html 

--

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/           http://alexott.net
http://alexott-ru.blogspot.com/

노정태 | 11 Apr 2010 19:55
Picon

A problem on search

Hi, everyone.

I am a newbie of Muse. I want to use it as my personal wiki, but I have a problem.

Please see the attachment. I'm doing search, but Muse can't find the word 'tiger'.
As you can see, 'tiger' is there, with 'bird'. Muse can't find 'bird' too.
It finds well at some files. But didn't do at others.

Anybody can give me an answer?

Sincerely,
JT.

<div><p>Hi, everyone.<br><br>I am a newbie of Muse. I want to use it as my personal wiki, but I have a problem.<br><br>Please see the attachment. I'm doing search, but Muse can't find the word 'tiger'.<br>As you can see, 'tiger' is there, with 'bird'. Muse can't find 'bird' too.<br>
It finds well at some files. But didn't do at others.<br><br>Anybody can give me an answer?<br><br>Sincerely,<br>JT.<br></p></div>
ZelluX | 30 Apr 2010 12:43
Picon
Gravatar

Use specified color theme for syntax highlighting

Hi, all


I'm using <src> tag for syntax highlighting, it works well except for the color theme. Since my Emacs uses a dark background theme, while my muse blog uses a light background theme, code snippet in generated HTML is somewhat hard to recognize since the background and font color are all in light colors. So I'd like to know is there any way to specify color theme for syntax highlighting in muse <src> tags?

Many thanks.

--
Best regards,
Wang Yuanxuan
Parallel Processing Institute, Fudan University
<div>
<p>Hi, all</p>
<div><br></div>
<div>I'm using &lt;src&gt; tag for syntax highlighting, it works well except for the color theme. Since my Emacs uses a dark background theme, while my muse blog uses a light background theme, code snippet in generated HTML is somewhat hard to recognize since the background and font color are all in light colors. So I'd like to know is there any way to specify color theme for syntax highlighting in muse &lt;src&gt; tags?</div>
<div><br></div>
<div>Many thanks.<br clear="all"><br>-- <br>Best regards,<br>Wang Yuanxuan<br>Parallel Processing Institute, Fudan University<br>
</div>
</div>
Markus Hoenicka | 30 Apr 2010 15:15
Picon

Re: Use specified color theme for syntax highlighting

ZelluX <zellux <at> gmail.com> was heard to say:

> I'm using <src> tag for syntax highlighting, it works well except for the
> color theme. Since my Emacs uses a dark background theme, while my muse blog
> uses a light background theme, code snippet in generated HTML is somewhat
> hard to recognize since the background and font color are all in light
> colors. So I'd like to know is there any way to specify color theme for
> syntax highlighting in muse <src> tags?

Why don't you just use CSS for the HTML output? You can make the  
foreground color as dark as you need.

regards,
Markus

--

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

ZelluX | 30 Apr 2010 15:20
Picon
Gravatar

Re: Use specified color theme for syntax highlighting

Hi Markus


My current muse configuration uses hard-coded colors, like <span style="color: #9290ff;">int</span>.
Could you please tell me how to change it to use CSS style instead? Thanks.

On Fri, Apr 30, 2010 at 9:15 PM, Markus Hoenicka <markus.hoenicka <at> mhoenicka.de> wrote:
ZelluX <zellux <at> gmail.com> was heard to say:

> I'm using <src> tag for syntax highlighting, it works well except for the
> color theme. Since my Emacs uses a dark background theme, while my muse blog
> uses a light background theme, code snippet in generated HTML is somewhat
> hard to recognize since the background and font color are all in light
> colors. So I'd like to know is there any way to specify color theme for
> syntax highlighting in muse <src> tags?

Why don't you just use CSS for the HTML output? You can make the
foreground color as dark as you need.

regards,
Markus


--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



_______________________________________________
Muse-el-discuss mailing list
Muse-el-discuss <at> gna.org
https://mail.gna.org/listinfo/muse-el-discuss



--
Best regards,
Wang Yuanxuan
Parallel Processing Institute, Fudan University
<div>
<p>Hi Markus</p>
<div><br></div>
<div>My current muse configuration uses hard-coded colors, like&nbsp;<span class="Apple-style-span"><span class="webkit-html-tag">&lt;span <span class="webkit-html-attribute-name">style</span>="<span class="webkit-html-attribute-value">color: #9290ff;</span>"&gt;</span>int<span class="webkit-html-tag">&lt;/span&gt;.</span></span>
</div>
<div>
<span class="webkit-html-tag"></span><span class="Apple-style-span">Could you please tell me how to change it to use CSS style instead? Thanks.<br></span><br><div class="gmail_quote">On Fri, Apr 30, 2010 at 9:15 PM, Markus Hoenicka <span dir="ltr">&lt;<a href="mailto:markus.hoenicka <at> mhoenicka.de">markus.hoenicka <at> mhoenicka.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
ZelluX &lt;<a href="mailto:zellux <at> gmail.com">zellux <at> gmail.com</a>&gt; was heard to say:<br><div class="im">
<br>
&gt; I'm using &lt;src&gt; tag for syntax highlighting, it works well except for the<br>
&gt; color theme. Since my Emacs uses a dark background theme, while my muse blog<br>
&gt; uses a light background theme, code snippet in generated HTML is somewhat<br>
&gt; hard to recognize since the background and font color are all in light<br>
&gt; colors. So I'd like to know is there any way to specify color theme for<br>
&gt; syntax highlighting in muse &lt;src&gt; tags?<br><br>
</div>Why don't you just use CSS for the HTML output? You can make the<br>
foreground color as dark as you need.<br><br>
regards,<br>
Markus<br><br><br>
--<br>
Markus Hoenicka<br><a href="http://www.mhoenicka.de" target="_blank">http://www.mhoenicka.de</a><br>
AQ score 38<br><br><br><br>
_______________________________________________<br>
Muse-el-discuss mailing list<br><a href="mailto:Muse-el-discuss <at> gna.org">Muse-el-discuss <at> gna.org</a><br><a href="https://mail.gna.org/listinfo/muse-el-discuss" target="_blank">https://mail.gna.org/listinfo/muse-el-discuss</a><br>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>Best regards,<br>Wang Yuanxuan<br>Parallel Processing Institute, Fudan University<br>
</div>
</div>
Markus Hoenicka | 30 Apr 2010 15:44
Picon

Re: Use specified color theme for syntax highlighting

ZelluX <zellux <at> gmail.com> was heard to say:

> My current muse configuration uses hard-coded colors, like <span  
> style="color:
> #9290ff;">int</span>.
> Could you please tell me how to change it to use CSS style instead? Thanks.
>

Ah, waitaminute. We're looking at two different things now. I use CSS  
for my planner output (planner-mode is built on top of muse). For that  
I have the following in my .emacs:

(setq planner-html-style-sheet "<link href=\"planner-muse.css\"  
type=\"text/css\" rel=\"stylesheet\">")

I reckon that muse-html-style-sheet does the same for plain muse.  
Obviously you'll need a suitable CSS file in your target HTML directory.

hth,
Markus

--

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38


Gmane