Re: ! Package pdftex.def Error: File not found.

2015-07-31 Thread Ed Warminski
Dear Stephan,

apologies for spelling your name incorrectly in the last message and thank
you for your reply.

You asked me to: "enable the Message pane and select the log messages
related to file and graphics processing, try the preview again and post the
resulting output here".

In the settings of the Message pane I enabled "Files used by LyX" and
"Graphics conversion and loading" as I thought they were the nearest
interpretations of your request.

I tried the preview again and the error occurred again, here is the output
copied from the Message pane...

06:42:52.191: Previewing ...
06:42:52.217: inkscape
--file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg"
--export-area-drawing --without-gui
--export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"Buffer.cpp
(3940): target=pdf2
Buffer.cpp (4009):
filename=/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/svg_test.tex
insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename =
/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
insets/InsetGraphics.cpp (774): Message = ""
insets/InsetGraphics.cpp (789): Opts =
insets/InsetGraphics.cpp (796): Before = \includegraphics
after =
insets/InsetGraphics.cpp (461): Comparing
/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg and
/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
support/FileName.cpp (606): Checksumming
"/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg"
1862632004 lasted 0 ms.
Format.cpp (399): filetools(getFormatFromContents)
Couldn't find a known format!
Format.cpp (493): will guess format from file extension: svg -> svg
support/FileName.cpp (223): Copying
/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
Format.cpp (399): filetools(getFormatFromContents)
Couldn't find a known format!
Format.cpp (493): will guess format from file extension: svg -> svg
insets/InsetGraphics.cpp (109): findTargetFormat: PDF mode
insets/InsetGraphics.cpp (676): we have: from svg to pdf6
insets/InsetGraphics.cpp (682): the orig file is:
/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
insets/InsetGraphics.cpp (731): The original file is
/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
A copy has been made and convert is to be called with:
file to convert =
/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
from svg to pdf6
ConverterCache.cpp (392): /Users/ed/Documents/Home_to_work/150731/untitled
folder/information.svg pdf6
ConverterCache.cpp (396): not in cache.
Converter.cpp (374): Converting from  svg to pdf6
Converter.cpp (466): Calling inkscape
--file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg"
--export-area-drawing --without-gui
--export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"
06:42:59.962:
06:42:59.969: ** (inkscape-bin:560): WARNING **: Can't open file:
0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
(doesn't exist)
06:42:59.971:
06:42:59.986: ** (inkscape-bin:560): WARNING **: Can't open file:
0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
(doesn't exist)
06:42:59.986:
06:42:59.987: ** (inkscape-bin:560): WARNING **: Specified document
0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
cannot be opened (does not exist or not a valid SVG file)
support/Systemcall.cpp (292): Systemcall: 'inkscape
--file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg"
--export-area-drawing --without-gui
--export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"'
finished with exit code 1
Error: Cannot convert file

An error occurred while running:
inkscape
--file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information...
06:43:02.504: inkscape
--file="1_Users_ed_Documents_Home_to_work_150731_untitled_folder_drawing-1_copy.svg"
--export-area-drawing --without-gui
--export-pdf="1_Users_ed_Documents_Home_to_work_150731_untitled_folder_drawing-1_copy.pdf"insets/InsetGraphics.cpp
(808): InsetGraphics::latex outputting:
\includegraphics{0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf}
insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename =
/Users/ed/Documents/Home_to_work/150731/untitled folder/drawing-1 copy.svg
insets/InsetGraphics.cpp (774): Message =

Re: ! Package pdftex.def Error: File not found.

2015-07-31 Thread Ed Warminski
ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
) (/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
(/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
)) (/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options
(HO)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands
(HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package grfext Info: Graphics extension search list:
(grfext)
[.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 452.
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX
Liv
e
))

LaTeX Warning: File
`2_Users_ed_Documents_Home_to_work_150731_untitled_folder_i
nformation.pdf' not found on input line 15.


! Package pdftex.def Error: File
`2_Users_ed_Documents_Home_to_work_150731_unti
tled_folder_information.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H   for immediate help.
 ...

l.15 ...rk_150731_untitled_folder_information.pdf}

Using draft setting for this image.
Try typingto proceed.
If that doesn't work, type  X   to quit.

LaTeX Font Info:Try loading font information for T1+cmtt on input line
15.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/t1cmtt.fd
File: t1cmtt.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)

LaTeX Warning: File
`3_Users_ed_Documents_Home_to_work_150731_untitled_folder_d
rawing-1_copy.pdf' not found on input line 28.


! Package pdftex.def Error: File
`3_Users_ed_Documents_Home_to_work_150731_unti
tled_folder_drawing-1_copy.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H   for immediate help.
 ...

l.28 ...150731_untitled_folder_drawing-1_copy.pdf}

Using draft setting for this image.
Try typingto proceed.
If that doesn't work, type  X   to quit.

[1{/usr/local/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}

] (./svg_test.aux) )
Here is how much of TeX's memory you used:
 2126 strings out of 493089
 29266 string characters out of 6134842
 88769 words of memory out of 500
 5605 multiletter control sequences out of 15000+60
 4716 words of font info for 16 fonts, out of 800 for 9000
 1141 hyphenation exceptions out of 8191
 38i,4n,23p,238b,259s stack positions out of
5000i,500n,1p,20b,8s
{/usr/local/texlive/2015/texmf-dist/fonts/enc/dvips/cm-supe
r/cm-super-t1.enc}
Output written on svg_test.pdf (1 page, 44392 bytes).
PDF statistics:
 17 PDF objects out of 1000 (max. 8388607)
 11 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 50)
 1 words of extra memory for PDF output out of 1 (max. 1000)


On 31 July 2015 at 09:54, Stephan Witt  wrote:

> Am 31.07.2015 um 10:19 schrieb Ed Warminski :
>
> > Dear All,
> >
> > first, any help you may offer will be most appreciated, I'm a noobie!
> >
> > Try as I might I am unable to avoid the "! Package pdftex.def Error:
> File not found" message when trying to view (pdflatex) a LyX file
> containing an SVG graphic (created in Inkscape).
> >
> > I've tried to research this issue and tried various solutions with no
> change in the result.
> > My workaround is to convert the SVG into PDF format externally and use
> that in the LyX document.
>
> Hi Ed,
>
> it would be good to have a small LyX file + SVG file demonstrating the
> problem.
> The LyX file shouldn't contain any stuff not needed to produce the error.
> See http://wiki.lyx.org/FAQ/MinimalExample for an explanation why and how
> to do it.
> Thanks.
>
> Stephan
>
> >
> > Here is the LaTeX log entry containing the error:
> > -
> > LaTeX Warning: File
> `1_Users_ed_D

! Package pdftex.def Error: File not found.

2015-07-31 Thread Ed Warminski
Dear All,

first, any help you may offer will be most appreciated, I'm a noobie!

Try as I might I am unable to avoid the "! Package pdftex.def Error: File
not found" message when trying to view (pdflatex) a LyX file containing an
SVG graphic (created in Inkscape).

I've tried to research this issue and tried various solutions with no
change in the result.
My workaround is to convert the SVG into PDF format externally and use that
in the LyX document.

Here is the LaTeX log entry containing the error:
-
LaTeX Warning: File
`1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found on
input line 28.

! Package pdftex.def Error: File
`1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found.

See the pdftex.def package documentation for explanation. Type H 
for immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf}
Using draft setting for this image. Try typing  to proceed. If that
doesn't work, type X  to quit.
--

I can not even find the pdftex.def package documentation to refer to.

My Mac has the following installed: MacOS 10.10.4, LyX 2.1.4, Inkscape
0.91, MacTeX 2015 and XQuatrz 2.7.7.

-- 
cheers, ed.

--- END of MESSAGE ---

Dr. E. E. Warminski
The Chemistry Department (C15A)
University of Sheffield
Dainton Building
Brook Hill
Sheffield
S3 7HF

Direct Telephone line (with answerphone): (+44) 0114 22 29324


LyX overwrite

2009-07-24 Thread Ed
Is there a way to get LyX to default to overwrite files when exporting rather
than throw up a dialog box that can get lost under other windows?

I looked a bit but never found that option.

Thanks!



Re: Usinr Sweave / noweb in BEamer presentation

2009-03-03 Thread M. Edward (Ed) Borasky
y
>> (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
>> (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def (./beamertest.aux)
>> (/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd)
>> (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
>> (/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) 
>> (./beamertest.out)
>> (./beamertest.out)
>> No file beamertest.nav.
>> )
>> Runaway argument?
>> ! File ended while scanning use of \next.
>> 
>>\par
>> <*> beamertest.tex
>>
>>
>>
>> I hope you get this working and let us know how you did it.
> 
> I got it working, but am not entirely happy.
> 
> Thanks for your comments,
> 
> Rainer
> 
>>
>>
>>
>>> ###
>>> ...
>>> No file BeamerSweaveExample.nav.
>>> \openout3 = `BeamerSweaveExample.vrb'.
>>>
>>> )
>>> Runaway argument?
>>> ! File ended while scanning use of \next.
>>> ...
>>> ###
>>>
>>> When I change from "Frame (fragile)" to "Frame", it compiles, but when
>>> setting one "echo=TRUE", it does not as it is not in "verbtim". If I
>>> set the environment of the ERT to Verbatim, it still does not compile.
>>>
>>> What am I missing?
>>>
>>> Thanks,
>>>
>>> Rainer
>>>
>>>
>>> --
>>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>>> Biology, UCT), Dipl. Phys. (Germany)
>>>
>>> Centre of Excellence for Invasion Biology
>>> Faculty of Science
>>> Natural Sciences Building
>>> Private Bag X1
>>> University of Stellenbosch
>>> Matieland 7602
>>> South Africa
>>>
>>
>>
>> --
>> Paul E. Johnson
>> Professor, Political Science
>> 1541 Lilac Lane, Room 504
>> University of Kansas
>>
> 
> 
> 

Thanks!! I too have been looking for an integrated Sweave-LyX-Beamer
setup. I've had some scattered issues with Beamer itself in LyX without
Sweave, and I've never had the chance to troubleshoot or document them.
I'll check this out!
-- 
M. Edward (Ed) Borasky
http://www.linkedin.com/in/edborasky

I've never met a happy clam. In fact, most of them were pretty steamed.


Re: Books in LyX: Was How to import separate chapters into document?

2009-02-21 Thread M. Edward (Ed) Borasky
1. I've seen your web site, Steve, and I must say it's a remarkable
body of work and a great resource!

2. I think I'm going to be closer to Rich in the ebooks I write. I'll
take the defaults whenever possible. I do a lot with the
"latex-beamer" package, but I also use the R - LyX "Sweave" interface.
But you do need to know LaTeX to figure out what's broken when you do
a "view PDF" and get a cryptic error message out of "pdftex".
Fortunately, LyX gives you a blue highlight "close" to where the
problem is.

3. I do find LyX / latex-beamer frustrating, though. Till Tantau, who
wrote "latex-beamer" and also the "pgf / tkiz" tool set, has made some
absolutely stunning lecture notes with these tools. But I can't for
the life of me figure out how to make my own presentations that
beautiful, even though I've read the manuals and looked at the code.
In any event, the tools *are* there.

4. There are instructions in the LyX documentation on how to do a
"modular" document by including sub-documents. The projects I've done
so far haven't needed that, but I'm starting a big one that will need
that.
-- 
M. Edward (Ed) Borasky
http://www.linkedin.com/in/edborasky

I've never met a happy clam. In fact, most of them were pretty steamed.


LyX presentation editing-

2008-07-01 Thread Ed Gatzke


LyX does fairly well editing traditional article / book type documents, 
but I think it could be improved for presentations using beamer or 
powerdot.  Maybe these things can be done currently from LyX:


Single frame view.  Now LyX continuously puts the text in slide after 
slide.  When I hit PgDn I want to see the next slide with the title at 
the top and just the stuff for that slide, not the next.


Slide sorter view.  You often need to easily cut and paste sections of a 
talk or move slides around.  Seeing all your slides rendered at 33% or 
50% size where you can drag them around would be great.  Currently, you 
have to be very careful to cut and past w whole slide due to the way LyX 
handles sections (losing frame type, changing text to some other type, etc)


Animation editor.  Beamer and powerdot require a goodly amount of ERT or 
hacks to get animations.  There has to be a better way than ERT for 
this.  Maybe just a special section type like "Itemize (Animate)"?


Additional graphics overlay.  Maybe you want to add a circle around 
something important.  Or have text appear and an arrow to highlight 
something.  You can do this with lots of ERT, but presentations for most 
people are not a coding exercise. 

Outline / section editing.  The sectioning is great for beamer and 
powerdot to have organized presentations, but you get these odball 
section and subsection titles hanging out between frames.


I have thought about trying to hack something together that would 
emulate this.  Maybe crop the lyx file into individual slides per page 
and put each one in a tab, export each slide and convert to jpg for a 
slide sorter window, use that jpg for some simple graphics editor to 
help get code for drawing simple shapes or text or arrows at arbitrary 
positions? 


Am I nuts?

I have used LyX for years and finally I think am starting to move to 
using it for presentations.  I have templates for both beamer and 
powerdot working (but not eps movie animations, waiting on a animate 
fix).  I can deal with limitations, but some of these things would make 
it a better package. 

Or maybe I should try out OO Impress?  I am moving away from ppt since 
they still can't support eps properly and the new interface is 
horrendous.  All I really need is vector graphics, decent equations, 
simple animations and a decent editor.




--
Ed Gatzke, Associate Professor 
Department of Chemical Engineering, University of South Carolina

Swearingen Engineering Center, Office 3C19, Columbia, SC 29208
NOTE: On sabbatical in Germany until July, 2009



Bibliography + Citation format Numerical to NatBib and back

2008-06-16 Thread Ed Sykes

hi,

In the Document Settings...
Under Bibliography...
Should I be able to change the Citation Style
from Default (Numerical) to Natbib 
without changing my citation references in my document?

Or does one have to start a document with the type of style
established before writing?

When I switched from Numerical to Natbib, I needed to:
i) change all my cited references (in the document),
ii) delete and add the BibTeX Generated Bibliography again (and specified
plainnat as the style)


Also, I noticed in NatBib format, the Formatting for the Citation Style is
different 
than the output (ie., the LyX presentation is correct but the pdf and dvi
output is wrong)...
I specified right and left paraenthesis as the style, but the pdf and dvi
output put
in right and left brackets
Any way to force it to use right and left paraenthesis?
 
Let me know if I am doing anything wrong or is this normal please.

Thanks,
Ed Sykes
-- 
View this message in context: 
http://www.nabble.com/Bibliography-%2B-Citation-format-Numerical-to-NatBib-and-back-tp17869123p17869123.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: EndNote X1 BibTeX output and LyX

2008-06-08 Thread Ed Sykes

Thank you so much for your awesome advice.
It works!  now I will just have to get into the habit of putting Labels in
for new entries

Thanks again!


Jeremy M. Kritt wrote:
> 
> Dear Ed:
> 
> Your problem is easy to solve. Be not afraid! You need to add a label to
> each reference in Endnote; afterwards, export it to a Bibtex file.
> 
> When you enter Endnote, open a reference in your Endnote library. Scroll
> down and you will see a field titled "Label." The label will become the
> Bibtex key in your .bib file when you export to the .bib file. The Bibtex
> key is important because it is the reference's unique identifier. Without
> it, the .bib entry for a particular reference is incomplete and
> unrecognizable for processing.
> 
> For a reference like Nahm, A.C. (1996). Korea: Tradition & Transformation,
> Seoul, Hollym International Corp. I would make the label Nahm1996 (no
> spaces).
> 
> Unfortunately, you will have to make labels for the entire library you
> want
> to export. This can be time consuming; however, you will get into the
> habit
> of entering a label when you enter new references to Endnote in the
> future.
> 
> If you plan to export references from Endnote to Bibtex format often, then
> I
> recommend that you make your the label field display in your Endnote
> library
> window. You can adjust this in Endnote's settings. Be careful with
> prolific
> writers that publish more than once in the same year. Expanding my example
> above, I would make these types of labels like the following: Nahm1996a,
> Nahm1996b, Nahm1996c, etc.
> 
> After you have made all of your labels, export the library and you will
> see
> all of the references. Try exporting one reference in the manner I have
> described and you will understand how it works. This took me several hours
> to figure out on my own. I had nobody to help me and the documentation was
> scarce, but I am glad to help you.
> 
> Peace be with you and good luck!
> 
> Sincerely,
> 
> Jeremy M. Kritt
> Seoul National University of Technology
> Seoul, South Korea
> 
> 
> On Wed, Jun 4, 2008 at 9:41 AM, Ed Sykes <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi,
>>
>> Running: Windows XP, EndNote X1
>> I'm trying to export from EndNote to BibTeX format using their output
>> style
>> file.
>>
>> The most recent BibTeX output style can be found here:
>>
>> http://www.endnote.com/support/enstyledetail.asp?SORT=0&PAGE=3&METH=0&DISC=none&JOUR=none&BSRT=none&FF1=none&FF2=none&FF3=none&CITE=none&DKEY=714200664457JBA
>>
>> When I import it into LyX I point it to the exported .bib file but when I
>> try to add a citation there are no records to choose from.
>>
>> Anyone else encountered this problem?
>>
>> Thanks in advance for any help.
>>
>> Cheers,
>> Ed Sykes
>> --
>> View this message in context:
>> http://www.nabble.com/EndNote-X1-BibTeX-output-and-LyX-tp17636893p17636893.html
>> Sent from the LyX - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/EndNote-X1-BibTeX-output-and-LyX-tp17636893p17721860.html
Sent from the LyX - Users mailing list archive at Nabble.com.



EndNote X1 BibTeX output and LyX

2008-06-03 Thread Ed Sykes

Hi,

Running: Windows XP, EndNote X1
I'm trying to export from EndNote to BibTeX format using their output style
file.

The most recent BibTeX output style can be found here:
http://www.endnote.com/support/enstyledetail.asp?SORT=0&PAGE=3&METH=0&DISC=none&JOUR=none&BSRT=none&FF1=none&FF2=none&FF3=none&CITE=none&DKEY=714200664457JBA

When I import it into LyX I point it to the exported .bib file but when I
try to add a citation there are no records to choose from.

Anyone else encountered this problem?

Thanks in advance for any help.

Cheers,
Ed Sykes
-- 
View this message in context: 
http://www.nabble.com/EndNote-X1-BibTeX-output-and-LyX-tp17636893p17636893.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: dvi no output

2008-05-31 Thread Ed Sykes

Hi,

Thanks for your help.
Unfortunately, it makes no difference to change the font.
Anything else I could try?
Or should I start re-installing MikTeX?

-Ed Sykes




Paul A. Rubin wrote:
> 
> Ed Sykes wrote:
>> Hi,
>> 
>> I'm writing a thesis... using LyX 1.5.5.2 on Windows XP, using MikTeX 2.7
>> for some reason the output is all blank... it has the right number of 
>> pages but all output in the dvi viewer (Yap) is blank.
>> It was working fine a minute ago...
>> i was just editing stuff in LyX... and now there is no output
>> 
>> the last time i corrected this I re-installed MiKTeK but this seems to 
>> be a bit extreme.
>> 
>> Any suggestions are deeply appreciated !!
>> 
>> Thanks,
>> Ed Sykes
>> 
> 
> The last time this happened to me it was a font problem (I was using 
> Latin Modern -- worked on my Windows box, but not when I ported the doc 
> to an Ubuntu box).  What happens if you change fonts?
> 
> /Paul
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-exporting-to-OpenDocument-tp17458782p17581769.html
Sent from the LyX - Users mailing list archive at Nabble.com.



dvi no output

2008-05-31 Thread Ed Sykes

Hi,

I'm writing a thesis... using LyX 1.5.5.2 on Windows XP, using MikTeX 2.7
for some reason the output is all blank... it has the right number of 
pages but all output in the dvi viewer (Yap) is blank.

It was working fine a minute ago...
i was just editing stuff in LyX... and now there is no output

the last time i corrected this I re-installed MiKTeK but this seems to be 
a bit extreme.


Any suggestions are deeply appreciated !!

Thanks,
Ed Sykes


Re: Thesis -- parent and child chapters

2008-05-31 Thread Ed Sykes


- Original Message - 
From: "Ed Sykes" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, May 25, 2008 10:27 PM
Subject: Thesis -- parent and child chapters



Hi,

I've read through Customization, perhaps someone could point me in the 
right direction.

I'm writing a thesis
Is there a way to designate a parent LyX file that #includes chapters...
so that I can speed up the LaTeX compilation process by commenting out 
chapters other than the one I am editing?


thanks in advance.

cheers,
Ed Sykes 




Re: no output in dvi viewer

2008-05-31 Thread Ed Sykes

Hi,

I'm writing a thesis... using LyX 1.5.5.2 on Windows XP, using MikTeX 2.7
for some reason the output is all blank... it has the right number of 
pages but all output in the dvi viewer (Yap) is blank.

It was working fine a minute ago...
i was just editing stuff in LyX... and now there is no output

the last time i corrected this I re-installed MiKTeK but this seems to be 
a bit extreme.


Any suggestions are deeply appreciated !!

Thanks,
Ed Sykes




no output in dvi viewer

2008-05-31 Thread Ed Sykes

Hi,

I'm writing a thesis... using LyX 1.5.5.2 on Windows XP, using MikTeX 2.7
for some reason the output is all blank... it has the right number of pages 
but all output in the dvi viewer (Yap) is blank.

It was working fine a minute ago...
i was just editing stuff in LyX... and now there is no output

the last time i corrected this I re-installed MiKTeK but this seems to be a 
bit extreme.


Any suggestions are deeply appreciated !!

Thanks,
Ed Sykes 



Thesis -- parent and child chapters

2008-05-25 Thread Ed Sykes

Hi,

I've read through Customization, perhaps someone could point me in the right 
direction.

I'm writing a thesis
Is there a way to designate a parent LyX file that #includes chapters...
so that I can speed up the LaTeX compilation process by commenting out 
chapters other than the one I am editing?


thanks in advance.

cheers,
Ed Sykes 



bibtex +LyX

2008-05-04 Thread Ed Sykes

hi,

I am trying to use biblographic references using APA style (i.e., (author, 
year) for citations)
I have the default working fine (IEEE or similar style...ie., [1], [1,2], 
etc.)


Anyone willing to tell me how to set the bib citation to APA style in LyX ?

Thanks in advance.

Cheers,
Ed Sykes 



LyX + bibtex Advice

2008-04-29 Thread Ed Sykes_Guelph

hi !

I am running LyX on Windows XP and would like advice on which Bibliography
reference manager people would recommend
I have previously used MS Word and Endnote as my Bib reference manager (So,
I'd like to export it from Endnote and put into LyX)

Any suggestions?

Thanks,
Ed Sykes



LyX + Graphics

2008-04-11 Thread Ed Sykes

Hi,

Just wondering about graphics + LyX...
I do most of my graphics in MS Viso.
I assume the best format is .eps   ?
I'm having a problem with a graphic that has some symbols (e..g, infinity 
symbol).

They get dropped when I import the .eps into LyX

Any suggestions?

Thanks,
Ed Sykes 



Re: Yap --> MiKTeX + LyX

2008-04-10 Thread Ed Sykes

What is the "popular" previewer for LyX users?
I assumed Yap is what everyone uses, ... am I wrong?

Thanks,
Ed Sykes
- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Ed Sykes" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, April 10, 2008 5:18 PM
Subject: Re: Yap --> MiKTeX + LyX



Ed Sykes schrieb:

Is there a way to configure LyX so that when I double-click on an area in 
Yap it brings me to that line in LyX?


No.


Right now, when I double-click in Yap, it comes up with:
"MiKTeX Problem Report:
The source file could not be opened because the page contains no source 
links."


Don't know what this means, maybe the documentation Yap tells you more.

ergards Uwe 




Re: Short Horizontal line in LyX?

2008-04-10 Thread Ed Sykes

Wow  this works too!

Thanks to everyone who helped on this.
You guys are great!

Cheers,
Ed Sykes
- Original Message - 
From: "Andre Poenitz" <[EMAIL PROTECTED]>

To: "Ed Sykes" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, April 10, 2008 5:13 PM
Subject: Re: Short Horizontal line in LyX?



On Thu, Apr 10, 2008 at 04:55:08PM -0400, Ed Sykes wrote:

Hi,

Would someone be so kind to let me know how to make a short horizonal 
line

in LyX please?
something like:
First Name: ___


Not sure it is the most elegant way, but typing

\rule{3cm}{0.4pt}

in an "TeX code" box (created with Ctrl-L) should do the trick.

Andre' 




Re: Short Horizontal line in LyX?

2008-04-10 Thread Ed Sykes

Dear Filippo,

Thanks so much !!!
It works perfectly.

Cheers,
Ed
- Original Message - 
From: "Filippo Zangheri" <[EMAIL PROTECTED]>

To: 
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 10, 2008 5:07 PM
Subject: Re: Short Horizontal line in LyX?




Ed Sykes ha scritto:

Hi,

Would someone be so kind to let me know how to make a short horizonal 
line

in LyX please?
something like:
First Name: ___


Maybe there is a more elegant way, but the first thing that comes to
my mind is putting this into a math box:

\underline{\qquad\qquad\qquad}

You can replace \qquad with any other kind of math (or non-math)
spaces, in order to achieve the desired length.

- --
Filippo Zangheri




Yap --> MiKTeX + LyX

2008-04-10 Thread Ed Sykes

Hi,

Just wondering if someone could help on this issue:

Is there a way to configure LyX so that when I double-click on an area in 
Yap it brings me to that line in LyX?

Right now, when I double-click in Yap, it comes up with:
"MiKTeX Problem Report:
The source file could not be opened because the page contains no source 
links."


Thanks,
Ed Sykes



Short Horizontal line in LyX?

2008-04-10 Thread Ed Sykes

Hi,

Would someone be so kind to let me know how to make a short horizonal line 
in LyX please?

something like:
First Name: ___

Thanks,
Ed Sykes 



Re: MiKTeX Problem Report: Permission denied

2008-04-02 Thread Ed Sykes

Thanks Bob,

I appreciate you taking time for your suggestion.
I've tried it but with no luck.
I was wondering if someone could point me where to try to find the answer:
is it a Windows thing?  is it MiKTeX thing or is it a LyX thing?

Thanks,
Ed Sykes

- Original Message - 
From: "Bob Lounsbury" <[EMAIL PROTECTED]>

To: "LyX Users List" 
Sent: Tuesday, April 01, 2008 10:53 AM
Subject: Re: MiKTeX Problem Report: Permission denied



On Tue, Apr 1, 2008 at 7:34 AM, Ed Sykes <[EMAIL PROTECTED]> wrote:

hi,

 i'm new to LyX and am hoping someone can assist on a problem I'm having.
 On a fairly regular basis when I select the "dvi" button or the "div 
update"

 button Yap crashes and gives the message:
 "MiKTeX Problem Report:
 Permission denied: C:\TEMP\lyx_tmpdir280a01160\lyx_tmpbuf1\my_file.dvi"

 I recently updated MikTeX and am running the latest version of LyX on
 Windows XP Professional.

 Any suggestions are deeply appreciated 


 Thanks so much,

 Cheers,
 Ed Sykes
 Sheridan College,
 Canada



I'm sure one of the developers or more informed users will give a
reason why this is happening. It seems to me that you don't have
permissions to the folder or something similar.

You can change this temp folder under
Tools->Preferences->Paths->Temporary directory. Maybe to a folder you
*know* you have permissions to. For instance mine by default is set
to:

C:\Documents and Settings\username\Local Settings\Temp\

Windows seems to show strange behavior sometimes for no apparent reason.

Cheers,
/Bob 




Another MiKTeX Problem Report: Windows API error 3.

2008-04-02 Thread Ed Sykes

hi,

i'm new to LyX and am hoping someone can assist on a problem I'm having.
On a fairly regular basis when I select the "dvi" button or the "div update"
button Yap crashes and gives the message:
"MiKTeX Problem Report:

Windows API error 3: The system cannot find the path specified.

I recently updated MikTeX and am running the latest version of LyX on
Windows XP Professional.

Any suggestions are deeply appreciated 


Thanks so much,

Cheers,
Ed Sykes
Sheridan College,
Canada 



MiKTeX Problem Report: Permission denied

2008-04-01 Thread Ed Sykes

hi,

i'm new to LyX and am hoping someone can assist on a problem I'm having.
On a fairly regular basis when I select the "dvi" button or the "div update" 
button Yap crashes and gives the message:

"MiKTeX Problem Report:
Permission denied: C:\TEMP\lyx_tmpdir280a01160\lyx_tmpbuf1\my_file.dvi"

I recently updated MikTeX and am running the latest version of LyX on 
Windows XP Professional.


Any suggestions are deeply appreciated 


Thanks so much,

Cheers,
Ed Sykes
Sheridan College,
Canada 



Re: [ANNOUNCE] LyX 1.4.3 is relelased

2006-09-21 Thread Ed Gatzke

Terrrifc!  Thanks to all the developers.  Easy access on windows will be huge.

Anybody report success installing over a 1.4.2 system on Windows?  Any known
issues?

I assume you should back up your "Documents and Setting/userid/Application
Data/LyX1.4.x directory, just to make sure...

Ed





Re: Anyone with experience in pdf2rtf conversion?

2006-09-01 Thread Ed Gatzke
Martin A. Hansen <[EMAIL PROTECTED]> writes:

> 
> I am still so disappointed by lyx->word conversion so I was looking at
> pdf2rtf converters. There appear to be several commercial ones and some open
> source ones.
> 


Have you tried tex2word?  It works great for math and citations and labels, not 
so much for figures and tables.

It costs like $40 and you need mathtype, but it has saved me hours and hours.

Ed








Re: Wish, suggestion about templates

2006-08-29 Thread Ed Gatzke

> Lyx preferences allow to modify the default templates directory.
> Problem: I use 2 templates directories (zs I guess some people)
> 1 system wide (/usr/share/lyx/templates/)

The whole template thing is a problem for me.  I wish lyx had a nice way of
adding class files and templates.  I know latex has to do some magic for cls
files, but it can be a pain, especially if you have multiple latex installs (as
may be common on an XP box running lyx bundle and cygwin).  

A wizard or something to help with the overall template cls install may be nice,
something more user friendly than the help files...






Re: Continuous numbering of list items

2006-08-29 Thread Ed Gatzke
> is there any possibilities to prevent lyx from resetting the counter of
> enumerated lists when several enumerated lists appear in different
> sections? What I am looking for is the possibility to have a
> continuously numerated list separated with section titles, i.e.:
> 
> a) Section a
> 1. List item #1
> 2. List item #2
> 3. List item #3
> b) Section b
> 4. List item #4
> 5. List item #5
> c) Section c
> 6. List item #6
> 7. List item #7
> 8. List item #8
> ...
> 

If you just have a few items, you can use ERT LaTeX commands.

Put the following in ERT right after each enumeration and it will 
overwrite the current number and keep the correct formatting:   [4.]

No curly braces {}, just square brackets and the number in ERT.

Ed




Re: Overwrite existing files

2006-08-02 Thread Ed Gatzke

> Can you click the "Show Desktop" icon (or type Win-D, where Win is the 
> Windows key) to minimize everything, then click the LyX button in the 
> task bar and get to the dialog?
> 


I can just as easily  Alt-Tab to the Lyx window or click on the taskbar.

It is an odd behavior to lose the error dialog under a window.

It gets buried because I tell Lyx to export pdf then switch to another
application.  The error dialog takes a while to pop up and ends up under 
the other application.


I tried putting something like
"rm -f $$o; ps2pdf $$i $$o"
in my lyxrc.defaults for ps conversion to pdf.  This does not get executed 
like a normal bash command for me so it does not act like two separate 
commands.

I tried writing a single shell script that would remove the pdf before 
calling ps2pdf but I now realize lyx is calling stuff in a sandbox /tmp 
directory and then movinig the file to the working directory.  I see my 
script executing, but the pdf in the working directory never gets erased 
and I get the silly error dialog.






Overwrite existing files

2006-08-01 Thread Ed Gatzke

Is there any way to turn off the dialog for export errors, for "The file already
exists, Overwrite?"

I select export and switch to another application, a few second later the error
dialog get buried (on XP), and I can't even click the LyX window to get back to
the application (you have to click the dialog or click in explorer.)

Thanks!

Ed






Re: More class files by default

2006-07-25 Thread Ed Gatzke
> You've probably done this already, but when you add a style or layout or 
> anything to the  /usr/share/texmf/tex/latex/ tree, run  the texhash 
> program.
> 

The couple of times I have done this, my latex'ing time quadrupled for some
strange reason, so the performance hit was frustrating.  One time dvis and 
fonts got fouled up as well.

There are like three different ways listed to get classes added to latex,
one involves setting a bunch of environment vars as well.   There are two
or three programs that can fix your paths when you make mods, so it is a 
bit screwy having option.

There must be a crapload of cls files for journals and theses out there, 
but I can't see a large portion of them adding up to more than 5 - 10 MB,
especially if you zip the text files initially.  Give the user an option 
to pick the ones they want to install early on, then download them from 
a contrib site if you want.  

It is much easier to have the well-written installer handle it as opposed
to idiot users like me mucking it all up later...




More class files by default

2006-07-25 Thread Ed Gatzke

I have run into problems adding extra class files into my latex installation and
getting them to work with lyx.  (I know, install, run something to reconfigure
latex, reconfigure lyx, but it is never smooth sailing for me)

It may be nice to have a boatload installed by default or as an option.

Some to consider include things like prosper (for pretty powerpoint slides) or
some widely used professional styles (IEEE, IFAC, others).

1.4.2 already has .layout files for a lot of things that apparently did not get
installed in the latex default package (or maybe 1.42 added more layouts that
were not included in the 1.4.1 latex I am using).  Why not have a install option
for "extended latex".  

I know originally they limited the extra stuff in LaTeX distributions, but the
way HD space and bandwidth is now days, how much does an extra few MB cost 
us... 



Re: how to sort the environments in the upper left corner pull down menu?

2006-07-23 Thread Ed Gatzke
> > > I figured that would be a configurable parameter since you can
> > > modify anything else in lyx...
> >
> > No, it is not. 10 lines is simply the qt default for combo boxes. Do
> 
> Since QComboBox is not resizable (with the mouse) you'd have to subclass 
> it. I don't think it's worth the effort. If anything then I'd make the 
> setting changeable by editting some config file. (Changing the number 

That sounds like the best way.  Put some obscure parameter deep in a ui file
somewhere, and those of us that care will use it.

UI does not need to be configurable on the fly.  LyX will probably never replace
Word, so LyX will stay as a great front end for technical stuff, so the users
will generally be savvy enough to modify things in the ui config files.

Thanks!








Re: how to sort the environments in the upper left corner pull down menu?

2006-07-21 Thread Ed Gatzke
> > 
> > Note that M-p 1,2,3,4,5 etc are already assigned to chapter, section,
> > subsection etc.
> > 
> > Bo
> > 
> 
> Or M-p  to drop the list down, then repeatedly hit the first 
> letter of the environment you want (for instance, 'A' to get author) 
> until you get it.
> 
> /Paul
> 
> 

The keyboard shortcuts are still nice, but some people still use a mouse 
on occasion.  

The limited drop down is similar to those "context sensitve" menus on MS 
Office where you have to navigate to expand a menu.  

Click-Click is better than Click-scroll-click.

People have plenty of screen real estate, with 1600x1200 and bigger screens 
coming out.  Limiting to ten selections is silly.

I figured that would be a configurable parameter since you can modify anything
else in lyx...

Thanks again!




Re: how to sort the environments in the upper left corner pull down menu?

2006-07-21 Thread Ed Gatzke
> how to sort the environments in the upper left corner pull down menu?
> guess it is more convinent.
> 
> Michael


Here is a question along the same lines:  How can I modify the number 
of environments shown by default?

By default, it shows 10 different types and you have to scroll up or down.

Ideally, I would like all the environments shown with the current 
one highlighted.

This has always bugged me, as I find myself scrolling up and down 
for some environments.

Thanks!

Ed






Re: Tgif with lyx as equation editor

2006-07-18 Thread Ed Gatzke
>My crazy tgif file that calls lyx for equation editing in figures does not 
>work,
>but that is to be expected.  The equaiton objects need unix flavored calls like
>/usr/bin/lyx and pstoepsi,  and lyx / tgif are running in a traditional shell.

I straightened out some of the path problems, adding
c:\cygwin\bin;c:\cygwin\usr\X11R6\bin and the path to lyx.exe in my XP path.

Now lyx opens tgif just fine for editing and converting.

Tgif can be started from cmd.exe, and it will even correctly call lyx to 
write equations and convert the ps to eps for insertion back into the 
tgif file.  The commands it executes are:

"xterm -geom 40x8+200+400 -e /usr/bin/lyx $(file_name).tex;")])
"xterm -geom 40x8+200+400 -e /usr/bin/lyx $(file_name).tex --export ps;")])
"xterm -geom 40x8+200+400 -e pstoepsi $(file_name).ps $(file_name).eps")])

My current problem is now that when lyx opens tgif to edit an obj, then 
tgif calls lyx to edit an equation in the figure the paths are munged and 
pstoepsi does not correctly convert the resulting eps and you get a big 
bounding box around the eps, but it is close enough for now...






Re: Tgif with lyx as equation editor

2006-07-18 Thread Ed Gatzke
> 
> But you don't have tgif in the windows system PATH, right?
> 

I copied tgif.exe to the windows/system32 directory, but that was not enough.
I also needed some dll files in there and to set my DISPLAY in XP 
to 127.0.0.1:0.0  

You need X running in the background, but that is always running for me.

I kept working until tgif fired up normally from a cmd.exe window.  

> 
> 
> It works perfectly for me. I can include .obj files in the graphics inset
> and they get displayed in LyX. Remember to start the X server as tgif needs
> it even for simply converting .obj files to other formats.
> 
> If tgif is in your PATH, after reconfiguring you should see converters
> from TGIF to EPS, PPM, PNG and PDF in Preferences->Coverters.
> 

I had trouble with the tgif png converter, but once I removed that line 
from lyxrc.defaults, it was fairly smooth sailing.  Editing and using 
obj files works great.

It might be nice to have an option to bundle everything into a single 
tar file, all your obj, eps, bib files into a single tgz file, but it 
is not much for me to do that myself when needed.


My crazy tgif file that calls lyx for equation editing in figures does not work,
but that is to be expected.  The equaiton objects need unix flavored calls like
/usr/bin/lyx and pstoepsi,  and lyx / tgif are running in a traditional shell.

Thanks!









Re: bib to bbl

2006-07-18 Thread Ed Gatzke

You may need to run the latex and bibtex commands two or three times to make
sure labels take as well.  

I usually run something like:

latex file.tex
latex file.tex
latex file.tex

bibtex file
bibtex file

!!! Make modifiation to file.tex here using file.bbl

latex file.tex
latex file.tex
latex file.tex

dvips -t letter -Ppdf -o file.ps file.dvi

ps2pdf file.ps


LyX is such a godsend, people don't know how terrible the old school ways are.






Re: please consolidate the documentation

2006-07-17 Thread Ed Gatzke
> > Change the "titles" to "Parts" and copy paste the rest in.
> 
>Use Insert->Insert File->LyX file.
> 
> Rich


I think you miss out on some formatting, and you may have trouble with multiple
titles/authors and different preambles.  

To make one super document, the title of the individual files should be a 
"Part".

I just tried the insert method to combine a couple of files (tutorial and user
guide) and nothing came out due to a preamble problem.

You probably could pull some latex magick with if and include, but it would not
be very clean in lyx.





Re: please consolidate the documentation

2006-07-17 Thread Ed Gatzke
 
> agreed!
> 
> one file would be so nice, because then you could search for a particular
> keyword you are looking for without having to open all the different help
> files. and since lyx/latex is so good at sectioning, it would be straight
> forward to combine them all.
> 

It does not take much to convert the documentation to one lyx file.

Change the "titles" to "Parts" and copy paste the rest in.  With some minor mods
you should be good to go.  

Not to bad, easy to do.  Gotta copy preambles too... Here you go!

http://www.cse.sc.edu/~gatzke/overall.lyx
http://www.cse.sc.edu/~gatzke/overall.pdf


Ed





Re: Tgif with lyx as equation editor

2006-07-17 Thread Ed Gatzke

> Are you using a native windows version of LyX? Are you using cygwin tools?
> Specifically, is your imagemagick a cygwin version?


I am using the new 1.4.2 version on Windows.  I am not sure how they compiled
it, but I assume they used cygwin.  

I am running lyx.exe from a cygwin shell (which has tgif in the path).  

Same error occurs if I use the desktop shortcut, but I don't get the error
message in the terminal:

convert.exe: unable to open image `tgif:c:/gatzke/test.obj': Invalid argument.
convert.exe: missing an image filename `ppm:c:/Documents and
Settings/gatzke/Local Settings/Temp/lyx_tmpdir2752a01764/test2752a01764.ppm'.
c:/Program Files/LyX142/Resources/scripts/convertDefault.sh ERROR
Execution of "convert" failed.

So it looks like it is calling the convertDefaul.sh in the new Lyx 1.4.2
/Resources/scripts directory.  That convert script appears to just call
convert.exe, not tgif.

tgif itself generates ppm etc called from my command line just fine.  tgif is
never getting called.
















Re: interactive viewing of math symbols

2006-07-17 Thread Ed Gatzke
> > feature extensively. In the windows version, this doesn't work. So, in
> > LyX 1.4.2, is it a feature or a bug? Any ideas or work arounds ?
> 
> Strange. It works fine here. Repeat after me slowly 
> 1. insert->math->whatever
> 2. type \alpha followed by blank
> 
> Do you see the real alpha?
> 
> Bo
> 
Works for me on XP.

I love the equation image preview, but the equation image is not nearly centered
when you have a numbered (labeled) equation.  

Instead of:

  math stuff
 text text
  numbered eqn  1

You get
  math stuff
 text text
 numbered eqn   1


Any ideas on how to get a little white space on the RHS?






Re: Tgif with lyx as equation editor

2006-07-17 Thread Ed Gatzke
> > Also, I saw recently that lyx added native tgif support for the image
> > converter.
> >  I have been using tgif forever, exporting to eps for use in lyx. My
> >  ImageMagick
> > / convert does not appear to work on my new XP install for converting tgif
> > .obj files to .ppm, but that is ok, I am fine with the eps right now and I
> > don't have a 1.4.2 install on linux to try out yet.
>
> The imagemagick problem was the reason to include an explicit converter.
> If you include the .obj instead of the .eps files in LyX you will be able to
> fire up tgif from within LyX (the edit button of the graphics dialog).


On my XP box, I get garbage.  Output at console from lyx:

convert.exe: unable to open image `tgif:c:/gatzke/test.obj': Invalid argument.
convert.exe: missing an image filename `ppm:c:/Documents and
Settings/gatzke/Local Settings/Temp/lyx_tmpdir2724a03164/test2724a03164.ppm'.
c:/Program Files/LyX142/Resources/scripts/convertDefault.sh ERROR
Execution of "convert" failed.

And when I try to convert an obj file to ppm:

convert test.obj  test.ppm
convert: unable to open module file
`/usr/lib/ImageMagick-6.0.4/modules-Q16/coders/obj.la'.
convert: missing an image filename `test.ppm'.

Maybe it is due to me not reinstalling all the peripheral software with the new
version update?






Re: Prouncing "LyX" - help with sound file

2006-07-17 Thread Ed Gatzke

> > It is also interesting how you Americans usually can't hear the 
> > difference between the vowel sound Swedes/Norwegians make when 
> > pronouncing "LyX" compared to eg "licks".

I thought it was always "licks", but I could see people using "leeks".

And LaTeX was always la-Tech, not lay-tech for me.

Why can't computer people come up with pronounceable names like Windows, Word,
and Excel?


> > 
> > Now, let me think... in the US you typically have... what.. two weeks?
> > 
> 
> Three months (college professor), although I only have one month left.  
> 

Ha!  These three months are when we work!  Finally the undergrads are away and
we can get something done.  And for untenured junior faculty, you get no
vacation at all...





Tgif with lyx as equation editor

2006-07-17 Thread Ed Gatzke

I have been using tgif to do vector graphics for a few years and I have been
happy with it for simple things.

I hacked their equation object code to call lyx for equation editing.  

You double click an equation image in tgif and it should open a lyx editor with
the equation in it.  You can modify the equation in lyx (and preview it in pdf
or ps) then save and close the lyx file.  Tgif should then automatically convert
the .lyx file to ps then convert the ps to eps and load it with a preview back
into tgif.  You can see your equations and edit them in a nice lyx environment!
  Example file available at:

http://www.cse.sc.edu/~gatzke/tgif.obj

You may need pstoepsi somewhere in your path:

http://www.cse.sc.edu/~gatzke/pstoepsi

I had to modify my previous version for use on XP, since I had the scripts copy
everything into /tmp but that gets horked on XP.


Also, I saw recently that lyx added native tgif support for the image converter.
 I have been using tgif forever, exporting to eps for use in lyx. My ImageMagick
/ convert does not appear to work on my new XP install for converting tgif .obj
files to .ppm, but that is ok, I am fine with the eps right now and I don't have
a 1.4.2 install on linux to try out yet.







Re: LyX 1.4.2 and pdflatex

2006-07-17 Thread Ed Gatzke
Paul A. Rubin <[EMAIL PROTECTED]> writes:
> Ed Gatzke wrote:
> > Yes, thanks for a great new version!  Things run terrrific for me overall.
> > my silly Alt-F4 to close works in the new version on XP, thanks!
> Another thing to add to the "mystery of alt-F4".

I did not see alt-F4 listed as a bug fix in the release notes, but who cares!

> > My only problem so far is the win installer still did not get the equation
> > instant preview files loaded.
> 
> Works out of the box for me.

I wish I had a clean box to test the new installer on.  I never 
installed all the tools, it seemed to detect the current 
installs, but everything works amazingly.

> >> Besides the LaTeX-package "preview" you need these two files in LyX's
> >> installation subfolder "\bin": libnetpbm10.dll pnmcrop.exe 
> That's slightly dated. LyX 1.4.2 (the small installer) installs them 
> automatically in the "latextools" folder under the LyX root folder.  Do 
> you not have them there?

It may have been a previous install problem, or some other problem.  
The preview works great now.

They also fixed some annoying navigation bugs (at least on XP) where 
you could get stuck in a view and never navigate to a new window. 

Should we post thank-yous on the dev list?  Do they read over here?  





Re: LyX 1.4.2 and pdflatex

2006-07-16 Thread Ed Gatzke
>
Yes, thanks for a great new version!  Things run terrrific for me overall.  Even
my silly Alt-F4 to close works in the new version on XP, thanks!

My only problem so far is the win installer still did not get the equation
instant preview files loaded.  From a wiki:
>Besides the LaTeX-package "preview" you need these two files in LyX's
>installation subfolder "\bin": libnetpbm10.dll pnmcrop.exe 



Paul A. Rubin <[EMAIL PROTECTED]> writes:

> 
> Hi all,
> 
> First, thanks to the developers for another fine update.  The Windows 
> 1.4.2 installer ran error-free for me.  However, subsequent to 
> installing it, I lost View->PDF (pdflatex) in 1.4.1 (and presumably 
> 1.4.2, but I'm keeping 1.4.1 as my production version for the moment).
> 

I have seen this here as well.  You may want to keep separate folders for each
version of lyx.  I have seen oddness when running both 1.4.1 and 1.4.2 on XP. 

C:/Documents and Settings/username/Application Data/Lyx1.4.x is the working
directory on XP, so make a /Lyx1.4.1 and a /Lyx1.4.2 directory you copy over to
/Lyx1.4.x everytime you start.  You won't be able to run both side by side I
think, but it may help until you swap over to the new version.




Re: Fwd: aspell on XP

2006-07-09 Thread Ed Gatzke
Steve Harris <[EMAIL PROTECTED]> writes:

> 
> Paul A. Rubin wrote:
> > Steve Harris wrote:
> > 
> >>
> >> I have LyX 1.4.2 installed and alt-f4 kills lyx but not cmd.exe
> >> My keyboard requires using an F-lock key to enable standard features.
> >>
> > 
> > Hmm.  I was going to ask John and Ed whether alt-F4 kills programs other 
> > than LyX that are being run in shells (rather than as native Windows 
> > apps) (if I'm expressing that distinction correctly).  My suspicion was 
> > that maybe failure to kill cmd.exe implied inability to kill anything 
> > running in a shell.  However, if alt-F4 kills LyX and not cmd.exe for 

So, cmd.exe and command.exe when started from Start->Run both do not respond to
Alt-F4 for me either.  Other things started from cmd.exe command prompt do
listen to Alt F4 c:\windows\system32\winmine.exe and dvdplay.exe both respond to
Alt-F4.

I run most of my stuff from a cygwin shell, but everything closes on Alt-F4
except cmd.exe and lyx.exe.  Even when I start lyx from the desktop shortcut, it
does not respond to Alt-F4.  Even when I double click on the cmd.exe in
windows/system32 it does not respond to F4.

I have tried cmd.exe on about 6 xp machines, Alt-F4 does nothing on any of them
for cmd.exe.

The exact lyx installer is the most recent, the 2.0 installer for 1.41

lyxwininstall/LyxWin141Complete-2.01.exe


Even just running lyx.exe (not lyx.bat) appears to open a shell for a second
before the application launches... Very odd, I wonder what is up.  Maybe the
shell is the root of all problems with Alt-F4.


> 
> That is actually quite a good theory...because there are different
> versions of installers and the original port might not have had a
> "hook"(?) built into it. But it wouldn't explain a difference in
> behavior at an OS level, methinks. I just tried Alt-F4 on my Win98
> machine Dos-prompt and that doesn't affect it. I thought perhaps
> your system might have had an earlier compatibility mode enabled,
> which would produce a different result. I'll look into it.
> 

This stuff is crazy.   I tried posting on some MS "help" pages, and the "MS
experts" suggested I use Alt-Space then C, which breaks the standard that Alt-F4
closes everything, like hitting the big red X.






Re: aspell on XP

2006-07-06 Thread Ed Gatzke
> 
> Alt-F4 kills cmd.exe on my laptop, so I think there may be something 
> going on at the OS level.  There are keyboard macro programs for XP that 
>   can remap function keys (I don't know if the Alt-F4 combination can be 
> remapped).  Could you have one installed?  (
> 
> /Paul
> 
> 

Are you sure Alt-F4 kills cmd.exe?  I have tried on a couple of machines and
checked other groups, Alt-F4 does not kill cmd.exe for most.

As far as I know, I do not have ny sort of remapping or crazy application
running in the background.  All apps but cmd.exe and lyx.exe respond to Alt-F4. 
 

Using cua.bind, Alt-F3, F4, Alt-4 all can be mapped to kill lyx but not Alt-F4.
 crazy.

If you have any other ideas to try out, let me know.  Thanks!

Ed






Re: aspell on XP

2006-07-05 Thread Ed Gatzke
>> 
>> I have installed aspell6-en-6.0-0.exe in a variety of places, including
>> C:\Aspell  C:\Aspell\Dictionaries and C:\Aspell\lib
> 
> My installation has a C:\Aspell\dict folder that the Aspell installer 
> created.  That is where I park dictionaries.

I reinstalled using the new installer and all is fine now.  Trying to fix 
the old install was not working, and the new installer appears tobeperfect.
I did not do this first, I as I was worried about screwing something up 
worse in the uninstall/install process.


>> On another note, Alt-F4 does not close the lyx application window. Meta
>> bindings work in other cases, and I can modify stuff in mycua.bindbut M-F4
>> binding to lyx-quid does nothing, although C-F4 works.  All 
>> windows apps should responding to alt-f4, so this is annoying to me...

> 
> Anyway, I use cua.bind and M-F4 kills LyX 1.4.1 for me.  Did you modify 
> cua.bind to load any other binding files after the line that binds M-F4 
> to lyx-quit?  If so, could the binding be overwritten in one of the 
> loaded files?
> 

I tried looking into this, putting my M-F4 binding at the very end of 
cua.bind and commenting out the bind_file commands.  Nothing appears to 
work for me so far.  

And cmd.exe, the crappy xp shell does not respond to Alt-F4 either.  







aspell on XP

2006-07-03 Thread Ed Gatzke

I have not been able to get spell checking to work on the 1.4.1 LyX build on
Windows XP.

I have installed Aspell-0-50-3-3-Setup.exe and told it to install in C:\Aspell

I have installed aspell6-en-6.0-0.exe in a variety of places, including
C:\Aspell  C:\Aspell\Dictionaries and C:\Aspell\lib

I have reconfigured LyX, and spellcheck is not grayed out.

I have tried to muck around with the preferences file to point directly to the
aspell.exe file.

I keep getting the error dialog, "The spellchecker could not be started.  No
word lists can be found for the language "en_US"."

Any help would be appreciated


On another note, Alt-F4 does not close the lyx application window.  Meta
bindings work in other cases, and I can modify stuff in my cua.bind but M-F4
binding to lyx-quid does nothing, although C-F4 works.  All windows apps should
responding to alt-f4, so this is annoying to me...

Thanks!
Ed Gatzke



Re: frontmatter/mainmatter

2003-11-29 Thread Ed Sawicki
On Fri, 2003-11-28 at 13:33, Rich Shepard wrote:
> On Fri, 28 Nov 2003, Ed Sawicki wrote:
> 
> > The LyX graphical user interface doesn't seem to have a way to easily
> > indicate where frontmatter and mainmatter begin. I use ERT to insert
> > \frontmatter and \mainmatter. This is fine for me and I'm not complaining.
> > I'm just wondering if I missed a more obvious way.
> 
> Ed,
> 
>   Nope. That's just what I've used, too. Don't forget \backmatter when you
> get there.

I did notice that in the Layout pull down menu there's
an item called Start Appendix Here. I assumed that this
did \appendix. This is what inspired my original question.

Are \appendix and \backmatter synonyms?



> Rich



Re: indexing a book

2003-11-29 Thread Ed Sawicki
On Fri, 2003-11-28 at 14:14, Rich Shepard wrote:
> On Thu, 27 Nov 2003, Ed Sawicki wrote:
> 
> > I love LyX but I dislike the way an index is created.
> 
>   I hope that it is not considered too off-topic to ask here about the art
> of indexing. This morning I bought a copy of Larry Bonura's "The Art of
> Indexing". The most important insight I have gained so far is the difference
> in purpose of an index in a scientific book versus one in a technical
> manual. The index of a scientific book is used as a reference to specific
> information by (usually) someone who has already read the book. The index of
> a technical manual (or technical book) is used to answer "how to" questions
> by someone who may, or may not, have read the book. Bonura's book focuses on
> the latter need.
> 
>   So, can folks here recommend resources for me to read on how to decide on
> topics, organization and so on for a scientific book? There are many books
> out there and I cannot go through all of them trying to find the one that
> will teach me what I need to learn.
> 
>   I can also understand now why there's a dearth of indexing software. If
> the idea of the index is to extract ideas and concepts from the text -- from
> the reader's need to know -- how could software do this effectively?

I don't think it can. That's why there's a strong human/manual
component of the process, where the author or indexer (the human)
of the book needs to make the important decisions. The software
can only do the grunt work. However, the grunt work relives the
author or the indexer of a significant burden.

I've published electronic versions of my books where the index
is a search engine. This shifts the burden of indexing to the
reader and allows the reader to decide on his own search criteria.

Note that some search engine software allows the author or
indexer to assign priorities to words and phrases to put more
likely sought after sections of the book closer to the top of
the resulting list. Some software allows the addition of
metadata, thus allowing the author or indexer to enhance
a reader's search capabilities.

I've toyed with the idea of providing readers with a Web site they
could access once they've purchased one of my books. The Web site
would allow the reader to access an electronic index that's more
functional than the static index in the back of the printed book.

Ed

> Thanks,
> 
> Rich



frontmatter/mainmatter

2003-11-28 Thread Ed Sawicki
The LyX graphical user interface doesn't seem to have
a way to easily indicate where frontmatter and
mainmatter begin. I use ERT to insert \frontmatter
and \mainmatter. This is fine for me and I'm not
complaining. I'm just wondering if I missed a more
obvious way.

Ed Sawicki



Re: indexing a book

2003-11-28 Thread Ed Sawicki
On Fri, 2003-11-28 at 05:08, Helge Hafting wrote:
> Ed Sawicki wrote:
> > I love LyX but I dislike the way an index is created.
> > The indexed words are turned into boxes on the screen that
> > I find annoying. I'd also like a bit more automation to make
> > indexing easier. I'm wondering whether I'm overlooking a
> > capability in LyX and whether someone has already created a
> > solution.
> > 
> > If there's no other solution, here's what I plan:
> > 
> > 1. When the book is finished, convert it to ASCII and LaTex.
> > 2. From the ASCII file, create a word list that consists of
> >all the words in the book. Pare this list down to only the
> >words that should be indexed using some automation and manual
> >inspection and editing.
> > 3. Add phrases that should be indexed to the list. I'll have to
> >maintain a list of phrases manually as I write the book.
> > 4. Have a script automatically insert indexing markup into the
> >LaTeX file.
> > 5. Fix any problems with manual editing of the LaTeX file.
> > 6. Use the marked up LaTeX file to print the final book.
> > 
> > Whenever changes to the book are needed, I modify the LyX
> > version of the book. When finished, I go to step 1.
> 
> Be careful with "fully automated indexing".

I never intended fully automated indexing. That would be
foolish. That's why step 5 exists. Perhaps my wording of
step 5 is vague.


> Indexing
> every page where some word occur usually makes for
> a poor index.  It is easy, because all you need is to
> pick the words and let the computer do the rest.  But
> the result is rarely good, as a normal text contain
> many indexable words in places people aren't interested
> in looking up.

I agree, though this is less of a problem when the book is
about a technical subject and most of the index entries are
technical terms.


> I've got the following advice on index creation:
> 1. Try to not index more than three locations for a word.
>People simply don't try 20 locations, so it is
>a waste *even* if all of them are equally relevant. 
>There may be exceptions to this depending on what you're
>writing - this is the general advice.
> 2. Avoid foo:56,57,58,59 (or foo:56--59)  Simply
>index the start of the range, people will go there
>and read through it.
> 3. Index only the important places a word is used.
>People looking in the index for "foo" want to
>find the important pieces about "foo", not everytime the
>word was used.
> 
> This advice is more work and stands in the way of
> automation.  Still, it usually results in better books.
> 
> Helge Hafting
> 



Re: indexing a book

2003-11-28 Thread Ed Sawicki
On Thu, 2003-11-27 at 12:04, Rich Shepard wrote:
> On Thu, 27 Nov 2003, Christian Ridderström wrote:
> 
> > If you find the boxes annoying, send a suggestion/feature request/ to the
> > devel-list, saying that you'd like to have a way of _not_ displaying the
> > index-boxes.
> 
> Christian, et al.:
> 
>   I believe the problem is not that index boxes are displayed, but that they
> hide the word or phrase from view. The footnote boxes are the same: there's
> a box with a "foot" label and to read the footnote it is necessary to expand
> the box. However, one can read the text without the footnote visible while
> writing and editing. Unfortunately, if a lot of words and phrases are marked
> for the index then the text becomes difficult to read, or unreadable.

The main problem is as you describe - the text is more difficult
to read with index boxes that hide the word or phrase being
indexed.


> 
> > You should include a suggestion for how you think this display on/off-setting
> > should to be controlled... in the preferences, on a per document basis,
> > through some menu toggle, or a dialog etc?
> 
>   What effort would be required to display an index box with the marked
> word/phrase as a lable, similar to the way ERT is displayed? In my book I've
> used ERT to enter, for example, '\texttrademark{}'. When I view the document
> on-screen, I see all but the closing brace.
> 
>   If index box entries displayed like this, rather than with the label,
> 'idx', I think Ed and others (including me) would be delighted.

Yes, I would be delighted with this solution. It appears
that it can be implemented easily making it an attractive
solution.

Alternative and superior solutions for me would be:

1.Normally hide any on-screen indication of index markup
  and only display it by setting a "mode". 

2.Highlight the indexed word or phrase with a visual
  attribute. 

3.Display a symbol next to the indexed word or phrase as
  FrameMaker does.

Ed


> 
> Thanks,
> 
> Rich



indexing a book

2003-11-27 Thread Ed Sawicki
I love LyX but I dislike the way an index is created.
The indexed words are turned into boxes on the screen that
I find annoying. I'd also like a bit more automation to make
indexing easier. I'm wondering whether I'm overlooking a
capability in LyX and whether someone has already created a
solution.

If there's no other solution, here's what I plan:

1. When the book is finished, convert it to ASCII and LaTex.
2. From the ASCII file, create a word list that consists of
   all the words in the book. Pare this list down to only the
   words that should be indexed using some automation and manual
   inspection and editing.
3. Add phrases that should be indexed to the list. I'll have to
   maintain a list of phrases manually as I write the book.
4. Have a script automatically insert indexing markup into the
   LaTeX file.
5. Fix any problems with manual editing of the LaTeX file.
6. Use the marked up LaTeX file to print the final book.

Whenever changes to the book are needed, I modify the LyX
version of the book. When finished, I go to step 1.

Ed Sawicki



Lab manual

2003-11-23 Thread Ed Sawicki
I need to create a book that includes hundreds of lab exercises
for students. Many exercises are formatted with steps as in this
nonsense example:

1. Connect to the Internet and download ... Here's an example of
   how to do this:

   lynx http://www.blahblah.com/...

   Be sure to .

2. Untar the file with a command similar to this:

   tar xzvf carnivore-1.2.tar.gz

3. You must now compile the program. ... using a command
   similar to this:

   ./configure --prefix=/opt/carnivore


Is there a document class that comes close to this?

Ed Sawicki



copyright symbol

2003-11-16 Thread Ed Sawicki
Is there a way to enter the copyright symbol from the keyboard using
Lyx?
I've search the documentation and couldn't find it, so I used the ERT
button and put in \copyright.

Ed Sawicki



cut-and-paste issues

2003-10-11 Thread Ed Sawicki
I compiled LyX 1.3.3 from source with Qt support and run it on
a Linux/KDE system. I cannot cut text from another application
and paste it in a LyX document. Is this normal?

Ed Sawicki



Tip for tgif equations

2002-10-01 Thread Ed Gatzke

tgif is a great vector graphic program for creating simple eps figures
http://bourbon.usc.edu:8001/tgif/


I finally figured out how to use tgif to easily generate eps figures 
with complex LaTeX math embedded.  tgif can display / position / modify 
the WYSIWYG equation and the LyX math editor can be used to edit the 
equation in a WYSIWYG editor.

1.  In tgif, get the equation examples to work with latex and ps2epsi 
(or pstoepsi)  This will let you create equation objects in tgif that 
show up WYSIWYG in tgif.  For help, see:
http://bourbon.usc.edu:8001/tgif/faq/latex.html


To use LyX to edit the math equation in tgif, Generate a nice tgif 
equation object to use as a template using the following steps:

2.  Right click on the equation and select edit attribute->header.
3.  Blank out this file (erase the contents).
4.  Right click on the equation, select footer, and blank that file.
5.  Right click on the equation, select the eq attribute, and copy a 
simple LyX text file into this file with pagestyle empty.
6.  Put the following in the cmd attribute for the equation:

   cd /tmp;
   xterm -geom 40x8+200+400 -e /usr/bin/lyx $(file_name).tex --export ps;
   xterm -geom 40x8+200+400 -e ps2epsi $(file_name).ps $(file_name).eps

7.  Put the following in your ~/.Xdefaults
Tgif.Editor: xterm -title '%s' -e /usr/bin/lyx '%s'
and run the command:
xrdb ~/.Xdefaults
8.  Restart tgif with you equation template.

Now, when you double click on the equation in tgif, the image / eps gets 
updated automatically from the lyx file.  You can then recolor, rotate, 
or scale this image as you like in tgif.

When you right click on the equation and select equation attribute->eq, 
you start LyX as your editor.  You can edit the equation using the LyX 
math editor WYSIWYG environment.   Note that you will have to double 
click the equation to get it to update.


More info and and example are available at:
http://opus.che.sc.edu/~gatzke/internal/#lyxandtgif



Ed Gatzke




Mandrake 8.1

2002-01-13 Thread Ed Gatzke

I saw in the archives that people are having problems with rendering in
LyX on new Mandrake 8.1 installs.

Has anyone found a reasonable fix?

Thanks for your help.

Ed Gatzke