Re: [pmwiki-users] pmwiki.org server migration

2010-11-20 Thread Oliver Betz
Patrick R. wrote:

[...]

I'm also considering migrating PmWiki's subversion repository
to GitHub -- any comments?  (If you don't understand what

Aren't the git people condemning Windows users? I remember
MSysGitHerald9 and other opportunities.

I (have to *)) use Windows as development platform, and I'm using SVN
(well, TortoiseSVN). If I had to switch to a distributed version
control system, I likely would prefer Mercurial over git.

Mercurial supports Windows much better, and TortoiseHg seems to be a
good client with UI integration.

I don't think that I would (try to) install git, so I would lose
simple access to the PmWiki repository.

Oliver

*) Doing electronic hardware design, many tools I depend on are
available only for Windows, or the Windows version has much better
quality than the unixoid alternative.


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pmwiki.org server migration

2010-11-20 Thread Dominique Faure
Hi,

On Sat, Nov 20, 2010 at 10:23, Oliver Betz list...@gmx.net wrote:
 Patrick R. wrote:

 [...]

I'm also considering migrating PmWiki's subversion repository
to GitHub -- any comments?  (If you don't understand what

 Aren't the git people condemning Windows users? I remember
 MSysGitHerald9 and other opportunities.

There seems to be some solutions:

* http://code.google.com/p/msysgit/
* http://code.google.com/p/tortoisegit/

Hope this help
-- 
Dominique

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pmwiki.org server migration

2010-11-20 Thread Patrick R. Michaud
On Sat, Nov 20, 2010 at 10:23:53AM +0100, Oliver Betz wrote:
 Patrick R. wrote:
 
 [...]
 
 I'm also considering migrating PmWiki's subversion repository
 to GitHub -- any comments?  (If you don't understand what
 
 Aren't the git people condemning Windows users? I remember
 MSysGitHerald9 and other opportunities.

In my other project (Perl 6), we have quite a few Windows users
that are able to retrieve code via git.  I'm not sure how they're
doing it, but it's definitely possible.

GitHub also supports subversion checkouts, so conceivably you
could continue to use svn to download PmWiki.  I haven't tested
this but will try it shortly.

Pm


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pmwiki.org server migration

2010-11-20 Thread DaveG



On 11/20/2010 7:30 AM, Dominique Faure wrote:

Aren't the git people condemning Windows users? I remember
MSysGitHerald9 and other opportunities.


There seems to be some solutions:

* http://code.google.com/p/msysgit/
* http://code.google.com/p/tortoisegit/
I've been using this mix of GIT/Tortoise on Windows for the past year, 
and find it to be an almost direct replacement for SVN/Tortoise.



 ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Keep() not preventing further parsing?

2010-11-20 Thread Petko Yotov
On Saturday 20 November 2010 05:52:43 Ashish Myles wrote:
 Even though the MathJax javascript plugin does all the parsing itself,
 I have to make sure that none of the content between the {$ ... $} and
 {$$ ... $$} delimiters gets modified. So I used the following two
 lines:
 
 Markup('{$', 'directives', '/\\{\\$(.*?)\\$\\}/e',
 Keep('{\$'.PSS('$1').'\$}'));
 Markup('{$$', '{$', '/\\{\\$\\$(.*?)\\$\$\\}/e',
 Keep('{\$\$'.PSS('$1').'\$\$}'));

Hello. Don't use 'directives', it is too late and some wiki markup was already 
processed at this point. You should try and use '_begin', or '[=', or 
'$[phrase]', that is, just after the escaped text is processed with '[='.

You can see the markup order if you add to config.php 
  $EnableDiag = 1;

and then open a page http://yourwiki/pmwiki.php?action=ruleset .


 But if I try:
 {$$ {(a)} $$}
 {$$ \frac{(a)}{(b)} $$}
 then the curly braces are removed in the final HTML output

That's because {(...)} is considered a MarkupExpression and is already done 
when 'directives' are processed. Using an earlier 'when' parameter should fix 
it.


 Moreover, PmWiki likes to convert {a} to a with a macron above it,

This is not something from PmWiki, it is very likely due to a cookbook recipe,

  http://www.pmwiki.org/wiki/Cookbook/MarkupExtensions or
  http://www.pmwiki.org/wiki/Cookbook/PublishPDF

Anyways, fixing the when parameter should fix this too.

 Note that one doesn't actually need MathJax to test the cases above.
 Just put the two Markup() lines above in your local config file and
 look at the resulting HTML.

Right, you probably could just [=escape=] the MathJax code, like:

 {$$[=here is my MathJax code=]$$}

Thanks,
Petko

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Keep() not preventing further parsing?

2010-11-20 Thread Ashish Myles
On Sat, Nov 20, 2010 at 12:09 PM, Petko Yotov 5...@5ko.fr wrote:
 On Saturday 20 November 2010 05:52:43 Ashish Myles wrote:
 Even though the MathJax javascript plugin does all the parsing itself,
 I have to make sure that none of the content between the {$ ... $} and
 {$$ ... $$} delimiters gets modified. So I used the following two
 lines:

 Markup('{$', 'directives', '/\\{\\$(.*?)\\$\\}/e',
 Keep('{\$'.PSS('$1').'\$}'));
 Markup('{$$', '{$', '/\\{\\$\\$(.*?)\\$\$\\}/e',
 Keep('{\$\$'.PSS('$1').'\$\$}'));

 Hello. Don't use 'directives', it is too late and some wiki markup was already
 processed at this point. You should try and use '_begin', or '[=', or
 '$[phrase]', that is, just after the escaped text is processed with '[='.


Thank you Petko!  The Markup() lines above had been
copy-paste-modified from jsMath, which is where I got the 'directives'
from; it also seemed appropriate at the time, being before the
'inline's. I went for '[=' as you suggested, and it worked like a
charm!

Thanks!
Ashish

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pmwiki.org server migration

2010-11-20 Thread Oliver Betz
Patrick R. Michaud wrote:

[...]

 I'm also considering migrating PmWiki's subversion repository
 to GitHub -- any comments?  (If you don't understand what
 
 Aren't the git people condemning Windows users? I remember
 MSysGitHerald9 and other opportunities.

In my other project (Perl 6), we have quite a few Windows users
that are able to retrieve code via git.  I'm not sure how they're
doing it, but it's definitely possible.

it is possible but due to the attitude of the main developers it's
likely not as current / easy / stable as it could be.

GitHub also supports subversion checkouts, so conceivably you
could continue to use svn to download PmWiki.  I haven't tested

Good to know, thanks for the information.

Oliver
-- 
Oliver Betz, Muenchen (oliverbetz.de)


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Diff on separate pages

2010-11-20 Thread Kenneth Forsbäck
Is it possible to make the history page look more like in MediaWiki and 
similar projects? Instead of the horrible mess I have now, it would be a 
list of versions, with links to view each version in a separate page.


I tried looking for addons but didn't find anything.

A simple format could be somthing like:

* [restore - delete] version - date - user - comment

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Diff on separate pages

2010-11-20 Thread ABClf
Not sure :
one can imagine a css trick, for displaying/not displaying, the list
that compose the diff page ;
so that, one could see the titles (what's in gray : date, who, what)
and click somewhere to extend the view (close/open).
This would be a cosmetic change.

Other : this cookbook is intended to give some comparisons possibilities
http://www.pmwiki.org/wiki/Cookbook/ViewDiff
(no tested).

I use the http://www.pmwiki.org/wiki/Cookbook/LimitDiffsPerPage : same
diff as original with a pagination.

Gilles.


2010/11/20 Kenneth Forsbäck kenneth.forsb...@bob.fi:
 Is it possible to make the history page look more like in MediaWiki and
 similar projects? Instead of the horrible mess I have now, it would be a
 list of versions, with links to view each version in a separate page.

 I tried looking for addons but didn't find anything.

 A simple format could be somthing like:

 * [restore - delete] version - date - user - comment

 ___
 pmwiki-users mailing list
 pmwiki-users@pmichaud.com
 http://www.pmichaud.com/mailman/listinfo/pmwiki-users




-- 

---
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefranca...@gmail.com
---

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Roadmap 2011

2010-11-20 Thread Simon
I had added a talk page
http://www.pmwiki.org/wiki/PmWiki/RoadMap-Talk
with some thoughts intended to prompt discussion,
and perhaps help PM and Petko in their considerations of the future of
PmWiki.
I've been mulling over these ideas from some time and thought it was getter
to get them out there.

I solicit your contributions to the discussion, particularly on the page
itself

Simon
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pmwiki.org server migration

2010-11-20 Thread Patrick R. Michaud
On Sat, Nov 20, 2010 at 11:00:02AM -0600, Patrick R. Michaud wrote:
 GitHub also supports subversion checkouts, so conceivably you
 could continue to use svn to download PmWiki.  I haven't tested
 this but will try it shortly.

I just tried this with one of my other projects and it works like
a champ.  So even if we move to GitHub, it looks as though people
will still be able to do svn exports/checkouts.

Pm

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users