Re: PDF viewer..........
On Sun, 20 Feb 2011 17:44:29 +1100 Charlie wrote: > > Am using LyX Version 2.0.0beta4 - Monday February 7 - 2011 on Debian > testing. > > I want to use Okular, as I did previoulsy rather than xpdf to > view .pdf files, but don't know where I should change this. > > Assistance would be appreciated. > > Be well, > Charlie My apologies for the noise regarding the above. I did not have okular installed. [embarrassed] hangs head in shame. Charlie -- http://www.skymesh.net.au/~taogypsy/ - Registered Linux User:- 329524 *** Man is the matter of the cosmos, contemplating itself. --- CARL SAGAN *** Debian GNU/Linux - just the best way to create magic -
PDF viewer..........
Am using LyX Version 2.0.0beta4 - Monday February 7 - 2011 on Debian testing. I want to use Okular, as I did previoulsy rather than xpdf to view .pdf files, but don't know where I should change this. Assistance would be appreciated. Be well, Charlie -- http://www.skymesh.net.au/~taogypsy/ - Registered Linux User:- 329524 *** I don't seek enlightenment, nor am I deluded, I don't worship Buddha, nor am I disrespectful. I don't sit for long periods, nor am I lazy. I don't eat only once a day, nor am I a glutton. I am not contented, nor am I greedy. When the mind does not seek anything, this is called the Way. JAYATA *** Debian GNU/Linux - just the best way to create magic -
Lyx 2.0 FTP link
Hi, I would like to download LyX 2.0.0 beta 3, as noted here : http://www.lyx.org/News#item3 However, the link to the FTP server doesn't work (hasn't worked all afternoon). Perhaps it is just temporarily down? Or, is there another way to access it? Thanks
Customising Index Title & Body Text
On 12/02/11 18:23, Clive&Pauline_Libotte wrote: > > On 07/02/11 16:42, Clive&Pauline_Libotte wrote: > >> >> Dear Lyxers, >> >> I have spent hundreds of hours hand-crafting the front matter of a book, >> >> but one area has me stumped. How do I access a method of customising >> >> the Index title and it's body text. I have not found anything reliable >> >> on the Web or in this list. Where is the documentation on this -- plenty >> >> on the customising of the TOC, getting on with that. Thanks for your >> >> knowledgeable help. >> >> >> >> Clive Libotte. >> >> >> > > Replying to myself (I think, having just set up the list on my email) > > Thanks to Marcelo and Sefano for their prompt replies. I did not need > > the additional tex packages recommended, as I wanted only the titles and > > page numbering in the Index, TOC, List of Figures and List of Tables to > > match the graphics of the main text; the body text was all right. So my > > heading Customising Index Title & Body Text is too expansive -- sorry. > > Your replies sent me on new lines of research though, which were > > successful. For the benefit of other newcomers to Lyx; the lines of code > > that I used are as follows. Note, that I have the fancyhdr package > > loaded with document class book, Lyx version 1.6.7. The front matter > > page numbering style is set early and carries on though the Table of > > Contents on to the end of the front matter. The Index is numbered the > > same as the main text. You set the numbering styles with the package > > fancyhdr. > > > > To change the Index title font to match the chapter titles, do the > > following in ERT just before the embedded Index label:- > > > > \makeatletter > > \let\ps@plain\ps@fancy > > \makeatother > > \renewcommand\indexname{\bfseries \sffamily \Huge Index} > > \addcontentsline{toc}{chapter}{\bfseries \sffamily \large Index} > > > > You can do the same with the TOC, List of Figures, List of Tables by > > changing the "\indexname" to "\contentsname", \listfigurename" or > > "\listtablename" as required. The last line of the code "\addcontents > > ..." is to add the Index title to the TOC which is not done as default. > > > > > > > > Hope this help others. > > > Replying to myself once more for the benefit of the newsgroup. Upon proof reading the output, the last line in the above code \addcontentsline{toc}{chapter}{\bfseries \sffamily \large Index} is not correct, because the commands \bfseries \sffamily \large, cause an unexpected result which turns up in the TOC. The entry "Index" in the TOC does indeed appear, but in the serif font instead of the sanserif font with the associated page number in the correct serif font (all the page numbers in the TOC are in serif font, so that it matches). The correct way to change the "Index" entry to sanserif (to match the other chapter headings) in the TOC is like this. load the tocloft package in the preamble \usepackage{tocloft} insert the ERT code just before the "Table of Contents" label like this, \renewcommand{cftchapfont}{\bfseries \sffamily \normalsize}. Now the "Index" entry is sanserif matching the other chapter entries. So I did end up needing an additional package to do this job after all; can't always keep things simple! -- Clive Libotte, IEng. MInstMC. -- Tel: 08 9403 0129 Mob: 043 571 5607
How! -- Index with Balanced Columns
Dear Lyxers I am using Lyx 1.6.7, Book Class, on openSUSE 11.1. I want to convert the standard two-column Index behavior to achieve balanced columns on the last Index page.( that is, from a single column down the left-hand side of the page with an empty column the right-hand side, to two columns of equal length reaching approxmimately half-way down the page). I have searched and found the following advice and code. Load the multicol package. \usepackage{multicol} Enter code in ERT just before the Index label %change the index environment to achieve balanced columns on last page \let\orgtheindex\theindex \let\orgendtheindex\endtheindex \def\theindex{% \def\twocolumn{\begin{multicols}{2}}% \def\onecolumn{}% \clearpage \orgtheindex } \def\endtheindex{% \end{multicols}% \orgendtheindex } This code is pasted from the Internet but not for the Lyx Book Class; although the code appears in several places in almost indentical form. It does not throw up an error, not does it have any effect on the Index; but it does mess up the following page by moving a float picture. So there is some interaction, but not that desired. There is one small additional effect -- the word Index in normal font appears at the end of the Index. Would anyone explain how this approach can be made to work? Thanks for your expertise. Kind Regards, -- Clive Libotte, IEng. MInstMC. -- Tel: 08 9403 0129 Mob: 043 571 5607
Re: How to access graphics files exported from LyX from LaTeX insets?
Kuba Ober wrote: > So, the general problem is thus: LyX prevents me from referencing any files > that it doesn't know about in the LaTeX output. No (at least not that general). > This completely breaks things that are easy when you use plain LaTeX: say > that you want to include graphics in the page header/footer. There's no > way to do it directly in LyX (or is there?), so you have to put the header > definition in ERT or in the preamble. But the files that I have in the > directory where the .lyx document resides are inaccessible to LaTeX unless > LyX knows about them and copies them into the temp directory! No. If you enter a graphic via ERT, LaTeX usually finds it since it puts the following line in the LaTeX preamble: \def\input@path{{/path/to/working/directory/}} This works at least for ERT insertions in the body; I did not test the preamble. In any case, you can also * insert a normal graphic (via Insert > Graphics) inbetween an ERT construct * use absolute paths * put the graphic in the texmf tree > In general case, you cannot refer to files outside of the directory where > the exported LaTeX file resides, since they may well contain spaces: this > is simply a mis-feature of LaTeX that LyX works around. I'd rather say that using spaces in paths is a misfeature of modern operating systems ;-) > I'm thinking of a following feature that would fix it: > > A list of "extra" files in the document settings dialog, that LyX moves > over to the export directory along with other files it knows about (the > exported LaTeX output, [converted] graphics, etc). There would be two > entries per file: the full path, and the output (exported) file name. By > default, the output file name would simply be the path-less name of the > source file. In case of conflicts, numeric suffixes could be automatically > appended. A checkbox would enable a custom output file name in cases where > it'd help. Did you consider if external insets help in your case? > Would this be something that could be accepted as a patch this late in the > 2.0 cycle? I think I could give it a shot. I don't think so. We're close to a feature freeze. But it's not my decision. Jürgen
animated gif
Guten Tag, Ich möchte einen kurzen Farbfilm als animated gif herstellen. Mit einer Nikon habe ich für 3 Tage alle 4 Minuten je ein tif-Bild hergestellt (es handelt sich um den Tagesrhythmus des Öffnens und Schließens von Blütenblättern). Mit gifsicle (Netpbm) sollten die animated.gif hergestellt werden. Ich muss also erst die tif in ppm umwandeln, was ich so versuchte: (alle Bilder von 0006 bis 0628 in einem Directory) KalaUmwandlungen$ tifftopnm dsc_00??.tif dsc_00??.ppm tifftopnm: Too many arguments. The only argument accepted is the input file specification was war da falsch? Die nächste Frage: Die Bilder sollten mit pamcut beschnitten werden, da die oberen und seitlichen Bildteile irrelevant sind. Und das für alle 600.. Bilder. Ferner sind die Bilder zu groß (19.8, nach crop 4MB). Ich habe längere Zeit herumexperimentiert, würde sehr dankbar sein, wenn jemand, der da Erfahrung hat, mir einige Tips geben kann (am besten wäre ein Skript, mit dem man die ganzen Schritte in einem Rutsch abarbeiten könnte). Wolfgang