Re: wrapfig

2016-09-20 Thread gordon cooper

Richard and Paul,

   Thank you for this discussion and the 
detailed reporting.

Have been thinking about wrapping, without actually doing anything.
Now I know what to do.

Regards,

Gordon

Tauranga N.Z.




Re: wrapfig

2016-09-20 Thread Richard Opheim
Thanks! Got it working.

On Tue, Sep 20, 2016 at 11:35 AM, Paul A. Rubin  wrote:

> On 09/20/2016 12:03 PM, Richard Opheim wrote:
>
> Sorry---here's the file with the fonts removed from the preamble and a
> figure file as well.
> As before, the PDF displays but the text still doesn't wrap.
> Also, I'm using the Memoir class, if that makes any difference.
>
> Richard,
>
> I'm copying the user list on this, to keep the discussion visible to
> others.
>
> Thanks for the improved example. There are two things I think you should
> change in it if you need to repost it later for some reason. First, the
> file path for the image refers to a subdirectory. Since the downloaded
> image will be in the same directory as the downloaded LyX file, that will
> need to be changed.
>
> Second, you have the image at the start of the paragraph. I cannot find
> any way to trigger wrapping there (which may just be my lack of familiarity
> with the finer points of wrapfig). If I put it somewhere in the interior of
> the paragraph, I can get it to wrap, so you might want to move it there.
>

My file is now working well with wrapfig placed at the beginning of the
paragraph.


> When you move the figure into the body of the paragraph, you need to make
> sure it is not included in the bold faced section; if it is, spacing will
> be screwed up. The trick is to reset the series for all the text to the
> default, insert the figure where you want it, then select the preceding
> text, bold it, select the following text, and bold that.
>

After fiddling around with it for a while, I find that bolding is not
relevant to the errors I experienced.

>
> With all that done, the image still pops to the bottom of the page,
> apparently because the text is left-justified. If you change the paragraph
> to default justification, wrapping works.
>

Yes, this was the main thing that was hanging me up.


> As I said, I'm no expert on wrapfig, so I don't know whether it is
> compatible with non-default text justification. A Google search was not
> helpful in that regard. Looking at the LaTeX source generated by LyX, I see
> no problems, so I suspect this is an issue with wrapfig.
>

Even after I'd corrected the left justification to paragraph's default, the
output was still wonky---the figure appeared in the correct location, but
the text wouldn't move around it and stayed under the figure. Finally, I
tried throwing away the old test file and making a new one from scratch.
The new test file worked perfectly well. I've noticed that it's not all
that rare for LyX files to get strangely corrupted. Even if all the
settings are correct, they just won't run, and you have to paste the
content into a new file to get it to work.

Thanks again for your help.

>
>
> Paul
>
>

Richard Opheim
P.O. Box 2261 Arizona City, AZ 85123
Cell: (1) 206-965-0564
Skype name: richard.opheim

Self-publishing Consultant
Editing---Layout---Musical Scores---Images---Kindle conversion

website URL:
https://sites.google.com/site/opheimrichard/home

self-publishing faq:
 https:/ <https://sites.google.com/site/opheimrichard/home>
/sites.google.com/site/opheimrichard/publishing-faq
<https://sites.google.com/site/opheimrichard/home>

publishing tasks:
https://sites.google.com/site/opheimrichard/publishing-faq/publishing-tasks

marketing techniques:
https://sites.google.com/site/opheimrichard/publishing-faq/marketing

Japanese translation & consulting:
https://sites.google.com/site/japanesetranslationconsulting/
<https://url.sites.google.com/site/japanesetranslationconsulting/>

blog:
http://foliocirculaire.blogspot.com

"I [don't believe in God] . . . But the God I don't believe in is a good
God, a just God, a merciful God. He's not the mean and stupid God you make
Him out to be."
~Lt. Scheisskopf's wife in Catch-22 by Joseph Heller


Re: wrapfig

2016-09-20 Thread Paul A. Rubin

On 09/20/2016 12:03 PM, Richard Opheim wrote:
Sorry---here's the file with the fonts removed from the preamble and a 
figure file as well.

As before, the PDF displays but the text still doesn't wrap.
Also, I'm using the Memoir class, if that makes any difference.


Richard,

I'm copying the user list on this, to keep the discussion visible to others.

Thanks for the improved example. There are two things I think you should 
change in it if you need to repost it later for some reason. First, the 
file path for the image refers to a subdirectory. Since the downloaded 
image will be in the same directory as the downloaded LyX file, that 
will need to be changed.


Second, you have the image at the start of the paragraph. I cannot find 
any way to trigger wrapping there (which may just be my lack of 
familiarity with the finer points of wrapfig). If I put it somewhere in 
the interior of the paragraph, I can get it to wrap, so you might want 
to move it there. When you move the figure into the body of the 
paragraph, you need to make sure it is not included in the bold faced 
section; if it is, spacing will be screwed up. The trick is to reset the 
series for all the text to the default, insert the figure where you want 
it, then select the preceding text, bold it, select the following text, 
and bold that.


With all that done, the image still pops to the bottom of the page, 
apparently because the text is left-justified. If you change the 
paragraph to default justification, wrapping works. As I said, I'm no 
expert on wrapfig, so I don't know whether it is compatible with 
non-default text justification. A Google search was not helpful in that 
regard. Looking at the LaTeX source generated by LyX, I see no problems, 
so I suspect this is an issue with wrapfig.


Paul



Re: wrapfig

2016-09-19 Thread Paul A. Rubin

On 09/19/2016 01:24 AM, Richard Opheim wrote:

Can't get wrapfig to work.
LyX 2.1.1
WIndows 10


Richard Opheim

Your attached test document loads a missing figure and (in the preamble) 
uses some pretty non-standard fonts. A more generic example would help.


Paul



wrapfig

2016-09-18 Thread Richard Opheim
Can't get wrapfig to work.
LyX 2.1.1
WIndows 10


Richard Opheim


wrapfig test file.lyx
Description: application/lyx


Re: wrapfig......... how to do that.........

2009-07-26 Thread M-L
On Mon, 27 Jul 2009 01:23:15 +0200 Vincent van Ravesteijn
 applied thoughts to keyboard and posted
this:

>M-L schreef:
>> Hello everyone,
>>
>> I have been reading this:
>>
>> http://wiki.lyx.org/Tips/PlacingPicturesBesideTheText
>>
>> Plus a whole heap of stuff on the net to try to have text wrapped
>> around a graphic.
>>
>> I can't make it work.
>>
>> Just a simple line example would be nice and I will experiment with
>> it from there:
>>
>> Do I have to use it in an ERT in the chapter/section I want it in?
>>
>>  \usepackage{wrapfig}[12]{r}[34pt]{5cm}{pictobeused.jpg}
>>
>> Doesn't work in ERT
>>
>> So how might one use it?
>>
>> Thanks in advance,
>> Charlie
>>   
>You have to do nothing, just use the menu: Insert -> Float -> Figure 
>Wrap Float. Then insert your graphics just as you'd do for a normal
>float.
>
>Vincent

Thank you for your very prompt reply Vincent, it is very much
appreciated.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Is not disease the rule of existence? There is not a lily pad floating
on the river but has been riddled by insects. Almost every shrub and
tree has its gall, oftentimes esteemed its chief ornament and hardly to
be distinguished from the fruit. If misery loves company, misery has
company enough. Now, at midsummer, find me a perfect leaf or
fruit. ...Henry David Thoreau

***
Debian, just the best way to create magic
___


Re: wrapfig......... how to do that.........

2009-07-26 Thread Vincent van Ravesteijn

M-L schreef:

Hello everyone,

I have been reading this:

http://wiki.lyx.org/Tips/PlacingPicturesBesideTheText

Plus a whole heap of stuff on the net to try to have text wrapped
around a graphic.

I can't make it work.

Just a simple line example would be nice and I will experiment with it
from there:

Do I have to use it in an ERT in the chapter/section I want it in?

 \usepackage{wrapfig}[12]{r}[34pt]{5cm}{pictobeused.jpg}

Doesn't work in ERT

So how might one use it?

Thanks in advance,
Charlie
  
You have to do nothing, just use the menu: Insert -> Float -> Figure 
Wrap Float. Then insert your graphics just as you'd do for a normal float.


Vincent


wrapfig......... how to do that.........

2009-07-26 Thread M-L

Hello everyone,

I have been reading this:

http://wiki.lyx.org/Tips/PlacingPicturesBesideTheText

Plus a whole heap of stuff on the net to try to have text wrapped
around a graphic.

I can't make it work.

Just a simple line example would be nice and I will experiment with it
from there:

Do I have to use it in an ERT in the chapter/section I want it in?

 \usepackage{wrapfig}[12]{r}[34pt]{5cm}{pictobeused.jpg}

Doesn't work in ERT

So how might one use it?

Thanks in advance,
Charlie
-- 
Registered Linux User:- 329524
***
A friend is one who incessantly pays us the compliment of expecting
from us all the virtues, and who can appreciate them in us. The friend
asks no return but that his friend will religiously accept and wear and
not disgrace his apotheosis of him. They cherish each other's hopes.
They are kind to each other's
dreams. .Henry David Thoreau

***
Debian, just the best way to create magic
___


Figure float wrapfig caption

2007-01-15 Thread Curtis Osterhoudt
Cheers, all,This is an almost purely theoretical question, so feel free to 
ignore.In my preamble, I have a command to change the font for figures and 
tables. It works fine on "regular" floats (the captions are of smaller font and 
single-spaced, whereas the regular text is double-spaced). However, on floating 
"wrapped" figures, although their font is smaller than the regular text, their 
captions are not single-spaced. Is there an easy way to fix this? ( I 
understand that wrapped floats are tricky, and often recommended against. 
That's why this is a "theoretical" question.)   Thanks!   C.O.
_
Get the Live.com Holiday Page for recipes, gift-giving ideas, and more.
www.live.com/?addtemplate=holiday

Re: floatflt/ wrapfig error

2002-10-30 Thread Dekel Tsur
On Sun, Oct 27, 2002 at 09:49:28PM +0100, Martin Sommer wrote:
> I have a problem using floatflt and wrapfig. Both seem to be installed, I have 
> a /usr/share/texmf/tex/latex/misc/wrapfig.sty, but it is not present in the 
> configure output, which you can see at the bottom of this message.
> I am Running Mandrake 9.0 with tetex 1.0.7-61 and Lyx 1.2.1-2 and I only like 
> to have text around images.
> There are two examples in de_Extended.lyx, the first one using floatflt is not 
> working, the dialog-box is missing, the second produces LaTeX Error: 
> Environment floatingfigure undefined.
> This might be misconfiguration -- do you have any suggestions?
> Thanks for your help,
> Martin

The problem is in the de_Extended.lyx file.
The following line should be in the preamble:
 \usepackage{floatflt}



floatflt/ wrapfig error

2002-10-27 Thread Martin Sommer
Hello,
I have a problem using floatflt and wrapfig. Both seem to be installed, I have 
a /usr/share/texmf/tex/latex/misc/wrapfig.sty, but it is not present in the 
configure output, which you can see at the bottom of this message.
I am Running Mandrake 9.0 with tetex 1.0.7-61 and Lyx 1.2.1-2 and I only like 
to have text around images.
There are two examples in de_Extended.lyx, the first one using floatflt is not 
working, the dialog-box is missing, the second produces LaTeX Error: 
Environment floatingfigure undefined.
This might be misconfiguration -- do you have any suggestions?
Thanks for your help,
Martin


checking for a LaTeX2e program... (latex latex2e)
+checking for "latex"... yes
checking for the pdflatex program... (pdflatex)
+checking for "pdflatex"... yes
checking for a LaTeX -> LyX converter... (reLyX)
+checking for "reLyX"... yes
checking for a Noweb -> LyX converter... (noweb2lyx)
+checking for "noweb2lyx"... yes
checking for a Noweb -> LaTeX converter... (noweave)
+checking for "noweave"... no
checking for a HTML -> Latex converter... (html2latex)
+checking for "html2latex"... no
checking for a MSWord -> Latex converter... (wvCleanLatex word2x)
+checking for "wvCleanLatex"... yes
checking for Image converter... (convert)
+checking for "convert"... yes
checking for a Postscript interpreter... (gs)
+checking for "gs"... yes
checking for a Postscript previewer... (gv ghostview)
+checking for "gv"... yes
checking for a PDF preview... (acroread gv ghostview xpdf)
+checking for "acroread"... no
+checking for "gv"... yes
checking for a DVI previewer... (xdvi windvi yap)
+checking for "xdvi"... no
+checking for "windvi"... no
+checking for "yap"... no
checking for a HTML previewer... (netscape)
+checking for "netscape"... no
checking for a PS to PDF converter... (ps2pdf)
+checking for "ps2pdf"... yes
checking for a DVI to PS converter... (dvips)
+checking for "dvips"... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for "dvipdfm"... yes
checking for a *roff formatter... ('groff -t -Tlatin1 3713FName' nroff)
+checking for "groff"... yes
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for "chktex"... no
checking for a spell-checker... (ispell)
+checking for "ispell"... yes
checking for a fax program... (ksendfax)
+checking for "ksendfax"... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for "sgml2lyx"... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi)
+checking for "sgmltools"... no
+checking for "db2dvi"... no
checking for a spool command... (lp lpr)
+checking for "lp"... no
+checking for "lpr"... yes
checking for a LaTeX -> HTML converter... (tth latex2html hevea)
+checking for "tth"... no
+checking for "latex2html"... no
+checking for "hevea"... no
checking for an Image -> EPS converter... (convert pnmtops)
+checking for "convert"... yes
checking for an Image -> PNG converter... (convert pnmtopng)
+checking for "convert"... yes
checking for an Image -> XPM converter... (convert)
+checking for "convert"... yes
checking for an EPS -> PDF converter... (epstopdf)
+checking for "epstopdf"... yes
checking for a Grace -> Image converter... (gracebat)
+checking for "gracebat"... no
checking for an FIG -> EPS/XPM converter... (fig2dev)
+checking for "fig2dev"... no
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2001/06/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... no
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... no
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... yes
+checking for document class chess [article,lyxskak.sty]... yes
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section