Re: Control Headline Output in a File Agnostic Manner?

2018-08-21 Thread Edward K. Ream
On Mon, Aug 20, 2018 at 7:36 PM Sapphira Armageddos <
shadowkyogre.pub...@gmail.com> wrote:

> Ooh, I see. I just didn't group the rst nodes together. I placed them
> under an organization node for file releases and it made all the files now.
>
> Thanks!
>

You're welcome.  Other commands work this way, such as the pylint and
pyflakes commands. Other commands, on purpose, work only on the presently
selected node.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Control Headline Output in a File Agnostic Manner?

2018-08-20 Thread Sapphira Armageddos
Ooh, I see. I just didn't group the rst nodes together. I placed them under an 
organization node for file releases and it made all the files now.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Control Headline Output in a File Agnostic Manner?

2018-08-20 Thread Edward K. Ream
On Mon, Aug 20, 2018 at 2:33 PM Sapphira Armageddos <
shadowkyogre.pub...@gmail.com> wrote:

> Is there a way to also output all of the rst files in an outline at once?

The rst3 command is aware of outline structure.  It will write all @rst
nodes in the selected tree.  If it doesn't find any @rst nodes it will look
*up* the tree, looking for the first @rst node, which means you can write a
single @rst tree from any descendant node.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Control Headline Output in a File Agnostic Manner?

2018-08-20 Thread Chris George
The last time I used the rst functions in Leo was when I was working on 
coursework a couple of years ago. Profs insisted on .doc or .docx so using 
rst to feed a docutils toolchain worked for me.

Now that I am writing mainly fiction, blog posts, and articles for online 
mags I don't use it as much as formatting isn't really up to me. My blog 
processor takes in rst but a blog post isn't a very complex document. Other 
than links and mark-up for bold/italics (and very little of those) 
formatting really isn't a huge part of my writing. 99% of what I put in and 
get out of Leo is plain text sans formatting of any kind.

I use the outline, abbreviations, and clones extensively for organization.

As for pushing all of the rst out of a file at once, I don't see why not. 
But I do not remember how off the top of my head. I used to push trees. ie. 
select top node and run rst command so it should be possible.

Chris

On Monday, August 20, 2018 at 12:33:36 PM UTC-7, Sapphira Armageddos wrote:
>
> Hi George!
>
> Read through the documentation for the rst3 command and it does exactly 
> what I want! I edited my example to use the rst directives and it works 
> like how I have my asciidoc files structured. Attached the edited file to 
> here for comparison.
>
> Is there a way to also output all of the rst files in an outline at once?
>
> Thanks,
> Sapphira
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Control Headline Output in a File Agnostic Manner?

2018-08-20 Thread Sapphira Armageddos
Hi George! Read through the documentation for the rst3 command and it does 
exactly what I want! I edited my example to use the rst directives and it 
works like how I have my asciidoc files structured.

Is there a way to also

On Monday, August 20, 2018 at 11:44:42 AM UTC-7, Chris George wrote:
>
> Hi Sapphira,
>
> I too use Leo for writing. Luckily I discovered Leo over a decade ago and 
> only had legacy txt and doc files to deal with when building a workflow.
>
> Leo's rst handling does exactly what you want.
>
> Asciidoctor will convert asciidoc to docbook. Pandoc will convert docbook 
> to rst. I am not sure how robust this would be for your application but 
> once you have your content as rst, you should be good to go. Read through 
> the rst section in the Leo docs to see if it will meet your needs.
>
> HTH,
>
> Chris
>
>
> On Mon, Aug 20, 2018 at 1:54 AM Sapphira Armageddos <
> shadowkyo...@gmail.com > wrote:
>
>> Hi everyone! I just discovered Leo yesterday and love it. It makes it a 
>> lot easier to keep track of my characters across settings.
>>
>> I'm not sure how to control the output of headlines with @others, though. 
>> There was an example of that in markdown's auto exporter, so I copied that 
>> for asciidoc since the plugin for asciidoc is currently broken (It doesn't 
>> work with the current API, and most of my stories were converted to 
>> asciidoc format when I decided to hop off of Google Drive).
>>
>> I attached both the copied exporter and a Leo file showing how I normally 
>> organize stories outside of Leo. Some nodes I want to keep their names, as 
>> they represent important sections of a story (main title, chapter title, so 
>> on so forth). Other nodes, however, I don't want to keep their names since 
>> it detracts. Examples of this are scenes I may want to rearrange into 
>> different chapters later on.
>>
>> The @auto nodes indicate file releases for the story and its chapters.
>>
>> Reading the documentation for @others suggests that the body is always 
>> glued in the output file, but no option to include the headline in the 
>> output. The closest example to what I'm looking for is the Flatten Outline 
>> export, but it doesn't handle selectively outputting the headline when 
>> needed.
>>
>> Is there a filetype agnostic way to do this? Using a write-only @auto 
>> node doesn't seem right.
>>
>> (( PS: If you see a similar post appear in leo-editor, it might be 
>> because I double posted this and didn't know if it went through. ))
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "leo-editor" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to leo-editor+...@googlegroups.com .
>> To post to this group, send email to leo-e...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/leo-editor.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Control Headline Output in a File Agnostic Manner?

2018-08-20 Thread Chris George
Hi Sapphira,

I too use Leo for writing. Luckily I discovered Leo over a decade ago and
only had legacy txt and doc files to deal with when building a workflow.

Leo's rst handling does exactly what you want.

Asciidoctor will convert asciidoc to docbook. Pandoc will convert docbook
to rst. I am not sure how robust this would be for your application but
once you have your content as rst, you should be good to go. Read through
the rst section in the Leo docs to see if it will meet your needs.

HTH,

Chris


On Mon, Aug 20, 2018 at 1:54 AM Sapphira Armageddos <
shadowkyogre.pub...@gmail.com> wrote:

> Hi everyone! I just discovered Leo yesterday and love it. It makes it a
> lot easier to keep track of my characters across settings.
>
> I'm not sure how to control the output of headlines with @others, though.
> There was an example of that in markdown's auto exporter, so I copied that
> for asciidoc since the plugin for asciidoc is currently broken (It doesn't
> work with the current API, and most of my stories were converted to
> asciidoc format when I decided to hop off of Google Drive).
>
> I attached both the copied exporter and a Leo file showing how I normally
> organize stories outside of Leo. Some nodes I want to keep their names, as
> they represent important sections of a story (main title, chapter title, so
> on so forth). Other nodes, however, I don't want to keep their names since
> it detracts. Examples of this are scenes I may want to rearrange into
> different chapters later on.
>
> The @auto nodes indicate file releases for the story and its chapters.
>
> Reading the documentation for @others suggests that the body is always
> glued in the output file, but no option to include the headline in the
> output. The closest example to what I'm looking for is the Flatten Outline
> export, but it doesn't handle selectively outputting the headline when
> needed.
>
> Is there a filetype agnostic way to do this? Using a write-only @auto node
> doesn't seem right.
>
> (( PS: If you see a similar post appear in leo-editor, it might be because
> I double posted this and didn't know if it went through. ))
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.