Re: Bounding box for pstricks graphics with LyX

2012-01-14 Thread Liviu Andronic
On Sun, Jan 15, 2012 at 8:22 AM, Andrew Parsloe  wrote:
>> [1] http://www.lyx.org/trac/ticket/7839
>>
>
> Yes, this looks likely Liviu -- cropped images are what I'm after. However,
> I'll need to wait until 2.0.3(?), not having ventured into the world of
> compiling LyX myself (as yet).
>
You don't need to. This patch is trivial, and you can apply it to your
configure.py (do backup first) without recompiling LyX. Alternatively,
you can simply add the following to your 'preferences' file.

 # FORMATS SECTION ##
 \format "eps" "eps" "EPS" "" "evince" "" "document,vector,menu=export"
 \format "pdf6" "pdf" "PDF (cropped)" "" "evince" "" "document,menu=export"

 # CONVERTERS SECTION ##
 \converter "dvi" "eps" "dvips -E -o $$o $$i" ""
 \converter "pdf2" "pdf6" "pdfcrop $$i $$o" ""

I meant to include this info on the wiki, but never got around it. I
do hope that this will be included in base LyX in the future. Also,
attached are the template files using 2.0.


> Looking at what you've done did remind me
> that I had used the -E option in 1.6.10 for dvips (for the DVI -> Postscript
> file converter), which I had forgotten to do in 2.0.2. Sadly, it made no
> difference, not even after a reconfigure.
>
I guess something isn't properly setup in your conversion chains. You
need to make sure that all the conversion paths are there.

Regards
Liviu


> Regards
> Andrew



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


EPS.20.lyx
Description: Binary data


PDF-cropped_1.20.lyx
Description: Binary data


Re: Space between lines at the same size shows differently

2012-01-14 Thread Paul A . Rubin
First, a comment: I'm not sure what you intend here, so I may be wrong, but I
think you're doing things the hard way, using standard environments for things
(titles, headings) when specialized environments for them exist.

That said, the reason for the difference in spacing is that in the first block
of text you entered each line in a separate paragraph, while in the second block
you entered it all as one paragraph.  If you redo the first block in a single
paragraph, you will eliminate the extra spacing.  Should you need line breaks in
places they do not naturally occur, use Ctrl-Enter rather than Enter.

Paul



Re: Theorem proof results in error

2012-01-14 Thread Paul A . Rubin
Jeroen van Zundert  gmail.com> writes:

> 
> The change in that file (removing the backslash) also exists in the file on my
pc ("..\Resources\layouts\theorems-proof-std.inc")

You might check the ...\layouts folder under your home directory (on Win 7
that's usually something like C:\Users\\AppData\Roaming\LyX2.0) and make
sure you don't have an old customized version that contains the errant 
backslash.

Paul





Re: Long Math Equation in Table Column

2012-01-14 Thread Rich Shepard

On Sat, 14 Jan 2012, Paul A. Rubin wrote:


I've never dug into the reason for this,


Paul,

  Neither have I because I need it so infrequently.


... but I think that some packages (and "rotating" may be one of them, if
that's the correct name) only work with PDF output.


  Looks reasonable.


I occasionally forget this and get a disconcerting output with View > DVI.


  Obviously, I do, too.

Thanks,

Rich


Re: Long Math Equation in Table Column

2012-01-14 Thread Paul A . Rubin
Rich Shepard  appl-ecosys.com> writes:


>I do the above, save the document, and look at the dvi preview. It's not
> rotated but in the upper right corner of the page and off both margins. But
> ... A-ha! It is rotated in the pdflatex output.
> 
>It occurred to me that sometimes the dvi preview does not display properly
> while the compiled output does.
> 

I've never dug into the reason for this, but I think that some packages (and
"rotating" may be one of them, if that's the correct name) only work with PDF
output.  It might be that they use pstricks or equivalent magic.  I occasionally
forget this and get a disconcerting output with View > DVI.

Paul




Space between lines at the same size shows differently

2012-01-14 Thread Kenedy Torcatt
Hello guys...

I'm trying to stablish the same space between header and title on 1.5.
And I don't know why the header looks bigger than title. I'm attaching
the pdf and lyx in a .zip  file for you to review.
What am I doing wrong?

Thankyou


--
Kenedy Torcatt

Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster

Contact: Gmail                                facebook: ktorcatt
              Yahoo                               Twitter: kenfitness
              Hotmail


--
Kenedy Torcatt

Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster

Contact: Gmail                                facebook: ktorcatt
              Yahoo                               Twitter: kenfitness
              Hotmail


-- 
Kenedy Torcatt

Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster

Contact: Gmail                                facebook: ktorcatt
              Yahoo                               Twitter: kenfitness
              Hotmail


Tesis_papa.lyx
Description: application/lyx


Tesis_papa.pdf
Description: Adobe PDF document


Theorem proof results in error

2012-01-14 Thread Jeroen van Zundert
Hi all,

In LyX 2.0.2 (on Win7) I am using the module  "Theorems (Numbered by Type)"
for lemmas, propositions, etc. However, the proof functionality results in
an error when compiling the document into a pdf file. It seems, from the
log file, that there is an error, as in the source there is the following
piece: "\ifx\proof\undefined\", note the backslash at the end. I've already
found that there has been a bug fix 6 months ago, see
http://www.lyx.org/trac/changeset/39217. The change in that file (removing
the backslash) also exists in the file on my pc
("..\Resources\layouts\theorems-proof-std.inc"), so it seems to me that the
fix is applied in version 2.0.2. The problem is that in the LaTeX source
created by LyX the error still exists. Do I have to activate this fix in
some way, or can I manually patch this error in some other file?

Jeroen


Re: View other formats button

2012-01-14 Thread Jürgen Spitzmüller
Andrew Parsloe wrote:
> Clicking on the View-other-formats button produces a 
> list of alternatives. Once another format has been chosen, the icon on 
> the the button changes according to the format chosen. Fine, but now you 
> might want to try another other-format. The button icon includes a 
> little black downwards pointing triangle suggesting that the list of 
> these other formats will be available if the cursor is positioned on the 
> triangle. This doesn't happen. Is this a bug, or does the little black 
> triangle have some other significance?

While you click on the button, keep the mouse button pressed for a moment. 
Short press: the selected format is used. Long press: the dropdown list opens.

> Also, if I then go to the View menu and select another other-format that 
> way, the View-other-formats button does not change with my new choice, 
> as I would expect it to.

No, the menu and the toolbar are not (supposed to be) connected that way.

Jürgen


View other formats button

2012-01-14 Thread Andrew Parsloe
The time comes to compile a document. Perhaps something other than 
pdflatex is wanted. Clicking on the View-other-formats button produces a 
list of alternatives. Once another format has been chosen, the icon on 
the the button changes according to the format chosen. Fine, but now you 
might want to try another other-format. The button icon includes a 
little black downwards pointing triangle suggesting that the list of 
these other formats will be available if the cursor is positioned on the 
triangle. This doesn't happen. Is this a bug, or does the little black 
triangle have some other significance?


Also, if I then go to the View menu and select another other-format that 
way, the View-other-formats button does not change with my new choice, 
as I would expect it to.


Andrew