[scribus] creating a markdown loader for scribus

wena-parry at talktalk.net wena-parry at talktalk.net
Mon Oct 21 10:53:46 UTC 2013



What is a markdown? And how should it work.

Wena.




-----Original Message-----
From: scribus-request at lists.scribus.net
To: scribus at lists.scribus.net
Sent: Sat, 19 Oct 2013 13:00
Subject: scribus Digest, Vol 67, Issue 17


Send scribus mailing list submissions to
	scribus at lists.scribus.net

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.scribus.net/mailman/listinfo/scribus
or, via email, send a message with subject or body 'help' to
	scribus-request at lists.scribus.net

You can reach the person managing the list at
	scribus-owner at lists.scribus.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of scribus digest..."


Today's Topics:

   1. Re:  creating a markdown loader for scribus (a.l.e)
   2. Re:  creating a markdown loader for scribus (Gregory Pittman)
   3. Re:  creating a markdown loader for scribus (a.l.e)
   4. Re:  creating a markdown loader for scribus (Joop Kiefte)
   5. Re:  creating a markdown loader for scribus (ale rimoldi)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Oct 2013 14:23:26 +0200
From: "a.l.e" <ale.comp_06 at xox.ch>
To: Scribus User Mailing List <scribus at lists.scribus.info>
Subject: Re: [scribus] creating a markdown loader for scribus
Message-ID: <5261283E.9050903 at xox.ch>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

p.s.: if you want to join me, i'll be on the #scribus irc channel for
the whole day...

ciao
a.l.e
> dear scribusers,
>
> tomorrow, saturday october 18th, i plan to work on a markdown loader
> for scribus.
>
> i have the boilerplate on my laptop and a readme on github explaining
> what i want to achieve:
>
> https://github.com/aoloe/scribus-plugin-gettext-markdown
>
> as soon as i get back home this evening, i'm pusing the trivial code 
i
> already have (it reads the content as raw text).
>
>
> for tomorrow, the plan is to implement a parser based on some
> resources i've found on the net:
>
> https://github.com/aoloe/scribus-plugin-gettext-markdown/issues/3
>
> but i've never created a real parser and i would welcome if anybody
> would show up and help me with this effort!
>
> and i'm glad for any hint i can get!
>
>
> ciao
> a.l.e
>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net




------------------------------

Message: 2
Date: Fri, 18 Oct 2013 10:10:47 -0400
From: Gregory Pittman <gpittman at iglou.com>
To: Scribus User Mailing List <scribus at lists.scribus.net>
Subject: Re: [scribus] creating a markdown loader for scribus
Message-ID: <52614167.2050506 at iglou.com>
Content-Type: text/plain; charset=ISO-8859-1

On 10/18/2013 08:00 AM, a.l.e wrote:
> dear scribusers,
>
> tomorrow, saturday october 18th, i plan to work on a markdown loader 
for
> scribus.
>
> i have the boilerplate on my laptop and a readme on github explaining
> what i want to achieve:
>
> https://github.com/aoloe/scribus-plugin-gettext-markdown
>
> as soon as i get back home this evening, i'm pusing the trivial code i
> already have (it reads the content as raw text).
>
>
> for tomorrow, the plan is to implement a parser based on some 
resources
> i've found on the net:
>
> https://github.com/aoloe/scribus-plugin-gettext-markdown/issues/3
>
> but i've never created a real parser and i would welcome if anybody
> would show up and help me with this effort!
>
> and i'm glad for any hint i can get!
>

Although I haven't been able to find all the bits, there is some minimal
markdown in Scribus that get used to make the information tabs in About
Scribus ... using plain text files as input.

Greg




------------------------------

Message: 3
Date: Fri, 18 Oct 2013 16:24:26 +0200
From: "a.l.e" <ale.comp_06 at xox.ch>
To: Scribus User Mailing List <scribus at lists.scribus.net>
Subject: Re: [scribus] creating a markdown loader for scribus
Message-ID: <5261449A.7010902 at xox.ch>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

hi greg,

> On 10/18/2013 08:00 AM, a.l.e wrote:
>> dear scribusers,
>>
>> tomorrow, saturday october 18th, i plan to work on a markdown loader 
for
>> scribus.
>>
>> i have the boilerplate on my laptop and a readme on github explaining
>> what i want to achieve:
>>
>> https://github.com/aoloe/scribus-plugin-gettext-markdown
>>
>> as soon as i get back home this evening, i'm pusing the trivial code 
i
>> already have (it reads the content as raw text).
>>
>>
>> for tomorrow, the plan is to implement a parser based on some 
resources
>> i've found on the net:
>>
>> https://github.com/aoloe/scribus-plugin-gettext-markdown/issues/3
>>
>> but i've never created a real parser and i would welcome if anybody
>> would show up and help me with this effort!
>>
>> and i'm glad for any hint i can get!
>>
> Although I haven't been able to find all the bits, there is some 
minimal
> markdown in Scribus that get used to make the information tabs in 
About
> Scribus ... using plain text files as input.
>

thanks for the hint!

i've found
http://scribus.net/svn/Scribus/trunk/Scribus/scribus/ui/about.cpp ...
and i noticed a long comment by myself explaining how the about file
get's read...

i've had a fast look at the code and it looks like it's a mixture of
parsing line by line and a set of replaces.

not 100% what i need but i'll have a deeper look.

i've also alread had a look at the formatted text loader (line by line,
also with some regexp) and the html importer (which uses a real --
existing -- xml parser...).

we will see how far i get!

ciao
a.l.e



------------------------------

Message: 4
Date: Fri, 18 Oct 2013 20:19:45 +0200
From: Joop Kiefte <ikojba at gmail.com>
To: Scribus User Mailing List <scribus at lists.scribus.net>
Subject: Re: [scribus] creating a markdown loader for scribus
Message-ID:
	<CAAF677WGwio_jdo0WEh8JV07PkOg9OSjPUd6jPEwdo+NzO59fQ at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Don't know if it is what you are looking for, but maybe you can use what
pandoc provides?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.scribus.net/pipermail/scribus/attachments/20131018/98eeab19
/attachment.html>


------------------------------

Message: 5
Date: Fri, 18 Oct 2013 22:30:40 +0200
From: ale rimoldi <ale.comp_06 at xox.ch>
To: scribus at lists.scribus.net
Subject: Re: [scribus] creating a markdown loader for scribus
Message-ID: <20131018223040.45ad6f58 at digiteis>
Content-Type: text/plain; charset=US-ASCII

hi joop

> Don't know if it is what you are looking for, but maybe you can use
> what pandoc provides?

no, i don't think that pandoc is the right tool for this case.

what it could provide, is a conversion to a format that scribus already
knows (html, odt).

but -- afaik -- those plugins do not work in a way that i can describe
as sane. or, at least, i have never managed to get them to work in a
way that was sensible to me!

on top of it, using pandoc would make scribus depend on pandoc, which
is not something i want, either.


i got some hints on the #qt irc channel, and tomorrow i'll try to work

------------------------------

_______________________________________________
scribus mailing list
scribus at lists.scribus.net
http://lists.scribus.net/mailman/listinfo/scribus


End of scribus Digest, Vol 67, Issue 17
***************************************

  



More information about the scribus mailing list