Re: Presentation tip: was LyX as a presentation tool

2012-04-06 Thread Neal Becker
Thanks for the tip about Impressive!  That is pretty Impressive.  
Finding/installing deps on fedora 16 was a little bit of a pain (mostly due to 
differing package names on different systems)



Re: break long equation into two lines

2006-11-08 Thread Neal Becker
Micha Feigin wrote:

> On Wed, 8 Nov 2006 09:42:55 -0500
> "Reuben D. Budiardja"
> <[EMAIL PROTECTED]> wrote:
> 
>> Hello,
>> When working with math formula in equation array mode, I found out that
>> my equation is too long on the page. I want to break it to two lines. Is
>> there a way do that ? All my equations are numbered (with label), when
>> breaking long equation into two lines, the first line should not be
>> numbered.
>> 
> 
Look at amslatex.  It has lots of options.



ams article defect

2006-11-15 Thread Neal Becker
I recall hitting this problem once before, but I forgot what the fix was. 
I'm using ams article.  The output has a header that says:
englishMyTitle
instead of 
MyTitle




Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
> >>>>> "David" == David L Johnson <[EMAIL PROTECTED]> writes:
>
> David> On Wed, 15 Nov 2006 09:55:44 -0500
>
> David> Neal Becker <[EMAIL PROTECTED]> wrote:
> >> I recall hitting this problem once before, but I forgot what the
> >> fix was. I'm using ams article. The output has a header that says:
> >> englishMyTitle instead of MyTitle
>
> David> Yeah, I have this problem, too, and have had through several
> David> system updates. It was explained to me on this list that it is
> David> a LaTeX issue, not a LyX one. Specifically, it is a problem
> David> with babel. Supposedly, new versions of babel (and/or amslatex)
> David> fix this, but I am not so sure, since I use debian etch which
> David> has fairly new versions of those packages.
>
> What is your babel version?
>
> JMarc

2004/11/20 v3.8d


Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

> 
>>>To: "David L. Johnson"
>>><[EMAIL PROTECTED]> Cc:
>>>lyx-users@lists.lyx.org Subject: Re: ams
>>>article defect From: Jean-Marc Lasgouttes
>>><[EMAIL PROTECTED]> Date: Wed, 15 Nov 2006 19:00:46
>>>+0100
>>>
 "David" == David L Johnson
 <[EMAIL PROTECTED]> writes:
> [...]
>>>
>>>David> LaTeX2e <2003/12/01> Babel 
>>>
>>>I think you need at least version 3.8g or 3.8h. Or an older amsart :)
>>>The fact is, there are distributions out there that package the two
>>>incompatible packages. This should probably be reported as a teTeX bug
>>>via debian, if this is not done already.
> 
> It might come from two tetex subpackages not being in sync.
> Upgrade is advisable before reporting I guess.
> 
> You might install texlive if the problem remains. The texlive packaging
> has been reviewed before it entered Debian/etch in june, and texlive|tetex
> have been made equivalent in LyX dependencies.
> 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Entering foreign language characters

2007-02-06 Thread Neal Becker
I'm using lyx-1.4.3 on Fedora with kde.  What is the easiest way to enter a
few special accented characters?  My language and document is english, but
let's say I'd like to enter a few spanish symbols.  I know I can do this
with special latex, but is there a more generic (and newbie friendly) way?




Re: Entering foreign language characters

2007-02-07 Thread Neal Becker
John Coppens wrote:

> On Tue, 06 Feb 2007 23:14:45 -0500
> "David L. Johnson" <[EMAIL PROTECTED]>
> wrote:
> 
>> Cool.   It works, except that it is Winkey-` e rather than the other
>> way around.
> 
> That depends on if the combinations are defined - in my case both
> work. There's a lot of fun to be had with combinations. Try things
> like Winkey 1 2 to get a 'half' and Winkey + - to get ±...
> 
> The composition tables in my distro reside in
> /usr/share/kbd/keymaps/include
> 
> eg. compose.latin1
> 
> Rgds
> John

Actually, I was looking for something easy for a novice.  In particular,
something that shows the characters graphically so user doesn't need to
know a code.

I found (I did say I was using kde) kcharselect.  I could just paste the
char into lyx from that.

Only problem is that kcharselect is hidden away under 2 layers of menus on
my system, but that seems a good solution.



grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
Looks like this converter isn't being used when a doc including grace
graphics is exported to pdf (using pdflatex):

\converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2>/dev/null"  ""

I get a blank pdf file for the graphic.  If I run this command manually, it
works fine.  The in-lyx graphics preview also works.  This worked before
the upgrade.




Re: grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
Neal Becker wrote:

> Looks like this converter isn't being used when a doc including grace
> graphics is exported to pdf (using pdflatex):
> 
> \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF
> $$i
> 2>/dev/null"  ""
> 
> I get a blank pdf file for the graphic.  If I run this command manually,
> it
> works fine.  The in-lyx graphics preview also works.  This worked before
> the upgrade.

One more piece of information.

Looking in the pdf file, I see it was written by ghostscript.  So the above
converter wasn't attempted.  (Of course, why conversion via this path
produced a blank pdf is another good question).



Re: grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
Neal Becker wrote:

> Neal Becker wrote:
> 
>> Looks like this converter isn't being used when a doc including grace
>> graphics is exported to pdf (using pdflatex):
>> 
>> \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF
>> $$i
>> 2>/dev/null"  ""
>> 
>> I get a blank pdf file for the graphic.  If I run this command manually,
>> it
>> works fine.  The in-lyx graphics preview also works.  This worked before
>> the upgrade.
> 
> One more piece of information.
> 
> Looking in the pdf file, I see it was written by ghostscript.  So the
> above
> converter wasn't attempted.  (Of course, why conversion via this path
> produced a blank pdf is another good question).

Here's how the epstopdf conversion fails:

epstopdf --outfile stuff.pdf *.eps
ERROR: /undefined in n
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   --nostringval--   1   3   %oparray_pop   1   3   %oparray_pop   
.runexec2   --nostringval--   --nostringval--   --nostringval--   2   
%stopped_push   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:138/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.03: Unrecoverable error, exit code 1



How does eps scaling work?

2007-02-18 Thread Neal Becker
I now understand that the problems I've been seeing with graphics have
nothing to do with the 1.4.4 update, it is because of a ghostscript update,
and ghostscript is crashing in epstopdf.

I changed the eps->pdf to use ImageMagick's convert.  Now I have images, but
they don't appear to be scaled correctly.  Where/how is the scaling
performed?



Re: How does eps scaling work?

2007-02-18 Thread Neal Becker
Paul Smith wrote:

> On 2/18/07, Neal Becker
> <[EMAIL PROTECTED]> wrote:
>> I now understand that the problems I've been seeing with graphics have
>> nothing to do with the 1.4.4 update, it is because of a ghostscript
>> update, and ghostscript is crashing in epstopdf.
>>
>> I changed the eps->pdf to use ImageMagick's convert.  Now I have images,
>> but
>> they don't appear to be scaled correctly.  Where/how is the scaling
>> performed?
> 
> ImageMagick is a software suite to create, edit, and compose bitmap
> images. Therefore, your images are converted to bitmaps and hence the
> quality of scaling is bad because your images are no longer vectorial.
> Perhaps, you should downgrade ghostscript, to use it instead of
> ImageMagick.
> 
> Paul

Actually, it seems not that it's scaled badly, but that it isn't scaled at
all.  I set the scaling to 100% \text, which is what I always do.  The
xmgrace graphic is landscape (the default).  The lyx preview is fine, but
the pdf version has the graphic clipped.  I did not select clipping to the
bounding box (nor did I set a bounding box).



Re: How does eps scaling work?

2007-02-18 Thread Neal Becker
Neal Becker wrote:

> Paul Smith wrote:
> 
>> On 2/18/07, Neal Becker
>> <[EMAIL PROTECTED]> wrote:
>>> I now understand that the problems I've been seeing with graphics have
>>> nothing to do with the 1.4.4 update, it is because of a ghostscript
>>> update, and ghostscript is crashing in epstopdf.
>>>
>>> I changed the eps->pdf to use ImageMagick's convert.  Now I have images,
>>> but
>>> they don't appear to be scaled correctly.  Where/how is the scaling
>>> performed?
>> 
>> ImageMagick is a software suite to create, edit, and compose bitmap
>> images. Therefore, your images are converted to bitmaps and hence the
>> quality of scaling is bad because your images are no longer vectorial.
>> Perhaps, you should downgrade ghostscript, to use it instead of
>> ImageMagick.
>> 
>> Paul
> 
> Actually, it seems not that it's scaled badly, but that it isn't scaled at
> all.  I set the scaling to 100% \text, which is what I always do.  The
> xmgrace graphic is landscape (the default).  The lyx preview is fine, but
> the pdf version has the graphic clipped.  I did not select clipping to the
> bounding box (nor did I set a bounding box).

I also found that switching eps->pdf conversion to ps2pdf13, and then using
export to latex using ps2pdf, or dvipdfm, the graphic is fine.  Only using
export with pdflatex is broken.



Fixed:Re: grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
I replaced tetex-3.0-32.fc6 old version of epstopdf with the latest perl
script from ctan, and now it works again.



Re: LyX version 1.5.0 (beta 1) is released

2007-02-23 Thread Neal Becker
Built OK on linux fedora fc6 (x86_64)!

1 minor problem so far.  Tried to set preferences (wanted to use kpdf
instead of acroread - wish that was the default!).  In the process of
changing this, my Sans Serif screen font got changed to 'A.C.M.E. Secret
Agent'.  Looked pretty silly.  For some reason, lyx decided to default to
that for sans serif.  Manually switching it back, everything is fine.



Re: LyX version 1.5.0 (beta 1) is released

2007-02-24 Thread Neal Becker
1 more tiny buglet:
In math panel, selection widget on left, 5th down has no text label, and
hover over it gives the wrong message.



Re: LyX version 1.5.0 (beta 1) is released

2007-02-24 Thread Neal Becker
I have a simple beamer doc that has no sections.  Selecting to view the TOC
puts lyx into an infinite loop (using 100% cpu).

gdb says:
(gdb) where
#0  0x003d932c49ff in poll () from /lib64/libc.so.6
#1  0x0036e584af06 in _XRead32 () from /usr/lib64/libX11.so.6
#2  0x0036e584b518 in _XSend () from /usr/lib64/libX11.so.6
#3  0x0036e5825cc8 in XDrawLine () from /usr/lib64/libX11.so.6
#4  0x0039c5af0ee7 in QX11PaintEngine::drawLines ()
from /usr/lib64/libQtGui.so.4
#5  0x0039c5aac062 in QPainter::drawLines ()
from /usr/lib64/libQtGui.so.4
#6  0x0039c5be0436 in QPlastiqueStyle::drawComplexControl ()
from /usr/lib64/libQtGui.so.4
#7  0x0039c5c8f214 in QSlider::paintEvent ()
from /usr/lib64/libQtGui.so.4
#8  0x0039c5a35567 in QWidget::event () from /usr/lib64/libQtGui.so.4
#9  0x0039c5c8ebcd in QSlider::event () from /usr/lib64/libQtGui.so.4
#10 0x0039c59f921c in QApplicationPrivate::notify_helper ()
from /usr/lib64/libQtGui.so.4
#11 0x0039c59febbc in QApplication::notify ()
from /usr/lib64/libQtGui.so.4
#12 0x0039c5a3ba8d in qt_sendSpontaneousEvent ()
from /usr/lib64/libQtGui.so.4
#13 0x0039c5aff16e in QWidgetPrivate::drawWidget ()
from /usr/lib64/libQtGui.so.4
#14 0x0039c5aff79c in QWidgetBackingStore::paintSiblingsRecursive ()
from /usr/lib64/libQtGui.so.4
#15 0x0039c5aff6a8 in QWidgetBackingStore::paintSiblingsRecursive ()
from /usr/lib64/libQtGui.so.4
#16 0x0039c5aff6a8 in QWidgetBackingStore::paintSiblingsRecursive ()
from /usr/lib64/libQtGui.so.4
#17 0x0039c5aff6a8 in QWidgetBackingStore::paintSiblingsRecursive ()
from /usr/lib64/libQtGui.so.4
#18 0x0039c5afee09 in QWidgetPrivate::drawWidget ()
from /usr/lib64/libQtGui.so.4
#19 0x0039c5b00bbc in QWidgetBackingStore::cleanRegion ()
from /usr/lib64/libQtGui.so.4
#20 0x0039c5b0107a in qt_syncBackingStore ()
from /usr/lib64/libQtGui.so.4
#21 0x0039c5a353f5 in QWidget::event () from /usr/lib64/libQtGui.so.4
#22 0x0039c5c8db94 in QSizeGrip::event () from /usr/lib64/libQtGui.so.4
#23 0x0039c59f921c in QApplicationPrivate::notify_helper ()
from /usr/lib64/libQtGui.so.4
#24 0x0039c59febbc in QApplication::notify ()
from /usr/lib64/libQtGui.so.4
#25 0x003050eeba4b in QCoreApplication::sendPostedEvents ()
from /usr/lib64/libQtCore.so.4
#26 0x003050f075ec in QEventDispatcherGlib::QEventDispatcherGlib$base ()
from /usr/lib64/libQtCore.so.4
#27 0x003050a2cf64 in g_main_context_dispatch ()
from /lib64/libglib-2.0.so.0
#28 0x003050a2fd9d in g_main_context_check ()
from /lib64/libglib-2.0.so.0
#29 0x003050a302ce in g_main_context_iteration ()
from /lib64/libglib-2.0.so.0
#30 0x003050f07ae0 in QEventDispatcherGlib::processEvents ()
from /usr/lib64/libQtCore.so.4
#31 0x0039c5a63a6f in QGuiEventDispatcherGlib::processEvents ()
from /usr/lib64/libQtGui.so.4
#32 0x003050ee9bf8 in QEventLoop::processEvents ()
from /usr/lib64/libQtCore.so.4
#33 0x003050ee9d0d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#34 0x003050eebd33 in QCoreApplication::exec ()
from /usr/lib64/libQtCore.so.4
#35 0x005425fc in lyx::LyX::exec (this=0x7f8d8f30, argc=, argv=)
at lyx_main.C:473
#36 0x00425ba3 in main (argc=1, argv=0x7f8d9048) at main.C:48



beamer page size

2007-02-25 Thread Neal Becker
beamer is a great package.  It has an odd feature, though.  The pages are
set to some strange size.  This doesn't matter for screen presentations,
but printing the pdf output will result in small output.

This is annoying when sending lyx pdf output to others, who may be lacking
in technical skills (e.g., your boss).

What is the best way to fix this when using beamer from lyx?



beamer block example question

2007-02-25 Thread Neal Becker
I wanted to add a
Question: blah blah
Answer: some stuff

To my beamer presentation.  I decided to try block example.  I found that I
couldn't insert a 2nd block example right after the first, lyx kept trying
to merge them.

Finally I threw in a 'seperator', and that seems to have fixed it.  Is this
the 'correct' approach?



[OT] printing with kpdf

2007-02-26 Thread Neal Becker
I found that printing pdf output of beamer will work fine from Acrobat if I
choose 'fit to page'.  However, I prefer kpdf.  I have not found a similar
option in kpdf - the output is always in portrait mode and too small.  Does
anyone know a solution to this (or should I report this as a kpdf bug?)



unicode howto? (1.5beta2)

2007-04-23 Thread Neal Becker
I'm playing with 1.5b2.  I noticed that there is supposed to be improved
support for unicode.  Any specifics on this?



How to use 'block' in beamer?

2007-05-22 Thread Neal Becker
This is lyx-1.5.0b3.
I selected 'block' and I get something that says:
block ( ERT[{title}] body ): 

There is no way to select that block... with the mouse.  How do I edit it?

If I do nothing, then pdflatex will pick up the first letter of the
following text and highlight it.

This is the latex code that would correspond to what I want:
\begin{itemize}
\item Key idea: 
\end{itemize}
\begin{block}{Key Idea}
 \alert{Remove Modulation and then filter}
\end{block}




algorithm document?

2007-07-10 Thread Neal Becker
What do you like for documenting an algorithm?

I'm thinking of something like an itemize environment (displaying structure
via indentation), but without bullets.



Re: algorithm document?

2007-07-10 Thread Neal Becker
Bo Peng wrote:

> On 7/10/07, Neal Becker
> <[EMAIL PROTECTED]> wrote:
>> What do you like for documenting an algorithm?
>>
>> I'm thinking of something like an itemize environment (displaying
>> structure via indentation), but without bullets.
> 
> verbatim or lyx-code environment, or preferably the newly introduced
> listings. You can have syntax highlighting, line number etc for your
> program listings.
> 
> Bo

Cool.

Looking at listings.dvi (the original latex package doc), I see in that
things like 'a <= b' were printed as 'a \le b'.  Does listings do this
automatically? (Doesn't seem be be doing that in my test)?  Or, maybe this
used mathescape?



Re: dvi preview in 1.5.0rc2?

2007-07-11 Thread Neal Becker
David L. Johnson wrote:

> I must have missed this from earlier, but am confused.  Why is
> dvi-preview left out of the View menu? reconfigure gives me:
> 
> checking for a DVI previewer...
> +checking for "xdvi"...   yes
> 
> so it should be able to find it.  Was there some decision not to use dvi
> previewing?  I know that some graphics did not show up on xdvi, but the
> text was much cleaner (under linux) than pdf previews, and ps previews
> seems to be overkill.
> 

pdf should usually look beautiful.  Make sure to use:
\usepackage{lmodern}
or
\usepackage{cmlgc}





typewritter font

2007-08-28 Thread Neal Becker
When writing documentation _describing_ code (as opposed to literal code
listings), it is common to refer to program identifiers using typewritter
font.  Unfortunately, this font family usually has hyphenation turned off.

What is the suggested fix for this?



Re: typewritter font

2007-08-28 Thread Neal Becker
On Tuesday 28 August 2007, Helge Hafting wrote:
> Neal Becker wrote:
> > When writing documentation _describing_ code (as opposed to literal code
> > listings), it is common to refer to program identifiers using typewritter
> > font.  Unfortunately, this font family usually has hyphenation turned
> > off.
> >
> > What is the suggested fix for this?
>
> Do you really want hyphenation of program identifiers? Identifiers
> aren't necessarily in normal language, so might get trouble
> with hyphenation anyway.
>
> Also, hyphenation could be mistaken for minus, turning
> a=testaa-bb-cc into a=test-
> aa-bb-cc  which reads like a=test-aa-bb-cc
>
> Unfortunately I don't know how to turn the hyphenation
> back on, but I am sure this is possible.
>
> Helge Hafting


This does it:
\usepackage[htt]{hyphenat}


Re: Self-publishing with LyX

2007-08-29 Thread Neal Becker
Helge Hafting wrote:

> Typhoon wrote:
>> "Self-publishing with LyX" is now available as a free download or as a
>> USD9.95 printed book from Lulu.com: http://www.lulu.com/content/1085870
>>
>> Nobody on this list is going to learn much from it. It is directed at
>> people who want to self-publish and are probably using Word or
>> OpenOffice.
>>
>> But, any feedback appreciated.
>>   

Rather than advising to add page headings using ERT, why not add to the
document preamble?



Re: Self-publishing with LyX

2007-08-29 Thread Neal Becker
Helge Hafting wrote:

> Typhoon wrote:
>> "Self-publishing with LyX" is now available as a free download or as a
>> USD9.95 printed book from Lulu.com: http://www.lulu.com/content/1085870
>>
>> Nobody on this list is going to learn much from it. It is directed at
>> people who want to self-publish and are probably using Word or
>> OpenOffice.
>>
>> But, any feedback appreciated.
>>   
Ironically, the pdf looks poor.  I see it is loaded with type3 fonts.



Re: Self-publishing with LyX

2007-08-29 Thread Neal Becker
On Wednesday 29 August 2007, Typhoon wrote:
> On Wed, 29 Aug 2007 08:33:28 -0400
>
> Neal Becker <[EMAIL PROTECTED]> wrote:
> > Helge Hafting wrote:
> > > Typhoon wrote:
> > >> "Self-publishing with LyX" is now available as a free download or
> > >> as a USD9.95 printed book from Lulu.com:
> > >> http://www.lulu.com/content/1085870
> > >>
> > >> Nobody on this list is going to learn much from it. It is directed
> > >> at people who want to self-publish and are probably using Word or
> > >> OpenOffice.
> > >>
> > >> But, any feedback appreciated.
> >
> > Ironically, the pdf looks poor.  I see it is loaded with type3 fonts.
>
> Arrgghhh!! What viewer are you using and on what system? I checked it
> out fairly carefully with xpdf and Acroread on Debian Etch. The printed
> version looks good.
>
> What do I do to improve it?
>
> Thanks,
> Alan

I used kpdf.

What I always do is 
\usepackage{lmodern}
or
\usepackage(cmlgc}

This should give type1 versions of all the cm fonts to be used, assuming you 
have cmlgc or lmodern properly installed.


Re: Self-publishing with LyX

2007-08-29 Thread Neal Becker
Typhoon wrote:

> On Thu, 30 Aug 2007 00:00:09 +0200
> Walter van Holst
> <[EMAIL PROTECTED]> wrote:
> 
>> Typhoon wrote:
>> 
>> > Hmmm. I guess so. If that offends, you can download from
>> > 
>> > http://web.aanet.com.au/sage/lyx.pdf
>> 
>> Thanks for that.
>> 
>> The bad news is that Apple Preview doesn't render it too nicely. I
>> guess it suffers from the same font problem that others have
>> mentioned.
> 
> I have recompiled it with \usepackage{lmodern} as suggested earlier.
> Could you, and others with problems, download it from
> http://web.aanet.com.au/sage/lyx.pdf and report the results?
> 
> Many thanks.
> Alan
> 
>> 

This one (with lmodern) looks good here (kpdf).  Fonts are now all type1 as
expected.



Preferred way to write "c++"

2007-09-04 Thread Neal Becker
Simple question.  What is a good way to typeset 'c++'?



Re: Preferred way to write "c++"

2007-09-04 Thread Neal Becker
Alan Isaac wrote:

> On Tue, 04 Sep 2007, Neal Becker wrote:
>> Simple question.  What is a good way to typeset 'c++'?
> 
> http://www.ctan.org/tex-archive/macros/latex/contrib/listings/
> 

Sorry, I meant typeset the word: "c++".




Only paragraph*, no paragraph in ams article?

2007-09-10 Thread Neal Becker
Is it intentional that there is paragraph*, but not paragraph in ams
article?



Re: Does true TTF work in LyX on Linux

2007-09-13 Thread Neal Becker
Declan O'Byrne wrote:

> Silly question: Are you using Evince? If so, try acroread. I have
> found that Evince sometimes gives strange fuzzyness. For what it's
> worth, I don't find the same problem with Evince on Gutsy.
> 
> Apologies if this is irrelevant.
> 
> Declan

Look at the fonts used.  Make sure they are type 1.  If not, maybe you need
either:

\usepackage{lmodern}
or 
\usepackage{cmlgc}



How does lyx locate tex packages?

2009-10-24 Thread Neal Becker
I'm testing an experimental texlive-2009 package for fedora f11.  I had 
previously tetex.  texlive is installed into /usr/share/texlive.  I ran lyx 
reconfig.  I'm wondering if it correctly found all the packages, and how 
does it know where to look.



the next document I put together will me lyx

2009-11-08 Thread Neal Becker
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.php



Re: the next document I put together will me lyx

2009-11-08 Thread Neal Becker
Steve Litt wrote:

> On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
>> 
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
>>p
> 
> Great post Neal!
> 
> I think a lot of your responders missed the point that it's all about
> styles. I've made excellently formatted books in WordPerfect 5.1, MS Word
> and LyX. In all three my secret was using styles rather than formatting on
> a case by case basis. The real problem is that the mindset of MS Word
> authors is fingerpainting.
> 
> I really liked what one of your responders said:
> 
> "Somewhere I have a text copy of my thesis, written in LaTeX. My guess is
> that 18 years after the fact it'll still render a reasonable facsimile of
> the original. Try that with a proprietary word processor format."
> 
> Truer words have never been spoken!
> 
> Good article Neal!
> 

Sorry, I didn't write the article.  I just posted a link.



Insert \left. (xxxx) \right|

2009-11-12 Thread Neal Becker
I'm entering this expression:

\left.\frac{R_{s}}{2f_{s}}(1+\alpha)\right|_{f_{s=4R_{s}}}

which is a common way of saying (expression) evalated substituting (value).  
Is there any direct way to enter this without resorting to ERT?



Re: plotting with LyX

2009-12-05 Thread Neal Becker
Les Denham wrote:

> On Friday 04 December 2009 17:29:20 Yoel Koenka wrote:
>> Hi all,
>> Can someone tell me how do I plot graphs from math formulas in LyX?
>> I have LyX 1.6.4.2 on Ubuntu.
>> I've read there should be support for Octave (for example) but couldn't
>>  find which package to install.
>> Thanks a lot,
>> Yoel
>>
> I usually use Grace (http://plasma-gate.weizmann.ac.il/Grace/).
> 
> It produces very nice results, is very flexible once you learn it, and is
> supported transparently by LyX: if you install LyX on a computer with
> Grace installed, you can use Grace project files as figures directly.
> 
> Les
> 

scidavis is also good.



Re: Lyx in Fedora 12

2010-01-06 Thread Neal Becker
Dr. Gyorgy Pota wrote:

> Dear Users,
> 
> Lyx did not show any eps figures in a freshly installed Fedora 12
> system. Running Lyx in a terminal revealed that "convert" was
> unsuccesful. Finally it turned out that ImageMagick was not installed
> for  Lyx although I installed Lyx via yum, which, in principle, installs
> everything necessary. I was so angry, I almost went back to a well-known
> non-free op. system and to its famous word processor. :-)
> 
> I hope this helps some of you.
> 
> Gyorgy Pota

I understand there are good anger management classes available.



unary minus

2010-09-03 Thread Neal Becker
Inserting the following in math mode
[A|-B]
the minus appears as an binary operator rather than a unary operator on B, 
so the minus is too big and the space to B is too large.

Using tex code:
[A|{-B}] looks better, although I thing the minus is still too large.

What is the best lyx approach?



2.0.0alpha5 xetex (texlive 2011/dev) failure

2010-11-09 Thread Neal Becker
First try with lyx 2.0.0alpha5 of xetex.  Log is attached.  Failure is 

! Undefined control sequence.
l.67 \ExplSyntaxOn
 This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2011/dev) 
(format=xelatex 2010.11.9)  9 NOV 2010 08:20
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**equalizer_freq_response.tex
(./equalizer_freq_response.tex
LaTeX2e <2009/09/24>
Babel  and hyphenation patterns for english, dumylang, nohyphenation, po
lish, russian, ukrainian, kurmanji, estonian, arabic, bokmal, nynorsk, ukenglis
h, usenglishmax, uppersorbian, basque, lithuanian, mongolian, mongolianlmc, ger
man-x-2009-06-19, ngerman-x-2009-06-19, french, monogreek, greek, armenian, swe
dish, latin, italian, coptic, finnish, bulgarian, portuguese, indonesian, hunga
rian, slovenian, welsh, catalan, irish, turkmen, latvian, dutch, spanish, serbi
an, farsi, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, ori
ya, panjabi, tamil, telugu, icelandic, pinyin, lao, ancientgreek, ibycus, sansk
rit, galician, german, ngerman, swissgerman, danish, romanian, slovak, czech, i
nterlingua, esperanto, loaded.

(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2009/07/02 v2.20.1
\linespacing=\dimen102
\normalparindent=\dimen103
\normaltopskip=\skip41
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\...@mathmargin=\skip42
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\...@emptytoks=\toks14
\...@=\dimen104
)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbra...@=\dimen105
) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\...@bad=\count80
LaTeX Info: Redefining \frac on input line 211.
\upr...@=\count81
\leftr...@=\count82
LaTeX Info: Redefining \overline on input line 307.
\class...@=\count83
\dotsc...@=\count84
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\mathstrut...@=\box26
\strut...@=\box27
\...@size=\dimen106
LaTeX Font Info:Redeclaring font encoding OML on input line 567.
LaTeX Font Info:Redeclaring font encoding OMS on input line 568.
\m...@depth=\count85
\...@maxmatrixcols=\count86
\dotssp...@=\muskip10
\...@parentequation=\count87
\dsp...@lvl=\count88
\...@help=\toks15
\...@=\count89
\col...@=\count90
\maxfie...@=\count91
\andh...@=\toks16
\eqnsh...@=\dimen107
\align...@=\dimen108
\tagsh...@=\dimen109
\tagwi...@=\dimen110
\totwi...@=\dimen111
\lin...@=\dimen112
\...@envbody=\toks17
\multlinegap=\skip43
\multlinetaggap=\skip44
\mathdisp...@stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
LaTeX Font Info:Try loading font information for U+msa on input line 388.
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:Overwriting math alphabet `\mathfrak' in version `bold'
(Font)  U/euf/m/n --> U/euf/b/n on input line 96.
)
\copyins=\insert233
\abstractbox=\box28
\listisep=\skip45
\...@part=\count92
\...@section=\count93
\...@subsection=\count94
\...@subsubsection=\count95
\...@paragraph=\count96
\...@subparagraph=\count97
\...@figure=\count98
\...@table=\count99
\abovecaptionskip=\skip46
\belowcaptionskip=\skip47
\captionindent=\dimen113
\...@style=\toks19
\...@bodyfont=\toks20
\...@headfont=\toks21
\...@notefont=\toks22
\...@headpunct=\toks23
\...@preskip=\skip48
\...@postskip=\skip49
\...@headsep=\skip50
\...@everypar=\toks24
) (/home/nbecker/texmf/tex/xelatex/fontspec/fontspec.sty
Package: fontspec 2007/06/20 v1.14 Advanced font selection for XeLaTeX
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
)
\...@zf@newff=\count100
\...@zf@index=\count101
\...@zf@script=\count102
\...@zf@language=\count103
(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\c...@acount=\count104
\c...@bcount=\count105
\c...@adimen=\dimen114
\c...@bdimen=\dimen115
\c...@askip=\skip51
\c...@bskip=\skip52
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\c...@ccount=\count106
\c...@cskip=\skip53
) (/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
\...@toks=\toks25

Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

> muzzle schrieb:
> 
>> does lyx have some kind of support for units of measure?
> 
> Yes, see the Math manual, Appendix A.
> 
>> I was going to define some math macros like \TeV or \cm to be able to
>> write thing like 3\cm or x\cm in math mode and have them formatted in a
>> nice and consistent way.
> 
> This is not really needed as you only have to write
> "5 cm"
> and insert a half space between the unit and the value. The Math manual
> and also the UserGuide explains this.
> 
> regards Uwe

But shouldn't this be a non-breaking space?



Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

> Neal Becker schrieb:
> 
>> But shouldn't this be a non-breaking space?
> 
> A half space is the correct length and is also non-breakable.
> 
> regards Uwe

Thanks.

I'm guessing here, but it seems to me that if the units is an abbreviation 
(e.g., 2 kW) the thin space looks correct, but if the units is normal text 
(e.g., 4 samples) then a normal size nonbreaking space is correct.



Re: Let Lyx support Xetex, especially for international users

2008-12-08 Thread Neal Becker
I tried this on linux, but it didn't work.

I copied /usr/share/lyx1.6/ui/stdtoolbars.inc to ~/.lyx1.6/ui/ and edited as 
suggested, but I see no new menu entries under 'view'

(I installed lyx1.6 using --with-version-suffix=1.6)



paragraph mode in table?

2009-01-22 Thread Neal Becker
I have a table where the first row has text describing the entries below each 
column (nothing unusual about that).  One of the text entries is too long, 
and should be multi-line.  If I was using latex, I would use paragraph mode.

How do I do this with lyx?




Page numbers in beamer presentation

2009-02-05 Thread Neal Becker
How do I get page numbers in my beamer presentation?  (lyx-1.6.1)




Re: Package manager

2009-02-24 Thread Neal Becker
Stefano Franchi wrote:

> On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote:
>> I realize that this is not a specific Lyx question, but someone here
>> might know the answer.
>> My main problem in running Lyx (or Latex) on Linux is the lack of a nice
>> package manager like Miktex is on Windows.
>> I heard that TexLive has a package manager, but I have not been able to
>> find it.
>> Can anyone help?
>> Thanks,
> 
> I believe the latest TexLive (2008) has a package manager. However, many
> Linux distribution (like (K)Ubuntu) are still stuck withTexLive
> 2007---hence no
> package manager. One option is  to download the TexLive 2008 DVD and
> install it manually. Another option is to wait for the next version of
> (K)Ubuntu which should have TeXLive 2008.
> 
> See here for TeXlive package manager and various caveats:
> 
> http://www.tug.org/texlive/tlmgr.html
> 
> the DVD download canbe reached from here:
> 
> http://www.tug.org/texlive/index.html
> 

1. What's wrong with yum as package manager?

2. You can install tl2008.  I have been using it on fedora f10 with good 
results.




listings in beamer don't work?? (1.6.2)

2009-03-20 Thread Neal Becker
lyx-1.6.2 fedora f10

In a beamer doc, I start a frame.  Then try to insert program listing.

1. If I simply paste in code, it is not verbatim - all the lines got 
wrapped!

2. Even trying some trivial code example, I get:
! LaTeX Error: \begin{lstlisting} on input line 132 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.133 \end{document}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

(./numpy.aux)
! You can't use `\end' in internal vertical mode.
\enddocument ... \endgroup \deadcycles \z@ \@@end 
  
l.133 \end{document}

Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.


! LaTeX Error: \begin{lstlisting} on input line 132 ended by \end{document}.

The offending latex code looks like:
\lyxframe{Generic Programming with C++}

\begin{lstlisting}
def whatever():
  whatever
\end{lstlisting}



\lyxframeend{}
\end{document}




Re: listings in beamer don't work?? (1.6.2)

2009-03-20 Thread Neal Becker
I found the info in beameruserguide.pdf.  It says you need to add [fragile] 
to \begin{frame}

How would I be able to do this in lyx?  (lyx inserts \lyxframe to start a 
beamer frame)




Re: listings in beamer don't work?? (1.6.2)

2009-03-20 Thread Neal Becker
Neal Becker wrote:

> I found the info in beameruserguide.pdf.  It says you need to add
> [fragile] to \begin{frame}
> 
> How would I be able to do this in lyx?  (lyx inserts \lyxframe to start a
> beamer frame)

How can I produce \begin{frame}[fragile]?

If I choose BeginFrame, then immediately try insert ERT, this produces:
\lyxframeend{}\lyxframe{[fragile]Generic Programming with C++}

That doesn't work.




beamer with default settings is ugly

2009-03-27 Thread Neal Becker
Not a lyx question, but a beamer question:
When used with all default settings, beamer will produce navigation symbols 
at the bottom right of the page.  If hyperlinks are used in the document, 
all hyperlinks will have boxes drawn around them.  The result is, that all 
the navigation symbols have boxes drawn around them, which makes them ugly 
and unreadable.

Suggestions?




Re: beamer with default settings is ugly

2009-03-27 Thread Neal Becker
Les Denham wrote:

> On Friday 27 March 2009, Neal Becker wrote:
>> Not a lyx question, but a beamer question:
>> When used with all default settings, beamer will produce navigation
>> symbols
>> at the bottom right of the page.  If hyperlinks are used in the document,
>> all hyperlinks will have boxes drawn around them.  The result is, that
>> all the navigation symbols have boxes drawn around them, which makes them
>> ugly and unreadable.
>>
>> Suggestions?
> 
> In the preamble, put:
> 
> \usepackage[colorlinks=true]{hyperref}
> 
> I don't use beamer, but I recognize the problem with other classes.  If
> you are already using hyperref with other options, just add
> "colorlinks=true" to the list of options.
> 
Unfortunately, this will cause _all_ refs to by colored.  This would include 
e.g. sections in the table of contents.  That doesn't look good either.





Re: beamer with default settings is ugly

2009-03-27 Thread Neal Becker
Florian Rubach wrote:

> Neal Becker schrieb:
>> Les Denham wrote:
>>
>>   
>>> On Friday 27 March 2009, Neal Becker wrote:
>>> 
>>>> Not a lyx question, but a beamer question:
>>>> When used with all default settings, beamer will produce navigation
>>>> symbols
>>>> at the bottom right of the page.  If hyperlinks are used in the
>>>> document,
>>>> all hyperlinks will have boxes drawn around them.  The result is, that
>>>> all the navigation symbols have boxes drawn around them, which makes
>>>> them ugly and unreadable.
>>>>
>>>> Suggestions?
>>>>   
>>> In the preamble, put:
>>>
>>> \usepackage[colorlinks=true]{hyperref}
>>>
>>> I don't use beamer, but I recognize the problem with other classes.  If
>>> you are already using hyperref with other options, just add
>>> "colorlinks=true" to the list of options.
>>>
>>> 
>> Unfortunately, this will cause _all_ refs to by colored.  This would
>> include
>> e.g. sections in the table of contents.  That doesn't look good either.
> You should try \usepackage[colorlinks=false,pdfborder={0 0 0}]{hyperref} .
> First Option should eliminate colouring of the links, second one the box
> around these.
> Regards,
> Florian
Maybe, except then there is no indication of links at all.  I think it would 
be best to just get rid of boxes on navigation symbols.




MS word takes on TeX?

2009-05-19 Thread Neal Becker

http://rss.slashdot.org/~r/Slashdot/slashdot/~3/KggwCNPXuRQ/article.pl




beamer + longtable?

2009-06-05 Thread Neal Becker
Can lyx beamer work with a longtable?  Can it automatically split a table 
across pages?  How about manually split?




Re: beamer + longtable?

2009-06-05 Thread Neal Becker
Neal Becker wrote:

> Can lyx beamer work with a longtable?  Can it automatically split a table
> across pages?  How about manually split?

Ah, seems using ERT to insert [allowframebreaks] into \frame together 
selecting longtable option in lyx will work.




Eq numbering in ams article

2009-08-05 Thread Neal Becker
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

> Neal Becker wrote:
>> In ams article, if I don't put a \section, equations are numbered as 0.1,
>> 0.2, etc.  What can I do about that?
>> 
> 
> The layout file is adding that (as well as the same convention for
> numbering figures) to the preamble.  There's a somewhat unhelpful
> comment in the layout file to comment those lines out if you don't want
> them -- the catch being that you cannot comment them out in the LyX doc;
> you would have to export to LaTeX and comment them out (or delete them)
> there.
> 
> For the nonce, about the best suggestion I have is to hack the
> amsart.layout file, remove either or both lines, and save it -- assuming
> you *never* want to number within sections when using AMS article.
> 
> Personally, I think the correct approach would be to omit those line
> from the layout file and make an optional module for those who do want
> numbering within sections.  You might want to file a bug report on this.
> 
> /Paul
http://www.lyx.org/trac/ticket/6123




Change display equation to ams align

2009-08-06 Thread Neal Becker
If I typed in an equation as display, and then decide I'd like to turn it to 
ams align (multiline), how can I do this without loosing everything I 
already typed?

Selecting the equation, then insert/math/ams align is exactly the way to 
destroy your work.




RE: Change display equation to ams align

2009-08-06 Thread Neal Becker
Vincent van Ravesteijn - TNW wrote:

>>If I typed in an equation as display, and the
>>decide I'd like to turn it to ams align (multiline),
>>how can I do this without loosing everything I already typed?
>>
>>Selecting the equation, then insert/math/ams align is
>>exactly the way to destroy your work.
> 
> Don't select the equation then :).
> 
> If your cursor is in the equation, then Insert->Math->AMS Align converts
> your equation type. Better is to use Edit->Math->Change Formula
> Type->etc.
> 
> Vincent

Thanks.  Missed that.




Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

> Neal Becker wrote:
>> Paul A. Rubin wrote:
>> 
>>> Neal Becker wrote:
>>>> In ams article, if I don't put a \section, equations are numbered as
>>>> 0.1,
>>>> 0.2, etc.  What can I do about that?
>>>>
>>> The layout file is adding that (as well as the same convention for
>>> numbering figures) to the preamble.  There's a somewhat unhelpful
>>> comment in the layout file to comment those lines out if you don't want
>>> them -- the catch being that you cannot comment them out in the LyX doc;
>>> you would have to export to LaTeX and comment them out (or delete them)
>>> there.
>>>
>>> For the nonce, about the best suggestion I have is to hack the
>>> amsart.layout file, remove either or both lines, and save it -- assuming
>>> you *never* want to number within sections when using AMS article.
>>>
>>> Personally, I think the correct approach would be to omit those line
>>> from the layout file and make an optional module for those who do want
>>> numbering within sections.  You might want to file a bug report on this.
>>>
>>> /Paul
>> http://www.lyx.org/trac/ticket/6123
>> 
> 
> I've attached a hacked layout file and a couple of modules to the
> ticket.  If you have not already fixed this yourself, you can download
> them to your local layouts directory, then reconfigure/restart LyX.
> 
> /Paul

Thanks!




Re: How many use Linux:

2009-09-11 Thread Neal Becker
Nikos Alexandris wrote:

> Another (ubuntu-)linux user here :-)

Fedora here



What symbol for Fourier transform?

2009-09-15 Thread Neal Becker
What do you usually use for Fourier transform?  Calligraphic F, or maybe 
something else?



IEEEtrans not 2 column?

2006-04-12 Thread Neal Becker
I'm just trying out IEEEtrans class.  The class is supposed to be 2 column
by default, but lyx is displaying 1 column.  Running latex though, it does
show 2 columns.




Simple question - howto enter macro w/args

2006-04-14 Thread Neal Becker
I want to enter the latex command: \unit[N]{symbols} in mathed.  How do I do
it?
Simply typing this in doesn't work.  The '{' is interpreted as a literal
brace insertion, not as an arg to the \unit macro.



Re: Insert identical custom header on each page

2006-04-20 Thread Neal Becker
Tim Vaughan wrote:

>> Good catch!  Also, the example I gave above will include a horizontal
>> line at the top of the page.  To remove that then add the following to
>> the preamble (which should be modified in the manner which Paul pointed
>> out):
>>
>> \rhead{\bfseries 123456789}
>> \renewcommand{\headrulewidth}{0pt}
>>
>> The new line will remove the horizontal line at the top, should you so
>> wish, leaving you merely with the number "123456789" at the top right.
> 
> 
> That worked perfectly.  Thanks for the help, much appreciated.
> 
> Tim

Seems like this would be a nice feature request, to support fancy
header/footer specification without needing to mess with latex preamble.



Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
I'm using beamer (happily), inserting frame/endframe.  Life is good.  Now, I
want to insert a frame with an optional argument.
I want it to expand to:

\frame[allowframebreaks]{\frametitle{whatever}...

How do I do this with lyx?



Re: Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
On Thursday 20 April 2006 9:15 am, Bo Peng wrote:
> On 4/20/06, Neal Becker <[EMAIL PROTECTED]> wrote:
> > I'm using beamer (happily), inserting frame/endframe.  Life is good. 
> > Now, I want to insert a frame with an optional argument.
> > I want it to expand to:
> >
> > \frame[allowframebreaks]{\frametitle{whatever}...
>
> Have you tried ert at the beginning of the frame title? That is where
> I add things like [<+->]
>

Seems to work.  Thanks!


generate pdf with comments enabled?

2006-06-02 Thread Neal Becker
Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.




export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



Re: Document -> Change Tracking?

2006-09-19 Thread Neal Becker
Jean-Marc Lasgouttes wrote:

>> "Wolfgang" == Wolfgang Keller
>> <[EMAIL PROTECTED]> writes:
> 
> Wolfgang> BTW: Is the LyX file format subversion-friendly (i.e.
> Wolfgang> diff-able)?
> 
> It is diff-able (just look at it, it is plain text), but we do not
> have the tools to display the diffs in the interface.
> 
> JMarc

You might want to use kdiff3



Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Neal Becker
Bob Lounsbury wrote:

[...]
> What has worked best for me is to do as you said in step 5 and ensure
> that all the standard environments are on default settings and do an
> export to rtf from within LyX. Opening the rtf in Word there are a
> few formatting concerns, but it is easy enough to correct them
> quickly and send the file out to my advisor.

No export to rtf in my LyX(1.4.3).  What am I missing?



convert grace -> pdf (not png)?

2006-09-28 Thread Neal Becker
I want to include grace (.agr) graphics.  I want to export to pdf.

The default setup works, but grace is converted to png.  I want to convert
to pdf instead.

How do I convince lyx?

I tried:
\converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2>/dev/null" ""




Re: convert grace -> pdf (not png)?

2006-09-29 Thread Neal Becker
Georg Baum wrote:

> Helge Hafting wrote:
> 
>> Neal Becker wrote:
>>> I want to include grace (.agr) graphics.  I want to export to pdf.
>>>
>>> The default setup works, but grace is converted to png.  I want to
>>> convert to pdf instead.
>>>
>>> How do I convince lyx?
> 
> By changing the source code, function findTargetFormat in
> src/insets/insetgraphics.C.
> 
>>> I tried:
>>> \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF
>>> $$i 2>/dev/null" ""
> 
> You should use pdf instead of pdf2 if there would not be the hardcoding
> problem.
> 
>> I did this with lilypond files.  It works well, because I use an
>> external inset.  So I get conversion to .pdf for pdflatex,
>> .eps for plain latex, and .png for the instant preview in lyx.
> 
> Neal sent a message to the devel list with an external agr inset, but it
> does not work. I have no idea why, and did not have the time yet to look
> at it.
> 
>> I am not sure about how lyx handles graphichs included via
>> the graphichs inset, if that is what you use.  Perhaps someone
>> else can help with that.
> 
> It is hardcoded to png conversion for pdflatex, and yes, we need to change
> that.
> 
>> The external inset way works - in addition to converters, you
>> will need to modify the file "external_templates.  Feel free to ask
>> if you want some help with that. A nice thing about external
>> insets is that you also may specify an editor for your .agr files.
>> That way, you can click on your graphichs in lyx, and have lyx
>> launch the proper editing app.
> 
> That does also work with graphic insets.
> 
> 
> Georg

Thank you.  Let me know if I can help with any testing.




Re: Graphics Tools

2012-07-18 Thread Neal Becker
William R. Buckley wrote:

> Working with TeX is a bit of a challenge, since it seems not to
> include much support for abstract drawing.  I have need for figures
> to appear in a paper, and am not familiar with the toolset usually
> employed for use to make drawn images suitable for use with TeX.
> 
> Can you please make a few suggestions.
> 
> wrb

Almost always the diagrams I want are block diagrams.  Requirements are:

Boxes with text labels
Connectors
Everything aligns on the grid!
Export to vector format
Some text on lines (some math would be nice)

You'd think that would be pretty minimal, but I've spent countless hours trying 
to meet these requirements.

You'd think libreoffice might do it.  My experience is otherwise.  After 
playing 
with grid settings, I still find things get placed off grid.

Perhaps the best for now is dia.



Re: Graphics Tools

2012-07-19 Thread Neal Becker
Paul A.  Rubin wrote:

> Neal Becker  gmail.com> writes:
> 
>> 
>> Boxes with text labels
>> Connectors
>> Everything aligns on the grid!
>> Export to vector format
>> Some text on lines (some math would be nice)
>>
> 
> If you don't need a GUI interface, TiKZ does those accurately and,
> once you learn the node syntax, easily.
> 
> Paul

How do I use TiKZ with lyx?  Just enter it all as ERT?

Can lyx do 'insert graphics' and accept TiKZ?

If I did use TiKZ, I'd prefer to put the drawing in a separate file.



Re: editing math in lyx

2013-03-20 Thread Neal Becker
Any convenient shortcut to select the content of the formula?  I thought
clicking inside the math formula and choosing 'select whole inset' from
edit menu would do it, but seems to insist on selecting entire document!


On Wed, Mar 20, 2013 at 11:47 AM, Alex Vergara Gil  wrote:

>
>> I would really love to be able to conveniently edit the TeX code directly
>> - I'd
>> be vastly more productive.  I find lyx gui editing - as all other math
>> editors -
>> to be terribly frustrating and unproductive.  I used LaTeX since 1980s,
>> and the
>> lack of this is the only thing that makes me think twice before deciding
>> to use
>> LyX instead of just using LaTeX.
>>
>>
>>  OOps, sorry wrong thread!
>
> You can edit directly the TeX code by selecting the equation inside math
> mode (ctrl+C) and paste outside math mode (ctrl+V) then you will have the
> TeX code directly (you can also place TeX code directly without to enter
> math mode). When you finished select again your Tex code and press Ctrl+M.
> Voilá.
>
> HTH
> Alex
>


Re: editing math in lyx

2013-03-20 Thread Neal Becker
Scott Kostyshak wrote:

> On Wed, Mar 20, 2013 at 12:36 PM, David L. Johnson
>  wrote:
>> On 03/20/2013 11:43 AM, Alex Vergara Gil wrote:


 I would really love to be able to conveniently edit the TeX code directly
 - I'd
 be vastly more productive.  I find lyx gui editing - as all other math
 editors -
 to be terribly frustrating and unproductive.  I used LaTeX since 1980s,
 and the
 lack of this is the only thing that makes me think twice before deciding
 to use
 LyX instead of just using LaTeX.
>>
>> I do understand this tendency, since I also came to LyX with a TeX
>> background.  Way back when LyX was young, Matthais set up the math-insets
>> the way you would want them, and math was just written in what we now call
>> ERT (Evil Red Text, a TeX inset.  It's evil mostly because you have the
>> usual problems that if your code is wrong, it won't produce any output and
>> TeX will yell at you.).  You can still do that if you want.  Use a TeX inset
>> rather than a math one, and it will work.
> 
> Another way to scratch your (La)TeX itch is to use LyX's layouts. You
> can make your own environments and insets and you define the LaTeX
> that is behind all of those. For my use, I've found that if there's a
> customization that I just want once, ERT is great. If I find myself
> doing something many times, I am starting to consider making a module
> or adding to my local layout. See the customization manual for
> information on these options.
> 
> Scott

My usual route is to \C-m, start entering (maybe using \tex stuff, very nice).  
Problem arises if I made a mistake and then need to edit.  Then selecting and 
modifying via the gui is tedious and I usually wind up erasing accidentally 
large parts, and basically starting over.  This is where editing the underlying 
TeX would save trouble.



howto insert option into beamer frame

2013-04-06 Thread Neal Becker
I might have asked this before, but goog doesn't seem to find it.

I want to use beamer frame with an option [allowframebreaks]

I tried using 'insert short title'.  This produces the tex code:

\lyxframeend{}\lyxframe[allowframebreaks]{Carrier Estimation}

This doesn't work:

Runaway argument?
{Carrier Estimation} \begin {itemize} \item The received signal sampl\ETC.
! File ended while scanning use of \lyxframe.
 
\par 

Any hope?



error loading file into memory (pdf)

2013-04-16 Thread Neal Becker
I have 2 included graphics in this document.  One previews OK, the other says:
Error loading file into memory.

Both render fine when printed.  Both pdfs produced the same way (matplotlib).  
Any clues?



make graphic insert 100% textwidth default

2013-07-31 Thread Neal Becker
I almost always want my graphic insert to be 100% textwidth.  How can I set 
this 
as the default?



Re: make graphic insert 100% textwidth default

2013-08-01 Thread Neal Becker
Scott Kostyshak wrote:

> On Wed, Jul 31, 2013 at 3:23 PM, Neal Becker <ndbeck...@gmail.com> wrote:
>> I almost always want my graphic insert to be 100% textwidth.  How can I set
>> this as the default?
> 
> You could try graphic groups. See section "Grouping of Image Settings"
> in Help > User Guide.
> 
> Scott

Then I can use this new group "fullwidth" on images.  So when I insert image, I 
can switch to the LaTeX and LyX tab, select the "fullwidth" group.  That's not 
any less work unfortunately.  Now if I could make the "fullwidth" group the 
default...



2.1.0beta1 beamer ui issues

2013-08-01 Thread Neal Becker
I'm trying out 2.1.0beta1.  Interested in beamer improvements.

I'm finding the ui confusing.  I start off with a frame environment and put in 
a 
title.  I'd now expect to hit ret to put text into the frame.  ret is disabled.
If I move over a space with left ->, now I'm outside title and hit ret.  OK.  I 
seem to be inserting text in the frame.

Now I want to try out block.  I choose 'block'.  It seems this block is now on 
a 
new frame - not inside the current frame.

I don't see how to put the block in the current frame.



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Jacob Bishop wrote:

> On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda  wrote:
> 
>> Is anyone around with 0.17 version of Okular to test?
>>
> 
> I had never used forward or reverse search previously, but, interested in
> the possibility, I just tested it on my system. Following the instructions,
> forward search seems to work fine, but not reverse search. I am using
> Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
> and acts like it is working, but does not jump to the correct location (it
> seems to go to the same place every time, no matter what).
> 
>>
>> Pavel
>>
> 
> Jacob

Can anyone explain how to test this?



babel error with view "Additional Manual" lyx 2.1.0beta1

2013-09-18 Thread Neal Becker
2.1.0b1 on fedora 19 linux.

I tried view "Additional Manual", and I get a stream of errors like:

Package babel Error: Unknow option `ngerman'. Either you misspelled it

Any hints?  If I search:

$ yum search ngerman
...
=== Matched: ngerman ===
texlive-hyphen-german.noarch : German hyphenation patterns
texlive-quotmark.noarch : Consistent quote marks

$ sudo yum -y install texlive-hyphen-german
...

Now retry, but same error (didn't really think that would work)




Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Pavel Sanda wrote:

> Neal Becker wrote:
>> Can anyone explain how to test this?
> 
> Additional features manual, section 5.6/5.7, and read this thread from
> beginning. Pavel

The manual says how to setup, but I don't know how to activate it.  I found 
that 
reverse search worked by shift left mouse, but I don't know how to activate 
forward search.



Re: babel error with view "Additional Manual" lyx 2.1.0beta1

2013-09-19 Thread Neal Becker
Jürgen Spitzmüller wrote:

> 2013/9/18 Neal Becker <ndbeck...@gmail.com>
> 
>> 2.1.0b1 on fedora 19 linux.
>>
>> I tried view "Additional Manual", and I get a stream of errors like:
>>
>> Package babel Error: Unknow option `ngerman'. Either you misspelled it
>>
>> Any hints?
>>
> 
> Seems your LaTeX installation is broken. ngerman is the ("new spelling")
> German language module of babel, and \usepackage[ngerman]{babel} should
> just work anywhere.
> 
> Jürgen

FYI, what I needed:
Sep 18 14:54:05 Installed: 3:texlive-shapepar-svn30708.2.2-0.1.fc19.noarch
Sep 18 14:58:57 Installed: 3:texlive-ulem-svn26785.0-0.1.fc19.noarch
Sep 18 15:07:45 Installed: 3:texlive-hyphen-german-svn29725.0-0.1.fc19.noarch
Sep 19 07:23:45 Installed: 3:texlive-babel-german-svn30271.0-0.1.fc19.noarch
Sep 19 07:24:07 Installed: 3:texlive-german-svn30567.2.5e-0.1.fc19.noarch
Sep 19 07:26:12 Installed: 3:texlive-hyphen-latin-svn25990.3.1-0.1.fc19.noarch
Sep 19 07:26:12 Installed: 2:texlive-collection-langlatin-
svn14727.0-22.20130427_r30134.fc19.noarch
Sep 19 07:26:12 Installed: 3:texlive-babel-latin-svn30280.0-0.1.fc19.noarch

Not sure if all of these actually needed, but that did the trick




Link to external image viewer

2014-02-11 Thread Neal Becker
I'm giving a little presentation of my trip to Globecom2013.  I have many 
pictures I took of slides presented there.  I'm putting together a beamer
presentation.  I don't want to create a slide and cut and paste each picture - 
there are about 200.  I wonder if I could somehow bring up an external viewer
(gwenview?) to view the pictures that go with each topic.

Obviously, I could do this entirely outside of lyx, but perhaps there is some
way more integrated?  A link to an external viewing program?



external pdfpages not producing any output

2014-02-11 Thread Neal Becker
I turned my jpgs into a multipage pdf using sam2p and pdfjoin.  As a test,
I tried inserting just 1 page of the pdf into lyx as external pdfpages.
It will display onscreen within lyx, but not in the finished pdf output from 
lyx!

I did use pages=- option.

If I export as luatex, and run luatex, it shows no error.  But the pages that 
should show images are just blank.

If I run lualatex from command line on the exported .tex, I see
...
 






 [4 ] (./Highlights.aux)
...

So it seems to be working.

I played with the size options, setting size to 100% text width (to scale down 
the images).

Any ideas?



Re: external pdfpages not producing any output

2014-02-11 Thread Neal Becker
Neal Becker wrote:

> I turned my jpgs into a multipage pdf using sam2p and pdfjoin.  As a test,
> I tried inserting just 1 page of the pdf into lyx as external pdfpages.
> It will display onscreen within lyx, but not in the finished pdf output from
> lyx!
> 
> I did use pages=- option.
> 
> If I export as luatex, and run luatex, it shows no error.  But the pages that
> should show images are just blank.
> 
> If I run lualatex from command line on the exported .tex, I see
> ...
>  1842 .885pt> 
> 
>  3276.24p t x 1842.885pt>
> 
> 
> 
> 
>  [4
> ] (./Highlights.aux)
> ...
> 
> So it seems to be working.
> 
> I played with the size options, setting size to 100% text width (to scale down
> the images).
> 
> Any ideas?

I've been looking at this problem.  One thing strange, I see lyx is writing

\includepdf[pages={1},width=1\textwidth,height=1\textheight,keepaspectratio]
{/home/nbecker/Downloads/pilotless/20131210_122111}

I see no evidence that \includepdf has any such option as width=... height=...
It's not in the docs, and I don't believe I see it in the tex code.



Re: external pdfpages not producing any output

2014-02-11 Thread Neal Becker
Neal Becker wrote:

> I turned my jpgs into a multipage pdf using sam2p and pdfjoin.  As a test,
> I tried inserting just 1 page of the pdf into lyx as external pdfpages.
> It will display onscreen within lyx, but not in the finished pdf output from
> lyx!
> 
> I did use pages=- option.
> 
> If I export as luatex, and run luatex, it shows no error.  But the pages that
> should show images are just blank.
> 
> If I run lualatex from command line on the exported .tex, I see
> ...
>  1842 .885pt> 
> 
>  3276.24p t x 1842.885pt>
> 
> 
> 
> 
>  [4
> ] (./Highlights.aux)
> ...
> 
> So it seems to be working.
> 
> I played with the size options, setting size to 100% text width (to scale down
> the images).
> 
> Any ideas?

Looks like the answer is that beamer is not compatible with pdfpages.  A 
workaround is here:

http://tex.stackexchange.com/questions/57441/how-to-include-existing-pdf-slides-into-my-beamer

{
\setbeamercolor{background canvas}{bg=}

\includepdf[pages={1},width=1\textwidth,height=1\textheight,keepaspectratio]
{/home/nbecker/Downloads/pilotless/20131210_122111}
}



IEEE conference, author affilitation

2014-03-05 Thread Neal Becker
Trying to write an IEEE conference paper (in a big hurry!).  I see I can insert 
authors, but I don't see anything for affiliation.

In my case, I have 3 authors.

Just use ERT and follow the instructions from IEEEconf.pdf?

Of course, I can't help thinking that IEEE conf class isn't actually complete 
without this, as all papers will need it.



Re: IEEE conference, author affilitation

2014-03-05 Thread Neal Becker
Bruce Veidt wrote:

> Neal Becker  gmail.com> writes:
> 
>> 
>> Trying to write an IEEE conference paper (in a big hurry!).  I see I can
> insert
>> authors, but I don't see anything for affiliation.
>> 
>> In my case, I have 3 authors.
>> 
>> Just use ERT and follow the instructions from IEEEconf.pdf?
> 
> That's what I did. In the ERT I have:
> 
> \IEEEauthorblockN{
> A. Author\IEEEauthorrefmark{1},
> B. Author\IEEEauthorrefmark{2}}
> \IEEEauthorblockA{\IEEEauthorrefmark{1}Affiliation A}
> \IEEEauthorblockA{\IEEEauthorrefmark{2}Affiliation B}

Actually it appears that lyx doesn't support IEEEconf.  It has IEEEproc, which 
can be used, but requires more cryptic ERT as shown above.



confusion about IEEEtran vs. ieee bib

2014-03-06 Thread Neal Becker
I'm using ieeetr bib option in lyx, which uses ieeetr bib style.

I'm using texlive on fedora 20.  I also have a package:

rpm -ql  texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx

What is this, how would lyx use it, and should I care?



footnote in table - too much vertical space in minipage

2014-03-10 Thread Neal Becker
I tried the advice for putting footnote inside table 
http://wiki.lyx.org/LyX/Tables#toc12

It works, but there's too much space from the bottom edge of the table to the
footnote (and following caption).  Any suggestion?  Without the footnote, the
caption is tight to the bottom of the table



Re: footnote in table - too much vertical space in minipage

2014-03-10 Thread Neal Becker
Neal Becker wrote:

> I tried the advice for putting footnote inside table
> http://wiki.lyx.org/LyX/Tables#toc12
> 
> It works, but there's too much space from the bottom edge of the table to the
> footnote (and following caption).  Any suggestion?  Without the footnote, the
> caption is tight to the bottom of the table

Also, the above reference says:
The packages threeparttable and ctable packages provide proper table notes...

But how do I use threeparttable with lyx?



Re: Table width

2014-03-30 Thread Neal Becker
What I did is enclose my table in:

\resizebox{\columnwidth}{!}{}

Uwe Stöhr wrote:

> Am 27.03.2014 14:09, schrieb Cee Van Houten:
> 
>> Yet i was trying to create a table
>> today which was a little bit to wide.
>> Lyx didnt warn me it was to wide nor
>> did it make any corrections itself.
> 
> This is because the table width cannot be calculated by LyX. This can only be
> done by LaTeX itself. For example the font size, the font itself, the
> thickness of table lines the space between table lines and the text can change
> the width in the output.
> 
> However LyX's EmbeddedObjects manual explains how the exact table width can be
> calculated, see its Appendix D.
> As the exact calculation is much too complicated for daily usage, simply set
> the table colums to percentages of the column width. For example if you have a
> table with 3 columns and each column should have the same width, set each
> column to a width of 30 col%. I attached an example. So the rule of thumb is
> to set each column to a slightly lesser width than geometrically calculated
> (30% for 3 cols, 22% for 4 cols, 47% for 2 cols etc).
> 
>> and after searching the manual all i
>> could come up with was this:
>>
>> \backslash\mbox{columnwidth}
>> =3\, W_{\mathrm{Spalte}}+2\csot0,75\,
>> W_{\mathrm{Spalte}}+\backslash\mbox
>> {arrayrulewidth}
>> \phantom{=\,}+5\left(2\backslash\mbox
>> {tabcolsep}+\backslash\mbox{arrayrulewidth}\right)
>> =4,5\, W_{\mathrm{Spalte}}+62,4\,\mathrm{pt}
>> W_{\mathrm{Spalte}}
>> =\frac{\backslash\mbox{columnwidth}
>> -62,4\,\mathrm{pt}}{4,5}
> 
>  From where do you have this code? (What section of the EmbeddedObjects manual
>  and what is your LyX
> version?)
> 
>  > because MS word is much easier on that one
> 
> Really? Show me how to create a table that has automatically a page break when
> there iot enough space on the page, where you can define a different table
> header/footer line for each page te table is printed etc. LyX's longtable
> feature is unique I would say. Show me how to let tables automatically float
> to a good-looking position in the document. This floating concept is one of
> the major advantages compared to Word, LibreOffice etc. LyX is not perfect but
> you will notice that the working speed you can get with LyX will be greater
> than with Word. Also check out the new LyX 2.1 that comes out around April, 5:
> http://wiki.lyx.org/LyX/NewInLyX21
> we have improved the table handling a bit.
> 
> regards Uwe




resize equation output

2014-04-22 Thread Neal Becker
I have the misfortune to be commanded to produce ppt.  So I took one of my 
equations, in lyx.  I chose beamer so I get something that'll look good on a 
slide.  I put 
\beamertemplatenavigationsymbolsempty

so crop will work.

When exported export/pdf(crop), it looks OK, but it's too small.  I import to 
M$ 
PPT by opening in acroread and copy file to clipboard.

So I need something that'll resize the pdf (or convince lyx/beamer to output 
something bigger in the first place).

I tried the latter without success.

Putting in preamble
\geometry{paper=a4paper}

didn't seem help.

Finally, I found this magic incantation:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf

Then run through
pdfcrop

Finally, not a bad result (oh, did you want that centered on the slide?)

Any better ideas?



<    1   2   3   4   5   6   7   8   >