Re: updating postscript file, but not eepic picture
> > I have a LyX (1.3.6) file that contains a reference to an eepic file that > > is be included with "\input" command. That works, but when I change in > > the eepic file, the LyX files preview is not updataed, even though I use > > update postscript/ view postscript and reloads the postscript file. > > What can I do to fix this problem? > > Does closing and reopening the LyX document rectify the problem? Well, the same problem again. Closing only the document and reopening solves the problem, then the updated eepic file is used. Any ideas on this problem? Where does LyX cache things by the way? nothing is in /tmp/lyx_tmpdir884848/lyx_tmpbuf0/
Re: updating postscript file, but not eepic picture
> Does closing and reopening the LyX document rectify the problem? Don't know, but going to sleep, start from the beginning and be aware of what I'm doing solved it. Sorry for bothering you with my mistakes.
Re: updating postscript file, but not eepic picture
Gunnar wrote: Hi. I have a LyX (1.3.6) file that contains a reference to an eepic file that is be included with "\input" command. That works, but when I change in the eepic file, the LyX files preview is not updataed, even though I use update postscript/ view postscript and reloads the postscript file. What can I do to fix this problem? Does closing and reopening the LyX document rectify the problem? Paul
updating postscript file, but not eepic picture
Hi. I have a LyX (1.3.6) file that contains a reference to an eepic file that is be included with "\input" command. That works, but when I change in the eepic file, the LyX files preview is not updataed, even though I use update postscript/ view postscript and reloads the postscript file. What can I do to fix this problem?
Re: manually editing postscript file to cut off whitespace
On Wed, Feb 26, 2003 at 11:53:58AM -0500, Praedor Atrebates wrote: > I have used Staroffice 6.0 to create some graphics for inclusion in my > dissertation in Lyx. Whenever I print to file (postscript) from SO/OO it > produces very nice looking postscript images but they invariably include too > much whitespace in the bounding box such that running ps2ps to try to cut it > down to size doesn't work. By extension, clipping to bounding box in Lyx > doesn't work either. The particular graphic in question has the bounding box > coordinates of 0 0 612 792. Which of these numbers, if these are the numbers > to deal with, should be altered to cut off the whitspace at the bottom of the > image? Use ps2eps to automatically clip the image: http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ps2eps.html
manually editing postscript file to cut off whitespace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have used Staroffice 6.0 to create some graphics for inclusion in my dissertation in Lyx. Whenever I print to file (postscript) from SO/OO it produces very nice looking postscript images but they invariably include too much whitespace in the bounding box such that running ps2ps to try to cut it down to size doesn't work. By extension, clipping to bounding box in Lyx doesn't work either. The particular graphic in question has the bounding box coordinates of 0 0 612 792. Which of these numbers, if these are the numbers to deal with, should be altered to cut off the whitspace at the bottom of the image? praedor -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+XPEmwDUPEkSvRHERAgmhAJ92TIcY4YR61SkmCm76PEALCltOoACgzzvA iGwrPREjRP0YKvpYiowvsTM= =Wo3H -END PGP SIGNATURE-
Re: Including a full-page postscript file
Len Walter wrote:
> Ok, I've more or less sorted it out. I installed the chngpage package
> and added Evil Red Text surrounding the figure inside the float.
>
> The LaTeX produced is:
> \newpage
> \begin{center}%
> \begin{figure*}[h]
this is senseless, because you do not want to float
this figure and you don't have a caption. You need only:
> \begin{center}\begin{adjustwidth}{-4em}{-4em}\includegraphics[
> angle=270,
> origin=c]{slide2}\end{adjustwidth}\end{center}
another solution is to use package textpos:
\begin{textblock}{0}(-5,-5)
\includegraphics{ ... }
\end{textblock}
Herber
--
http://www.lyx.org/help/
Re: Including a full-page postscript file
Ok, I've more or less sorted it out. I installed the chngpage package
and added Evil Red Text surrounding the figure inside the float.
The LaTeX produced is:
\newpage
\begin{center}%
\begin{figure*}[h]
\begin{center}\begin{adjustwidth}{-4em}{-4em}\includegraphics[
angle=270,
origin=c]{slide2}\end{adjustwidth}\end{center}
\end{figure*}
\end{center}
\newpage
The two adjustwidth commands are what did it; once I expanded the
margins the centering worked as designed :)
I'd still like to know if there's an easier way, say
\includepage{page.ps}
or similar, but this has solved my problem for the present.
Hope this helps someone,
Len
On Sun, 2002-06-16 at 15:16, Len Walter wrote:
> G'day,
>
> I'm having some trouble including a full page postscript file as one of
> the pages in my LyX document. I want to include the output of another
> program as a PS or EPS file, as a page in my document. I'd just print
> them out separately, but then I'd mess up the page numbering.
>
> I've read most the the user guide and done a stack of searches for LyX
> and LaTeX ways to do this, including various floats, minipages and
> figures. The problem I always get is that the figure will be pushed off
> to the right hand side of the page. Setting the alignment of the figure
> in a float to left, or setting the alignment of the paragraph to left
> doesn't seem to make much difference.
>
> The LaTeX produced by LyX for the relevant page looks like this:
> \subsection{Context Diagram}
>
> \begin{flushleft}%
> \begin{figure*}
> \begin{flushleft}\includegraphics[ angle=270,
> origin=lt]{slide2}\end{flushleft}
> \end{figure*}
> \end{flushleft}
> \newpage
>
> The original PS file is full page A4 landscape, so I've rotated it.
> I think I've tried most of the possible permutations of figure
> inclusion, page layout and alignment, and I've really run out of ideas,
> but it seems like this should be possible.
>
> Does anyone know how I could go about doing this?
>
> Thanks in advance for any help,
> Len
>
Including a full-page postscript file
G'day,
I'm having some trouble including a full page postscript file as one of
the pages in my LyX document. I want to include the output of another
program as a PS or EPS file, as a page in my document. I'd just print
them out separately, but then I'd mess up the page numbering.
I've read most the the user guide and done a stack of searches for LyX
and LaTeX ways to do this, including various floats, minipages and
figures. The problem I always get is that the figure will be pushed off
to the right hand side of the page. Setting the alignment of the figure
in a float to left, or setting the alignment of the paragraph to left
doesn't seem to make much difference.
The LaTeX produced by LyX for the relevant page looks like this:
\subsection{Context Diagram}
\begin{flushleft}%
\begin{figure*}
\begin{flushleft}\includegraphics[ angle=270,
origin=lt]{slide2}\end{flushleft}
\end{figure*}
\end{flushleft}
\newpage
The original PS file is full page A4 landscape, so I've rotated it.
I think I've tried most of the possible permutations of figure
inclusion, page layout and alignment, and I've really run out of ideas,
but it seems like this should be possible.
Does anyone know how I could go about doing this?
Thanks in advance for any help,
Len
Re: postscript-file
Herbert Voss <[EMAIL PROTECTED]> writes: | this is a real non-lyx question: | | i have a postscript file which prints by default 4 pages | on one side. | does anybody knows if it's possible to print this file | with one page on one side? | | i tried ps2ps and other, but nothing works (for me ...) what about a psresize? psresize -w2*"with_of_a4" -h2*"height_of_a4" -Pa4 -q never tried it... Lgb
postscript-file
this is a real non-lyx question: i have a postscript file which prints by default 4 pages on one side. does anybody knows if it's possible to print this file with one page on one side? i tried ps2ps and other, but nothing works (for me ...) Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: reducing Postscript file size
For going from jpeg to ps, the best option is a program called jepg2ps. The embeds the bitmap into a postscript file, along with a small converter, written in postscript. Usually only adds a few k to the file size. Rod On Wed, 5 Jul 2000, Rachel Greenham wrote: > Fred C wrote: > > > > Didn't find an EASY (I'm not a nerd) to use answer for that common > > question : > > How can i reduce the monstrous size of .eps pictures to be inserted in > > my thesis written with LyX 1,0,4 on Linux 2,2,13? > > A simple color picture of Linus in jpeg makes 17 kb, saved as grayscaled > > .eps it results in an horrible (to save on a floppy) 1,6 Mb!!! > > Level 2 Postscript? (I think earlier Postscript implementations produced > huge output for bitmaps (I suspect drawing a rectangle for each pixel or > something crazy like that), whereas later ones could embed the bitmap data > more sensibly, but I don't know if any of that applies to EPS.) In any case > jpegs are insanely compressed, and what you end up with in Postscript/EPS > isn't. > > You could try compressing the EPS file if you need to fit it onto a floppy > for transport. Just use gzip or for better compression use bzip2. That > should easily save enough to fit it onto a floppy if it's already 1.6Mb > uncompressed. It won't be as small as the original jpeg, but it should be > quite a lot smaller as EPS is basically text and compresses well. > > -- > Rachel > __ rod | "If morale is low it's because the employees have character defects. | There is nothing you can do about that." |from Dilbert's micromanagement tips for management.
Re: reducing Postscript file size
Fred C wrote: > > Didn't find an EASY (I'm not a nerd) to use answer for that common > question : > How can i reduce the monstrous size of .eps pictures to be inserted in > my thesis written with LyX 1,0,4 on Linux 2,2,13? > A simple color picture of Linus in jpeg makes 17 kb, saved as grayscaled > .eps it results in an horrible (to save on a floppy) 1,6 Mb!!! Level 2 Postscript? (I think earlier Postscript implementations produced huge output for bitmaps (I suspect drawing a rectangle for each pixel or something crazy like that), whereas later ones could embed the bitmap data more sensibly, but I don't know if any of that applies to EPS.) In any case jpegs are insanely compressed, and what you end up with in Postscript/EPS isn't. You could try compressing the EPS file if you need to fit it onto a floppy for transport. Just use gzip or for better compression use bzip2. That should easily save enough to fit it onto a floppy if it's already 1.6Mb uncompressed. It won't be as small as the original jpeg, but it should be quite a lot smaller as EPS is basically text and compresses well. -- Rachel
reducing Postscript file size
Didn't find an EASY (I'm not a nerd) to use answer for that common question : How can i reduce the monstrous size of .eps pictures to be inserted in my thesis written with LyX 1,0,4 on Linux 2,2,13? A simple color picture of Linus in jpeg makes 17 kb, saved as grayscaled .eps it results in an horrible (to save on a floppy) 1,6 Mb!!! Help Fred (Montpellier, F)
Re: inserting a truncated postscript file
On Wed, 14 Jun 2000, C.Friedrich wrote:
> I want to insert a figure, which is cut out of a postscript-fit, simply by
> changing the parameters of the "Boundary Box" in the postscript source.
> The figure is placed correctly, but the cut out portion shows up regardless
> (and mixes quite nastily with the rest of the page).
This can be done with ERT. Export the LyX file to LaTeX and look at the
commands for including that figure. Copy them into the LyX file as ERT,
then change the \includegraphics{... command to \includegraphics*{...
You lose the WYSIWYM, but at least it does the right thing. LyX should
have a button to do this automatically, and we keep being promised that
stuff like this will be added when figinset.C is rewritten (hint, hint).
> (Another thing: A lot has been written about wrapping text around figures. The
> package "wrapfig" workes very fine for me, whereas "floatflt" and "picinpar"
> are far from flawless imho.)
Seems to depend on the figure and the text. I've had mixed success with
all of the above - and I wrote the docs. No matter what, you have to be
prepared to do some tinkering to make this work. Maybe a few more words
are necessary ... :-)
--
Mike Ressler
[EMAIL PROTECTED]
(also at JPL)
inserting a truncated postscript file
The following is probably more a question about how tex deals with postscript-files. I want to insert a figure, which is cut out of a postscript-fit, simply by changing the parameters of the "Boundary Box" in the postscript source. The figure is placed correctly, but the cut out portion shows up regardless (and mixes quite nastily with the rest of the page). I still use lyx 1.0.4. Perhaps someone can give me a hint. (Another thing: A lot has been written about wrapping text around figures. The package "wrapfig" workes very fine for me, whereas "floatflt" and "picinpar" are far from flawless imho.)
