Re: LyX Branch, self-compiled [was: lyx 1.6.2 for debian using rpm and alien]
On 24 Mar 2009, rgheck wrote: > Wolfgang Engelmann wrote: >> Since there seems to be no deb package of lyx 1.6.2 yet for debian, I >> wonder whether somebody has used the alien prg for the SuSe rpm >> package. Is it recommendable or better to use the source code? >> >> > Once you get used to it, using the source is very easy. In fact, even > better, download the 1.6 branch from svn and compile that. Then keep it > up to date, recompile it every once in a while, and you'll always have > the absolutely latest fixes, without waiting for a new release. Note > that since this is branch, fixes only go in when they're regarded as > safe---which doesn't of course guarantee that they are, though neither > is 1.6.2 guaranteed to be safe, right? > > To do this, make sure you have the toolchain installed: autotools, make, > gcc. You'll also need some devel packages, though I'd be surprised if > pulling in the devel package for Qt4 wasn't enough to pull in the rest. > Then make a directory for the sources and do this: > # cd /my/src/dir > # svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X > # cd BRANCH_1_6_X > # ./autogen.sh > # ./configure --enable-build-type rel --prefix /usr/local > ---that last is of course optional, but then you won't overwrite the LyX > package. > # make > # sudo make install > And there you go. Absolutely up to date. > > Richard I tried this and it worked well on my desktop. When I tried it on my laptop it failed, saying it could not find Qt4. Both machines are running Debian Sid and in both I installed Qt4 in the same way, by installing libqt4-dev. It's not a huge problem since I have the deb package for lyx-1.6.1, but I'm curious about why there is this difference. I spent a long time looking at config.log but no illumination dawned. Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk (blog, book reviews, and sceptical articles)
Re: Help for paper about LaTeX/LyX and the meaning of life
I would like to drop a cent to the whole discussion. I am terrified reading about way how some publishers treats publication. Leaving layout to the author is the worst scenario from readers point of view. Author is responsible for content - the knowledge or scenario - and only small group of them may have enough knowledge about publishing standards and the printing culture. Historically the art work connected with printing has been developed through last six hundred years. Honestly saying, we cannot reduce that six hundred years to one or second piece of software. And author concentrated on his/her text cannot design coherent typeset template. With all the respect to authors and programmers. Word is a piece of crap in terms of typesetting, there was even time when moving .doc between computers may influence formatting. In professional typesetting every glyph on the page has is position, size, angle and so on. This cannot be solved in program based on simple flow of text on page. TeX was Knuth's solution to preparation of good quality scientific documents in scientific world when most popular way of publishing articles was exchanging poor photocopies of text entered on typewriter machine. You can still find articles authored by professors like Dijkstra and Wirth scanned and put in the internet databases. Knuth's TeX solved that very well. So well, that many scientists do not know/accept other way of writing their texts than in TeX/LaTeX. Regards, prof. Knuth! Regars, Lamport. But from artistic perspective, from point of view of all that people that study art for couple of years before they start designing professionally, LaTeX products are really far from ideal - it is beacause when you writing software it is mathematically impossible to cover all boundary conditions that may happen during typesetting. All that and previous discussion leads me to the conclusion, that every publisher preparing books for the market (in does not matter wheter it is a book for bookstore or some publication for professors), who does not invest in professional human-driven typesetting do the assassination of the six hunderd years history of typesetting. Please keep than on mind. All above is my private opionin and was not my intention to offence anyone. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Error returned from iconv
Dear list, When LyX was unable to save a file I saw this in the output: --start-- d...@box0:~$ lyx The_Project.lyx Error returned from iconv EILSEQ An invalid multibyte sequence has been encountered in the input. When converting from UTF-8 to UCS-4LE. Input: 0x2e 0x2e 0x2e 0x2f 0xd7 0x94 0xd7 0xa1 0xd7 0x9b 0xd7 0x9d 0x20 0xd7 0xa7 0xd7 0x2e 0x2e 0x2e 0xd7 0x9f 0x20 0xd7 0x99 0xd7 0xa9 0xd7 0xa8 0xd7 0x90 0xd7 0x9c 0x2e 0x6c 0x79 0x78 --end-- The file is attached. What went wrong? Using 1.6.1 from Ubuntu intrepid-backports Many Blessings. -- שחר אור | 050-794 | http://www.shahar-or.co.il *** שיעורים פרטיים בלינוקס ותכנה חופשית *** The_Project.lyx Description: application/lyx
Re: Error returned from iconv
On 2009-03-25, Shahar Or wrote: > When LyX was unable to save a file I saw this in the output: ... > What went wrong? As the output you sent says: > An invalid multibyte sequence has been encountered in the input. but I agree that the rest of the message is not very helpful for the uninitiated. The file is corrupted, maybe by truncating, external edit or insertion of an invalid character (via drag and drop or whatever). I cannot spot the wrong character in the attached example. You might try the divide-and-conquer method: move parts of the document into another buffer until you are able to save. Refine until you find the "guilty" character(s). Günter
Re: how to use xelibertine?
On 2009-03-24, Tao Cumplido wrote: > Well, I don't understand all this yet. I get that Miktex or Texlive are > different basic latex-installations, but I don't really know what > differences there are or which one is better for me. Also I don't get > what Xetex is then, if it's already included in both of these. It is one of several programs to convert a LaTeX source file into a printable output format. See http://www.tug.org/xetex/ . Like different PDF readers or web browsers, these programs share a lot but have their special extensions, weaknesses and advantages and can become incompatible in "corner cases" or more advanced use. > I think I should have asked a more general question. > I had no idea what this package-things are all about. Many LaTeX packages can be compared to CSS style sheets, othere provide added functionality similar to an add-on or plugin extension. > I thought to use xelibertine I just had to install a tex-distribution > where Xetex is included. This is only step 1, secondly you need to actually use XeTeX (but this you know by now.) Günter
Re: Nice LYX report template
On 2009-03-24, Benjamin K wrote: > I am working with LYX for the first time and am looking for a very nice > looking LYX report template for my assignments af the Engineering college of > Copenhagen. > I have been looking for this template myself but without result. I tried to > search for: "technical report lyx template" etc. Did you already search for Examples or Templates at wiki.lyx.org? > I am studying to Electronics engineering and am looking forward to produce > better looking reports. Often i am using a lot of figures and graphs. I'd recommend reading the LyX User Guide and maybe relevant chapters of the Extended Guide and starting with either "report (KOMA script)" or "book (KOMA script)". Switching between these two is possible at a later stage too. Also switching to other classes like "report" or "memoir" - but some Styles might be missing. Günter
Re: Error returned from iconv
2009/3/25 Shahar Or > Dear list, > > When LyX was unable to save a file I saw this in the output: > > --start-- > > d...@box0:~$ lyx The_Project.lyx > Error returned from iconv > EILSEQ An invalid multibyte sequence has been encountered in the input. > When converting from UTF-8 to UCS-4LE. > Input: 0x2e 0x2e 0x2e 0x2f 0xd7 0x94 0xd7 0xa1 0xd7 0x9b 0xd7 0x9d 0x20 > 0xd7 0xa7 0xd7 0x2e 0x2e 0x2e 0xd7 0x9f 0x20 0xd7 0x99 0xd7 0xa9 0xd7 > 0xa8 0xd7 0x90 0xd7 0x9c 0x2e 0x6c 0x79 0x78 > > --end-- > > The file is attached. > > What went wrong? > > Using 1.6.1 from Ubuntu intrepid-backports > > I used hex editor to find sequence in a lyx file. Most of the time unicode characters copy&pasted into LyX could not be converted. Most interesting part is that, if you do not launch LyX from console you never know this error happened and your why your output is not generated. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: child document not working as advertised?
On 2009-03-24, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> In my view the master/child support will only be complete with a proper >> support of \includeonly > The trickiest task is that you have to make sure that all aux files are > generated once before the document is compiled with \includeonly > including only some children. Proper includeonly support means that LyX > cares about this, i.e., the user shouldn't need to manually compile the > whole thing himself before he can use the feature Yes. The detection should be similar to what LyX already does for bib files etc. and then "generate if needed". > I already spent some time thinking about how this could be done > (technically), but I didn't find a proper solution yet. IMO, a precondition is caching of auxiliary files, so that they are kept across sessions. Therefore I filed bug 5710 http://bugzilla.lyx.org/show_bug.cgi?id=5710 Günter
Re: child document not working as advertised?
On 2009-03-24, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> > Still the master and all brothers and sisters are available in the >> > View menu. >> BTW: Would it be possible to put all hidden buffers in a sub-menu? > Yes. Should I file a bug? Günter
Re: change header/footer style
If your heading settings in 'fancy', then you can put \usepackage{fancyhdr} in the pramble. You may define your header/footer using that package. There are some discussions here about 'fancyhdr'. I am not sure whether the control of color in fancyhdr will suit to what you need. was 2009/3/25 Stefano Lampis : > Hello, > is it possible with lyx to customize the header and/or the footer of the > layout for PDF output, for instance with background color, text color, or > different margins? > > Thanks for help. > Regards. > > -- > Stefano Lampis >
Re: using windows system fonts?
> It's a lot more complicated than that. If you're using MiKTeX, have a look > at the following: > http://moonstone.math.ncku.edu.tw/joomla/index.php?option=com_content&task=view&id=1&Itemid=9. > Thanks. But I have Texlive. Won't this work? Actually for me this tex stuff is really strange. I'd like to get into it because I like the results, but I don't even get what the difference between Texlive and Miktex is. -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Re: Error returned from iconv
> > An invalid multibyte sequence has been encountered in the input. I used iconv many times from the commandline. When its stops it normally says: "wrong character in position xxx" and the file is converted until that point. The position is given in bytes from the start of the file, so normally not very useful except if you have some editor which can give you the same information. But the converted file notmally ends just before the wrong character, so it's easy to find. Mostly it's a question of chaarcters which are displayed in the same way but are in fact different, as " and “. Delete the offending character and retype it in a normal editor. Sincerely, Hubert -- Hubert Christiaen Bloesemlaan 17 3360 Korbeek-Lo Belgium
Re: child document not working as advertised?
Guenter Milde wrote: On 2009-03-24, Jürgen Spitzmüller wrote: Guenter Milde wrote: Still the master and all brothers and sisters are available in the View menu. BTW: Would it be possible to put all hidden buffers in a sub-menu? Yes. Should I file a bug? If it's not filed, I guess so. Cc me. It's something I've been meaning to deal with. Should be quite easy, actually. rh Günter
Re: using windows system fonts?
2009/3/25 Tao Cumplido > > It's a lot more complicated than that. If you're using MiKTeX, have a > look > > at the following: > http://moonstone.math.ncku.edu.tw/joomla/index.php?option=com_content&task=view&id=1&Itemid=9 > . > > Thanks. But I have Texlive. Won't this work? > > Actually for me this tex stuff is really strange. I'd like to get into it > because I like the results, but I don't even get what the difference between > Texlive and Miktex is. > > TeX stuff and related are developed by very large number of people around the world. TeXLive or MiKTeX are distributions which collect all these small portion into something useful. They are called "TeX distributions". They contain packages in which you may find fonts, document classes and plenty additional tools. I cannot answer whether TeXLive supports MTFI. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: LyX Branch, self-compiled [was: lyx 1.6.2 for debian using rpm and alien]
Anthony Campbell wrote: On 24 Mar 2009, rgheck wrote: Wolfgang Engelmann wrote: Since there seems to be no deb package of lyx 1.6.2 yet for debian, I wonder whether somebody has used the alien prg for the SuSe rpm package. Is it recommendable or better to use the source code? Once you get used to it, using the source is very easy. In fact, even better, download the 1.6 branch from svn and compile that. Then keep it up to date, recompile it every once in a while, and you'll always have the absolutely latest fixes, without waiting for a new release. Note that since this is branch, fixes only go in when they're regarded as safe---which doesn't of course guarantee that they are, though neither is 1.6.2 guaranteed to be safe, right? To do this, make sure you have the toolchain installed: autotools, make, gcc. You'll also need some devel packages, though I'd be surprised if pulling in the devel package for Qt4 wasn't enough to pull in the rest. Then make a directory for the sources and do this: # cd /my/src/dir # svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X # cd BRANCH_1_6_X # ./autogen.sh # ./configure --enable-build-type rel --prefix /usr/local ---that last is of course optional, but then you won't overwrite the LyX package. # make # sudo make install And there you go. Absolutely up to date. I tried this and it worked well on my desktop. When I tried it on my laptop it failed, saying it could not find Qt4. Both machines are running Debian Sid and in both I installed Qt4 in the same way, by installing libqt4-dev. It's not a huge problem since I have the deb package for lyx-1.6.1, but I'm curious about why there is this difference. I spent a long time looking at config.log but no illumination dawned. Hard to know. The first thing I'd do is check to make sure libqt4-dev is installed, and find out where it is installed. Anyway, if you want to post the config.log, I can have a look. rh
Re: Nice LYX report template
Benjamin K wrote: Hi I am working with LYX for the first time and am looking for a very nice looking LYX report template for my assignments af the Engineering college of Copenhagen. It is not a thesis template i am looking for but rather something that would give room for the following content: Synopsis 1 Introduction 2 Requirement specification 3 Design 4 Theory 5 Analysis 6 Simulations 7 Test 8 Conclusion 9 Appendix I have been looking for this template myself but without result. I tried to search for: "technical report lyx template" etc. This seems straightforward enough. If this really is all, then perhaps no special template is necessary. Try the document class "report" or perhaps "report (KOMA-script)". The report classes start each chapter on a new page. If that isn't what you want, use the "article" class. It doesn't use chapters, only sections. If you write a lot of these reports, make your own template that contains these headings (and whatever else is common to all your reports.) Or is there some sort of problem, like strict layout requirements? I am studying to Electronics engineering and am looking forward to produce better looking reports. Often i am using a lot of figures and graphs. LyX should handle figures and graphs fine, although you will need to make them with other software. Engineering tend to need some math too, which LyX do very well. I would be very greatfull for a link or an attachment of such an template. What do you expect from such a template? If it is just some headings so the document is ready to "fill in", just make it yourself. It should take 5min if you know LyX. If you don't, it might takes longer but some practice is needed to get to know LyX. Helge Hafting
Re: using windows system fonts?
Tao Cumplido wrote: Hello, is it possible with LyX to access the system fonts on Windows XP? When I go to the Document options there are only very few fonts available to choose. If it's not possible to access these fonts directly is there another way to use them? Moving them to another folder mabye? No. Using an arbitrary font is quite tricky. Some fonts are supported By TeX, those are easier. Usually this involves putting \usepackage{something} in the LyX preamble. Maybe you also have to download the font package and install it. If a font isn't already supported by TeX, then you need to roll your own support for it. I have needed to do this one time, and it took me several days to figure it all out from documentation and examples. Note that TeX uses its own font system, so what you have installed in the windows system doesn't matter at all. Still, there are lots of fonts supported by TeX. Take a look at http://www.tug.dk/FontCatalogue/. The fonts you find there can probably be used in LyX documents too without too much trouble. There is a variant of TeX called XeteX that support system fonts in an easy way. But XeteX is not yet supported by LyX. Take a look at wiki.lyx.org for some tips on how to use it - if you really need to use those system fonts. LyX is not a good program for "going wild" with fonts. It is focused on the kind of writing where you pick a sensible font or two for a document, and stick to those. Helge Hafting
Re: child document not working as advertised?
On 2009-03-25, rgheck wrote: > Guenter Milde wrote: BTW: Would it be possible to put all hidden buffers in a sub-menu? >> Should I file a bug? > If it's not filed, I guess so. Done: http://bugzilla.lyx.org/show_bug.cgi?id=5872 Günter
Re: Error returned from iconv
On 2009-03-25, Manveru wrote: > characters copy&pasted into LyX could not be converted. Most interesting > part is that, if you do not launch LyX from console you never know this > error happened and your why your output is not generated. You can look in ~/.xsession-errors. Günter
wmf2esp or emf2esp
Hi lyx users I have a problem: I miss the pythonscript for converting windows metafiles to esp: emf2esp or wmf2esp I am running the newest version of lyx: version 1.6.2 It should be included according to this website: http://wiki.lyx.org/Windows/MetafileToEPSConverter Can you help My problem is that i cannot copy a picture from a .doc and paste it into lyx, but if I have the wmf2esp.py / emf2esp.py that should fix the problem Benjamin
Re: Error returned from iconv
2009/3/25 Guenter Milde > On 2009-03-25, Manveru wrote: > > > characters copy&pasted into LyX could not be converted. Most interesting > > part is that, if you do not launch LyX from console you never know this > > error happened and your why your output is not generated. > > You can look in ~/.xsession-errors. > > Günter > > Not under Windows :-) -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
LyX with 800 or 640x480 resolution.
I am using LyX on the Eeepc 701 which has a 800x480 resolution. Unfortunately a number of LyX dialogs are a bit too large to fit on the screen. I used "kcmshell font" to set the fontsize to 7 in ~/.qt/qtrc. However LyX seems to have ignored this setting. LyX offers the ability to adjust the zoom/fonts, but this appears to be only for the Document. Does anyone know of a way of scaling down the dialogs? -- John C. McCabe-Dansted PhD Student University of Western Australia
help with error msg...
Dear All, I've been using LyX (version 1.6.0 in Portuguese) more and more with almost 100% success rate in my "experiments". But (and there's always a but...) "from nowhere" the following (enigmatic) warning/error msg comes up when try to view (DVI, PS, etc.) an article that until last night was ok! The 1st "T (space) radicionalmente" should read "Tradicionalmente" and starts a new paragraph. When I remove the entire paragraph, the error msg appears associated with the beginning of the next paragraph and so on until the section ends. I've tried delete and paste the section text from another LyX file but the msg still appears. I simply don't no Latex to (even try) to correct the file/text so... Can anyone help! Regards, Eduardo Esteves T radicionalmente, transformam-se as variáveis de alguns modelos não-li... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.
Re: LyX Branch, self-compiled [was: lyx 1.6.2 for debian using rpm and alien]
On 25 Mar 2009, rgheck wrote: > Hard to know. The first thing I'd do is check to make sure libqt4-dev is > installed, and find out where it is installed. Anyway, if you want to > post the config.log, I can have a look. > > rh libqt4-dev is installed. There doesn't seem to be one file; there are several in /usr/share/lintian/overrides. Pointing configure to this doesn't help. Here is config.log. It seems to have found several files but at the end it fails. I had to cut some of it because the server rejected it initially as too big, but I hopeI've kept the important bits, which seem to come at the end. Anthony == This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by LyX configure 1.6.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure ## - ## ## Platform. ## ## - ## hostname = ithaca uname -m = i686 uname -r = 2.6.28-1-686 uname -s = Linux uname -v = #1 SMP Mon Feb 23 03:13:24 UTC 2009 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /bin PATH: /usr/bin PATH: /sbin PATH: /usr/sbin PATH: /usr/X11R6 PATH: /usr/X11R6/bin PATH: /usr/local/bin PATH: /home/ac/bin PATH: /usr/games ## --- ## ## Core tests. ## ## --- ## configure:2344: checking for build type configure:2367: result: release configure:2379: checking for version suffix configure:2396: result: configure:2406: checking build system type configure:2424: result: i686-pc-linux-gnu configure:2446: checking host system type configure:2461: result: i686-pc-linux-gnu configure:2483: checking target system type configure:2498: result: i686-pc-linux-gnu configure:2526: checking what packaging should be used configure:2541: result: posix configure:2609: checking whether to enable maintainer-specific portions of Makefiles configure:2618: result: no configure:2649: checking for a BSD-compatible install configure:2717: result: /usr/bin/install -c configure:2728: checking whether build environment is sane configure:2771: result: yes configure:2796: checking for a thread-safe mkdir -p configure:2835: result: /bin/mkdir -p configure:2848: checking for gawk configure:2864: found /usr/bin/gawk configure:2875: result: gawk configure:2886: checking whether make sets $(MAKE) configure:2908: result: yes configure:3125: checking for a Python interpreter with version >= 2.3.4 configure:3140: python -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.3.4', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) configure:3143: $? = 0 configure:3150: result: python configure:3158: checking for python configure:3176: found /usr/bin/python configure:3188: result: /usr/bin/python configure:3206: checking for python version configure:3213: result: 2.5 configure:3225: checking for python platform configure:3232: result: linux2 configure:3239: checking for python script directory configure:3247: result: ${prefix}/lib/python2.5/site-packages configure:3256: checking for python extension module directory configure:3264: result: ${exec_prefix}/lib/python2.5/site-packages configure:: checking for gcc configure:3349: found /usr/bin/gcc configure:3360: result: gcc configure:3592: checking for C compiler version configure:3600: gcc --version >&5 gcc (Debian 4.3.3-5) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3604: $? = 0 configure:3611: gcc -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-5' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.3 (Debian 4.3.3-5) configure:3615: $? = 0 configure:3622: gcc -V >&5 gcc: '-V' option must have argument configure:3626: $? = 1 configure:3649: checking for C compiler default output file name configure:3671: gccconftest.c >&5 configure:3675: $?
Named Theorems
Using the AMS document class, how do you get, say, Equivalence Theorem, rather than just Theorem, as the title in the Theorem environment? Bruce
Re: Named Theorems
On Wed, Mar 25, 2009 at 3:15 PM, Bruce Pourciau wrote: > Using the AMS document class, how do you get, say, Equivalence Theorem, > rather than just Theorem, as the title in the Theorem environment? Between the word "Theorem" and the statement of the theorem, insert in ERT: [Equivalence Theorem] (please, mind the brackets). Paul
Re: LyX with 800 or 640x480 resolution.
John McCabe-Dansted wrote: I am using LyX on the Eeepc 701 which has a 800x480 resolution. Unfortunately a number of LyX dialogs are a bit too large to fit on the screen. I used "kcmshell font" to set the fontsize to 7 in ~/.qt/qtrc. However LyX seems to have ignored this setting. You need to set that for qt4. I'd use qtconfig-qt4 to do that, but I don't know if it's available on your machine. FYI, I've got all our EeePCs---two 901s and a 1000---all running Fedora 10, which works very well with one of the lighter desktops, like XFCE or LXDE. And then you can do as you please. rh
Re: Named Theorems
On Mar 25, 2009, at 10:22 AM, Paul Smith wrote: On Wed, Mar 25, 2009 at 3:15 PM, Bruce Pourciau wrote: Using the AMS document class, how do you get, say, Equivalence Theorem, rather than just Theorem, as the title in the Theorem environment? Between the word "Theorem" and the statement of the theorem, insert in ERT: [Equivalence Theorem] (please, mind the brackets). Paul Great, thanks Paul. And what if your theorem's conclusion has two parts that you would like labelled (a) and (b), rather than 1. and 2.? Bruce
Re: Named Theorems
On Wed, Mar 25, 2009 at 3:31 PM, Bruce Pourciau wrote: >>> Using the AMS document class, how do you get, say, Equivalence Theorem, >>> rather than just Theorem, as the title in the Theorem environment? >> >> Between the word "Theorem" and the statement of the theorem, insert in >> ERT: >> >> [Equivalence Theorem] >> >> (please, mind the brackets). > > Great, thanks Paul. And what if your theorem's conclusion has two parts that > you would like labelled (a) and (b), rather than 1. and 2.? Use enumeration, and between 1. and the statement of the conclusion, insert in ERT: [(a)] (mind the brackets and between the ERT and the text of the conclusion insert a space.) Paul
Re: Help for paper about LaTeX/LyX and the meaning of life
On Wednesday 25 March 2009 04:32:56 am Manveru wrote: > I would like to drop a cent to the whole discussion. > > I am terrified reading about way how some publishers treats publication. > Leaving layout to the author is the worst scenario from readers point of > view. Author is responsible for content - the knowledge or scenario - and > only small group of them may have enough knowledge about publishing > standards and the printing culture. Historically the art work connected > with printing has been developed through last six hundred years. Honestly > saying, we cannot reduce that six hundred years to one or second piece of > software. And author concentrated on his/her text cannot design coherent > typeset template. With all the respect to authors and programmers. > > Word is a piece of crap in terms of typesetting, there was even time when > moving .doc between computers may influence formatting. In professional > typesetting every glyph on the page has is position, size, angle and so on. > This cannot be solved in program based on simple flow of text on page. > > TeX was Knuth's solution to preparation of good quality scientific > documents in scientific world when most popular way of publishing articles > was exchanging poor photocopies of text entered on typewriter machine. You > can still find articles authored by professors like Dijkstra and Wirth > scanned and put in the internet databases. Knuth's TeX solved that very > well. So well, that many scientists do not know/accept other way of writing > their texts than in TeX/LaTeX. Regards, prof. Knuth! Regars, Lamport. > > But from artistic perspective, from point of view of all that people that > study art for couple of years before they start designing professionally, > LaTeX products are really far from ideal - it is beacause when you writing > software it is mathematically impossible to cover all boundary conditions > that may happen during typesetting. > > All that and previous discussion leads me to the conclusion, that every > publisher preparing books for the market (in does not matter wheter it is a > book for bookstore or some publication for professors), who does not invest > in professional human-driven typesetting do the assassination of the six > hunderd years history of typesetting. Please keep than on mind. > > All above is my private opionin and was not my intention to offence anyone. Hi Manveru, In an ideal world, I'd slam out content, and a publisher would take care of everything else, including marketing. I'd get between five and fifteen cents on the dollar, but they'd do such a good job marketing that I'd still come out better. Unfortunately, that NEVER was the case. Now there's a new factor -- PDF eBooks can be "printed" for no cost. The purchase of print books is a habit that will be changing during the next few years, as people change their paper book reading habit in favor of PDFs costing half as much for the same amount of information. Without the whole printing thing, and given the fact that publishers never did help much with marketing, there's very little the publisher or any other middleman can offer in the way of value added. They can help with proofreading/copy editing so the verbiage sounds better. But then again, I can hire a proofreader/copy editor. They can help with typography. But how much value does typography really add? My first book, "Troubleshooting: Tools, Tips and Techniques", was written in WordPerfect 5.0. I got a few complaints about that book, but they were content related. Nobody complained about the print. My second book, "Rapid Learning: Secret Weapon of the Successful Technologist", was written in MS Word. Everyone loves it, to this day I get email saying "I followed your instructions and got a job!", but I've had not a single comment about the book's typography. Not one. My following two print books, "Troubleshooting Techniques of the Successful Technologist" and "Manager's Guide to Troubleshooting", as well as all my eBooks, "28 Tales of Troubleshooting", "Troubleshooting: Just the Facts", "Learn Vim Tonight", and "Rapid Learning for the 21st Century", were written in LyX. Nobody said anything positive or negative about these books' typography or printing. I got a whole lot of feedback on content, but nothing on the way the books looked (excluding the covers -- I'm a lousy artist). My point is this. Yeah, it would be nice if I didn't have to deal with typography, but from the reader POV it's eclipsed by content. If I were considering putting time or money into typography, from a sales perspective I'd do much better to divert the time and money away from typography and into either content, advertising, marketing, research, or certainly a better cover and binding so that it would fit into a bookstore. If an author is smart enought to stick to one typeface, and stay away from making an artistic statement with his typography, and make his lines short enough
Re: wmf2esp or emf2esp
Benjamin K schrieb: > I have a problem: I miss the pythonscript for converting windows metafiles > to esp: emf2esp or wmf2esp > I am running the newest version of lyx: version 1.6.2 > > It should be included according to this website: > http://wiki.lyx.org/Windows/MetafileToEPSConverter What scripts do you miss? The Wiki page says nothing about scripts. MetafileToEPSConverter is a printer. So when you look at your printers, there should be one named "Metafile to EPS Converter" Do you see it? My problem is that i cannot copy a picture from a .doc and paste it into lyx, but if I have the wmf2esp.py / emf2esp.py that should fix the problem I cannot reproduce the problem: I can copy/paste EMF and WMF files successfully. Can you please send me a *.doc example file. regards Uwe
Edits of wiki pagse temporarily disabled
Hi, I've tried to disable editing of wiki pages as I'm currently trying to migrate th wiki to a new server. /Christian -- Christian Ridderström Mobile: +46-70 687 39 44
Re: change header/footer style
Stefano Lampis schrieb: is it possible with lyx to customize the header and/or the footer of the layout for PDF output, for instance with background color, text color, or different margins? It is, but we don't provide yet a dialog to do this. You have to do this via preamble commands, see sec. 3.1.3 Document Layout of the UserGuide. regards Uwe
Re: Named Theorems
Bruce Pourciau wrote: On Mar 25, 2009, at 10:22 AM, Paul Smith wrote: On Wed, Mar 25, 2009 at 3:15 PM, Bruce Pourciau wrote: Using the AMS document class, how do you get, say, Equivalence Theorem, rather than just Theorem, as the title in the Theorem environment? Between the word "Theorem" and the statement of the theorem, insert in ERT: [Equivalence Theorem] Or use the poorly named "Insert>Short Title". rh
Re: Help for paper about LaTeX/LyX and the meaning of life
On Wednesday 25 March 2009 03:32:56 am Manveru wrote: > All that and previous discussion leads me to the conclusion, that every > publisher preparing books for the market (in does not matter wheter it is a > book for bookstore or some publication for professors), who does not invest > in professional human-driven typesetting do the assassination of the six > hunderd years history of typesetting. Please keep than on mind. Manveru, Perfection is very nice until it runs into economics. The ultimate example of your goals is William Morris's Kelmscott Press. Morris treated a printed book as a work of art. Kelmscott Press operated from 1891 to 1898, and produced 18,000 copies of 53 different books. The books were and are works of art. Few readers could afford them when they were printed; few collectors can afford them now. The Press ceased operations because Morris ran out of money. It never made a profit, never broke even, in spite of the high prices charged for its books. Software like LaTeX and LyX allows non-experts to approximate some of the goals of typographers like Morris without incurring his costs. The software solutions do not reach the standards of the best book designers and typographers, but they can get closer than many (most?) published books do. Les
View Source inactive / frozen / not working
on Windows XP 2002, lyx 1.6.1 and 1.6.2 Hello, Installed 1.6.1 a few days ago and the View Source window worked fine the first time i ran Lyx. Then it didn't work the subsequent times i ran Lyx. It just showed greyed out areas on the 3 options to the right of the window (updates etc.), and nothing in the Source window where the latex code should appear. I then upgraded using the Altinstaller to 1.6.2 and again the View Source window worked the first time I ran Lyx, but now no longer works. I feel silly as I'm new to Lyx, but can't work this out. Has anyone else had this problem? ___ Skal du købe ny bil? Sammenlign priser på brugte biler med Kelkoo og find et godt tilbud! - Se mere her http://dk.yahoo.com/r/pat/mmb
Side Captions
Hello all, I have been trying to create side captions for some of my figures in LyX, but am having some problems. Using: LyX 1.6.1 Mac OS 10.5.6 DocumentClass: book (KOMA-script) (all other document settings are default, aside from preamble, as noted below) I am writing my thesis and have a compile.lyx document in which I include all of my chapters as child documents, which are separate LyX files (I'll dub individual.lyx). I have succeeded in the individual.lyx file to create a side caption by including \usepackage{sidecap} in the Preamble in Document Settings and then using \begin{SCfigure} \centering \includegraphics[width=0.55\textwidth]% {Figures/figure.png}% picture filename \caption{ Captiony stuff } \end{SCfigure} to include the figure. individual.lyx compiles to pdf fine. However, when I try to compile (to pdf) the compile.lyx file, I get the error: File does not exist: /var/folders/fq/fqrxQlvk2P8KFE+BYnDQyU+++Tl/-Tmp-/lyx_tmpdir.L10932/lyx_tmpfub0/Compile.pdf I have included \usepackage{sidecap} in the preamble of the compile.lyx file as well. When I comment out "\begin{SCfigure}...\end{SCfigure}" in the individual.lyx, compile.lyx compiles successfully (sadly, obviously, minus the figure). (Side note: In the case of compiling DVI or PS, I get a LaTeX error claiming it can't find the figure when compiling either the individual.lyx or compile.lyx files - Does that have to do with my use of Figures/figure.png in the \includegraphics tag?) Is there any way for me to get side captions working using this format of a compile.lyx file which includes the individual chapters of my thesis? Thanks for any help, and let me know if there is any additional information which I should provide. -- View this message in context: http://n2.nabble.com/Side-Captions-tp2534530p2534530.html Sent from the LyX - Users mailing list archive at Nabble.com.
moderncv no longer working in 1.5.6?
Hey all, After much effort getting my moderncv CV to work in Lyx 1.5.3, I just tried making some changes (now running 1.5.6 on intrepid) and LyX will no longer generate a PDF. The first error is: \moderncvtheme [grey,final]{classic} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. \moderncvtheme[ grey,final]{classic} You're in trouble here. Try typingto proceed. If that doesn't work, type X to quit. Then for each section this error: \subsection{Research Projects} You have given more \span or & marks than there were in the preamble to the \halign or \valign now in progress. So I'll assume that you meant to type \cr instead. I've attached the LyX file up to the first section error. What has changed so much in Lyx between these versions? Thanks, B. Bogart tmp.lyx Description: application/lyx
Re: Help for paper about LaTeX/LyX and the meaning of life
2009/3/25 Les Denham > [...] The Press ceased operations because Morris ran out of > money. It never made a profit, never broke even, in spite of the high > prices > charged for its books. > What I can say in that case... Economy against traditions. Traditions against economy. There is nothing wrong with handling typography by oneself while author has knowledge about rules. Often not. Software like LaTeX and LyX allows non-experts to approximate some of the > goals of typographers like Morris without incurring his costs. The > software > solutions do not reach the standards of the best book designers and > typographers, but they can get closer than many (most?) published books do. > I would like to limit this "get closer"... I like reading book, one of pleasures is taking nicely typeset and printed book, with all the art on the covers and so on. Here in Poland we have quite large number of nice editions and most e-books are received as poor quality "guides to life" - in our culture such kind of publication often do not fit to needs. They become somehow popular, as its quality is growing. Lot of them are published and sold by companies specialized with such publication. I do not know any example of such business model in Poland, as Steve successful have with his book for couple of years. I cannot tell from scientific point of view as I personally do not publish anything scientific related (some engineering stuff is published inside corporation I work for - in Word certainly), but belletristic book are available only through professional publishers and they become popular (if become) as effect of publications in press or by good marketing. Every county has different model, different traditions, different culture. I personally prefer books printed on paper. I used to be a passionate of Desktop Publishing some time ago, that is way I like to "protect" the typesetting traditions. It is important to me as though good music. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
LyX to HTML?
Is there any good way to convert LyX (or LaTeX perhaps more to the point) to HTML? I do know LyX can export to HTML, but the result is not pretty; it looks so last century. Also, many packages seems to be stripped away (such as enumitem). There is no options to format the HTML to look nice. I tried to google for LaTeX to HTML converters, but it seems few are actively maintained. Perhaps hyperlatex would be an option? There is also elyxer, which produces nice looking output, but has too many missing features. Any ideas? I want to move all my word processing from MS Word to LyX, but one of the things that keeps me with Word is that it can do fair (not great, but fair) HTML conversion.
Re: LyX to HTML?
On Wed, Mar 25, 2009 at 21:16, Anders Host-Madsen wrote: > Is there any good way to convert LyX (or LaTeX perhaps > more to the point) to HTML? I do know LyX can export > to HTML, but the result is not pretty; it looks so > last century. Also, many packages seems to be > stripped away (such as enumitem). There is no > options to format the HTML to look nice. > I tried to google for LaTeX to HTML > converters, but it seems few are actively maintained. > Perhaps hyperlatex would be an option? There is also > elyxer, which produces nice looking output, but has > too many missing features. Any ideas? > > I want to move all my word processing from MS Word > to LyX, but one of the things that keeps me with Word > is that it can do fair (not great, but fair) HTML conversion. > > http://wiki.lyx.org/Tools/ELyXer -- :: Witek Firlej :: :: Studencka wyprawa do Chin http://chiny2009.pl :: :: http://grizz.pl :: http://galeria.firlej.org :: jid: grizz//jabster.pl ::
Re: LyX to HTML?
On Wed, 25 Mar 2009 20:16:32 + (UTC) Anders Host-Madsen wrote: > Is there any good way to convert LyX (or LaTeX perhaps > more to the point) to HTML? Have a look at the recent past of this list and the discussion about "Introducing eLyXer". Produces very nice (X)HTML. http://www.nongnu.org/elyxer/ Regards, Iain.
Re: LyX to HTML?
Iain Mac Donald writes: Thanks, as I stated, I did try elyxer. That actually produces nice output, but it seems to support a very limited set of latex/lyx. None of my equations or numbered lists come out correctly. But maybe this will one day be a good tool. It appears to be new. I do like the philosophy of hyperlatex: you insert some special commands to modify the html. That way you can maintain and update a document that you want to publish both as pdf/print and html.
Re: LyX to HTML?
--- On Wed, 3/25/09, witek.fir...@gmail.com wrote: From: witek.fir...@gmail.com Subject: Re: LyX to HTML? To: "Anders Host-Madsen" Cc: lyx-users@lists.lyx.org Date: Wednesday, March 25, 2009, 4:40 PM On Wed, Mar 25, 2009 at 21:16, Anders Host-Madsen wrote: > Is there any good way to convert LyX (or LaTeX perhaps > more to the point) to HTML? I do know LyX can export > to HTML, but the result is not pretty; it looks so > last century. Also, many packages seems to be > stripped away (such as enumitem). There is no > options to format the HTML to look nice. > I tried to google for LaTeX to HTML > converters, but it seems few are actively maintained. > Perhaps hyperlatex would be an option? There is also > elyxer, which produces nice looking output, but has > too many missing features. Any ideas? > > I want to move all my word processing from MS Word > to LyX, but one of the things that keeps me with Word > is that it can do fair (not great, but fair) HTML conversion. > > http://wiki.lyx.org/Tools/ELyXer I guess there are some creative ways to do this. I tried several mentioned here on the list. One means that I've found as an alternative has been to export .pdf, then convert it to html by sending it to adobe. I know it is a roundabout way to do it, but the result has been surprisingly good. Phil
Re: LyX to HTML?
Robert Orr writes: > One means that I've found as an alternative has been to export .pdf, > then convert it to html by sending it to adobe. I actually did try this earlier, using Acrobat Pro. But the result was terrible, absolutely terrible. Any tricks?
Re: LyX to HTML?
> One means that I've found as an alternative has been to export .pdf, > then convert it to html by sending it to adobe. I actually did try this earlier, using Acrobat Pro. But the result was terrible, absolutely terrible. Any tricks? I used the email service. I converted a modernCV and an article. Result was good. http://www.adobe.com/products/acrobat/access_onlinetools.html
Re: LyX to HTML?
On Wed, 25 Mar 2009 20:16:32 + (UTC) Anders Host-Madsen wrote: > Is there any good way to convert LyX (or LaTeX perhaps > more to the point) to HTML? I do know LyX can export > to HTML, but the result is not pretty; it looks so > last century. Also, many packages seems to be > stripped away (such as enumitem). There is no > options to format the HTML to look nice. > I tried to google for LaTeX to HTML > converters, but it seems few are actively maintained. > Perhaps hyperlatex would be an option? There is also > elyxer, which produces nice looking output, but has > too many missing features. Any ideas? > > I want to move all my word processing from MS Word > to LyX, but one of the things that keeps me with Word > is that it can do fair (not great, but fair) HTML conversion. > I use tex4ht or hevea. I find that either one of them does a reasonable job if you then apply a custom CSS. But my work is always plain text, no images. I'm using Debian Lenny. Alan
Re: LyX to HTML?
Hi Anders, > Thanks, as I stated, I did try elyxer. That > actually produces nice output, but it seems > to support a very limited set of latex/lyx. > None of my equations or numbered lists > come out correctly. But maybe this will one > day be a good tool. It appears to be new. eLyXer is indeed pretty new: I started playing with the idea in January for my own purposes, and have published it just a couple of weeks ago. What we can do is that you send me your document (you can Loremipsumize it as wished, although it will remain completely confidential) and I will try to make eLyXer work for you. That way if it works the whole community benefits; and if it is beyond my modest means, or you don't like the results, no harm done. Other LyX users have helped me a lot to make improvements, as you can see in the acknowledgements -- it could not have progressed so quickly from a custom personal tool to something more or less usable without them. I encourage other LyX users to do the same. That is after all the true Open Source way, isn't it? Thanks, Alex.
Re: moderncv no longer working in 1.5.6?
B. Bogart schrieb: After much effort getting my moderncv CV to work in Lyx 1.5.3, I just tried making some changes (now running 1.5.6 on intrepid) and LyX will no longer generate a PDF. You need a more recent version of the moderncv LaTeX-package, at least version "2008/06/17 v0.7". (Your file compiles here out of the box with LyX 1.6.2.) regards Uwe
Re: LyX to HTML?
Typhoon writes: > I use tex4ht or hevea. I find that either one of them does a reasonable > job if you then apply a custom CSS. But my work is always plain text, > no images. I'm using Debian Lenny. Thanks, hevea does look interesting. But it seems to be a unix thing. How can I use it on a Mac?
Re: LyX to HTML?
Anders Host-Madsen schrieb: I use tex4ht or hevea. I find that either one of them does a reasonable job if you then apply a custom CSS. But my work is always plain text, no images. I'm using Debian Lenny. Thanks, hevea does look interesting. But it seems to be a unix thing. How can I use it on a Mac? tex4ht works on all platforms. It is normally accessed when you view your document as HTML from LyX. If this is not the case tex4ht is not installed. (it is often part of the LaTeX distribution). regards Uwe
Re: LyX to HTML?
Alex Fernandez writes: Thanks for making this available. I will experiment a little more with it, and possibly send you some files.
Re: Side Captions
ebsith schrieb: individual.lyx compiles to pdf fine. However, when I try to compile (to pdf) the compile.lyx file, I get the error: File does not exist: /var/folders/fq/fqrxQlvk2P8KFE+BYnDQyU+++Tl/-Tmp-/lyx_tmpdir.L10932/lyx_tmpfub0/Compile.pdf I think that the problem is that you have given a relative path to the image and LyX/LaTeX struggles about this because it is in a child LyX document. So probable the relative path points to something different in your main LyX file. But hard to say from here. To fix your problem, try to use an absolute image path. Besides this LyX 1.6.2 fixed some major bugs regarding child documents, some even lead to data losses. So if possible, you should upgrade to LyX 1.6.2. regards Uwe
FYI: Wiki site relocated (edits not possible at the moment)
Hi, Today the LyX wiki and LyX web site were relocated to a new site. Both are visible at the usual addresses, but unfortunately it is at the moment not possible to edit the wiki pages due to a security conflict. This will hopefully be resolved during or before the weekend. cheers, Christian -- Christian Ridderström Mobile: +46-70 687 39 44
Re: LyX to HTML?
> tex4ht works on all platforms. It is normally accessed when you > view your document as HTML from LyX. > If this is not the case tex4ht is not installed. > (it is often part of the LaTeX distribution). Yes, the translation from within lyx works (htlatex is there). But I'm not very satisfied with the result. Maybe it's possible to customize, as in heava? The documentation page seems to be down.
Re: LyX to HTML?
Anders Host-Madsen schrieb: Yes, the translation from within lyx works (htlatex is there). htlatex is one of tex4ht's commands. But I'm not very satisfied with the result. Maybe it's possible to customize, as in heava? The documentation page seems to be down. tex4ht doesn't work well in all cases, but the new eLyXer is under development and even at this early state for me more useful than tex4ht. regards Uwe
Re: LyX to HTML?
On Wed, Mar 25, 2009 at 6:38 PM, Anders Host-Madsen wrote: > Typhoon writes: > > >> I use tex4ht or hevea. I find that either one of them does a reasonable >> job if you then apply a custom CSS. But my work is always plain text, >> no images. I'm using Debian Lenny. > > Thanks, hevea does look interesting. But it seems to be a unix thing. > How can I use it on a Mac? Hevea can be installed via macports, and it's easy then to define a converter in LyX that will go from latex to html. I haven't used hevea, but I have used tex4ht, which is a part of TeXLive; LyX should already recognize it. Bennett
Re: LyX with 800 or 640x480 resolution.
On Thu, Mar 26, 2009 at 12:25 AM, rgheck wrote: > John McCabe-Dansted wrote: >> >> I am using LyX on the Eeepc 701 which has a 800x480 resolution. >> Unfortunately a number of LyX dialogs are a bit too large to fit on >> the screen. I used "kcmshell font" to set the fontsize to 7 in >> ~/.qt/qtrc. However LyX seems to have ignored this setting. >> >> > > You need to set that for qt4. I'd use qtconfig-qt4 to do that, but I don't > know if it's available on your machine. I added the following to ~/.config/Trolltech.conf It worked but it was a bit harsh that I had to use a font size of 5. I don't suppose anyone knows of a way to scale down the space *between* items on the dialog? (which is where much of the space goes). [Qt] font="Sans Serif,5,-1,5,50,0,0,0,0,0" > FYI, I've got all our EeePCs---two 901s and a 1000---all running Fedora 10, > which works very well with one of the lighter desktops, like XFCE or LXDE. > And then you can do as you please. I think the 900+ EeePCs have a resolution of 1024x600, which really helps. -- John C. McCabe-Dansted PhD Student University of Western Australia
Re: LyX to HTML?
On Wed, 25 Mar 2009 23:51:04 + (UTC) Anders Host-Madsen wrote: > > > tex4ht works on all platforms. It is normally accessed when you > > view your document as HTML from LyX. > > If this is not the case tex4ht is not installed. > > (it is often part of the LaTeX distribution). > > Yes, the translation from within lyx works (htlatex is there). But I'm > not very satisfied with the result. Maybe it's possible to customize, > as in heava? The documentation page seems to be down. tex4ht produces quiet a detailed CSS. I think that your customisation could be done through that. In the latest versions, the CSS is a separate file. Hevea produces a somewhat less detailed CSS, but it is included inline. tex4ht puts footnotes in separate files, which I don't like. I suppose that behaviour can be changed, but I don't know how to do it. Hevea only seems to work with the standard classes - at least it doesn't know about the memoir class. Again, that can probably be fixed - just not by me :-). Alan > > > > >