Re: The lack of multi-paraagraph environments in LyX

2016-07-23 Thread Andrew Parsloe

On 24/07/2016 1:52 a.m., Guenter Milde wrote:

On 2016-07-23, Andrew Parsloe wrote:

At present in LyX there is no environment that can embrace paragraph
environments.


It is. It is called nesting and must be enabled in the embracing Style with
a keyword...

Günter



Thank you for reminding me. I was aware of lists but had forgotten 
about, e.g., Quote and Quotation. I think I will be able to manufacture 
something from them.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: The lack of multi-paraagraph environments in LyX

2016-07-23 Thread Guenter Milde
On 2016-07-23, Andrew Parsloe wrote:
> At present in LyX there is no environment that can embrace paragraph 
> environments. 

It is. It is called nesting and must be enabled in the embracing Style with
a keyword...

Günter



The lack of multi-paraagraph environments in LyX

2016-07-23 Thread Andrew Parsloe
At present in LyX there is no environment that can embrace paragraph 
environments. Insets can, but they clog up and become unusable once the 
included text reaches a certain size. What I would like to have 
available is something like \begin_body ... \end_body only smaller, 
encompassing only part of the document, yet far more than an inset can 
handle comfortably.


What prompts this is a (first version of a) module and converter I've 
written that enable export to dtx format for use with the doc.sty 
package and docstrip.tex utility. I want to extend this to the LaTeX3 
versions, l3doc.cls and l3docstrip.tex, but whereas doc/docstrip use 
switches like %<*documentation> and % to mark the start 
and end of parts of the document, in LaTeX3 this is done with 
environments: "Use \begin{documentation}...\end{documentation} around 
the documentation, and \begin{implementation}...\end{implementation} 
around the implementation". In LyX "documentation" and "implementation" 
would correspond exactly to the kind of environment mentioned, 
containing standard and other paragraphs, section headings, and insets.


In the meantime I will probably tinker a solution. Inserting an appendix 
containing the implementation code and its discussion is one 
possibility, child documents are another, but really there is a gap in 
LyX's capabilities here.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus