Re: Tables and more tables
John Coppens wrote, On 01/-10/-28163 02:59 PM: > Hello people, > > Two problems with tables: > > 1) Scrolling: > > When a table gets a bit large (mostly wide), scrolling becomes > > I already disabled the automatic table toolbar. The toolbar made things > worse by causing extra scrolling. > > Is there any way to get a more predictable behaviour? > If the toolbar is of use to you, I have found that "locking" it in made the situation better. to lock it in... get into some standard text select View->Toolbars select "Table (auto)" If you look back in View->Toolbars it will show a check mark next to "Table (auto)", and the Table toolbar will stay stuck on LyX User Interface until you undo the check mark, thus less random scrolling. I do this when I have a document in which I am doing a lot of table editing. Hope this helps some. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Re: opening two tabs with outline on and closing one, crashes lyx.
Pavel Sanda wrote, On Fri, 03 Sep 2010 09:01:37 -0700: > > if my guess is true, then 1.6.5 should work (i would happy to know this, so we > can warn users to upgrade for newer Qt...) yum remove lyx yum install lyx-1.6.5-5.el5 lyx #setup outline lyx # test {no breakage} lyx # test {get breakage} gdb lyx set args -dbg 8 > lyxcrash2.txt 2>&1 run Starting program: /usr/bin/lyx -dbg 8 > lyxcrash2.txt 2>&1 [Thread debugging using libthread_db enabled] warning: .dynamic section for "/usr/lib/libmng.so.1" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for "/usr/lib/liblcms.so.1" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for "/usr/lib/qt4/lib/libQtXml.so.4" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations [New Thread 0xb7c81b90 (LWP 24928)] Detaching after fork from child process 24929. Program received signal SIGSEGV, Segmentation fault. 0x082d5ad5 in lyx::Toc::item(lyx::DocIterator const&) const () (gdb) bt [The BT is the same except the addresses changed. i.e. #0 0x082d5ad5 #1 0x085457a8 #2 0x08545e1b ... #10 0x00c3c100 ... #29 0x081548d9] [lyxcrash2.txt is the same except I get newfile1 & newfile2 instead of newfile2 & newfile3, i.e. under a different and new account] BTW1 I tried with `rm ~/.lyx/ -fr` `yum install lyx-1.6.3-1.el5` and got the same fault. BTW2 the deltas that Rex lists between 1.6.5 and 1.6.5-5 I doubt affect this: * Sun Feb 14 2010 Rex Dieter - 1.6.5-5 - FTBFS lyx-1.6.5-4.fc13: ImplicitDSOLinking (#565009) * Thu Jan 21 2010 Rex Dieter - 1.6.5-4 - -fonts: Provides: lyx-{cmex10,cmmi10,cmr10,cmsy10}-fonts * Sat Jan 16 2010 Rex Dieter - 1.6.5-3 - rebiuld (boost) - use simple font template * Wed Dec 09 2009 José Matos - 1.6.5-2 - Add patch for autoconf 2.65 (F13+) * Wed Dec 09 2009 José Matos - 1.6.5-1 - lyx-1.6.5 > workaround is not to use outliner when switching buffers... ;) Workaround is to not use outliner, and switch buffers, and then close one. ;) I just happened to hit this yesterday because I happened to want (for the first time :) to close JUST one buffer instead of the whole program. Of course I ended up getting whole program shutdown. :) I can generally live with that workaround, especially as it seems to affect not very many folks. Thanks again. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Re: opening two tabs with outline on and closing one, crashes lyx.
Pavel Sanda wrote, On 01/-10/-28163 02:59 PM: > Todd Denniston wrote: >> So is this affecting current lyx 1.6.x on other distros? > > not on gentoo. what qt version do you have installed? > pavel > Just so I am sure, when you open/fire up lyx for steps 5-10, the outline pane is already open? to reproduce for me, outline *had* to be open already and I had to select *back* to the first tab. rpm -qa qt\* qt-3.3.6-23.el5 qt-devel-3.3.6-23.el5 qt4-4.2.1-1 and ldd indicates lyx is using qt4 ldd /usr/bin/lyx |grep -i qt libQtGui.so.4 => /usr/lib/qt4/lib/libQtGui.so.4 (0x0588b000) libQtCore.so.4 => /usr/lib/qt4/lib/libQtCore.so.4 (0x00373000) Unfortunately the lyx debug package was not put in EPEL so the bt may be less than desired. gdb lyx set args -dbg 8 > lyxcrash2.txt 2>&1 run Thanks for the time you have spent looking at this, you and the other reports are beginning to sound like it may be a `CentOS/RHEL 5 has something too old`, which is possible. I am just glad lyx 1.6 runs at all on it. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter Starting program: /usr/bin/lyx -dbg 8 > lyxcrash2.txt 2>&1 [Thread debugging using libthread_db enabled] [New Thread 0xb7c86b90 (LWP 25250)] Detaching after fork from child process 25251. Program received signal SIGSEGV, Segmentation fault. 0x082da6d5 in lyx::Toc::item(lyx::DocIterator const&) const () (gdb) bt #0 0x082da6d5 in lyx::Toc::item(lyx::DocIterator const&) const () #1 0x08551708 in lyx::frontend::TocModel::modelIndex(lyx::DocIterator const&) const () #2 0x085519fb in lyx::frontend::TocModels::currentIndex(QString const&) const () #3 0x086c54e7 in lyx::frontend::TocWidget::updateView() () #4 0x0850fcd2 in lyx::frontend::GuiView::updateDialogs() () #5 0x0850fe43 in lyx::frontend::GuiView::restartCursor() () #6 0x0823ccb9 in lyx::LyXFunc::dispatch(lyx::FuncRequest const&) () #7 0x08221456 in lyx::dispatch(lyx::FuncRequest const&) () #8 0x0855bc75 in lyx::frontend::Action::action() () #9 0x0855bd02 in lyx::frontend::Action::qt_metacall(QMetaObject::Call, int, void**) () #10 0x00464100 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/qt4/lib/libQtCore.so.4 #11 0x0046435f in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/qt4/lib/libQtCore.so.4 #12 0x0598b171 in QAction::triggered(bool) () from /usr/lib/qt4/lib/libQtGui.so.4 #13 0x0598be2f in QAction::activate(QAction::ActionEvent) () from /usr/lib/qt4/lib/libQtGui.so.4 #14 0x05c89464 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #15 0x05c8bc26 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4/lib/libQtGui.so.4 #16 0x059daae1 in QWidget::event(QEvent*) () from /usr/lib/qt4/lib/libQtGui.so.4 #17 0x05c866fc in QMenu::event(QEvent*) () from /usr/lib/qt4/lib/libQtGui.so.4 #18 0x05991810 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/lib/libQtGui.so.4 #19 0x05994293 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/lib/libQtGui.so.4 #20 0x084ed2db in lyx::frontend::GuiApplication::notify(QObject*, QEvent*) () #21 0x059ed7c8 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #22 0x059ec3df in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/lib/libQtGui.so.4 #23 0x05a0f275 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #24 0x00451ef1 in QEventLoop::processEvents(QFlags) () from /usr/lib/qt4/lib/libQtCore.so.4 #25 0x00451ffa in QEventLoop::exec(QFlags) () from /usr/lib/qt4/lib/libQtCore.so.4 #26 0x0045459d in QCoreApplication::exec() () from /usr/lib/qt4/lib/libQtCore.so.4 #27 0x05991287 in QApplication::exec() () from /usr/lib/qt4/lib/libQtGui.so.4 #28 0x0822d5be in lyx::LyX::exec(int&, char**) () #29 0x081558f9 in main () Setting debug level to 8 Debugging `gui' (GUI handling) GuiApplication.cpp(993): About to create new window with ID 0 GuiView.cpp(120): show banner: 1 Menus.cpp(1603): populating menu bar Menus.cpp(1610): menu bar entries 8 Menus.cpp(1629): menu bar item File is a submenu named file Menus.cpp(1629): menu bar item Edit is a submenu named edit Menus.cpp(1629): menu bar item View is a submenu named view Menus.cpp(1629): menu bar item Insert is a submenu named insert Menus.cpp(1629): menu bar item Navigate is a submenu named navigate Menus.cpp(1629): menu bar item Document is a submenu named document Menus.cpp(1629): menu bar item Tools is a submenu named tools Menus.cpp(1629): menu bar item Help is a submenu named help GuiView.cpp(519): Passed Geometry 933x1180+512+-153 Menus.cpp(1649): Triggered menu: file Menus.cpp(1194): populating menu Menus.cpp(1199): * menu entries 21 Menus.cpp(1194): populating menu file_lastfiles Menus.cpp(1199): * menu entries 20 Menus.cpp(1194): populating menu file_vc Menus.cpp(1196):ERROR: empty menu fi
opening two tabs with outline on and closing one, crashes lyx.
OS: Centos 5.5 up to date (equivalent to RHEL 5.5) LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository) Also affected lyx 1.6.6.1 from the EPEL repository simple method to cause crash: 1) fire up lyx 2) open a file 3) turn Outline mode on (get the check beside Document -> Outline), if it is not already on 4) exit lyx 5) fire up lyx 6) File -> New (creates newfile2 tab) 7) File -> New (creates newfile3 tab) 8) select the tab for the first new file (newfile2) 9) File -> Close 10) see -Begin message lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessary. Thanks ! Bye. Aborted -End message So is this affecting current lyx 1.6.x on other distros? bugzilla's hate me right now, not their fault though, so I am sending to the list. :] -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Help: Newbie writing a report- Help in drawing diagrams particularly circuits
BOB Merhebi wrote, On 01/-10/-28163 02:59 PM: > Hello, > > I am a newbie to LyX. I searched most manuals & wikis but could find nothing > about drawing diagrams (physics related). I am in urgent need of help as I > am writing a reports for my physics labs which are due in less than 24 hrs. > I particularly need to draw electrical ciruits. > > You help is appreciated > thx As others have suggested... for low learning curve: stencil sets and pen/paper + a scanner for quick but limited computer aided drawing including circuits: dia [can export to TeX with pstricks or one of the image formats] for computer aided schematics (2D circuit diagrams): gschem from the gEDA set of tools [output to an image format] under RHEL/CentOS after you have enabled the EPEL repository it is only a `yum install geda-gschem` away. I also suggest installing geda-docs. AFAIK it is also in fedora in these packages. It took a couple of hours to get fairly comfortable with it for me, but I had not used a circuit editor before, only DIA and a couple of CAD programs. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Re: lyx chokes on documents with many subsections?
Jose Quesada wrote, On 01/-10/-28163 02:59 PM: > update: using branches does not help. > Moving around in a large doc (example: userGuide) is sluggy too. Weird. This > must be something in my config... > I tried 1.6.4 (ubuntu) 1.6.6 (sabayon) and 2alpha 3 (ubuntu). Same problem. > The problem is that moving the cursor (not even typing, as usersGuide is > read-only) takes a long time, maybe .5 sec per character. Doesn't feel > speedy... compared with a small doc, where it flies. > Best, > -Jose > FYI CentOS 5.4, LyX 1.6.5 from EPEL With Outline closed, LyX works nice and fast, with Outline open, I feel a slight slowdown even on a dual Xeon(R) CPU @ 2.83GHz, with 2GB of ram, on slower/smaller machines (dual Xeon(TM) CPU @ 1.50GHz .5GB) I have to keep it closed except when needed. For rearranging the document though, the new (since 1.4) outline mode is tremendously helpful. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Re: in Lyx-Code quote, double quote, and back-tic not as expected.
Paul Rubin wrote, On Fri, 28 May 2010 15:35:16 + (UTC): > Try the following: > > 1. In the preamble, \usepackage{textcomp}. > > 2. Rather than LyX-Code, Insert > Program Listing and paste the code in there. > > 3. Right click anywhere in the listing, pick Settings..., go the Advanced tab, > and insert columns=fullflexible and upquote=true. The former gets rid of > kerning and the latter gets you the backtick character. (The vertical quote > seems to take care of itself.) > > /Paul > > Thanks, I'll give those a try as soon as I get back to _that_ document. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
in Lyx-Code quote, double quote, and back-tic not as expected.
Version LyX 1.6.5 (from EPEL repository) on CentOS 5.5 Issue 1: Am I really expecting the wrong behavior here? Open a new LyX document (and for complete disclosure set the fonts to Palatino, Helvetica, Courier) type "Test" and set it to type Section ##not strictly necessary but this is the way I did it. Set the type of text to LyX-Code ##paste in: for i in `seq 1 10|awk '{print $1}'`; \ do \ echo "Counter $i"; \ done ## click the view pdf button in the PDF select the whole for loop (for to done) and paste it into a terminal. find out that "s are ?Smart? double quotes. 's are ?Smart? quotes. ` are I have no idea. i is i`, I assume this is due to a ligature(is that the correct word?). As annoying as that is, I did find in the interface that I am allowed to type: Ctrl+" to get real ASCII double quotes. Ctrl+' to get real ASCII quotes. no way to get a real `. no way to get a real i. Does anyone know how to get real back-tics (`) and i? When I was working under Fedora Core 4 (and before) with IIRC LyX 1.4.?? I did not have these issues with any text type, i.e., it did not matter where I was in any portion of the PDF output I could copy and paste and get ASCII out. It seemed to me that Does anyone know which of the following product line upgrades would have changed the behavior: LyX | LaTeX | PDFLaTeX | tetex | evince ? I have seen OCR'ed PDFs that have ASCII text below the picture of the document, is there a way to get the LyX stack to make those kind of PDFs, i.e., have a typeset version the gets shown & printed, but a text version that gets copy and pasted? Issue 2: It is also troubling when I export to "plain text" and find the above ?Smart? transformations have taken place in the text output. Is there a a way to get a true export to "ASCII text"? Thanks. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter newfile1.lyx Description: application/lyx
Getting the name of the label section in the reference.
I have a few places where I would like to have the name of the label output instead of the location of the label. I noticed when I looked at the script_form.lyx (from the examples directory) that it did do references this way. However I don't want all of my references done this way (hollywood redefines \ref). Is there a way to massage prettyref.sty[1] or some other style into doing the above when "formatted reference" is chosen, when using article class? Note: I am not above hacking most of the stuff out of prettyref and replacing with a working solution, because I did not grab prettyref for anything other than to see if I could make this work. [LyX 1.6.4] Update while writing this email and searching... I figured it out, so in case someone else would like to do this here is how I did it. found out about \nameref [2]. Fortunately I already use hyperref. make the changes found in prettynamepatch.txt (replace "something \ref" with "\nameref") put the resulting prettyref.sty in the directory with the lyx file use "Formatted reference" with any section, subsection or tdb labels (tdb was just for me testing, but hey have fun) where you want name for the labeled section, i.e. it puts the labeled [sub]section's name in where the cross reference is. Hope this helps someone else. Thanks to the LyX and LaTeX community for making this not to painful. [1] I started with this one which is a bit fuller than the CTAN prettyref. http://www-math.mit.edu/~lesha/lyx/ http://www-math.mit.edu/~lesha/lyx/prettyref.sty [2] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nameref -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter --- prettyref.sty.orig 2010-04-01 19:23:04.0 -0400 +++ prettyref.sty 2010-04-01 20:41:37.0 -0400 @@ -25,6 +25,7 @@ \newrefformat{cha}{Chapter \ref{#1}} -\newrefformat{sec}{Section \ref{#1}} +\newrefformat{tdb}{\nameref{#1}} +\newrefformat{sec}{\nameref{#1}} \newrefformat{rem}{Remark \ref{#1}} \newrefformat{fac}{Fact \ref{#1}} -\newrefformat{sub}{Subsection \ref{#1}} +\newrefformat{sub}{\nameref{#1}} \newrefformat{cor}{Corollary \ref{#1}}
inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX
I don't see the following type of crash being fixed in the 1.6.5 [1] release announcement, so can anyone replicate the crash on 1.6.5 too? If not then I guess I'll have to figure out how to get my RH BZ account working again so I can bug Rex into updating those of us on epel. :| [1] http://www.lyx.org/announce/1_6_5.txt ### method to replicate start lyx File -> New Insert -> File -> Child Document set Include Type to: Verbatim click Browse... Program received signal SIGSEGV, Segmentation fault. 0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 ### $ lyx --version LyX 1.6.4 (2009-08-22) Built on Aug 26 2009, 14:32:25 Configuration Host type:i386-redhat-linux-gnu Special build flags: use-aspell use-ispell C Compiler: gcc C Compiler LyX flags: C Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables C++ Compiler: g++ (4.1.2) C++ Compiler LyX flags: C++ Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.2.1 Packaging:posix LyX binary dir: /usr/bin LyX files dir:/usr/share/lyx ### back trace #0 0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #1 0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #2 0x07b02707 in QFileDialog::setFilters () from /usr/lib/qt4/lib/libQtGui.so.4 #3 0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c, pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30, b...@0x988dc38) at LyXFileDialog.cpp:52 #4 0x08465eb5 in lyx::FileDialog::open (this=0xbf8d1648, pa...@0xbf8d166c, filte...@0xbf8d1730, suggest...@0xbf8d1678) at FileDialog.cpp:145 #5 0x0854f283 in lyx::frontend::browseFile (filena...@0xbf8d16cc, tit...@0xbf8d1734, filte...@0xbf8d1730, save=false, labe...@0xbf8d1754, di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748, fallback_d...@0xbf8d16d0) at GuiPrefs.cpp:118 #6 0x0854fdd4 in lyx::browseRelFile (filena...@0xbf8d1798, refpa...@0xbf8d172c, tit...@0xbf8d1734, filte...@0xbf8d1730, save=false, labe...@0xbf8d1754, di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748) at GuiPrefs.cpp:203 #7 0x0850d76d in lyx::frontend::GuiInclude::browse (this=0x996aed8, in_na...@0xbf8d1798, in_type=lyx::frontend::GuiInclude::VERBATIM) at GuiInclude.cpp:332 #8 0x0850db4a in lyx::frontend::GuiInclude::browse (this=0x996aed8) at GuiInclude.cpp:287 #9 0x0850dc6a in lyx::frontend::GuiInclude::qt_metacall (this=0x996aed8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8d1cdc) at GuiInclude_moc.cpp:73 #10 0x00c97100 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4 #11 0x00c9735f in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4 #12 0x07beeae1 in QAbstractButton::clicked () from /usr/lib/qt4/lib/libQtGui.so.4 #13 0x07a11dc9 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #14 0x07a13479 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #15 0x07a13692 in QAbstractButton::mouseReleaseEvent () from /usr/lib/qt4/lib/libQtGui.so.4 #16 0x077d0ae1 in QWidget::event () from /usr/lib/qt4/lib/libQtGui.so.4 #17 0x07a12915 in QAbstractButton::event () from /usr/lib/qt4/lib/libQtGui.so.4 #18 0x07a8ba84 in QPushButton::event () from /usr/lib/qt4/lib/libQtGui.so.4 #19 0x07787810 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/lib/libQtGui.so.4 #20 0x0778a293 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4 #21 0x083f3d1b in lyx::frontend::GuiApplication::notify (this=0x95a8fe0, receiver=0x9975f18, event=0xbf8d2374) at GuiApplication.cpp:1276 #22 0x077e2dce in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #23 0x077e23df in QApplication::x11ProcessEvent () from /usr/lib/qt4/lib/libQtGui.so.4 #24 0x07805275 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4 #25 0x00c84ef1 in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4 #26 0x00c84ffa in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4 #27 0x00c8759d in QCoreApplication::exec () from /usr/lib/qt4/lib/libQtCore.so.4 #28 0x07787287 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4 #29 0x08143cb3 in lyx::LyX::exec (this=0xbf8d2840, ar...@0xbf8d2870, argv=0xbf8d28f4) at LyX.cpp:343 #30 0x08070039 in main (argc=1, argv=Cannot access memory at address 0x4 ) at main.cpp:46 -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
nice digest reply Re: the [[Lyx] explicit mail subject] thread
Joe(theWordy)Philbrook wrote, On 12/23/-28158 02:59 PM: Note: the quoted texts below are all liberally "snipped"... for full context see the thread... Personally I don't think that's ever going to happen any more than I think anybody will ever offer a list server with a smart digest option that includes some kind of "header like" tag in each individual message of the digest that can be used by a digest only subscriber to request a personal resend of just those individual messages they wanted to reply to. Which would provide a way for digest users to avoid messing with the threaded message reply path. Like I said, it ain't gonna happen... But wouldn't it be nice if I was wrong? At least on this bit I think there is a way to get the _effect_ you want, differently. This happens to be a reply to the lyx-users digest... the lyx-users digest is sent as a mime digest and with Thunderbird the user can simply double click on the message of interest (each message is listed as a mime attachment in the digest) which opens the message as a pretty much normal message and then hit reply. For some reason I had to take an extra Re: off the subject line, and I felt that SNIPing the message was reasonable, but this was the extent of the editing I HAD to do. for most mailman lists you can either select mime digests from the HTML interface or send `set digest mime` (with an authenticate line) to the list-request address see section 8 of http://wiki.list.org/display/DOC/Mailman+2.1+Members+Manual for some more details. Using this knowledge in another email client is an exorcise left to the reader and other list members. :) Lyx on Linux, with out header munging. :0 Boy we have stepped off topic. :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Re: [Lyx] explicit mail subject
Pavel Sanda wrote, On 12/23/-28158 02:59 PM: Christian Ridderström wrote: On Wed, 2 Sep 2009, Manveru wrote: 2009/9/2 Murray Eisenberg : I agree with the O.P. on this. This is something that, surely, is easily fixed at the server end, so that each message going out from the server has, say, "[LyX]" prepended to the subject. There is many voices in favour of such feature. But not a lot of people vote against. If may I suggest, maybe someone can create a poll/survey for LyX users list subscribers. I think the many voices that don't like it are tired of having this recurring discussion ;-) +1 +1 [subject line munging sucks (spaces from subjects :)] And my mail client works fine for sorting out messages based on 'To:', 'CC:' & envelop headers (List-* and Mailing-List) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
need help using a meta font.
I found the kind of font I would like to use in d7seg [1], but I can't seem to get the capbas set of files installed in a way that I can get lyx (or for all I know even TeX) to use it. I got the zip from ctan[2] I made ~/texmf/fonts/tfm/ unziped capbas to make ~/texmf/fonts/tfm/capbas/ [2.5] ran texhash, which gave little output [3] run (lyx) Tools -> Reconfigure shutdown lyx lyx testfont.lyx try (lyx) View -> DVI and get "LaTeX Error: File `d7seg.sty' not found" OK, I agree the file does not exist... how do I get it? I hope at worst it is some metafont incantation that must be done, because I obviously know nothing of how to create a style let alone one for a font. and don't even see one with find /usr/share/texmf/fonts/tfm/ -name "*.sty" to copy and mess up. or is it as simple as, fonts can ONLY be in /usr/share/texmf/fonts/ and not in ~/texmf/fonts/ [1] http://www.tug.dk/FontCatalogue/dseg/ Yes it's ugly, for normal reading, but that is what the operator will see on the 7 segment display that is in front of him/her. :) [2] http://www.ctan.org/tex-archive/fonts/capbas/ [2.5] also cp ~/texmf/fonts/tfm/capbas/* ~/texmf/fonts/ and ran texhash [3] texhash texhash: Updating /home/myhomedir/texmf/ls-R... texhash: /usr/share/texmf: directory not writable. Skipping... texhash: /usr/share/texmf-config: directory not writable. Skipping... texhash: /usr/share/texmf-var: directory not writable. Skipping... texhash: /var/lib/texmf/ls-R: no write permission. Skipping... texhash: Done. Note, I'll also take hints on how to actually use the font on just some selected text in an otherwise palatino document, after we can get LyX/LaTeX to recognize the new font. Thanks. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter testfont.lyx Description: application/lyx
Re: Crash on opening directories
Todd Denniston wrote, On 07/22/2009 08:41 PM: Stasinski A. wrote, On 12/23/-28158 02:59 PM: Hi, I've built LyX 1.6.3 under Red Hat Enterprise 5.3, with Qt 4.5 (a slightly older version than the most recent one, which I couldn't get to work). Each time I try to open a directory to open or save a document, LyX crashes with the following message: (:7300): Gtk-WARNING **: GtkEntry - did not receive focus-out-event. If you connect a handler to this signal, it must return FALSE so the entry gets the event as well Gtk-ERROR **: file gtkentry.c: line 5287 (blink_cb): assertion failed: (GTK_WIDGET_HAS_FOCUS (entry)) aborting... Aborted Does anyone know what the problem is here? Best regards, Alex perhaps you could use some help from the epel directories, see https://bugzilla.redhat.com/show_bug.cgi?id=472514 and https://fedoraproject.org/wiki/EPEL https://fedoraproject.org/wiki/EPEL/FAQ#howtouse as Rex Dieter has been compiling lyx-1.6.3 for EL5, it just has not been passed out of testing yet. (which reminds me, now that it is in the updates-testing directory, I can get it downloaded and test it a bit myself now. :) Well so far the only big problem I have ran into is that the version control interface is not checking a copy back out for edit, and it no longer (as it did in 1.4.x) gives you the option to tell it to. the only small problems are that at least over an ssh -X link having the 'View Source' or the 'Outline' open, typing response is really slow, it is fine with them closed however. Oh, and I don't seem to be able to un-split the view... OK, apparently 'Close Tab Group' is the opposite of 'Split View...' :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Crash on opening directories
Stasinski A. wrote, On 12/23/-28158 02:59 PM: Hi, I've built LyX 1.6.3 under Red Hat Enterprise 5.3, with Qt 4.5 (a slightly older version than the most recent one, which I couldn't get to work). Each time I try to open a directory to open or save a document, LyX crashes with the following message: (:7300): Gtk-WARNING **: GtkEntry - did not receive focus-out-event. If you connect a handler to this signal, it must return FALSE so the entry gets the event as well Gtk-ERROR **: file gtkentry.c: line 5287 (blink_cb): assertion failed: (GTK_WIDGET_HAS_FOCUS (entry)) aborting... Aborted Does anyone know what the problem is here? Best regards, Alex perhaps you could use some help from the epel directories, see https://bugzilla.redhat.com/show_bug.cgi?id=472514 and https://fedoraproject.org/wiki/EPEL https://fedoraproject.org/wiki/EPEL/FAQ#howtouse as Rex Dieter has been compiling lyx-1.6.3 for EL5, it just has not been passed out of testing yet. (which reminds me, now that it is in the updates-testing directory, I can get it downloaded and test it a bit myself now. :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Dropping a document out of version control
Shahar Or wrote, On 03/24/2009 01:36 PM: On ×’', 2009-03-24 at 09:21 -0400, Todd Denniston wrote: Complex answer: remove the version control file, i.e.: rm RCS/mylyxfile.lyx,v I don't have an RCS directory where my file is. Should I? Making the assumption that you really do mean version control instead of change tracking. the 'standard' way to use RCS is to have a RCS/ directory in the directory where you are working and the ,v files are there. If you did not create the RCS directory then the ci & co commands will work directly in the directory where you are at, i.e. if you issue ls you will see: mylyxfile.lyx mylyxfile.lyx,v cp mylyxfile.lyx mylyxfile.lyx.bak; \ cvs remove -f mylyxfile.lyx cp mylyxfile.lyx mylyxfile.lyx.bak; \ svn remove -f mylyxfile.lyx cp mylyxfile.lyx.bak mylyxfile.lyx cvs? svn? What? It uses RCS, no? LyX can use any of them. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Dropping a document out of version control
Shahar Or wrote, On 12/23/-28158 02:59 PM: Dear list, How is it possible to stop using version control on a document, please? Simple answer: stop clicking File -> Version Control -> Check In Changes... Complex answer: remove the version control file, i.e.: rm RCS/mylyxfile.lyx,v cp mylyxfile.lyx mylyxfile.lyx.bak; \ cvs remove -f mylyxfile.lyx cp mylyxfile.lyx mylyxfile.lyx.bak; \ svn remove -f mylyxfile.lyx cp mylyxfile.lyx.bak mylyxfile.lyx Or were you trying to ask about Change tracking? A different concept which I have not yet used, so you'll need a different person to answer. :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Re: WRB - Observations
rgheck wrote, On 12/23/-28158 02:59 PM: Jürgen Spitzmüller wrote: Minipages? Sure: Insert->Box (a frameless Box is a minipage). However, as Richard said, LaTeX isn't designed for grid layout. It's not a DTP application. Box isn't very descriptive. I'd never have guessed this. Would there by objections to making it Minipage? or Text Box? or ??? rh I Agree with this, and as Minipage is a LaTeXism and that is what you are doing with this, then using the same name would make it easier for lyx users to locate help about them in LaTeX documentation. BTW this is my first reply to an email from inside a digest... it looks ok from here, i.e., title ok and only the content I wanted to reply to, but please cut me some slack if Thunderbird quietly makes a mess. :} -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: WRB - On the dimensions of graphic files.
William R. Buckley wrote, On 03/20/2008 02:54 PM: Paul (and the rest of the group): William R. Buckley wrote: What I notice, even in the imported .tex file for my paper, and when using LyX, (BTW, is it as in Lick?) There's been extensive (and IMHO inconclusive) discussion of this, but "licks" seems to be the predominant choice (particularly since "leaks" is not a happy name for a computer program). I would argue for lick, to be consistent with TeX and LaTeX. Of course, when I first encountered the product, licks came immediately to mind. Rummages around the wiki, Yep thought we had an answer to that one: http://wiki.lyx.org/FAQ/Pronunciation SORT OF!!! :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Lyx en español
Jorge Mario wrote, On 12/12/2007 10:32 AM: Hola compañeros Comapñeros de habal hispana. podemos preguntar en español? atte Ken from http://www.google.com/language_tools?hl=en we get Automatically translated text: Comapñeros of habal Hispanic. We ask in Spanish? From an email thread a few months ago[1], I would suspect you can, but it might be better to ask in both Spanish, and _attempt_ to put an english translation in the email too, in case those who can answer your question don't read Spanish. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg58916.html passed through: http://translate.google.com/translate_t?langpair=en|es Texto traducido de forma automática: Desde un subproceso de correo electrónico hace unos meses [1], yo sospecho que puede, pero tal vez sería mejor preguntar en español, y el intento de poner Inglés traducción en el mensaje de correo electrónico también, en caso de los que pueden hacer responder a su pregunta No saben leer español. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Feature Request: Show the title in closed floats
Jean-Marc Lasgouttes wrote, On 12/03/2007 11:03 AM: Todd Denniston <[EMAIL PROTECTED]> writes: Or how about an option that to me would make more sense: A collapse|expand ALL button/setting/menu, that on collapse-able elements had a similar effect to the View->Threads->"Expand All Threads"|"Collapse All Threads" does on threads in Thunderbird. Don't we have this in View menu already? JMarc 1.5 yes 1.4 no Sorry, I was going from my experience with 1.4 and the context of the email, which was indicating that Daniel was getting version control conflicts due to changes in [un]collapsed state. I just installed a box with 1.5 so I will find this feature helpful. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Feature Request: Show the title in closed floats
G. Milde wrote, On 12/03/2007 10:21 AM: On 3.12.07, Daniel Lohmann wrote: Jean-Marc Lasgouttes wrote: Daniel Lohmann <[EMAIL PROTECTED]> writes: ... 2) the document-specific state of each inset would no longer be stored in the document file (fancydoc.lyx), but in some extra settings file (such as fancydoc.lyxrc). (It is kind of annoying to get version control conflicts just because of the fact the me and my colleagues prefer different ways to display the insets on screen.) ... Maybe I have not explained myself well enough. I am mainly asking for separation of concerns between the document content and the editor-ui-related data associated with it, which is IMHO a good design principle anyway. ... otherwise the frequency of svn conflicts would go up significantly, which is the (practical) reason for the request for separating content from ui-data on the file system. While I understand the reason and the rationale to separate content and presentation, I would not like to see a separate file for every lyx file: this would clutter my view on the file-system a lot. OTOH, there is the design principle to keep together information that belongs together: and type and status of a Note can be considered information that belongs together -- it would become a more complicated to specify which inset the "collapsed" status belongs to when stored in a different file. Maybe there is a way to tell SVN to ignore these settings? Or how about an option that to me would make more sense: A collapse|expand ALL button/setting/menu, that on collapse-able elements had a similar effect to the View->Threads->"Expand All Threads"|"Collapse All Threads" does on threads in Thunderbird. I understand the issue with the version control, which is why when I am preparing to check in my changes I always walk through the document and collapse all the ERT&&FootNotes&&Notes... If we had a big collapse|expand button it would be easier to explain as a "coding convention" that `prior to committing changes the changer will collapse|expand all collapse-able elements in the document.` I don't know if it would make since to have multiple collapse|expand buttons somewhere [one for each collapse-able type] or just one big toggle button. (I remember faintly that SVN diffing ignores some specially formatted tokens, so maybe a file format that stores these settings specially marked up would help. Another option would be to use an external diff command and customize it to ignore the line behind \begin_inset Note...) Guenter -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Fwd: Warning: message 1IgmlM-0001BU-US delayed 24 hours
Steve Litt wrote, On 10/14/2007 05:52 PM: Could whomever administers this list fix this problem? I continously time out at WIERDLMPC.MSCI.MEMPHIS.EDU if I use Earthlink's SMTP. Even though I can use other SMTPs, I can't remember every single time to use another SMTP for LyX list posts. I of course can do nothing to make the lyx.org or earthlink.net servers act better, but out of curiosity I found some interesting info: This is not the first time that the IPs around the machine you mention[1] below have had problems[2]. And could it be that earthlink either has changed you to these servers recently, or changed the configuration to tighten up the time they allow for other machines to respond? i.e., it might not be lyx.org's fault. Of course you might check some of the blocking lists[3] to see if any of the servers in your email chain have a bad reputation right now. And there is the fact that RIGHT NOW (Mon Oct 15 23:13:46 UTC 2007) lists.lyx.org is listed as being in "Dynamic IP Address ranges" by sorbs[4][5], so it could be that earthlink.net is being a bit aggressive in interpreting a sorbs listing. So does earthlink use sorbs, or other lists? Granted I would expect the checking (and blocking) to be happening at the receiver not the sender. [1] elasmtp-dupuy.atl.sa.earthlink.net = 209.86.89.62 elasmtp-galgo.atl.sa.earthlink.net = 209.86.89.61 [2] http://www.mail-archive.com/[EMAIL PROTECTED]/msg12324.html search for earthlink on: http://www.pimlicosoftware.com/invalidemails.htm [3] http://en.wikipedia.org/wiki/DNSBL#External_links [4] Mon Oct 15 23:13:46 UTC 2007 Name: lists.lyx.org Address: 141.225.11.87 Name: 141.225.11.87.dnsbl.sorbs.net Address: 127.0.0.10 [5] http://www.de.sorbs.net/using.shtml Thanks SteveT -- Forwarded Message -- Subject: Warning: message 1IgmlM-0001BU-US delayed 24 hours Date: Sunday 14 October 2007 15:55 From: Mail Delivery System <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] This message was created automatically by mail delivery software. A message that you sent has not yet been delivered to one or more of its recipients after more than 24 hours on the queue on elasmtp-dupuy.atl.sa.earthlink.net. The message identifier is: 1IgmlM-0001BU-US The subject of the message is: Re: Using \fbox as an environment? The date of the message is:Sat, 13 Oct 2007 15:36:37 -0400 The address to which the message has not yet been delivered is: lyx-users@lists.lyx.org Delay reason: Connection timed out: SMTP timeout while connected to WIERDLMPC.MSCI.MEMPHIS.EDU [141.225.11.87] after initial connection No action is required on your part. Delivery attempts will continue for some time, and this warning may be repeated at intervals if the message remains undelivered. Eventually the mail delivery software will give up, and when that happens, the message will be returned to you. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: [OT] Programmatically Creating a LaTeX Document
Rich Shepard wrote, On 10/10/2007 12:09 PM: On Wed, 10 Oct 2007, Paul A. Rubin wrote: I would write the template as an ordinary document (and of course would write it in LyX, then export to .tex), using some distinctive placeholders where the good stuff would be inserted (e.g., %%variable 1%% or some such). Then have a script create a copy of the .tex file (so as not to corrupt the master template) and use sed to substitute the good stuff for the placeholders. Depending on what the good stuff looks like, you might have to escape a character here or there. Paul, I think this is fundamentally the same approach Todd used. Almost, except I was using [La]TeX variables so that you do not have to modify the template file, just the variable defining file. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: [OT] Programmatically Creating a LaTeX Document
Rich Shepard wrote, On 10/10/2007 09:21 AM: This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need. In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an embedded SQLite database. I'd like to produce reports via LaTeX and pdflatex. To do so, I need to write report-specific LaTeX templates that have replaceable variables where the content goes. Then, the applicaion would programmatically extract the required information from a database table and fill in the template for the report. I cannot find how to create such a LaTeX template in "Guide to LaTeX" or TLC2. LaTeX document classes are templates themselves, but are used to manually fill in the document content. Can this content be provided programmatically? Suggestions appreciated. TIA, Rich I have done such a beast, therefore it can be done. :) The method I used involved having a LaTeX file[1], which at an appropriate place[2] in the file, uses \input{MyVariableData.tex} and then when I want the data from a variable I just use \MyFirstVar at the appropriate place in the "template" file. I had to be careful in my C program to properly escape LaTeX special chars before it wrote the data to MyVariableData.tex, i.e., at least "_", "*" and "\" become "\_", "{*}" and "\textbackslash{}". There are probably others you need to look out for like "%" & "@". in MyVariableData.tex there are lines of the form: \def\MyFirstVar{{*}Data{*} for Var\_1} then with a script passing all the appropriate options to LaTeX, dvips (I needed PostScript output) and an rm of LaTeX temporary data, I have the program create the postscript for sending to the printer. Hope this helps. [1] a full LaTeX document which uses a lot stuff from \usepackage{ifthen} \usepackage{soul} \usepackage{pstricks} \usepackage{pst-text} \usepackage{pst-eps} \usepackage[dvips]{graphicx} \usepackage[dvips]{geometry} I love the funky stuff you can do with LaTeX... like making CD labels with curved words on top of pictures. I started from: http://www.aldil.org/projets/TeX_cd_label.html [2] appropriate from the perspective that you may need some packages defined before the variable file is pulled in, and you need to pull in the variable file before you try to use one of it's variables in the main LaTeX file. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter http://www.crane.navy.mil/custfeedback
Re: HTML and URLs in LYX
Yaron Y. Goland wrote, On 08/10/2007 10:51 AM: P.S. Does anyone know a decent margin setting for letter size paper so when I produce a PDF my article doesn't have insanely large margins? insanity is all in the mind. ... :) the question then becomes, what do you, your boss and inner voices, consider a non insane margin size? I (and my inner voices :) tend to use 1 inch on all[1] borders for article class. [1] Top, Bottom, Inner and Outer. I never had reason to mess with Head sep, Head height or Foot skip. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: LyX, pdflatex and local hyperlinks
Nick Hopton wrote: Subject: Re: LyX, pdflatex and local hyperlinks From: Nick and Anne Hopton <[EMAIL PROTECTED]> Date: Sat, 21 Jul 2007 17:16:15 +0100 To: Uwe Stöhr <[EMAIL PROTECTED]> To: Uwe Stöhr <[EMAIL PROTECTED]> Uwe Stöhr wrote: Nick and Anne Hopton schrieb: is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. Besides what Todd explained you can also simply put the html file in the same folder where the PDF is located. The \href call ise then simply \href{index.html}{name} I tried that Uwe, but it didn't work. However, I *think* I might have found a vile work-around by editing the URL in the PDF using a binary file editor, as follows: ./Subtype/Link/A<>.>> endobj.20 0 obj <<./D [18 Where the target is 'front_page.htm'. I have to test the CDs on a couple of other machines before I can be sure. Thanks to all, Nick. what did the line in the PDF look like before you edited it? putting ./front_page.htm in a LyX URL box should have generated the pdf line you have above. Output from the attached lyx file: The ERT generates: in LaTeX \href{./test/index.html}{ERT} in PDF /Subtype/Link/A<> the LyX box generates in LaTeX \url{./test/index.html} in PDF /Subtype/Link/A<> at least on my Linux box. So I think you should be able to get where you want to go by using LyX's internal URL insert. It is annoying that I have to use xpdf to test this as evince does not follow links in pdf docs. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter test2.lyx Description: application/lyx
Re: Using article layout but having 'Bibliography' rather than reference
Richard McIntosh wrote: Hi all I would like the article (koma) style but want the word Bibliography rather than references. I have tried manually editing the layout files to get the article style but haven't managed to add the word Bibliography rather than references. I use article but the following may work for you to, or point to what you do need to do: in ERT just before the bib location I put \renewcommand{\refname}{} % remove the word 'References' from bibliography for me I just type the name "REFERENCED DOCUMENTS." as the section name. perhaps \renewcommand{\refname}{Bibliography} would do it for you? It worked for me in a quick test. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: LyX, pdflatex and local hyperlinks
Nick and Anne Hopton wrote: Uwe Stöhr wrote: You can alternatively simply use: \href{F:/Directory1/Directory2/index.html}{name} This opens the file with the default program that is set in the registry as default viewer for html-files. Thanks again for this Uwe, now when I click on the link in the PDF, Explorer fires up and loads index.html. All very good, but the trouble is that the drive letter (F:) is hard wired into the link. However, what I want to do is put the PDF file containing the link and the HTML file at which the link points onto a CD, but it doesn't seem possible to use relative paths in PDF links. On the CD the link in the PDF will always point at drive F: which isn't where the HTML file will be (unless by some happy chance all of the people to whom I distribute the CD have drive F: as their CD-ROM drives). I know this isn't strictly a LyX problem, but any hints on a possible solution would be appreciated. I'm very reluctant to abandon the idea of using a LyX-generated PDF as a 'front page' for my project (it's genealogy, for the family). Regards, Nick. assuming your LyX produced PDF is in Directory1 have you tried something like: \href{./Directory2/index.html}{name} otherwise known as a relative link? works for me in a minimal test on Linux, using either the info above in ERT or putting the URL in using LyX's insert->URL. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: when final release 1.5.0?
Robert Poser wrote: Hi, does anyone know about when the final release 1.5.0 is scheduled? Robert Does this help? http://wiki.lyx.org/Devel/ReleaseSchedule http://wiki.lyx.org/Devel/ShowStoppers150 http://bugzilla.lyx.org/show_bug.cgi?id=2753 NEW http://bugzilla.lyx.org/show_bug.cgi?id=3043 RESOLVED WONTFIX http://bugzilla.lyx.org/show_bug.cgi?id=3291 NEW http://bugzilla.lyx.org/show_bug.cgi?id=3346 RESOLVED FIXED http://bugzilla.lyx.org/show_bug.cgi?id=3404 NEW http://bugzilla.lyx.org/show_bug.cgi?id=3449 RESOLVED FIXED So apparently, when A) someone gets 2753, 3291 & 3404 RESOLVED, and B) someone updates http://wiki.lyx.org/Devel/ShowStoppers150 to indicate no show stoppers are left? You want to just do B? :P :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Removing first page number on bibtex generated bibliography
Lyx Physicst wrote: On 7/17/07, Charles de Miramon <[EMAIL PROTECTED]> wrote: Lyx Physicst wrote: > Hi all, I am writing my thesis in Lyx 1.44(OS X). I need to have all the > page numbering for the first pages of a new section(ie Table of Figures, > first page in chapter, etc) removed. I have managed to remove them all, > except the first page of my bibliography. I am using a bibtex generated > bibliography and I have no idea how to remove the page numbering. I am > writing the paper in Report class. Is there anyway to remove the page > numbering and have it start re-counting again on the 2nd page of the bib? > Thanks, > charles I guess inserting in ERT \thispagestyle{empty} just after the bibliography inset should work. A cleaner but more complex solution would be to redefine the bibliography environment. Hi, I tried to do that originally, but it doesnt seem to work. That just makes the last page of the bib. un-numbered, but not the first as I need.. I am also seeing what you are, can't get the bib pages to be un-numbered, with out redefining stuff in the bib def. however is the requirement that the pages be un-counted as far as the document length is concerned, or that they have no page count numbers at all? if it is only that they not be counted for the overall length, you might do a work around something like: ERT \pagenumbering{roman} %before bib ERT \setcounter{page}{1} %before bib ERT \pagenumbering{arabic} %after bib ERT \setcounter{page}{1} %after bib or after reading: http://www.emerson.emory.edu/services/latex/latex_129.html you could probably use something like: ERT \pagestyle{empty} %before bib ERT \pagestyle{plain} %after bib Assuming plain is the style you have been using, the URL does not indicate if "fancy" is allowed. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: List problem
Nick and Anne Hopton wrote: I suffering some minor pain with a list problem. This happens when someone posts using not the list submission address (lyx-users@lists.lyx.org) but posts a reply to the original sender, with a cc. to the list. At my end, this causes postings to the list to be routed to the wrong mail box and in addition it means that if I try and reply to the list the wrong address is inserted in the 'To:' field. Is anyone else having this problem at present? Regards, Nick. You appear to be using Thunderbird 1.5.X on Windows, if when you define/edit the lyx filter, you set the pull down to "To or cc" instead of just "To", you should be happier. Good luck. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: installing LyX 1.5 0rc2 and BUG in exporting to 1.4
Christopher Reeve wrote: Hi, I have two problems. I just bought a mac laptop which I would like to install version 1.5 (which looks great) but am using linux(fedora 2) in my office. Before installing to my laptop I tested LyX 1.5 on a Windoze machine. Problem 2. I was only trying to export to version 1.4 because I can't install version 1.5 on my Linux machine. When running ./Configure it reported the following errror: ** qt 4 library not found ! The version of qt installed on it was 3.3 so I upgraded to version 4.3. I'm not an expert at installing Linux software but tried to follow the instructions. I'm not sure if I added it to my path correctly, so this time I tried to compile with ./Configure --with-extra-lib=/usr/localTrolltech/Qt/bin but the error ** qt 4 library not found ! was returned again. My first comment/question is, if you can install Qt 4.3 on an FC2 box, any reason you are not allowed to just update the whole box to Fedora 7? IIRC, the problem is pkg-config does not know where to look. I think something like setting export PKG_CONFIG_PATH=`find /usr/localTrolltech/Qt -name pkgconfig` before running the lyx configure, would probably do it (assuming only one pkgconfig directory). -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Can't enter extra whitespace when editing.
Jean-Marc Lasgouttes wrote: "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: And you can't erase past the beginning of the document, Darren> Now you're being silly. You can't do that in ordinary text Darren> editors either. But LyX is no ordinary text editor. Darren> I'm not talking about a functional change, I'm talking about a Darren> user interface change back to past behaviour that was probably Darren> once considered "correct". This was _not_ past behaviour. JMarc Was not the original behavior, to always pop a gentle nudge reminder in the bar at the bottom of the window indicating something along the lines "two spaces don't make sense here."? The current revs [at least since 1.4.3] only do it once. I liked the old behavior of reminding me that I had escaped an "Office" product, after a few hours of lyx editing I would get used to it again and enjoy the lack of need to do hand formating. $0.02 -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Merging lyx documents (can version tracking be abbused for this)
Micha Feigin wrote: On Wed, 06 Jun 2007 11:06:44 +0200 Helge Hafting <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: [...] [...] To really save work here, learn to use the changetracking feature. Then show your coworker LyX, perhaps he'll be impressed enough to use it - you can then pass LyX documents back and forth using changetracking. LyX will not prevent him from using LaTeX, he may still apply all tricks he knows using ERT. I can probably push lyx on her. The two problems are that we do a lot of work for journals and conferences and most of them use all kinds of wierd document styles which can make things a little auckward occationally. The actual issue here won't be solved though by the default change tracking implementation. What I need is a way to work in parrallel on the same version and then merge the changes. I see two proposed enhancements here at the moment. 1. Allow the change tracking system produce a three way merge (not sure how difficult) 2. Allow using an existing lyx layout with just changing the latex style file. It will be nice if someone else is interested enough, otherwise, I'm hoping to have some time in about 3-4 months to start amusing myself with this. You might be able to solve your problems by changing your procedures a little. You are working on a document in parallel... Answer the following questions: 1) Can the document be broken up in to chapters/sections? 2) Are the two of you _normally_ working on the same chapter/section? 3) Are you adverse to having a master document that pulls in sub-documents? 4) Are you on windows or Unix? (determines some of the other tools that would be suggested.) if (1) is yes, then if you can create the outline of the document this will put physical "space" in the document between your changes, this makes using things like patch, rcs and CVS easier. if (2) is yes, then likely the current tools can't help. if (2) is no then tools like patch, rcs and CVS can make your lives a little easier, with communication and practice. if (3) is no, using the tools already mentioned becomes a lot easier. if (4) is Unix, you probably already have the tools you need. if (4) is windows, we (the group) can probably guide you in finding _some_ of the tools to make things work better [CVSNT]. Folks in the group have tackled multiple people working on the same document a few times already. Or did I misread your desire here? -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Explanations with equations?
Steve Litt wrote: On Tuesday 05 June 2007 09:45, Alan G Isaac wrote: See section 8.2.7 of The LaTeX Companion 2nd edition, an indispensible aid to mathbook writing projects (and otherwise excellent). Cheers, Alan Isaac Thanks Alan, I don't have that book -- I have Guide to LaTeX by Kopka and Daly. Could you please point me to a web resource that summarizes the ideas of 8.2.7 of The LaTeX Companion pertaining to explanations after each line of a long running equation group? Out of curiosity I looked in my TLC2 and noticed the title of the section is "Multiple alignments: align and flalign" A quick google http://www.google.com/search?hl=en&q=align+flalign&btnG=Google+Search on those keys gets the following page which seems to treat the material similar to the TLC2: http://web.mat.bham.ac.uk/R.W.Kaye/latex/align/align.htm "One of the most difficult aspects of typesetting mathematics is splitting long formulas across several lines and aligning a group of formulas." BTW Steve I do suggest with as much writing as you do, the TLC would be a good addition to your library. To admit a bit of my strangeness, or the exceptional quality of the authors, the book is even somewhat enjoyable to read when you are not looking for something specific, i.e., as literature. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: PDF quality
Steve Litt wrote: Hi all, Does pdflatex produce a better on-screen appearance than latex filename;ps2pdf filename? It seems to me when I do the latter, my normal body text fonts have "jaggies", but perhaps it's my imagination. Is there a way to get rid of the "jaggies" if I continue to use latex filename;ps2pdf filename? Thanks STeveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/ Steve, I thought you had been here for a while longer than me... does the following explain the problem you are seeing? And hopefully give you a good solution? http://wiki.lyx.org/FAQ/PDF#toc5 also as far as i can recall, the problem would exist in both ps2pdf and pdflatex, because it is a problem with the font. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Reducing table size
Adrian Peter wrote: Hi, Does anyone know any fancy tricks to get a wide table to fit within the page margins? I have a table inside a float and it keeps going off my right margin. I tried playing with the document margins but I still can't get it to fit. I also reduced the text size to tiny and still no luck. I am using the basic 'article' document class. If I change the document class to 'article(IEEEtran)' then table is able to fit with in the page margins. However I would like to get this to work with the regular 'article' document type. Thank you in advance. Adrian in LyX 1.4 A) right click in a column of the table, which brings up the "LyX: Table Settings" dialog. B) select the "Table Settings" tab. C) enter a number in the "Width:" entry box. D) pick how you want that number used with the pull down to the right of the entry box. E) do this for each column of the table. If for example you have 4 columns, and want them even, I would set the Width to 25 and set the pull down to either text% or page%. play with the pull down and see which ones you like. Note that the UserGuide.lyx [help -> User's Guide] section 4.4 (and especially 4.4.4) may be help more. Note 4.4.1 needs some help as some of the devs took out some table functionality about adding and deleting rows and columns. Hope this helps. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Mailing list configuration [was: Re: List usage - messages from the wiki]
Tim Michelsen wrote: Hi, I'd like to ask if it is would be possible to add a reply-to "Lyx Users " to the headers of the mails sent via the maling lists. Thunderbird and Gmail don't have the reply-to-list feature implemented so far. So when replying to the Lyx lists the users of these clients would have to modify the TO: / CC: (when using "reply all"). Um, NO! been there discussed that (at least once). http://www.mail-archive.com/lyx-users@lists.lyx.org/msg42601.html http://www.mail-archive.com/lyx-users@lists.lyx.org/msg42608.html http://www.mail-archive.com/lyx-users@lists.lyx.org/msg42627.html http://www.unicom.com/pw/reply-to-harmful.html I too use thunderbird, and don't seem to have your problem. BTW when you do a major change to the topic covered in the email you are replying to (wiki to email) please start a new thread instead of replying. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Table dialog in 1.5.0beta1
Paul A. Rubin wrote: Hellmut Weber wrote: Hi, I'm using a document which has been created with lyx-1.3.7 containing a table. It works (nearly) fine with lyx-1.5.0beta1. BUT: * When the cursor is in a cell of the table right clicking the mouse opens the table dialogue. I can't see any more the possibility to add a row or column neither the possibility to delete one of these. (With LyX-1.3.7 i made quite often use of this because I often come up with an additional idea AFTER having created a table.) Omission or feature? Feature. As of LyX 1.4.I-forget-which, the table context dialog no longer contains adjustments to number of rows/columns. However, all is not lost. There is now a toolbar for table operations, and it includes buttons for adding/deleting rows/columns, along with changing justification, merging cells, fiddling with the border, and more. In LyX 1.5.0, you can turn this toolbar on with View -> Toolbars -> Table. Clicking that toggles between three settings: off; on; and auto. The toolbar appears at the bottom of the window. The auto feature is particularly handy: the toolbar will appear automatically if your cursor is inside a table cell, and disappear automatically when the cursor is outside the table. /Paul I also found the change troublesome in 1.4 and I hope it is better with the toolbar you have in 1.5, but the 1.4 * Click in table * Edit -> Rows & Columns -> Add/Delete Row/Column These items are very painful to use when you have discovered you need 15 more row/columns, why oh why did the dev guys remove the ability to resize by multiple at one time! -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: technical specification class ?
Eugeny N Dzhurinsky wrote: Hello! Could somebody please suggest some document class suitable for writing technical specifications? For now I'm using article class, but sometimes I'm not satisfied with it, probably there is something more convenient for such kind of task as I'm doing? I also use article for my tech docs, I just have to build the title page the way I need it instead of what article wants to give. Thanks in advance! P/S Probably somebody could suggest how to increase nesting for section/subsection/subsubsection? I need even more deep level, but I don't know how to get it in LyX, if it is possible at all. I believe what you are asking for can be solved with the email I dropped a few years ago. http://www.mail-archive.com/lyx-users@lists.lyx.org/msg38442.html I have used the method found on this page http://tug.org/TeXnik/mainFAQ.cgi?file=space/space the section "linebreak behind paragraph-style", which lays the section label text out like a section. \makeatletter [EMAIL PROTECTED]@}% [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% {1.5ex [EMAIL PROTECTED] .2ex}% {\normalfont\normalsize\bfseries}} \makeatother -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Beamer class and pdf meta-information
Jean-Pierre Chretien wrote: Hello, Using the beamer layout, the Title, Author, Subject styles are used after the \begin{document} as they appear in the LyX window. As a consequence, the \hypersetup commands which set pdftitle and such do not have the right information and thus pdfinfo foo.pdf is non informative, in contrast with the latex equivalent where the \title, \author and such are in the preamble. I tried unsuccessfully to encapsulate the \hypersertup commands in a \AtEndDocument command. Any other workaround (other than duplicating or defining the \title. etc command in preamble instead of the document body) ? How about defining variables in the preamble to contain them, and then using those variables in both the preamble and body for setting \title etc. i.e. in the preamble: \def\DocReleaseDate{05 OCT 2005} \def\DocNumber{-SRS-01a-} \def\DocProjectName{} \lhead{\DocNumber } \rhead{ UNCLASSIFIED Draft \DocReleaseDate} and in the body...[Pseudo markup]: (SRS) for ERT[\DocProjectName] At least you could then put that in your beamer template and only have to maintain the data in one place. This is the technique I use for some data that our document policies want in ~5 places. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Problem viewing generated dvi
Srinivas Nedunuri wrote: Hello, I am running Lyx 1.4.1 on Windows XP. I am unable to view the DraftDVI as suggested in the Tutorial. When I select View | DraftDVI I get "No information for viewing Draft DVI". Selecting View | PDF (either option) produces similar messages. If I try File | Export | DraftDVI I get an error popup from the 16bit MS-DOS Subsystem (!) that says "The NTVDM CPU has encountered an illegal instruction". I don't know if this is reltated to the problem or not but I couldn't see anywhere to configure the location of the dvi previwer. I could be wrong but the last time I had a message like that {... CPU ... illegal instruction}, it was because the program I was trying to run was compiled for i686 and the processor on my machine was an i586. It might help to know: A) What processor your machine has. (I don't remember how to find that on windows.) B) What processor the DVI viewer was built for. (you'll probably need to ask the folks who built it, AFAIK that would be the MiKTeX crew assuming you used Uwe's installer.) if the DVI viewer was built for an older processor than the one you have, then the problem I NOT what I thought it was. I hope this is helpful. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Version Control vs. Change Tracking
John McCabe-Dansted wrote: On 11/21/06, Todd Denniston <[EMAIL PROTECTED]> wrote: LyX will use use at least RCS & CVS as version control back-ends, CVS can be used from other systems connecting to a master repository system. How do you use CVS as a back-end to the LyX-GUI? Assuming you are editing a LyX file in a CVS sandbox directory, and LyX Version 1.4.3, on a machine with CVS working. A) create the file. (open LyX, and put some text in your document.) B) select "File". C) select "Version Control". D) select "Register...". ...Later... E) you've done some more edits. F) select File->Version Control->Check In Changes G) enter commit message H) press OK. I know you can use pretty much any VC system you want, but I can't see how to access it from within the LyX-GUI. I have read many of the CVS manuals and SVN manuals but I wouldn't think they would discuss how they can be accessed from the LyX-GUI. In a LyX editor go to: Help->Extended Features It has a whole section (6.3) on RCS. Again, it is out of date (not wrong, just out of date) because CVS works too, and through the same user interface as RCS. Also my experience with SVN and CVS is that they give obscure errors if you do stuff like move directories around without using the svnmove command etc. Um, removing directories (or files) without fully informing the version control system is a REALLY BAD IDEA in any case, be thankful you got an error message at all. I guess if all the authors have friendly tech support staff available to set up the SVN server and fix the obsure errors for them, SVN would be the best bet for keeping all the versions in sync. except svn currently does not have any integration with LyX's VC menu. however if you are familiar with working with svn on the command line and remember to refresh the LyX buffer after VC operations, it should work fine. You could layer change tracking on top of that for reviewing changes --- this should be a lot more convenient than trying to use the SVN diff to understand and selectively undo changes. Unfortunately this does not currently exist. Fortunately the LyX file is not too hard to read once you get used to it (unless you are looking at a table). -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Version Control vs. Change Tracking
Andre Poenitz wrote: On Mon, Nov 20, 2006 at 07:54:59PM +0100, Georg Baum wrote: What does not work (and what Todd probably meant) is using svn from within LyX. A request for svn support is already in bugzilla. Personally I'd rather remove the existing half-baked support for vrsion control from within LyX. There are decent version control clients for virtually any OS out there that integrate nicely into the respective desktops. No need to duplicate that within LyX. Andre' I am fine using CVS|RCS from the command line, but the integration that is in LyX I like because: A) LyX _KNOWS_ to reload the file from the file-system instead of continuing on with it's current buffer, instead of me having to remember to dump the buffer and reload. [to continue on with a current buffer after a commit or update in a concurrent development environment is just WRONG, and in a single user environment it can get you unexpected results if you are using RCS keywords like $Revision:$.] what I don't like about the current integration: B) too small an area to type in. C) no way to put newlines in the commit message. I don't see the current integration as half baked, as much as just barely functional enough. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: tabular lines/borders yet again (was: Re: another (?) table-editing bug)
Sven Schreiber wrote: [topic shifted from bug to user interface, so I'm starting a new thread] Helge Hafting schrieb: Btw, some time ago somebody suggested to let lyx create new tabulars without any lines by default. I think that's a great idea. That can't be so difficult to implement, right? Do we need a vote? There were much discussion - and simply changing lyx to no-line tabulars was turned down for "changing default behaviour". I tried to search the devel archives (not very easy actually) and found many people in favor of no lines, and essentially only Lars (lgb) being cautious. Lars, excuse me to bother you, but why exactly do you think that changing these defaults is bad? Do you know of many users that fiercely demand their vertical lines? May I also point you to the discussion that happened on the user list (shortly after the one on the dev list)? http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48442.html Also as was stated in the following two messages, and I think in the message you were replying to, an either or of lines/nolines as default is a ~50% split. I would think any dev who wanted to remain _mostly_ sane in such a situation would stick with the trouble s/he knows than to change a default, until a better solution is actually implemented, as with the annoyance s/he knows it is easer to just point to bug# and say _someone may_ work on it than to start fielding questions from the other camp. http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48455.html http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48464.html So if there is someone with the skill, inclination and time perhaps the easiest _half_ baked solution would be to make a lyxrc.defaults file item which indicates '\tabular_lines_on true|false' and test for that setting to run either the current default tabular create function or the new no line tabular create function. The above is only my opinion, and I am only a, sometimes _mostly_ sane, developer of _other_ software. :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Filename in document
Georg Baum wrote: Richard Heck wrote: Susanne Gütter wrote: I have many files, which I print and after a few weeks, I have work to find the corresponding files, if I don't label my papers manually. Is there any way to label it not manually (like it is possible in other office-programms) ? There probably is some LaTeX command that holds the name of the source file. You could include in various ways. But, as Helge mentioned earlier, what you'll end up getting is the name of the temporary file to which LyX exports the LaTeX, not the name of the LyX file you're trying to print. That name does not differ from your document name, only with the ending .tex instead of .lyx. The directory part will be different (it will be some temporary directory), so if you do not have documents with the same name in different directories, then such a LaTeX command would indeed work. You could file an enhancement request on bugzilla. But remember that LyX isn't really an "office program". It's a front-end to LaTeX, which is a professional quality typesetting program. Nevertheless it would be a useful feature to be able to put the document file name in some footer or so, so an enhancement request in bugzilla would be no bad idea. Georg If you are using RCS or CVS to version control your files (version control is a GOOD thing) you can get close to what you want (I think) with some LaTeX in your preamble and in ERTs. I got this info from the list in the past. see the attached file for an example use. % RCS style. \def\RCSdef $#1${\typeout{RCS keyword string: [EMAIL PROTECTED]: {} :.} [EMAIL PROTECTED]: #2 :#3.{\expandafter\def\csname RCS#1\endcsname{#2}} %Then, in your document (or in your preamble), do: \RCSdef $Revision: 1.1 $ \RCSdef $Date: 2006/09/08 13:12:08 $ \RCSdef $RCSfile: junk.lyx,v $ % use the following lines(uncommented) in ERT to get the revision and date put in text % \RCSRevision % \RCSDate % \RCSRCSfile % End RCS style. Note I think you might be able to define a slightly different set of \RCSdef commands that might be able to take the ',v' off the file name, I just don't know the LaTeX to do it quickly. Note also that it looks like you can use the above LaTeX code with any of the RCS keywords. I also think that if you preferred some other VC system and it provides keywords you could modify the above to work with it. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter junk.lyx Description: application/lyx
input not placed correctly after linebreak (was: Re: bug: line-shift before line break - please confirm.)
Paul A. Rubin wrote: Martin A. Hansen wrote: reconstruct bug: make an enumerate list. make a forced line break in the list. when moving the cursor towards the linebreak, the curser goes to the next line 1 char before the end of the line. I can't reproduce this (LyX 1.4.2, WinXP). /Paul I did not reproduce the bug that is described above (with LyX 1.4.2, Fedora Core 4 Linux), however in the course of attempting to replicate it I found a rather odd occurrence. Replication info A) File->New B) set (using mouse) Enumerate as layout C) type "first line" D) type "second line" E) type "third line" F) click between d & l of second line G) cursor right over to the end of line and pres - H) click between d & l of second line I) cursor right over to the end of line J) cursor right once more (to take you past the -) K) type "a" L) recognize that you now have for the second line: "second linea-" the expected result was: "second line-a" note that even though the cursor is on the third line (second line of the enumerated item #2) any character you type at this point ends up on the second line. attached newfile3.lyx shows end result. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter newfile3.lyx Description: application/lyx
Re: long standing annoyance with tables
A. Scottedward Hodel wrote: Given those two choices, I prefer the current settings. I nearly always make some small adjustment, but the adjustments are much fewer this way than the other. On Jun 8, 2006, at 12:10 PM, Leuven, E. wrote: Dear LyX-users, On the developers list we are presently discussing default behavior with respect to how lines are set when inserting a new tabular. There is some reluctance to change default behavior even if the rationale behind the default is not that clear. To move the discussion forward I would like to know what default lyx-users would prefer when they insert a tabular: 1. The current line settings 2. A blank tabular (ie no lines set) Thanks for letting me know. Edwin I would also stick with the current settings as I rarely need to get rid of the lines. Perhaps a third option should be considered as with an "either or" we will probably see an 50% split. 3) Add a button with the purpose of toggle or switch to blank tabular, and perhaps an config option to make blank default for the particular user. But stick with the current as default. :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: how many lyx users?
David Neeley wrote: Stephen, Downloads from Lyx.org are deceptive, since various online repositories have Lyx available for download as well--such as the Ubuntu site, which unfortunately still has 1.3.7. David And other distros such as Fedora now include (in extras) it as an RPM that they get updated any time they do a yum update, with no records going to lyx.org. On 5/21/06, Stephen Harris <[EMAIL PROTECTED]> wrote: Jose' Matos wrote: > On Sunday 21 May 2006 16:21, Bo Peng wrote: >> This is unlikely the case, but I would not be surprised either, >> considering the dominance of the windows system. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: branch feature
Todd Denniston wrote: Sanders, Maarten (M.J.L.) wrote: Hi, We use a lot of branches in modular end user manuals for our equipment. Does anyone have an approach on dealing with "not branches"? E.g., the piece of text applies to every piece of equipment, except for no. 32. As you can imagine it is a bit tedious to repeat the same text in the other 31 branches. If there is no approach, are there any development ideas in this direction? Thinking of that, a single chunk of text that can be used for 'n' branches would be nice as well. Any comments? Maarten Unfortunately my The LaTeX Companion, 2nd ed. is at home, but there is a nice description in there on how to do just what you describe... I think it was docstrip that was used though. http://www.ctan.org/tex-archive/help/Catalogue/entries/docstrip.html I now have my TLC2 in hand. I was wrong, it is not docstrip. in TLC, 2nd ed. section 2.1.4 "optional--Providing variants in the document source", what you wanted to do is described using the 'optional' package. http://www.ctan.org/tex-archive/help/Catalogue/entries/optional.html I think what you are looking for would look something like: %preamble statement for other than eq32 /usepackage[eq31,eq33,eq34]{optional} %body /opt{eq31,eq33}{this text describes things for only pieces of equipment 31 & 33.} /opt{eq32}{this text describes things only for piece of equipment 32} /opt{eq34}{this text describes things only for piece of equipment 34} Sorry about misleading you earlier. ifthen can also be used to brute force it if you have to: http://tug.org/TeXnik/mainFAQ.cgi?file=IfThen/ifthen#optional -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: branch feature
Sanders, Maarten (M.J.L.) wrote: Hi, We use a lot of branches in modular end user manuals for our equipment. Does anyone have an approach on dealing with "not branches"? E.g., the piece of text applies to every piece of equipment, except for no. 32. As you can imagine it is a bit tedious to repeat the same text in the other 31 branches. If there is no approach, are there any development ideas in this direction? Thinking of that, a single chunk of text that can be used for 'n' branches would be nice as well. Any comments? Maarten Unfortunately my The LaTeX Companion, 2nd ed. is at home, but there is a nice description in there on how to do just what you describe... I think it was docstrip that was used though. http://www.ctan.org/tex-archive/help/Catalogue/entries/docstrip.html ifthen can also be used to brute force it if you have to: http://tug.org/TeXnik/mainFAQ.cgi?file=IfThen/ifthen#optional -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: FC4 and lyx. Unable to install. Pls. help II
mario wrote: hello, is somebody so nice to explain to me the following output? The first bit I SNIPed was verbose info about how yum was processing the packages to figure out what depended on what. The second bit is yum reporting all the packages that either need updated or installed to also install lyx. Should I say yes to the final >Is this ok [y/N]? If you want the install done. Any danger? As long as all the repo files in /etc/yum.repos.d/ which are enabled also have gpgcheck=1 then you are as safe as gpg is correct, usually a fairly good bet. you may want to do a `yum -y update yum* rpm* gnupg*` first as there have been some security fixes for them. i.e., as long as the output of the following only has gpgcheck=1 included with it, you _should_ be ok to say y. for i in `ls -d /etc/yum.repos.d/*`; \ do \ if grep "enabled=1" $i >> /dev/null; \ then \ echo $i;grep -e enabled -e gpgcheck $i; \ fi \ done Granted I am assuming you have done: cd /usr/share/rhn/ rpm -import RPM-GPG-KEY rpm -import RPM-GPG-KEY-fedora rpm -import RPM-GPG-KEY-fedora-test rpm -import BETA-RPM-GPG-KEY rpm -import RHNS-CA-CERT Thanks a lot mario [EMAIL PROTECTED] lyx]# yum localinstall lyx-1.4.0-1fc4_qt.i386.rpm Setting up Local Package Process Examining lyx-1.4.0-1fc4_qt.i386.rpm: lyx - 1.4.0-1.i386 Marking lyx-1.4.0-1fc4_qt.i386.rpm as an update to lyx - 1.3.4-1fc1_qt.i386 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package lyx.i386 0:1.4.0-1 set to be updated --> Running transaction check Setting up repositories updates-released 100% |=| 951 B00:00 extras100% |=| 1.1 kB00:00 base 100% |=| 1.1 kB00:00 Reading repository metadata in from local files primary.xml.gz100% |=| 438 kB00:02 updates-re: ## 1179/1179 Added 285 new packages, deleted 244 old in 4.50 seconds primary.xml.gz100% |=| 1.2 MB00:08 extras: ## 3505/3505 Added 1094 new packages, deleted 534 old in 9.96 seconds --> Processing Dependency: libAiksaurus-1.2.so.0 for package: lyx Dependencies Resolved = Package Arch Version RepositorySize = Updating: lyx i386 1.4.0-1 lyx-1.4.0-1fc4_qt.i386.rpm 21 M libtool i386 1.5.16.multilib2-3 updates-released 656 k Transaction Summary = Install 1 Package(s) Update 19 Package(s) Remove 0 Package(s) Total download size: 67 M Is this ok [y/N]: N Exiting on user Command Complete! -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: floatflt
Lee Yeoh wrote: I had a bit more of a rummage around and I managed to export the relevant latex code for my document: --- begin quote --- \begin{floatingfigure}[r]{6cm}% \includegraphics[width=0.4\columnwidth]{\string"Figures/Fluid mosaic model\string".jpg} looks like you are a windows user...Sorry. I am _guessing_ that (in order to get quick joy) you need to do one of the following: 1) rename the figure to Figures/Fluid_mosaic_model_string.jpg and fix the graphics insert to match. or 2) change the latex code to \includegraphics[width=0.4\columnwidth]{\string"Figures/Fluid\ mosaic\ model\string".jpg} Which LyX & TeX version? I thought they had half way solved that problem. \caption{The fluid mosaic model of cell membranes}\end{floatingfigure}% --- end quote --- compared to the latex code for the "extended features" wrapped float --- begin quote --- \begin{floatingfigure}[r]{6cm}% \includegraphics[width=0.4\columnwidth]{mobius} \caption{This is a wrapped figure, and this is the brilliant caption that describes it}\end{floatingfigure}% --- end quote --- The only difference appears to be the {\string"Figures/Fluid mosaic model\string".jpg} part. I tried numerous other methods, involving ERT, making the figure eps, and placing it in the same directory as the lyx file. When I used the last two methods together, the latex code was identical to the example, but still nothing in the export!!! Quite frustrating! Any ideas? Thanks again, Lee. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: [Announce] LyX version 1.4.0
Jon Riding wrote: Stacia Hartleben wrote: On 3/15/06, Rich Shepard <[EMAIL PROTECTED]> wrote: On Wed, 15 Mar 2006, Paul Smith wrote: All the good ideas from the folks above, have been snipped. All the idea's you folks have are good (especially when they can be turned on and off as options), but have any of you entered these as enhancements you want in bugzilla so they don't get lost? http://bugzilla.lyx.org/enter_bug.cgi -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: FYI: Lyx recently added to Fedora Core 4 Extras
John Pye wrote: In case people hadn't noticed, Lyx 1.4 was recently added to the Fedora Core 4 Extras repository. So, if you are running on Fedora Core 4, you can easily update to the latest Lyx using 'yum update', provided you have your repositories set up correctly. Further info here: http://fedoraproject.org/wiki/Extras/UsingExtras Cheers JP You wouldn't happen to know how to 'pin' a yum/FC package at a particular rev would you? I dislike when my tools take major jumps in their interfaces, while I am in the middle of a project, like now. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: word-wrap and itemize
Jeremy C. Reed wrote: On Tue, 24 Jan 2006, Roy Schestowitz wrote: There was recently a thread about justification and hyphenation, but particularly about tendency of margins to be dishonoured at times [1]. There were various solutions proposed. Insertion of a linebreak is, as you already know, undesirable. This may break as the output type (or compiliation process) changes. Thanks for the link. I had read those threads, but no answer there. An example of my problem is the words (with the punctuation): (LAN_INET) and (LAN_DMZ) I don't want to hyphenate them. I don't want to manually add a \newline before them. I just want the latex magic to automatically move it to the next line and justify the line as needed. This also happens in regular Standard text too, where I have "(TTL)", "(MSS)", MIB-like variables like net.inet.ip.porthilast and net.inet.ip.portrange.hifirst, filenames (with backslashes) like /etc/authpf/authpf.allow, and words that start with a dollar sign (like $foo). These are all same font. I have many, many lines like this. And adding a \newline or forcing hyphenation causes maintenance problems (as you mention) since I am updating content and later may change paper size. Would building up a "lexikon.tex" of words/abbreviations you use be more trouble than you are looking for? Juergen suggested[1] that it could be done to keep some words from being broken up or to have them broken correctly, And G. Milde suggested[2] that \sloppy might reduce hyphenation for small words. Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal with them. And of course there is the ever helpful TeXnik site's[4] advice. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html [2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html [3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html [4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen Good luck.
Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)
Marc D. wrote: The problem is that although I can see the included images in the LyX screen, I cannot see the images when I select View --> PDF (pdflatex). I can't even get Preview to show anything if I pick the other two options (dvidpdm and 'ps to pdf'). With pdflatex, the PDF comes up, the text is there, but the images are not. The space they should occupy is just blank. Completely blank or it has the name of the image file where the image should be? I get the same behaviour with TeXshop after I convert my LyX to laTeX, so I'm guessing I have something misconfigured somewhere, but WHAT??? try going (using the QT interface) to Layout->Document->Layout (AKA Document Style) and make sure that the "Options:" line does not contain the word draft. Also does it work when you look at DVI instead of PDF? Good luck.
Re: How to verify links on wiki.lyx? (Was: ...)
[EMAIL PROTECTED] wrote: On Thu, 15 Dec 2005, Georg Baum wrote: [EMAIL PROTECTED] wrote: On Wed, 14 Dec 2005, Angus Leeming wrote: http://validator.w3.org/checklink/ Hmm... I have to disable 'robots.txt', and it seems awfully slow. Thanks anyway, I'll keep it in mind while looking at other options. You can make exceptions in robots.txt for exactly this client. See http://validator.w3.org/docs/checklink.html Thanks for the info, I've modified robots.txt now and I'm looking into it further (trying to see if I can validate the HTML while I'm at it). /Christian Did you notice the install it locally link? http://validator.w3.org/docs/checklink.html#install IIF you have all the prereqs installed you could mod the checker to take out the 1 second wait it has and run that instead of the one they have online.
Re: LyX wiki has been upgraded - some links not translated correctly.
Todd Denniston wrote: Christian, while looking at the changes coming up fro 1.4 http://wiki.lyx.org/LyX/NewInLyX14 I found that all of the links to pictures from that page, that I tried http://wiki.lyx.org/uploads/LyX/NewInLyX14/default-toolbars.png%20%20%20uploads:/LyX/NewInLyX14/small-default-toolbars.png http://wiki.lyx.org/uploads/LyX/NewInLyX14/toolbar-menu.png%20%20%20uploads:/LyX/NewInLyX14/small-toolbar-menu.png http://wiki.lyx.org/uploads/LyX/NewInLyX14/charstyle-minibuffer.png%20%20%20uploads:/LyX/NewInLyX14/small-charstyle-minibuffer.png failed to load and gave a 404. After a bit of mod and save I found that the lines should be changed from [[uploads:/LyX/NewInLyX14/default-toolbars.png \ uploads:/LyX/NewInLyX14/small-default-toolbars.png]] to [[uploads:/LyX/NewInLyX14/small-default-toolbars.png -> \ uploads:/LyX/NewInLyX14/default-toolbars.png ]] If you have an easy way to do it, a search for \[\[uploads:*g \\\n*uploads:*g\]\] on the whole wiki might be in order. Oh, and it would be a good idea for someone to make sure all the links work correctly now... I caught a few of my own mistakes as I was making them, but I have spent more time making the mods already than I should have.
Re: LyX wiki has been upgraded - some links not translated correctly.
[EMAIL PROTECTED] wrote: Hi This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the wiki to the new wiki engine. I've eventually realised that I'm unable to guarantee a perfectly smooth transition, so instead I'll just plunge in and deal with any problems as they occur and get the thing over with... Having said that, I hope the ride won't be too bad, and I'll monitor the lists for issuses related to the wiki, in addition to incrementally fixing any remaining issues. Christian, while looking at the changes coming up fro 1.4 http://wiki.lyx.org/LyX/NewInLyX14 I found that all of the links to pictures from that page, that I tried http://wiki.lyx.org/uploads/LyX/NewInLyX14/default-toolbars.png%20%20%20uploads:/LyX/NewInLyX14/small-default-toolbars.png http://wiki.lyx.org/uploads/LyX/NewInLyX14/toolbar-menu.png%20%20%20uploads:/LyX/NewInLyX14/small-toolbar-menu.png http://wiki.lyx.org/uploads/LyX/NewInLyX14/charstyle-minibuffer.png%20%20%20uploads:/LyX/NewInLyX14/small-charstyle-minibuffer.png failed to load and gave a 404. After a bit of mod and save I found that the lines should be changed from [[uploads:/LyX/NewInLyX14/default-toolbars.png \ uploads:/LyX/NewInLyX14/small-default-toolbars.png]] to [[uploads:/LyX/NewInLyX14/small-default-toolbars.png -> \ uploads:/LyX/NewInLyX14/default-toolbars.png ]] If you have an easy way to do it, a search for \[\[uploads:*g \\\n*uploads:*g\]\] on the whole wiki might be in order.
Re: helvetica fonts on screen...
Alexandru Cabuz wrote: Hello, I am using Lyx 1.3.6 on a fresh Debian testing install. My favorite screen fonts are Helvetica, and I have them because I can see them in /usr/X11R6/lib/X11/fonts/100dpi and in /usr/X11R6/lib/X11/fonts/75dpi. These directories appear in /etc/fonts/fonts.conf /usr/share/fonts /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ~/.fonts I have run fc-cache -f and restarted X and everything I could think of. But Lyx does not seem to see them. Neither does Konsole for that matter. The above places should, I think, make your X programs capable of using the fonts on the screen, but I think the font needs to be somewhere under /usr/share/texmf/fonts/ for TeX to find it. What is making you think Lyx does not see them? I don't know about Konsole, but one thing to understand about LyX (1.3.X anyway) is that setting Helvetica sets the san-serif font only, not the "normal" font, you have to make your text san-serif for Helvetica to take over. Just something that bit me. Please help. Arial hurts my eyes.
Re: Lyx - MLA format
Alex Radu wrote: > > Hi, > > I recently had to do an English assignment and my professor asked for > the MLA format. Despite my search efforts, I could not find an MLA > document layout in Lyx and had to use OOo 2.0 to do the assignment. > > I currently use Windows with Miktex and Lyx. I would really appreciate > if someone could walk me through the process of getting Lyx to use the > MLA format. > > Thanks in advance, > Alex I am have not used MLA on anything but I know it has been been recently discussed on the list, perhaps if you start with these links you can get towards your goal (part of your problem searching was that what you call format, is referred to as a style in the LaTeX world:) "Re: MLA style for lyx" http://article.gmane.org/gmane.editors.lyx.general/25494 "Re: Using mla.sty in Lyx" http://www.mail-archive.com/lyx-users@lists.lyx.org/msg41157.html "Re: More document styles" http://www.mail-archive.com/lyx-users@lists.lyx.org/msg01356.html Search results for '"MLA style "' http://www.mail-archive.com/cgi-bin/htsearch?config=lyx-users_lists_lyx_org&restrict=&exclude=&words=%22MLA+style+%22 Hope this is helpful. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Custom titlepage
"Sanders, Maarten (M.J.L.)" wrote: > > Hi, > > Is anyone aware of any samples of lyx and a customized titlepage? E.g. a > full page image with text printed over it. > > met vriendelijke groet / kind regards, > > Maarten Sanders It is not straight LyX, but I think you might be able to use a bit of LaTeX to accomplish the feat. see http://tug.org/TeXnik/mainFAQ.cgi?file=titlepage/background Also when I was looking at the The Latex Companion, 2nd ed., in chapter 10 (IIRC) they talked about a fancy* having a way that looked easier than the above link. I would check the book but I left it at home. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: do we have something like #ifdef from C in LyX? (multipart documentswith common macros)
Todd Denniston wrote: > > David Soukal wrote: > > > > Hello guys, > > > > I'm sorry to bother you with something that's must have been answered > > many times, but I can't find a quick answer in the documentation. > > > > > The chapters compile fine, however, the master won't compile because of > > multiple definition of the same macros. > > > > So, I'm looking for conditional compilation... something from C header > > files.. > > > perhaps the ifthen package would do what you need: > > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg40105.html > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg41939.html > > perhaps in your macro "include" file you could have something like: > \usepackage{ifthen} > \newboolean{macrosAlreadyIncluded} > > % assuming newboolean initially sets the > % variable to false, but only if > % variable not already defined. Just happend across: http://www.ifi.uio.no/it/latex-links/ifthen.pdf which suggests the \newboolean above should be instead \provideboolean. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: do we have something like #ifdef from C in LyX? (multipart documentswith common macros)
David Soukal wrote: > > Hello guys, > > I'm sorry to bother you with something that's must have been answered > many times, but I can't find a quick answer in the documentation. > > The chapters compile fine, however, the master won't compile because of > multiple definition of the same macros. > > So, I'm looking for conditional compilation... something from C header > files.. > perhaps the ifthen package would do what you need: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg40105.html http://www.mail-archive.com/lyx-users@lists.lyx.org/msg41939.html perhaps in your macro "include" file you could have something like: \usepackage{ifthen} \newboolean{macrosAlreadyIncluded} % assuming newboolean initially sets the % variable to false, but only if % variable not already defined. \ifthenelse{\boolean{macrosAlreadyIncluded}} { % defined true, so already in } { % not defined, so not yet in \setboolean{macrosAlreadyIncluded}{true} % your macros } % note Todd Probably offended the LaTeX gods by % putting the true/false output on lines that have % LF/CRLF between them and the ifthenelse, % but I think you might get the idea. UNTESTED. BTW if it works, or has problems, let me/us know. I was thinking of using this on a project I have in the near future. Thanks. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
[OT Mail List header rewriting ] Re: Lyx command line question
Paul Smith wrote: > > On 10/19/05, Paul <[EMAIL PROTECTED]> wrote: > > >>> PS: Please always reply to the list > > > > > > I second that. I noticed a tendency to reply off-list. This leaves > > > gaps in the mailing list archives and puts off a subset of list > > > subscribers. css-discuss, on the contrary, adopted some different > > > habits. The main question to ask is "would the group or the World > > > Wide Web benefit from this response or is its scope too narrow?". For > > > the latter, in the case of Web site critique, there needn't be a > > > public message available as it is site-specific or refers to browser > > > bugs that are soon to vanish. > > > > Maybe it's just my mail client, but this list seems to default for a > > reply to the sender instead of to the list, unlike all the other lists > > I've ever been on. I accidently sent a reply intended for the list to > > the sender and didn't realise until a few days later. So maybe other > > people have the same problem. > > I agree, Paul. The reply address should be occupied by the list's address. > > Paul I could agree ... if I had not seen the problems it can cause. example: the MUSCLE list (smart cards) http://lists.drizzle.com/mailman/listinfo/muscle First: to me this breaks the rule of least surprise. that is: if I only hit reply, not reply all, I expect to be sending only to the person who sent the originating email. The second problem: because of the way it rewrites the headers, if I hit `reply to all` it still only includes the mailing list in the to lines, even though I wanted it to give me the person's address so I could cheaply take it off the mailing list. If someone really decides to make the change, please set the rewriter to put both the originator and the mailing list on the reply to line. Thanks for the discussion... -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: pagebreaks and labeling
Jose Capco wrote: > > In the amsmath package, when one starts a new section > environment a pagebreak is not accompanied. This is > sometimes awkward especially in cases when you for > instance have just ended your old section that is > almost in the end of the page (you get a one line > section title that resides in the end of the page > which looks really bad). > Although I Generally like to force new major sections to start on a new page too, you can be a little gentler and ask LaTeX not to make widows[1] or orphans[2] most of the time anyway. The LaTeX way is to make it a penalty to create such a line, using \clubpenalty and \widowpenalty [3]. I always put in my preamble: \widowpenalty=1 \clubpenalty=1 \raggedbottom (don't remember why, but the raggedbottom seemed to help the situation I had.) [1] http://en.wikipedia.org/wiki/Widow_%28typesetting%29 [2] http://en.wikipedia.org/wiki/Orphan_(typesetting) [3] http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/widows Good luck. > --- "Martin A. Hansen" <[EMAIL PROTECTED]> > wrote: > > > IMHO one should avoid forced page breaks. latex goes > > to great lengths to do > > page breaking in a typographically pleasing way, and > > i feel that a key-combo > > would only encourage forced page breaks. > > > > perhaps the need for a forced page break is better > > solved in a different > > way? > > > > > > __ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: \line and justification
"Christopher M. Jones" wrote: > > What would really be great is if I had a command > to replace typed text with a line of the same length. e.g. > \hspace{\sizeof{theword}}. This command, of course, does not work. But > could there be something like it? normally \hfill{} would do it for me, but when I try to underbar it, it just compresses back up to no space... most confusing. but if I put in protected blanks (the same number of them as was letters in the word) the underbar works correctly and looks ok. see the second "paragraph" in the attachment. Painful but works. good luck. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \layout Standard What would really be \hfill great is if I had a command to replace typed text \hfill with a line of the same \hfill length. e.g. \backslash hspace{ \backslash sizeof{theword}}. This \hfill command, of course, \hfill doe \bar under s \hfill not \hfill w \bar default ork. \newline But \hfill could there be \hfill something \hfill like it? \layout Standard What would really be \bar under \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \bar default is if I had a \bar under \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \bar default to replace typed \bar under \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \bar default with a line of the same length. e.g. \backslash hspace{ \backslash sizeof{theword}}. This \bar under \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \bar default , of course, does not \bar under \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \bar default . But could there be \bar under \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \bar default like it? \layout Standard What would really be great is if I had a command to replace typed text with a line of the same length. e.g. \backslash hspace{ \backslash sizeof{theword}}. This command, of course, does not work. But could there be something like it? \the_end
Re: \line and justification
How about this insert an ERT \hspace*{5cm} select the inserted ERT click Layout -> Character... -> Misc: select Underbar click OK. you could replace the ERT with Protected Blanks as well if you prefer. if you just want a line that goes all the way across the page, say under the text for a signature, you could put the text on a line and then do click Layout -> Paragraph... select the Line radio button in the Below pane. one may look better than the other for your purpose. "Christopher M. Jones" wrote: > > No, I am using \line because I want an horizontal line in the place of > missing words. It's what a Word user would repeatedly hit the _ to do. > \hspace just leaves an empty space, but has the same problem. Here's a > sample output so you can see the ugliness that I want to fix. > > On Wed, 2005-09-28 at 09:14 +0200, Georg Baum wrote: > > Christopher M. Jones wrote: > > > > > Hi, all. This is a reiteration of my previous question. Someone > > > responded off-list that I should try \newline. Problem with this is that > > > what I really want is -inline- 'blanks' that don't break justification. > > > If I'm asking this question in the wrong place, then please, someone let > > > me know where I can find the answer. > > > > Does \vspace*{1cm} in ERT do what you want? Or do you want an empty space in > > the middle of a text row? Then try \hspace*{5cm}. > > > > > > Georg > > > > > > > Name: > 16th-Century-1-fill-in-the-blanks.pdf >16th-Century-1-fill-in-the-blanks.pdfType: Portable Document Format > (application/pdf) > Encoding: base64 -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: graphics in lyx
"Martin A. Hansen" wrote: > > these things strikes me when working with lyx and the beamer class and > graphics in particular. > > 3) the scale image selection is confusing. if i select the height and width > in some unit, and check the "Maintain aspect ratio" - what is the limiting > axis? > > 4) in particular when working with beamer - i waste a lot of time resizing > images to fit the paper. it is quite obvious that i mean the image to fit > the slide and not go off the borders. perhaps lyx should help in doing that? 4 is fairly easy, for me, in the output box of the graphics window I click the selection box next to the width input, and pick `col%` and set the width to 100% and leave height blank (or 0). I suspect that "Maintain aspect ratio"'s limiting axis may depend on the other selections, like say you don't know which will be hit first `100 col%` or `100 pheight%` for your image, so set both and when one is hit and the "Maintain aspect ratio" check is done it stops expanding. But this is only a suspicion / guess. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Subject: vertical alignment (center text vertically)
Robert Neumann wrote: > > Precedence: fm-user > > >\vspace*{\fill} > > >before and after you text and it will align it centrally. > > it works so far that the bottom of the first line is at the center of the > page but the text itself is on the lower half of the page. > right now I'm experimenting with a parbox... > > Robert Also check out Juergen Spitzmueller's email (as it is easier to see what is going on if you use LyX's builtin), but if you want it centered verticaly you need to put the \vspace*{\fill} both above AND BELOW the thing(s) you want to center. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Using mla.sty in Lyx
Wil Hunt wrote: > > Hey all, > > I'm trying to use the MLA style downloaded from CTAN to get the MLA > stylings. There are a couple of issues I've found with it, and I was > hoping someone might have some ideas for how to deal with it. > > Both issues involve the Works Cited page. First, I need to have the > Works Cited section start on a new page, and second I need it to be > titled "Works Cited" instead of "References." > > Any insights would be appreciated. > > Wil just before the "BibTeX Generated Refrences" select Layout->Paragraph-> Above Page break WARNING the above sequence is from the XForms interface QT might be some what different. in an ERT, just before the "BibTeX Generated Refrences", insert \renewcommand{\refname}{Works Cited} (works for me) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: newbie question: difficulty adding classes to OSX
Aaron Falk wrote: > > I'm trying to use LaTeX and LyX for the first time and am having trouble > adding the IEEEconf class (needed to generate a conference paper) to my OSX > configuration. I can see that Latex can find it by using: > > nak:~ falk$ kpsewhich tex IEEEconf.cls > /sw/share/texmf-dist/tex/latex/ieeeconf/IEEEconf.cls > nak:~ falk$ > > Also, if I select View:Tex Information:Latex classes, I see it as well. > But it does not show up on Help:LaTeX Configuration or > Layout:Document:Document class. > > I tried running lyx -dbg and searching the output but can't find anything > helpful. > > Any ideas? > > --aaron WAG: you installed IEEEconf.cls after you installed LyX? I think you may need to Edit:Reconfigure. in Help:LaTeX Configuration, there is instruction just before the first section indicating you may need to do the reconfig, and how to do it. But because I am not sure, you may also want to backup your ~/.lyx/ directory first. Good luck. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: View problem with TOC and cross referencing
Roger McMurtrie wrote: > > On Thu, 7 Jul 2005 12:22 am, Todd Denniston wrote: > > Roger McMurtrie wrote: > > > I don't have a \fontscheme in lyx, nor can I see it in the LaTeX log file > > > (View->LaTeX Logfile). > > > > It would actually be in the .lyx file and you would need to use > > less||vi||cat||grep||notepad to see it, it is a LyX setting from a dialog. > > the "xset: bad font path element ..." seems rather un-helpful except that > > it tells you there is a problem with fonts, I was trying to figure out > > which font it did not like. I am not sure it is related to the problem, but > > the programmer in me wants all warnings cleaned up to be sure they are > > unrelated to the problem :). > > > > I absolutely agree with "programmer in me". So many of the messages in the > LaTeX environment are pretty unhelpfull. > I can't find a .lyx file anywhere. > There is a .lyx directory in my home directory that contains a number of > sub-directories and other files, such as preferences, but I can't find > anything with \fontscheme in it. > However, I did a -- grep fontscheme ./* -- which produced nothing in my home > directory but, in my working directory, produced: > > ./thesis5.lyx:\fontscheme default > > This is not a structure I recognize. > Oh, maybe you meant .lyx, I was looking for some sort of hidden > control file called ".lyx"? Ok, :) :) :) I meant the filename.lyx file, which in your case is thesis5.lyx. what the above tells me is that you are using the default fonts. It seems strange that would give you trouble though, it should come with your TeX install. If you have not already done it, doing an update (YUM/APT) from your OS vender (Mandrake) might get any files that were missed in the original distro/install if they have updated TeX. I assume you even had the trouble when you loaded up newfile1.lyx that I sent on the 6th. I am generally at a loss as to why your system is not doing the multiple runs thing to gen the crossref information with out manual intervention. I was hoping that some of the information you sent would trigger me or a guru to know what is wrong, but apparently it is not working, sorry. > > I tried less||vi||cat||grep||notepad on a lyx file and, sure enough, I got: > > #LyX 1.3 created this file. For more info see http://www.lyx.org/ > \lyxformat 221 > \textclass article > > followed by the main content. > > With the help of Lyx Help->Customization Section 5.4 telling me about > defaults.lyx, I located defaults.lyx in my home/.lyx/templates directory but > can't see how to set up the fontscheme. Unrelated to what I was asking. > From Help->Customization Section 5.4, maybe I should set Document templates: > in the Lyx preferences dialogue to my home/.lyx/templates directory instead > of its current setting which is /usr/local/share/lyx/templates/ ?? I'm a bit > confused! I would not mess with that. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Conditional, Repeating Text Within \multido Loop
Rich Shepard wrote: > >I would like to learn how to use LaTeX's counters to determine when a page > has ended and how to then print both headings on top of the new page. A page > number is not necessary as the rows are numbered. With the header on the > first page, 29 rows are printed. Subsequent pages -- so far without column > labels -- contain 34 rows. > >Is the strategy to increment a counter after the third \multido, then > re-run the column header code after each 29 rows have been printed? I was thinking you might be able to do some thing like \newcounter{RScurpage} \setcounter{RScurpage}{\value{page}} %then (I don't know the LaTeX for this, so its a mix C and LaTeX) if ( \value{RScurpage} < \value{page}) { print headers again \setcounter{RScurpage}{\value{page}} } i.e., every time page increments you know it is time to print a new header. I got the commands I used above from the following two pages: http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/node69.html http://www.tex.ac.uk/cgi-bin/texfaq2html?label=addtoreset Hope it helps. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Lyx-1.3.5 on Fedora Core 1 install questions
Tom Poe wrote: > > Is this the list of software needed for Lyx? > > # ls > libforms-1.0-release.i386.rpmlyx-1.3.5.tar.gz > xforms.spec > libforms-devel-1.0-release.i386.rpm xforms-1.0.patch > lyx-1.3.5xforms-1.0-release.src.rpm > - - - > ]# ls > libforms-1.0-release.i386.rpmlyx-1.3.5.tar.gz > xforms.spec > libforms-devel-1.0-release.i386.rpm xforms-1.0.patch > lyx-1.3.5xforms-1.0-release.src.rpm > [EMAIL PROTECTED] Lyxdownload]# locate libforms > [EMAIL PROTECTED] Lyxdownload]# locate libxforms you probably need to run updatedb (as root) to update the locate database, because it obviously should have found the files in Lyxdownload. > [EMAIL PROTECTED] Lyxdownload]# rpm -qa | grep libforms > libforms-1.0-release > libforms-devel-1.0-release > I'm not sure what the next step is, to get ./configure to work. Any > help appreciated. > Tom If you tried the configure after the rpm -qa showed the rpms in place... not sure. I always installed xforms into /opt/xforms-version and pointed the configure to that directory. if you want a possibly easier way out (and unlike me you're not stuck on XForms), lyx can be compiled with qt by passing options to configure. ./configure --with-frontend=qt -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: View problem with TOC and cross referencing
Roger McMurtrie wrote: > > I don't have a \fontscheme in lyx, nor can I see it in the LaTeX log file > (View->LaTeX Logfile). It would actually be in the .lyx file and you would need to use less||vi||cat||grep||notepad to see it, it is a LyX setting from a dialog. the "xset: bad font path element ..." seems rather un-helpful except that it tells you there is a problem with fonts, I was trying to figure out which font it did not like. I am not sure it is related to the problem, but the programmer in me wants all warnings cleaned up to be sure they are unrelated to the problem :). > The LaTeX logfile contains Warnings that each citation is undefined. > > When I View->DVI a second time, TOC and citations work, the debug output is > the same as for the first run (still no "Run #"s or "Scanning aux file: > #.aux") but, of course, the LaTeX logfile doesn't have any citation warnings. > The second and further run are using the data cached temporarily from the first run. Still seems strange that LyX does not automatically handle it. when I view->DVI on the attached simple lyx file, I get Run #1 and Run #2 and the TOC and refs are correct. also attached is the log of the run, compressed because its ~9k. BTW, if someone feels these attached files would be useful to put these files on the WIKI, you have my permission. > The problem returns if I close the file (without closing lyx) then reopen it. > > Roger > > On Thu, 30 Jun 2005 11:26 pm, Todd Denniston wrote: > > So you can see what a working run looks like, here is my debug output > > (trimmed down a bit), for a file with a TOC and cross refs. Also note the > > 'Run #'s, I don't see them in your log: > > > > Setting debug level to 128 > > Debugging `latex' (LaTeX generation/execution) > > makeLaTeXFile... > > Validating buffer... > > Color enabled. Font: Bold, Smallest, red, Language: English > > Color enabled. Font: Bold, Smallest, red, Underline On, Language: English > > Color enabled. Font: Bold, Smallest, red, Language: English > > LyX needs the following commands when LaTeXing: > > * Packages:\usepackage{color} > > Roger McMurtrie wrote: > > > $ lyx -dbg 128 > > > Setting debug level to 128 > > > Debugging `latex' (LaTeX generation/execution) > > > > > > On opening file: > > > > > > xset: bad font path element (#59), possible causes are: > > > Directory does not exist or has wrong permissions > > > Directory missing fonts.dir > > > Incorrect font server address or syntax > > > Unable to add font path. > > > > > > On View->DVI: > > > > > > makeLaTeXFile... > > > Validating buffer... > > > LyX needs the following commands when LaTeXing: > > > * Packages:\usepackage{amsmath} > > > \usepackage{setspace} > > > \onehalfspacing > > > \usepackage{amssymb} -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard some text on a page \begin_inset LatexCommand \label{some-text-on} \end_inset \layout Standard \pagebreak_top \begin_inset LatexCommand \tableofcontents{} \end_inset \layout Section \pagebreak_top a section \begin_inset LatexCommand \label{sec:a-section} \end_inset \layout Standard a cross ref to some text on page \begin_inset LatexCommand \pageref{some-text-on} \end_inset \layout Subsection \pagebreak_top a subsection \layout Standard a cross ref to section \begin_inset LatexCommand \ref{sec:a-section} \end_inset . \the_end newfile1.lyxdbglog.tgz Description: Binary data
Re: Two Adjacent Minipages
Todd Denniston wrote: > ARG, reread your own message and find a very bad thinko. > Guessing from the difference [1] in the LaTeX export from one of my > documents and the above LaTeX, you did not set the minipages to be STRICTLY - less than 50% of the column width. + total less than 100% of the column width. i.e. 45%+50%<100% > I had to do that to put a graphic and some text on the same vertical space > in one of my documents, one minipage is 45% and the other is 50% of the > column width. With the XForms GUI I right click the minipage to get to the > setting. > > [1] I see \begin{minipage}[c]{0.45\columnwidth} in my LaTeX but do not in > yours. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Two Adjacent Minipages
Rich Shepard wrote: > > On Tue, 5 Jul 2005, Rich Shepard wrote: > > > In the attached code, > >It would help if the code was actually attached, no? > > Rich >Name: omr-form.tex >omr-form.texType: TeX Document (APPLICATION/x-tex) >Encoding: BASE64 Guessing from the difference [1] in the LaTeX export from one of my documents and the above LaTeX, you did not set the minipages to be STRICTLY less than 50% of the column width. I had to do that to put a graphic and some text on the same vertical space in one of my documents, one minipage is 45% and the other is 50% of the column width. With the XForms GUI I right click the minipage to get to the setting. [1] I see \begin{minipage}[c]{0.45\columnwidth} in my LaTeX but do not in yours. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: NSF proposals
"Martin Henry H. Stevens" wrote: > > I don't understand. I have already built one huge .bib file that > contains ALL of my references for ALL of my research. I link to that > with Insert->Lists & TOC->BibTeX Reference, and then LyX very nicely > generates a formatted References Cited section. My problem is that I > need that section numbered from 1 - n, with "References Cited, p. #". > I tried > > \cfoot{References Cited - \thepage-15} > Ah, the dash is literaly put in, not a math thing. What you want, is on the page you want to restart the page counting. insert an ERT, on the page you want to be numbered 1, and in the ERT put: \setcounter{page}{1} > but it didn't subtract 15 from the document page number Well, I > tried! > > Thoughts? > Hank > > On Jul 1, 2005, at 4:00 PM, Todd Denniston wrote: > > > Todd Denniston wrote: > >> > >> "Martin Henry H. Stevens" wrote: > >>> > > > >>> I think I need the .bib file, a separate file that contains the > >>> (formatted) references cited in the document, and which has it's own > >>> page numbering > >>> Is that better? > > > > Ack... on re-reading your question, I see a different light. > > if you make a separate LyX (not bib) file, you will definitely need to > > use > > samar's trick of putting in ERT \: > > \nocite{*} > > > > ... after having built the .bib and pulled it in to the LyX file with > > Insert->Lists & TOC->BibTeX Reference . > > > > -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: NSF proposals
Todd Denniston wrote: > > "Martin Henry H. Stevens" wrote: > > > > I think I need the .bib file, a separate file that contains the > > (formatted) references cited in the document, and which has it's own > > page numbering > > Is that better? Ack... on re-reading your question, I see a different light. if you make a separate LyX (not bib) file, you will definitely need to use samar's trick of putting in ERT \: \nocite{*} ... after having built the .bib and pulled it in to the LyX file with Insert->Lists & TOC->BibTeX Reference . -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: NSF proposals
"Martin Henry H. Stevens" wrote: > > Thanks! See clarification below. > On Jul 1, 2005, at 3:13 PM, Todd Denniston wrote: > > > "Martin Henry H. Stevens" wrote: > >> 2. I cannot separate my references cited (using BibTeX) from the > >> document, so I have to open it in Acrobat and delete, the body of the > >> proposal, but then I am stuck with screwy page numbers. > >> > > > > > > Please explain, do you mean you can't get the bibs in a .bib file > > which is > > separate from the document, or you need them to be printed on a > > separate > > page, or you need every citation in your bib printed even if you do not > > specifically reference it in your document? > I think I need the .bib file, a separate file that contains the > (formatted) references cited in the document, and which has it's own > page numbering > Is that better? my first suggestion here is to find the files btxdoc.dvi & btxhak.dvi, on my system the are in /usr/share/texmf/doc/bibtex/base/. you should at least read btxdoc.dvi. Assuming you are on Unix you may find like I did that xemacs/emacs bibtex-mode is very useful while creating your bibs. You may find it helpful to go to the lyx tutorial (Help->Tutorial) and read sections 3.6 and 5.2.5 ... not sure if you have to follow the whole tutorial up to that point for it to be useful though. (Help->Extended Features) -> (Navigate->Supplemental tools->Preping a bib...)seems SLIGHTLY more useful. The following may help, there are example bib files and list of other links. http://wiki.lyx.org/BibTeX/BibTeX Sorry, if there is nothing specific here, I get the impression you need to start with some of the fundamentals, and btxdoc.dvi & Help->Extended Features are not that long. Note: Help->Extended Features indicates "Then, at the very end of your document, select Insert->Lists & TOC->BibTeX Reference." but you may do that where ever in your document you want to see your references listed, but in only one place in the document). -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: NSF proposals
"Martin Henry H. Stevens" wrote: > > Hi Folks, > > I am trying to submit an NSF proposal via Fastlane. This is my first > attempt using LyX. I am about to give up. The deadline is a week away, > and I have the following problems: > > 1. I need to add descriptive page numbers (e.g., Project Description > p.1 or C-1). (Note I use the XForms GUI, you may have to take a slightly different path to the same items in the menus.) Assuming you go to layout->document and set "Page style" to fancy. If you want the same page numbering on all the pages, go to layout->Preamble [XForms GUI] or layout->document->Preamble [QT GUI] and put the following in your preamble: \cfoot{C-\thepage} if you want a different page numbering in different sections, then on the first page of the section insert an "ERT", i.e., TeX box (click the button with the Red TeX on the GUI) and in that box put: \cfoot{My Project section Description-\thepage} I don't remember how to get rid of the line fancy header puts at the top of the page, but I had to add one at the bottom, IIRC the following added to my preamble did it: \renewcommand{\footrulewidth}{0.4pt} > 2. I cannot separate my references cited (using BibTeX) from the > document, so I have to open it in Acrobat and delete, the body of the > proposal, but then I am stuck with screwy page numbers. > Please explain, do you mean you can't get the bibs in a .bib file which is separate from the document, or you need them to be printed on a separate page, or you need every citation in your bib printed even if you do not specifically reference it in your document? -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: View problem with TOC and cross referencing
Roger McMurtrie wrote: > > Geoffrey Lloyd wrote: > > When you view either dvi or pdf lyx runs latex then bibtex then latex twice > > more so this really shouldn't be the route of the problem. > > > > Geoff > > This problem has only recently appeared, View->PDF and View->DVI used to work > fine with one pass. would running LyX with "LaTeX generation/execution" debugging turned on get Roger any further along? That is run LyX with the following command: `lyx -dbg 128` -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Still have problems with version control
Richard Brown wrote: > > Thanks Elias! That worked, and got me a little further on. Now I have a > completely different error message, which reads > c: The TZ environment variable is not set; please set it to yout timezone > ci aborted > > I get the same error even if I go to a DOS window, and do SET TZ=BST001 > for my time zone, which is UCT+1. Should I be setting this variable some > other way? > Trying out a few TZ's on my linux box... $export TZ=GMT $date Tue Jun 21 14:07:41 GMT 2005 $ export TZ=GMT+1 $date Tue Jun 21 13:07:49 GMT 2005 $export TZ=UTC+1 $date Tue Jun 21 13:07:58 UTC 2005 $export TZ=UTC $date Tue Jun 21 14:08:07 UTC 2005 $export TZ=BST001 $date Tue Jun 21 13:08:13 BST 2005 so all the TZs above should be valid, however your MS box, or rcs binary, may not think so. I would suggest `SET TZ=GMT` and/or `SET TZ=UTC` and try the rcs command, if one of those works then try adding 1 to it. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: My versions won't control
Nicolás wrote: > > > As a sidenote: RCS has been (sort of) superseded by CVS a dozen years > > ago which in turn is in the process of being superseded by SVN as far > > as I can tell. Things might be bearable on a single-user system, though. > > > > Andre' > > > > Yes, but... can CVS or SVN be used with LyX. As far as I know there is > no way to specify the version control system LyX should use, and, as it > comes out-of-the-box, LyX calls rcs. In short, if you want to use CVS or > SVN you have to modify the code (If I am not wrong) There may be no way in LyX to specify which one LyX uses, but as I just confirmed with a LyX document I have under CVS, LyX knows how to interface with CVS. I believe (have not looked in the LyX code) it makes the choice of which VCS to use based on the "meta data" directory available, i.e., is there an RCS directory or a CVS directory. Now as I have never used SVN, or looked in the LyX code, I don't know if SVN is supported. Also if you want, it is easy to migrate an RCS controlled file to CVS if it starts out as a stand alone thing and migrates to a larger project by a) release the locks in the RCS,v file, and b) copy the ,v file into the CVS repository directory. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: adding rows/cols on the edges to tables
Vaibhav Srivastava wrote: > > Adding rows / cols near the edge of an existing table gives a small > space between the present table and the added row/col. Is there a way to > avoid it. It is kinda annoying. > Using the XForms GUI on linux, so this might be slightly different if you are using the QT GUI. Assuming we are adding a column at the right edge of the current table. Right click in a cell on the right edge of the table, the "Edit table settings" dialog comes up. Click "Append Column", you now have another column but with a space between the columns. Still in "Edit table settings" dialog click "Column/Row", Toggle the check box marked "Right" in the "Borders" frame, this removes the extra border on the right. If you are done click the Close on "Edit table settings". Just modify which check box you want to clear if you are adding Column/Rows in places other than the right edge. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
[slightly OT response] to Re: Strange Bib Behaviour
Meri Williams wrote: > > Hi > > I'm getting some really random bibliography behaviour. > > Sometime this evening when I was editing the > document, the citations changed to numbers and so did the > Bibliography!! > > I am completely confused. I haven't knowingly changed anything -- both > the settings I mentioned above are still the same. The only thing I > can think I did was I pasted in some content from a previous draft > (but the bib there was formatted in the same way). Meri, I know it may be a bit too late for you now, but I have found that by keeping my lyx files in RCS/CVS/some SCM system, if something goes a little strange it makes figuring out what a lot easier. LyX makes doing so fairly easy on a unix system with RCS installed, just pick file->'version control'-> the current top option and enter a comment if it requests one. Plus if all else fails (a really rare event) you can drop back to the last working checkin. I find this most valuable when I am playing about with concepts I don't yet understand. You may even want to start now if you are not already using it, so that as you experiment to figure out what is wrong, you can have the confidence of being able to get back to a known (albeit broken) state. I would also check to see if the editor/bib system you are using also can version control your bib file too, or do it by hand calling RCS's `ci -l` command. good luck. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Two bibliographies
Matej Cepl wrote: > > fuchst wrote: > > Does any one know whether this can be done and could point me in the right > > directions? > > http://www.ctan.org/tex-archive/help/Catalogue/bytopic.html#bibmulti > > Matìj Matìj, As I was also interested, in the multiple bib capability, I went to look at the link you sent. For some reason it returns no data at all (is CTAN having a problem?). I also did not find a "bibmulti" listed in the Alpha[1] Catalogue, nor through the CTAN search, even google finds no related hits. Is it like most good things I hear about ... taken off the market? :} [1] http://www.ctan.org/tex-archive/help/Catalogue/alpha.html Thanks for the help. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Custom 1st Page ?
Kris Kaido wrote: > > Hi, > > I'm using the 'report' document type to write classic documentation > for some project at work, bu I'd like to completely custom the first > page (logo, placement, etc.) which is for the moment with a black on > white text in the center ... > I can't find anything related to this on the web, is there somebody > who could help me on this ? Do you know an interesting website > discussing this and other tricks ? > Do I have to get deeply into pure LaTeX documentation for this ? > > Any help will be greatly appreciated, I had a similar problem making documents match our required format. Understanding the LaTeX documentation would probably have made this easier for me, but I came up with a kludge which worked. My kludge follows: The first part of the trick is do not use the "Author", "Title" or "Date" field types on the first page, and be careful if you want to use "Abstract" field type. These field types basically require themselves to be on a page by themselves, so no logos or other text. The second trick, if you want text side by side with you logo[1], is to use minipages. For one of my logos, the logo minipage has 25% of the column, and the text portion has 50% of the column. I don't know why but for them to be side by side the total has to be strictly less than 100% of the column width. Then set the font sizes and characteristics for your Author, Title, and Dates to match what you want. [1] especially if you want several lines of text side by side with your logo. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: include update??
Geoffrey Lloyd wrote: > > Sometimes when i alter the contents of a file that is included in the > master file the master doesnt seem to update. > > IE if i then generate a dvi or pdf, the changes havent been incorporated. > > The solution that works is to shut lyx and relaunch it. > > Is this a known bug??? > > Am I missing something obvious? > > Geoff I don't know if it is marked some where as a known bug, but I have a slightly easier work around: change the master file in a non intrusive manner, i.e., insert a space, then do the dvi|pdf update, then remove the change so you'll be ready for next update. At least that works for me. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: linebreaks inside table cells
Alexander Blüm wrote: > > hello again, > > I'd like to create a table with linebreaks inside the cells. > Inserting linebreaks doesn't help, neither does C-enter... > any ideas? > I have accomplished it by putting a minipage in the table cell and putting the text with line breaks in that. The result is not quite a pretty as the tables normally are, but it does work. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Creating HTML docs from LyX
Jane McKean wrote: > > Hi there: > > My question: Has anybody created a volume of documentation (300-500 > pages) in LyX and converted it to HTML? Do you have any recommendations, > suggestions, things to avoid? > I have used latex2html in the past: http://www.latex2html.org/ http://www.maths.mq.edu.au/~ross/#LaTeX2HTML I would export from lyx to latex, I had to apply the following patch, something about the IfFileExists was not liked when I used it. begin patch @@ -6,4 +6,3 @@ \usepackage[T1]{fontenc} -\IfFileExists{url.sty}{\usepackage{url}} - {\newcommand{\url}{\texttt}} +\usepackage{url} end patch #you have to do some latex to get the cross-references built latex filename.tex #then convert to html. I liked the following command line: latex2html -local_icons -split 5 -link 2 filename.tex My conversions where five documents on the order of 30 to 40 pages each but it seemed simple once I had setup a Makefile to take care of the patching(which you may not need), calling latex, and calling latex2html (it took me a little while to find the combination of latex2html options I liked). It should be possible to pass command line options so you can even have the lyx to LaTeX conversion done by the Makefile so you don't have to do any GUI stuff ... I just never did that myself. .. Another tool I have seen used is texi2html for the CVS manual https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs.html https://texi2html.cvshome.org/ however the manual is in tex info format I think...not really sure what the diff is between that and TeX. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: subsubsubparagraph...
> On Sun, Mar 20, 2005 at 03:36:56PM +0100, Urs [Ayahuasca] Traenkner wrote: > > Hi, > > > > i got a problem in writing a docummentation: I would like to > > implement a "subsubsubparagraph" (something like "1.4.3.2 > > blabla"), but with subsubparagraph the implemented ways to do > > such things seems to be exhausted. But as I can see in other > > documentations (not written with Lyx, I guess) there are > > [3sub]paragraphs. Written by hand? Because I can't see it in > > content, too. > > > > Tried google, of course, it didn't tell me that far. > > > > Regards, Urs... > > I have used the method found on this page http://www.texnik.de/space/space.phtml the section "linebreak behind paragraph-style", which lays the section label text out like a section. If you want them numbered you also need to go into Layout -> Document -> Extra (using the xforms GUI), and set "Section number depth:" to 4, and if you want them to show up in the TOC also set "Table of contents depth:" to 4. it can also be found at: http://www.lyx.org/cgi-bin/viewcvs.cgi/www-user/help/space/Attic/space.html?rev=1.3 but for some reason they do not have the commands bracketed by \makeatletter ... \makeatother, no clue if it matters. see an example in use at: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg06050.html -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: helvet with serifs????
Uwe Stöhr wrote: > > Todd Denniston wrote: > > > I assume in the Document Layout[1] the "Fonts:" selection of helvet is short > > for helvetica. Is this correct? > > Yes it is. > > > I also thought that helvetica was be definition a San Serif font... but when > > I change the "Fonts:" selection to helvet (apply) and view DVI I am still > > seeing serifs. > > Choosing helvet, effects that the sans serif font family (sf) is set to > the font "phv", using the command > > \renewcommand{\sfdefault}{phv} > > But "normal" text is set in the font family "roman" (rm) often with serifs. > To get a sans serif font, you can mark the whole text of your document > and change it to sans serif, or better, define helvetica as roman in the > preamble using the command: > > \renewcommand{\rmdefault}{phv} > > regards Uwe Thanks for the info Uwe, that makes it do what I needed. On more of a LyX program design note: Why is there only one selection for font in the dialog if a) it is not setting the default font (and family) to be used (as normal) in the document, b) there are more than one type (family) of font to be set? More on b) why can I only set one family of font when there are mutually exclusive families I might need to set from the dialog, i.e., ether allow the different font families to be set or make it obvious the dialog can't do all of them and remove the font setting so everyone goes directly to modifying the preamble? These comments are against LyX 1.3.1xforms and 1.3.5qt. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
helvet with serifs????
I assume in the Document Layout[1] the "Fonts:" selection of helvet is short for helvetica. Is this correct? I also thought that helvetica was be definition a San Serif font... but when I change the "Fonts:" selection to helvet (apply) and view DVI I am still seeing serifs. Am I miss interpreting something, or just missing something? Do I have to go through the whole document changing the family to "San Serif"? [1] xforms version Layout -> Document -> Document tab. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: top level section numbers needed in format X.0
"Paul A. Rubin" wrote: > > Todd Denniston wrote: > > > Hello, > > what I need is (I am required to use it, I do not like it though as it adds > > confusion by making top levels look like subsections): > > 1.0first top level section > > 1.1first subsection > > 1.1.1first subsubsection > > 2.0second top level section > Try adding this to the preamble: > > \def\thesection{\arabic{section}.0} > \def\thesubsection{\arabic{section}.\arabic{subsection}} > \def\thesubsubsection{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}} > > -- Paul Simple and Effective. Thanks, and if we ever meet, remind me I owe you a few beers. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
top level section numbers needed in format X.0
Hello, I am using the article class for my document. LyX/LaTeX outputs section numbering as: 1first top level section 1.1first subsection 1.1.1first subsubsection 2second top level section what I need is (I am required to use it, I do not like it though as it adds confusion by making top levels look like subsections): 1.0first top level section 1.1first subsection 1.1.1first subsubsection 2.0second top level section I found in a TeX FAQ{1} [EMAIL PROTECTED] \csname the#1\endcsname.0\quad } which gives me 1.0first top level section 1.1.0first subsection 1.1.1.0first subsubsection 2.0second top level section I have tried [EMAIL PROTECTED]@section}[1]{% \csname the#1\endcsname.0\quad } which fails because [EMAIL PROTECTED]@section is not defined??? %the following one does nothing to my output. [EMAIL PROTECTED]@section}[1]{% \csname the#1\endcsname.\quad } I can't figure out (this bit of LaTeX is truly beyond me) why putting the \let... bit of code from the FAQ{1} in my document gives at least one error for every section+subsection+subsubsection I have. Can someone here help me get the incantation correct please? Or if you know of a convincing bit of documentation indicating doing the toplevel sections as X.0 is bad (makes you look like an idiot) psychologically/professionally, please point it out so I can use it to request a change to the standard I have to follow. Thanks. {1} http://www.tex.ac.uk/cgi-bin/texfaq2html?label=seccntfmt -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: Pre-built Image Symbols
Rich Shepard wrote: > >Software documentation usually have figures showing the relationships > among components. Many of these docs use flowchart-like images rather than > simple boxes. Some of these images are a stack of pages (with a folded > corner on the top page), a circular drum representing a database repository, > and similar symbols. > >Can someone suggest a source for these that can be used to build such > diagrams in, e.g., pstricks or other tools for inclusion in a LaTeX > document? > > TIA, > > Rich If you don't find it in pstricks directly, I noticed you can export from dia to "TeX PSTricks macros" earlier today, and dia has a set of flowcharting images. when I open the export I just did for a db flowchart image I see a bunch of \curveto and \lineto so I would guess it could do what you want. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter