Ciao Jan
Its interesting looking at that. Its more about intelligent "guessing" than
the markup I'm interested in. I think it could be easy in RegEx. I'm not
convinced you need ANY complex things at all to format that. So long as it
stays so well structured a couple of RegExs could likely do it.
Best wishes
Josiah
On Tuesday, 12 September 2017 20:21:06 UTC+2, Jan wrote:
>
> Hi Coda,
> I hope this is what you want:
>
>
> InputText:
>
> !Peter and Bob are doing some Action
> {{Peter}}Now I say something.
> Single Linebreaks are //okay//.
> {{AnotherNamelaterreplacedbyBob}} And here I answer.
> > Here the spaces schould be displayed
>
> OutputText:
>
> *Peter and Bob are doing some Action*
>
> PETER
> Now I say something.
> Single Linebreaks are *okay*.
>
> BOB
> And here I answer.
> Here the spaces schould be displayed
>
>
> I hope this demonstration is okay.
> Basically this is what I want.
>
>
> Thanks for your help
> Jan
>
>
>
>
>
>
>
>
>
> Am 12.09.2017 um 16:43 schrieb [email protected] <javascript:>:
>
> Thanks Jan.
>
> It would be better if you present this DEVOID of JARGON. I don't know
> (nor do I want to learn) screenwriting. Take what you've written here, and
> present it like this:
>
> I want to write something like this in the TW editor:
>
> INPUT TEXT HERE
>
> I want it to render (wikify) to something like this:
>
> OUTPUT TEXT HERE
>
> That way I can see what you are trying to achieve without getting bogged
> down in a bunch of terminology which, frankly, might be irrelevant.
>
> Hope that makes sense.
>
> It's possible my idea may work for you guys. It's also possible it
> won't. But I need something representative to test. Okay?
>
>
>
> On Tuesday, September 12, 2017 at 9:01:17 AM UTC-5, Jan wrote:
>>
>> Hi Coda.
>> My concept for formating is quite simple
>> I built a tool which is transclusions for the rolenames, which are
>> automatically inserted by Alain Dutech Comptext-Plugin.
>> For simplicity I would use headings for the action, and the
>> Tiddler-Ttitle (or an Alias inserted by the Alias-Plugin) for the
>> scene-title.
>>
>> Thus:
>>
>> *Peter and Bob are doing some Action*
>>
>> PETER
>> Now I say something.
>>
>> BOB
>> And here I answer.
>>
>> Would look like that in Editmode:
>>
>> !Peter and Bob are doing some Action
>> {{Peter}}Now I say something.
>> {{AnotherNamelaterreplacedbyBob}} And here I answer.
>>
>> The issue of indent rolenames can be handled by using <dd>-Elements which
>> should give a
>> :Forced negative indent Line.
>>
>> My use for the replacePragma would the following to avoid breaking the
>> list by forgetting the preceding blank line:
>>
>> \replace /\n!/\n\n!/
>> \replace /\n:/\n\n:/
>> \replace /\n{{/\n\n:{{/
>> \replace /}}/}} /
>>
>> Thanks for your help!
>> Jan
>>
>>
>>
>>
>>
>>
>>
>>
>> Am 12.09.2017 um 14:46 schrieb [email protected]:
>>
>> Hi Joshua
>>
>> Let me ask a question (apologies if this is answered somewhere above but
>> since this thread and its "parent" thread are long, I wanted to ask it and
>> get a straight answer) ...
>>
>> What does the text look like that you wish to enter into a tiddler in
>> EDIT mode?
>>
>> Second Question...
>>
>> What does the text look like that TW will render assuming you have your
>> ideal magical tool?
>>
>> Please, keep regexes, javascript et al out of this - keep it simple.
>>
>> Coda
>> --
>> You received this message because you are subscribed to the Google Groups
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/28cfb2f3-483f-446e-acbb-3a3b86dfbd7e%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/28cfb2f3-483f-446e-acbb-3a3b86dfbd7e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d0e976f6-d5e9-4a08-a4fa-d2563cc02396%40googlegroups.com
>
> <https://groups.google.com/d/msgid/tiddlywiki/d0e976f6-d5e9-4a08-a4fa-d2563cc02396%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/015338b7-0677-453e-a121-0608befc2d8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.