Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-11 Thread Paul A. Rubin

christiaan pauw wrote:

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for 
Win




The problem is that you have the comment widget in a Quote environment. 
The Quote environment gets extra whitespace above and below, apparently 
even if it's empty.


The solution is to put the comment in Standard paragraph, but (if you 
wish) put the text inside the comment widget in a Quote environment. 
I've attached a slightly modified version of your file.


HTH,
/Paul
#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Subsection*

\lang british
Subsection heading
\end_layout

\begin_layout Standard

\lang british
Paragraph IParagraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragr
\end_layout

\begin_layout Standard

\lang british
The whitespace in question is below.
 I have include a large volume of text because I sometime comment out a
 whole paragraph that I am still working on when i work on a next version
 of a draft.
 The space is blow
\end_layout

\begin_layout Standard

\lang british
\begin_inset Note Comment
status collapsed

\begin_layout Quote

\lang british
comment text comment text comment text comment text comment text v comment
 textcomment text comment text comment text comment text comment text v
 comment text comment text comment textcomment text comment text comment
 text comment text comment text v comment text comment text comment textcomment
 text comment text comment text comment text comment text v comment text
 comment text comment textcomment text comment text comment text comment
 text comment text v comment text comment text comment textcomment text
 comment text comment text comment text comment text v comment text comment
 text comment textcomment text comment text comment text comment text comment
 text v comment text comment text comment textcomment text comment text
 comment text comment text comment text v comment text comment text comment
 textcomment text comment text comment text comment text comment text v
 comment text comment text comment textcomment text comment text comment
 text comment text comment text v comment text comment text comment text
 comment text comment text
\end_layout

\end_inset


\end_layout

\begin_layout Subsection*

\lang british
Next Subsection heading
\end_layout

\begin_layout Standard

\lang british
Paragraph IParagraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph 
\end_layout

\begin_layout Subsection*

\lang british
Next Subsection heading
\end_layout

\begin_layout Standard

\lang british
Paragraph IParagraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph Paragraph
 Paragraph 
\end_layout

\begin_layout Standard

\end_layout

\begin_layout Quote

\end_layout

\begin_layout Standard

\end_layout

\begin_layout Quote

\end_layout

\begin_layout Standard

\end_layout

\end_body
\end_document


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERT>NOTE>Comment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-05 Thread Paul A. Rubin

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works well. 
After some searching I found the comment format under 
INSERT>NOTE>Comment. . This is weird but fine. I have had two problems. 
1. It is now necessary to highlight an entire section to be commented. 


I'm not sure what you mean by "entire section".  I can highlight any 
amount of text and turn it into a comment.


Once I got an error due to this ( a problem with to many }s). 


Is it possible that you commented out some ERT that was necessary in the 
body?  For instance, I've been known to insert \begin{foo} and \end{foo} 
in separate ERT insets, where 'foo' is some environment not directly 
supported by LyX.  Commenting out one but not the other would cause 
LaTeX major indigestion.


2. My
bigger problem is that there is a whitespace footprint (something like 
an open line ) in the DVI output. Can this be fixed?


I'm unable to reproduce the whitespace.  Can you post a minimal example?

Cheers,
/Paul



Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-03 Thread christiaan pauw

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works well. 
After some searching I found the comment format under 
INSERT>NOTE>Comment. . This is weird but fine. I have had two problems. 
1. It is now necessary to highlight an entire section to be commented. 
Once I got an error due to this ( a problem with to many }s). 2. My  
bigger problem is that there is a whitespace footprint (something like 
an open line ) in the DVI output. Can this be fixed?


regards
christiaan