How to determine where I am on a page.
I have hacked up my own class file. It does 95% of what I set out to achieve. However, I am stuck with the final bit of polish. I have an element that I don't want to appear at the bottom of a page. Therefore, I need to test to find out how far down the page I am, and if more than 75% of the page is used, insert a \newpage. Any pointers of where to find a solution to this would be appreciated. -- Philip Stubbs
Re: How to determine where I am on a page.
Philip Stubbs wrote: I have an element that I don't want to appear at the bottom of a page. Therefore, I need to test to find out how far down the page I am, and if more than 75% of the page is used, insert a \newpage. One possibility: % Conditional pagebreak \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} \newcommand*\condbr[1]{\condbreak{#1\baselineskip}} - Then you can use either \condbr{3} which will insert a page break if less then 3 lines of text follow or \condbreak{any value} e.g. \condbreak{.25\textheight} HTH, Jürgen
Re: How to determine where I am on a page.
On 01/25/2010 04:52 AM, Jürgen Spitzmüller wrote: % Conditional pagebreak \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} As a related question: What does \relax do, and when does one need it? rh
Re: Change tracking
On 01/23/2010 04:59 AM, E. Kaplan wrote: It seems that inserting notes into a Lyx file while tracking changes modifies the color of some parts of the text in the pdf output to blue, misleading the reader to believe that the blue text is new insertions, while it is not. This is true of both 1.6.4 (on Kubuntu 9.10, 64 bit) and 1.6.5 (Windows XP). Is this a bug? It certainly is not a helpful feature! Can you post an example file? What are you seeing in the LaTeX output? rh
Re: How to determine where I am on a page.
rgheck wrote: As a related question: What does \relax do, and when does one need it? http://en.wikibooks.org/wiki/TeX/relax Note, though, that the \condbreak macro is not my doing. I've picked it up eventually on comp.text.tex. Jürgen
Re: How to determine where I am on a page.
On 01/25/2010 07:59 AM, Jürgen Spitzmüller wrote: rgheck wrote: As a related question: What does \relax do, and when does one need it? http://en.wikibooks.org/wiki/TeX/relax Thanks. I thought it must be something like that. rh
Don't understand LaTeX Error
Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
Re: Don't understand LaTeX Error
On 01/25/2010 10:37 AM, Matthias Schmidt wrote: Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: I think the problem is that you have put a footnote inside a subsubsection heading. This is a bad idea. Are you generating a table of contents? If so, then the problem is that LaTeX is trying to put the footnote inside the table of contents. Surely you do not want this. rh LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted?
Re: Clear double page and start at left page
Finally managed to solve the problem using the textpos package. In your preamble, put: % absolute to use whole page, showboxes draws line around each box, useful for debugging \usepackage[absolute,showboxes]{textpos} % sets up a grid, useful for debugging \usepackage[texcoord,colorgrid]{eso-pic} % adjust zero point to left upper of page \textblockorigin{0mm}{0mm} % generate grid of 10x10 and keep margins of 15 mm left and right and 30 mm top bottom around the grid \TPGrid[15mm,30mm]{10}{10} % create some constants. \newcommand{\boxwidth}{5} \newcommand{\xleft}{0} \newcommand{\yleft}{0} \newcommand{\xright}{5.1} \newcommand{\yright}{5} then, instert some ERT to have one page with four figures. \begin{textblock}{\boxwidth}(\xleft,\yleft) figure \end{textblock} \begin{textblock}{\boxwidth}(\xright,\yleft) figure \end{textblock} \begin{textblock}{\boxwidth}(\xleft,\yright) figure \end{textblock} \begin{textblock}{\boxwidth}(\xright,\yright) figure \end{textblock} insert your figures / minipage / whatever you want at figures in the normal Lyx way. If you have multiple pages with figures and no text, inserting a clear page / clear double page / page break / new page is NOT sufficient to prevent the figures from cluttering on one page. You have to put a 'protected space' (Ctrl+Space) behind the last '\end(textblock)' ERT. It took me quite a while to figure this out, but it has to do with the fact minipages are just put under normal text, no wrapping is applied. If you want the content of a textblock to scale with \boxwidth (you probably want that), insert the content in a minipage (Box in Lyx) and set the width of the minipage to 100 Column Width %. The minipage may also be in a float figure environment. Finally, it would have been useful if somebody had provided me a hint to this package... Regards, Corné 2010/1/24 Jan Piet Joris en Corneel jpjorisencorn...@gmail.com: Dear all, I have two pages of graphs of a measurement in a two sided layout with normal left-to-right text. I use classicthesis. The graphs consists of four floats and should be printed on two pages opposite to each other, so when someone opens the document, one can see all four graphs at once. Until now, I tried with clear page, clear double page ect. to do this. Unfortunately after 'clear double page', a right (odd) page starts, which is expected behaviour. I want to change this to left for this case. In the other parts of the document, clear double page should behave normally. Does anybody have some suggestions? Maybe clever use of minipage or ERT? Thanks, Corné
lyx2lyx failure
I am trying to open a lyx file produced by a conversion script and Lyx (1.6.5) fails claiming lyx2lyx could not convert it. The lyx file is in lyx format 2.16 (or so it claims in its header). Launching lyx2lyx from the console gives the following error: Warning: An error ocurred in 225, function add_end_layout at 0x295f230 Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module main() File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main doc.convert() File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert conv(self) File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout struct_stack.pop() IndexError: pop from empty list Any insight on what the problem may be? Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Index of descriptions
Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Thanks, Manolo
photographs: what format to use for b/w printing via lyx?
Does anyone have any useful input on what photo format gives the best quality results on b/w printing via lyx? Are there any optimal values, or things to worry about? TIA Richard
Re: Don't understand LaTeX Error
yes, I didn't think about the table of contents, ok. But I would like to understand, what is happening there: I get the LaTeX error only with \citet{GieslerG1990} but not with \cite{GieslerG1990}. Why doesn't Lyx accept this one citation style but the other one is ok? am Montag, 25. Januar 2010 um 16:40 schrieben Sie: On 01/25/2010 10:37 AM, Matthias Schmidt wrote: Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: I think the problem is that you have put a footnote inside a subsubsection heading. This is a bad idea. Are you generating a table of contents? If so, then the problem is that LaTeX is trying to put the footnote inside the table of contents. Surely you do not want this. rh LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
RE: photographs: what format to use for b/w printing via lyx?
Hi Richard, What kinds of photos are they? For example, are they screenshots that you've converted to black and white? Or are they text on a white background? Or are they grayscale images or are they true black and white (two-tone images)? Are there any pertinent details that you wish to highlight? What kind of contrast values are you hoping to get? What is the initial resolution? Do you have high-res copies for printing on a press or will you be printing from a desktop computer? The answer to your original question really depends on what you want to do with them. My experience with LyX has been that it does a pretty good job with whatever images you feed to it, but it isn't a photo manipulation program. All of the manipulation should happen to the input images before you compile into a DVI or PDF. After that, you will need to make the changes to the PDF in a program like Inkscape, Acrobat Professional, or Illustrator. In general, however, I would recommend that you use TIFF images for black + white and grayscale (either uncompressed or lossless compression). Greyscale images are much smaller than color images with only a single channel of information. In contrast, color images often have three or four channels of information. Since they contain much less data, using lossy compression (such as JPEG) doesn't result in a much smaller image size. Additionally, JPEG and other compressed image formats will often introduce distortions. While this won't be visible if printing on a desktop printer or viewing on screen, it is a terribly bad idea to use low resolution or compressed images in a file bound for a printing press. For graphs and other data graphics, I would highly recommend creating either an EPS or PDF image. When doing so, make sure that the graphic is a vector based image rather than a rasterized version. This will result in a much crisper looking print reproduction. The process for doing so varies from program to program, however. Best of luck with your project. Cheers, Rob Oakes
Re: Document with PDFs
Is this not the right list for this kind of errors? Should I check bugzilla? Can someone send it to the developer list? My wife told me that today she closed all the footnotes and was able to compile the document. I haven't been able to verify this, but I'll try later tonight. Best regards. - Julio Rojas jcredbe...@gmail.com On Sun, Jan 24, 2010 at 4:10 PM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, I have a document with some images in PDF format. I have prepared the images in Inkscape (Windows XP). The document is being compiled in LyX 1.6.5 (Leopard). When the document is compiled the following message is presented: basic_filebuf::_M_convert_to_external conversion error I tried compiling the document in LaTeX directly and it worked perfectly. I also tried convert directly with one of the images, turning the PDF into a PS, and it also worked perfectly. Any idea? Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: Index of descriptions
On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
RE: photographs: what format to use for b/w printing via lyx?
Thanks for that encouraging reply, Rob. Can I ask a quick supplementary? I have colour jpgs, not particularly high res but neither are they poor. And I'm making a pdf for submission to a printer, to be printed in b/w. The jpgs are atthe moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? On Mon, 2010-01-25 at 11:20 -0700, Rob Oakes wrote: Hi Richard, What kinds of photos are they? For example, are they screenshots that you've converted to black and white? Or are they text on a white background? Or are they grayscale images or are they true black and white (two-tone images)? Are there any pertinent details that you wish to highlight? What kind of contrast values are you hoping to get? What is the initial resolution? Do you have high-res copies for printing on a press or will you be printing from a desktop computer? The answer to your original question really depends on what you want to do with them. My experience with LyX has been that it does a pretty good job with whatever images you feed to it, but it isn't a photo manipulation program. All of the manipulation should happen to the input images before you compile into a DVI or PDF. After that, you will need to make the changes to the PDF in a program like Inkscape, Acrobat Professional, or Illustrator. In general, however, I would recommend that you use TIFF images for black + white and grayscale (either uncompressed or lossless compression). Greyscale images are much smaller than color images with only a single channel of information. In contrast, color images often have three or four channels of information. Since they contain much less data, using lossy compression (such as JPEG) doesn't result in a much smaller image size. Additionally, JPEG and other compressed image formats will often introduce distortions. While this won't be visible if printing on a desktop printer or viewing on screen, it is a terribly bad idea to use low resolution or compressed images in a file bound for a printing press. For graphs and other data graphics, I would highly recommend creating either an EPS or PDF image. When doing so, make sure that the graphic is a vector based image rather than a rasterized version. This will result in a much crisper looking print reproduction. The process for doing so varies from program to program, however. Best of luck with your project. Cheers, Rob Oakes
Re: Index of descriptions
But that does not save me from going description by description adding the glossary entry manually, does it? Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
Re: Index of descriptions
On 01/25/2010 02:37 PM, Manolo Martínez wrote: But that does not save me from going description by description adding the glossary entry manually, does it? You could redefine the description environment in such a way that it handled this for you, I think. rh Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
RE: photographs: what format to use for b/w printing via lyx?
Hi Richard, Can I ask a quick supplementary? Of course. The jpgs are at the moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? By all means, process the files. If possible, do this yourself or have someone with a good photographic eye do it. This ensures that you get the image that you want. If you don't convert them, then someone (or worse, some machine) at the printers will. This can sometimes result in a final product different than you had envisioned. Black and white is a completely different medium than color and it usually takes a little bit of tweaking to make sure that you get the images to your satisfaction. For example, most black and white photos should have a bit more contrast and a slightly higher adjusted exposure than the equivalent color photograph. This helps to bring out relevant details that might otherwise not be visible. (Keep in mind that I tend to be extremely fussy about images and figures.) The conversion shouldn't really cost you any definition, since you're only converting from color to black and white. Loss of definition seems to happen when changing the physical dimensions of the image. The conversion can be done in the photo program of your choice, but using Photoshop or Gimp will give you a tremendous amount of fine control over the image appearance. Re: JPEG to Tiff conversion. If your source images are already JPEG, then you shouldn't you don't really gain anything by saving it to TIFF (though I would anyway). If you save back to JPEG, make sure that the quality bar is set to 100%, or it will further compress the image and you will lose additional data. Also, when you scale the images, make sure that they aren't down sampled (some image editing programs don't distinguish between the pixel dimensions and the physical dimensions). You want the pixel dimensions to remain the same, regardless of the physical dimensions. Most printing presses require images that are at least 300 dpi, though bigger is *always* better. It's a completely different mindset than when creating something for online distribution. Thus, I would avoid Photoshop's Save for Web and Devices feature or anything any-way similar. The entire purpose of Save for Web and Devices and co. is to down sample, not scale. One final thought: as long as the source images are of sufficient size, I would stick to scaling inside of LyX itself. There is a dialog box that will let you specify the physical dimensions without messing with the source image. Hope this is of some help. If you have any other questions, please don't hesitate to let me know. Cheers, Rob
Instead of A B .. in Appendix Appendix A Appendix B
Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Genealogy symbols
Hello, I need genealogy symbols in a lyx-document. I installed the genealogy package with the MiKTeX package manager, reconfigured lyx, started lyx again - but I don't find the symbols (insert/special character/symbols). Please, how can I use the genealogy symbols in my document? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
RE: photographs: what format to use for b/w printing via lyx?
Thanks, Rob. That was very clear and helpful! Richard On Mon, 2010-01-25 at 13:12 -0700, Rob Oakes wrote: Hi Richard, Can I ask a quick supplementary? Of course. The jpgs are at the moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? By all means, process the files. If possible, do this yourself or have someone with a good photographic eye do it. This ensures that you get the image that you want. If you don't convert them, then someone (or worse, some machine) at the printers will. This can sometimes result in a final product different than you had envisioned. Black and white is a completely different medium than color and it usually takes a little bit of tweaking to make sure that you get the images to your satisfaction. For example, most black and white photos should have a bit more contrast and a slightly higher adjusted exposure than the equivalent color photograph. This helps to bring out relevant details that might otherwise not be visible. (Keep in mind that I tend to be extremely fussy about images and figures.) The conversion shouldn't really cost you any definition, since you're only converting from color to black and white. Loss of definition seems to happen when changing the physical dimensions of the image. The conversion can be done in the photo program of your choice, but using Photoshop or Gimp will give you a tremendous amount of fine control over the image appearance. Re: JPEG to Tiff conversion. If your source images are already JPEG, then you shouldn't you don't really gain anything by saving it to TIFF (though I would anyway). If you save back to JPEG, make sure that the quality bar is set to 100%, or it will further compress the image and you will lose additional data. Also, when you scale the images, make sure that they aren't down sampled (some image editing programs don't distinguish between the pixel dimensions and the physical dimensions). You want the pixel dimensions to remain the same, regardless of the physical dimensions. Most printing presses require images that are at least 300 dpi, though bigger is *always* better. It's a completely different mindset than when creating something for online distribution. Thus, I would avoid Photoshop's Save for Web and Devices feature or anything any-way similar. The entire purpose of Save for Web and Devices and co. is to down sample, not scale. One final thought: as long as the source images are of sufficient size, I would stick to scaling inside of LyX itself. There is a dialog box that will let you specify the physical dimensions without messing with the source image. Hope this is of some help. If you have any other questions, please don't hesitate to let me know. Cheers, Rob
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word Appendix as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Monday 25 January 2010 16:53:30 Rainer M Krug wrote: On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word Appendix as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Rainer, What document class are you using? Do me a favor. Using the Book document class, make a brand new document with one chapter and one appendix, and see if it comes out the way I described, and let us know what happened. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Tue, Jan 26, 2010 at 12:22 AM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 16:53:30 Rainer M Krug wrote: On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word Appendix as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Hi Steve thanks for your help. It is getting late and I am leaving the manuscript as it is. I will come back to you tomorrow to follow it up. Thanks, Rainer Rainer, What document class are you using? Do me a favor. Using the Book document class, make a brand new document with one chapter and one appendix, and see if it comes out the way I described, and let us know what happened. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Index of descriptions
OK, thanks, I'll try that. M rgheck escribió: On 01/25/2010 02:37 PM, Manolo Martínez wrote: But that does not save me from going description by description adding the glossary entry manually, does it? You could redefine the description environment in such a way that it handled this for you, I think. rh Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
How to determine where I am on a page.
I have hacked up my own class file. It does 95% of what I set out to achieve. However, I am stuck with the final bit of polish. I have an element that I don't want to appear at the bottom of a page. Therefore, I need to test to find out how far down the page I am, and if more than 75% of the page is used, insert a \newpage. Any pointers of where to find a solution to this would be appreciated. -- Philip Stubbs
Re: How to determine where I am on a page.
Philip Stubbs wrote: I have an element that I don't want to appear at the bottom of a page. Therefore, I need to test to find out how far down the page I am, and if more than 75% of the page is used, insert a \newpage. One possibility: % Conditional pagebreak \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} \newcommand*\condbr[1]{\condbreak{#1\baselineskip}} - Then you can use either \condbr{3} which will insert a page break if less then 3 lines of text follow or \condbreak{any value} e.g. \condbreak{.25\textheight} HTH, Jürgen
Re: How to determine where I am on a page.
On 01/25/2010 04:52 AM, Jürgen Spitzmüller wrote: % Conditional pagebreak \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} As a related question: What does \relax do, and when does one need it? rh
Re: Change tracking
On 01/23/2010 04:59 AM, E. Kaplan wrote: It seems that inserting notes into a Lyx file while tracking changes modifies the color of some parts of the text in the pdf output to blue, misleading the reader to believe that the blue text is new insertions, while it is not. This is true of both 1.6.4 (on Kubuntu 9.10, 64 bit) and 1.6.5 (Windows XP). Is this a bug? It certainly is not a helpful feature! Can you post an example file? What are you seeing in the LaTeX output? rh
Re: How to determine where I am on a page.
rgheck wrote: As a related question: What does \relax do, and when does one need it? http://en.wikibooks.org/wiki/TeX/relax Note, though, that the \condbreak macro is not my doing. I've picked it up eventually on comp.text.tex. Jürgen
Re: How to determine where I am on a page.
On 01/25/2010 07:59 AM, Jürgen Spitzmüller wrote: rgheck wrote: As a related question: What does \relax do, and when does one need it? http://en.wikibooks.org/wiki/TeX/relax Thanks. I thought it must be something like that. rh
Don't understand LaTeX Error
Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
Re: Don't understand LaTeX Error
On 01/25/2010 10:37 AM, Matthias Schmidt wrote: Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: I think the problem is that you have put a footnote inside a subsubsection heading. This is a bad idea. Are you generating a table of contents? If so, then the problem is that LaTeX is trying to put the footnote inside the table of contents. Surely you do not want this. rh LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted?
Re: Clear double page and start at left page
Finally managed to solve the problem using the textpos package. In your preamble, put: % absolute to use whole page, showboxes draws line around each box, useful for debugging \usepackage[absolute,showboxes]{textpos} % sets up a grid, useful for debugging \usepackage[texcoord,colorgrid]{eso-pic} % adjust zero point to left upper of page \textblockorigin{0mm}{0mm} % generate grid of 10x10 and keep margins of 15 mm left and right and 30 mm top bottom around the grid \TPGrid[15mm,30mm]{10}{10} % create some constants. \newcommand{\boxwidth}{5} \newcommand{\xleft}{0} \newcommand{\yleft}{0} \newcommand{\xright}{5.1} \newcommand{\yright}{5} then, instert some ERT to have one page with four figures. \begin{textblock}{\boxwidth}(\xleft,\yleft) figure \end{textblock} \begin{textblock}{\boxwidth}(\xright,\yleft) figure \end{textblock} \begin{textblock}{\boxwidth}(\xleft,\yright) figure \end{textblock} \begin{textblock}{\boxwidth}(\xright,\yright) figure \end{textblock} insert your figures / minipage / whatever you want at figures in the normal Lyx way. If you have multiple pages with figures and no text, inserting a clear page / clear double page / page break / new page is NOT sufficient to prevent the figures from cluttering on one page. You have to put a 'protected space' (Ctrl+Space) behind the last '\end(textblock)' ERT. It took me quite a while to figure this out, but it has to do with the fact minipages are just put under normal text, no wrapping is applied. If you want the content of a textblock to scale with \boxwidth (you probably want that), insert the content in a minipage (Box in Lyx) and set the width of the minipage to 100 Column Width %. The minipage may also be in a float figure environment. Finally, it would have been useful if somebody had provided me a hint to this package... Regards, Corné 2010/1/24 Jan Piet Joris en Corneel jpjorisencorn...@gmail.com: Dear all, I have two pages of graphs of a measurement in a two sided layout with normal left-to-right text. I use classicthesis. The graphs consists of four floats and should be printed on two pages opposite to each other, so when someone opens the document, one can see all four graphs at once. Until now, I tried with clear page, clear double page ect. to do this. Unfortunately after 'clear double page', a right (odd) page starts, which is expected behaviour. I want to change this to left for this case. In the other parts of the document, clear double page should behave normally. Does anybody have some suggestions? Maybe clever use of minipage or ERT? Thanks, Corné
lyx2lyx failure
I am trying to open a lyx file produced by a conversion script and Lyx (1.6.5) fails claiming lyx2lyx could not convert it. The lyx file is in lyx format 2.16 (or so it claims in its header). Launching lyx2lyx from the console gives the following error: Warning: An error ocurred in 225, function add_end_layout at 0x295f230 Traceback (most recent call last): File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module main() File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main doc.convert() File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert conv(self) File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout struct_stack.pop() IndexError: pop from empty list Any insight on what the problem may be? Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Index of descriptions
Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Thanks, Manolo
photographs: what format to use for b/w printing via lyx?
Does anyone have any useful input on what photo format gives the best quality results on b/w printing via lyx? Are there any optimal values, or things to worry about? TIA Richard
Re: Don't understand LaTeX Error
yes, I didn't think about the table of contents, ok. But I would like to understand, what is happening there: I get the LaTeX error only with \citet{GieslerG1990} but not with \cite{GieslerG1990}. Why doesn't Lyx accept this one citation style but the other one is ok? am Montag, 25. Januar 2010 um 16:40 schrieben Sie: On 01/25/2010 10:37 AM, Matthias Schmidt wrote: Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: I think the problem is that you have put a footnote inside a subsubsection heading. This is a bad idea. Are you generating a table of contents? If so, then the problem is that LaTeX is trying to put the footnote inside the table of contents. Surely you do not want this. rh LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
RE: photographs: what format to use for b/w printing via lyx?
Hi Richard, What kinds of photos are they? For example, are they screenshots that you've converted to black and white? Or are they text on a white background? Or are they grayscale images or are they true black and white (two-tone images)? Are there any pertinent details that you wish to highlight? What kind of contrast values are you hoping to get? What is the initial resolution? Do you have high-res copies for printing on a press or will you be printing from a desktop computer? The answer to your original question really depends on what you want to do with them. My experience with LyX has been that it does a pretty good job with whatever images you feed to it, but it isn't a photo manipulation program. All of the manipulation should happen to the input images before you compile into a DVI or PDF. After that, you will need to make the changes to the PDF in a program like Inkscape, Acrobat Professional, or Illustrator. In general, however, I would recommend that you use TIFF images for black + white and grayscale (either uncompressed or lossless compression). Greyscale images are much smaller than color images with only a single channel of information. In contrast, color images often have three or four channels of information. Since they contain much less data, using lossy compression (such as JPEG) doesn't result in a much smaller image size. Additionally, JPEG and other compressed image formats will often introduce distortions. While this won't be visible if printing on a desktop printer or viewing on screen, it is a terribly bad idea to use low resolution or compressed images in a file bound for a printing press. For graphs and other data graphics, I would highly recommend creating either an EPS or PDF image. When doing so, make sure that the graphic is a vector based image rather than a rasterized version. This will result in a much crisper looking print reproduction. The process for doing so varies from program to program, however. Best of luck with your project. Cheers, Rob Oakes
Re: Document with PDFs
Is this not the right list for this kind of errors? Should I check bugzilla? Can someone send it to the developer list? My wife told me that today she closed all the footnotes and was able to compile the document. I haven't been able to verify this, but I'll try later tonight. Best regards. - Julio Rojas jcredbe...@gmail.com On Sun, Jan 24, 2010 at 4:10 PM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, I have a document with some images in PDF format. I have prepared the images in Inkscape (Windows XP). The document is being compiled in LyX 1.6.5 (Leopard). When the document is compiled the following message is presented: basic_filebuf::_M_convert_to_external conversion error I tried compiling the document in LaTeX directly and it worked perfectly. I also tried convert directly with one of the images, turning the PDF into a PS, and it also worked perfectly. Any idea? Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: Index of descriptions
On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
RE: photographs: what format to use for b/w printing via lyx?
Thanks for that encouraging reply, Rob. Can I ask a quick supplementary? I have colour jpgs, not particularly high res but neither are they poor. And I'm making a pdf for submission to a printer, to be printed in b/w. The jpgs are atthe moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? On Mon, 2010-01-25 at 11:20 -0700, Rob Oakes wrote: Hi Richard, What kinds of photos are they? For example, are they screenshots that you've converted to black and white? Or are they text on a white background? Or are they grayscale images or are they true black and white (two-tone images)? Are there any pertinent details that you wish to highlight? What kind of contrast values are you hoping to get? What is the initial resolution? Do you have high-res copies for printing on a press or will you be printing from a desktop computer? The answer to your original question really depends on what you want to do with them. My experience with LyX has been that it does a pretty good job with whatever images you feed to it, but it isn't a photo manipulation program. All of the manipulation should happen to the input images before you compile into a DVI or PDF. After that, you will need to make the changes to the PDF in a program like Inkscape, Acrobat Professional, or Illustrator. In general, however, I would recommend that you use TIFF images for black + white and grayscale (either uncompressed or lossless compression). Greyscale images are much smaller than color images with only a single channel of information. In contrast, color images often have three or four channels of information. Since they contain much less data, using lossy compression (such as JPEG) doesn't result in a much smaller image size. Additionally, JPEG and other compressed image formats will often introduce distortions. While this won't be visible if printing on a desktop printer or viewing on screen, it is a terribly bad idea to use low resolution or compressed images in a file bound for a printing press. For graphs and other data graphics, I would highly recommend creating either an EPS or PDF image. When doing so, make sure that the graphic is a vector based image rather than a rasterized version. This will result in a much crisper looking print reproduction. The process for doing so varies from program to program, however. Best of luck with your project. Cheers, Rob Oakes
Re: Index of descriptions
But that does not save me from going description by description adding the glossary entry manually, does it? Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
Re: Index of descriptions
On 01/25/2010 02:37 PM, Manolo Martínez wrote: But that does not save me from going description by description adding the glossary entry manually, does it? You could redefine the description environment in such a way that it handled this for you, I think. rh Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
RE: photographs: what format to use for b/w printing via lyx?
Hi Richard, Can I ask a quick supplementary? Of course. The jpgs are at the moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? By all means, process the files. If possible, do this yourself or have someone with a good photographic eye do it. This ensures that you get the image that you want. If you don't convert them, then someone (or worse, some machine) at the printers will. This can sometimes result in a final product different than you had envisioned. Black and white is a completely different medium than color and it usually takes a little bit of tweaking to make sure that you get the images to your satisfaction. For example, most black and white photos should have a bit more contrast and a slightly higher adjusted exposure than the equivalent color photograph. This helps to bring out relevant details that might otherwise not be visible. (Keep in mind that I tend to be extremely fussy about images and figures.) The conversion shouldn't really cost you any definition, since you're only converting from color to black and white. Loss of definition seems to happen when changing the physical dimensions of the image. The conversion can be done in the photo program of your choice, but using Photoshop or Gimp will give you a tremendous amount of fine control over the image appearance. Re: JPEG to Tiff conversion. If your source images are already JPEG, then you shouldn't you don't really gain anything by saving it to TIFF (though I would anyway). If you save back to JPEG, make sure that the quality bar is set to 100%, or it will further compress the image and you will lose additional data. Also, when you scale the images, make sure that they aren't down sampled (some image editing programs don't distinguish between the pixel dimensions and the physical dimensions). You want the pixel dimensions to remain the same, regardless of the physical dimensions. Most printing presses require images that are at least 300 dpi, though bigger is *always* better. It's a completely different mindset than when creating something for online distribution. Thus, I would avoid Photoshop's Save for Web and Devices feature or anything any-way similar. The entire purpose of Save for Web and Devices and co. is to down sample, not scale. One final thought: as long as the source images are of sufficient size, I would stick to scaling inside of LyX itself. There is a dialog box that will let you specify the physical dimensions without messing with the source image. Hope this is of some help. If you have any other questions, please don't hesitate to let me know. Cheers, Rob
Instead of A B .. in Appendix Appendix A Appendix B
Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Genealogy symbols
Hello, I need genealogy symbols in a lyx-document. I installed the genealogy package with the MiKTeX package manager, reconfigured lyx, started lyx again - but I don't find the symbols (insert/special character/symbols). Please, how can I use the genealogy symbols in my document? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
RE: photographs: what format to use for b/w printing via lyx?
Thanks, Rob. That was very clear and helpful! Richard On Mon, 2010-01-25 at 13:12 -0700, Rob Oakes wrote: Hi Richard, Can I ask a quick supplementary? Of course. The jpgs are at the moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? By all means, process the files. If possible, do this yourself or have someone with a good photographic eye do it. This ensures that you get the image that you want. If you don't convert them, then someone (or worse, some machine) at the printers will. This can sometimes result in a final product different than you had envisioned. Black and white is a completely different medium than color and it usually takes a little bit of tweaking to make sure that you get the images to your satisfaction. For example, most black and white photos should have a bit more contrast and a slightly higher adjusted exposure than the equivalent color photograph. This helps to bring out relevant details that might otherwise not be visible. (Keep in mind that I tend to be extremely fussy about images and figures.) The conversion shouldn't really cost you any definition, since you're only converting from color to black and white. Loss of definition seems to happen when changing the physical dimensions of the image. The conversion can be done in the photo program of your choice, but using Photoshop or Gimp will give you a tremendous amount of fine control over the image appearance. Re: JPEG to Tiff conversion. If your source images are already JPEG, then you shouldn't you don't really gain anything by saving it to TIFF (though I would anyway). If you save back to JPEG, make sure that the quality bar is set to 100%, or it will further compress the image and you will lose additional data. Also, when you scale the images, make sure that they aren't down sampled (some image editing programs don't distinguish between the pixel dimensions and the physical dimensions). You want the pixel dimensions to remain the same, regardless of the physical dimensions. Most printing presses require images that are at least 300 dpi, though bigger is *always* better. It's a completely different mindset than when creating something for online distribution. Thus, I would avoid Photoshop's Save for Web and Devices feature or anything any-way similar. The entire purpose of Save for Web and Devices and co. is to down sample, not scale. One final thought: as long as the source images are of sufficient size, I would stick to scaling inside of LyX itself. There is a dialog box that will let you specify the physical dimensions without messing with the source image. Hope this is of some help. If you have any other questions, please don't hesitate to let me know. Cheers, Rob
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word Appendix as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Monday 25 January 2010 16:53:30 Rainer M Krug wrote: On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word Appendix as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Rainer, What document class are you using? Do me a favor. Using the Book document class, make a brand new document with one chapter and one appendix, and see if it comes out the way I described, and let us know what happened. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Instead of A B .. in Appendix Appendix A Appendix B
On Tue, Jan 26, 2010 at 12:22 AM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 16:53:30 Rainer M Krug wrote: On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt sl...@troubleshooters.comwrote: On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: Hi I would like to have, instead of the standard numbering in the Appendix (A, B, ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book Rapid Learning for the 21st Century, which is based on the Book document class. That book has an Appendix called Example: SSH. On the Appendix's chapter page, it looks like this: Appendix A Example: SSH Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word Appendix as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt Hi Steve thanks for your help. It is getting late and I am leaving the manuscript as it is. I will come back to you tomorrow to follow it up. Thanks, Rainer Rainer, What document class are you using? Do me a favor. Using the Book document class, make a brand new document with one chapter and one appendix, and see if it comes out the way I described, and let us know what happened. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Index of descriptions
OK, thanks, I'll try that. M rgheck escribió: On 01/25/2010 02:37 PM, Manolo Martínez wrote: But that does not save me from going description by description adding the glossary entry manually, does it? You could redefine the description environment in such a way that it handled this for you, I think. rh Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
How to determine where I am on a page.
I have hacked up my own class file. It does 95% of what I set out to achieve. However, I am stuck with the final bit of polish. I have an element that I don't want to appear at the bottom of a page. Therefore, I need to test to find out how far down the page I am, and if more than 75% of the page is used, insert a \newpage. Any pointers of where to find a solution to this would be appreciated. -- Philip Stubbs
Re: How to determine where I am on a page.
Philip Stubbs wrote: > I have an element that I don't want to appear at the bottom of a page. > Therefore, I need to test to find out how far down the page I am, and > if more than 75% of the page is used, insert a \newpage. One possibility: % Conditional pagebreak \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} \newcommand*\condbr[1]{\condbreak{#1\baselineskip}} - Then you can use either \condbr{3} which will insert a page break if less then 3 lines of text follow or \condbreak{} e.g. \condbreak{.25\textheight} HTH, Jürgen
Re: How to determine where I am on a page.
On 01/25/2010 04:52 AM, Jürgen Spitzmüller wrote: % Conditional pagebreak \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} As a related question: What does \relax do, and when does one need it? rh
Re: Change tracking
On 01/23/2010 04:59 AM, E. Kaplan wrote: It seems that inserting notes into a Lyx file while tracking changes modifies the color of some parts of the text in the pdf output to blue, misleading the reader to believe that the blue text is new insertions, while it is not. This is true of both 1.6.4 (on Kubuntu 9.10, 64 bit) and 1.6.5 (Windows XP). Is this a bug? It certainly is not a helpful feature! Can you post an example file? What are you seeing in the LaTeX output? rh
Re: How to determine where I am on a page.
rgheck wrote: > As a related question: What does \relax do, and when does one need it? http://en.wikibooks.org/wiki/TeX/relax Note, though, that the \condbreak macro is not my doing. I've picked it up eventually on comp.text.tex. Jürgen
Re: How to determine where I am on a page.
On 01/25/2010 07:59 AM, Jürgen Spitzmüller wrote: rgheck wrote: As a related question: What does \relax do, and when does one need it? http://en.wikibooks.org/wiki/TeX/relax Thanks. I thought it must be something like that. rh
Don't understand LaTeX Error
Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
Re: Don't understand LaTeX Error
On 01/25/2010 10:37 AM, Matthias Schmidt wrote: Hello, I'm working with Lyx 1.6.5 and JabRef 2.5 When I want to view the following LaTeX Source as PDF (pdflatex), I get at the end of the first LaTeX run 4 LaTeX errors: I think the problem is that you have put a footnote inside a subsubsection heading. This is a bad idea. Are you generating a table of contents? If so, then the problem is that LaTeX is trying to put the footnote inside the table of contents. Surely you do not want this. rh LaTeX Source: \subsubsection{Die Familien Busch vor der Hardt und Flender\label{sub:Die-Familien-Busch}% \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 im Band 2 von Matthias Schmidt überarbeitet.% }} 1. Error: Undefined control sequence. Description: }} 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. 2. Error: Undefined control sequence. Description: }} 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. 3. Error: Argument of \...@sect has an extra }. Description: }} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. 4. Error: Paragraph ended before \...@sect was complete. Desription: }} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. The cause of the problem seems to be the Citation Style: When I change it from \citet{GieslerG1990} to \cite{GieslerG1990} the LaTeX errors do not come! I don't understand this. What do I have to change, that the first citation style (\citet{GieslerG1990}) will be accepted?
Re: Clear double page and start at left page
Finally managed to solve the problem using the textpos package. In your preamble, put: % absolute to use whole page, showboxes draws line around each box, useful for debugging \usepackage[absolute,showboxes]{textpos} % sets up a grid, useful for debugging \usepackage[texcoord,colorgrid]{eso-pic} % adjust zero point to left upper of page \textblockorigin{0mm}{0mm} % generate grid of 10x10 and keep margins of 15 mm left and right and 30 mm top bottom around the grid \TPGrid[15mm,30mm]{10}{10} % create some constants. \newcommand{\boxwidth}{5} \newcommand{\xleft}{0} \newcommand{\yleft}{0} \newcommand{\xright}{5.1} \newcommand{\yright}{5} then, instert some ERT to have one page with four figures. \begin{textblock}{\boxwidth}(\xleft,\yleft) \end{textblock} \begin{textblock}{\boxwidth}(\xright,\yleft) \end{textblock} \begin{textblock}{\boxwidth}(\xleft,\yright) \end{textblock} \begin{textblock}{\boxwidth}(\xright,\yright) \end{textblock} insert your figures / minipage / whatever you want at in the normal Lyx way. If you have multiple pages with figures and no text, inserting a clear page / clear double page / page break / new page is NOT sufficient to prevent the figures from cluttering on one page. You have to put a 'protected space' (Ctrl+Space) behind the last '\end(textblock)' ERT. It took me quite a while to figure this out, but it has to do with the fact minipages are just put under normal text, no wrapping is applied. If you want the content of a textblock to scale with \boxwidth (you probably want that), insert the content in a minipage (Box in Lyx) and set the width of the minipage to 100 Column Width %. The minipage may also be in a float figure environment. Finally, it would have been useful if somebody had provided me a hint to this package... Regards, Corné 2010/1/24 Jan Piet Joris en Corneel: > Dear all, > > I have two pages of graphs of a measurement in a two sided layout with > normal left-to-right text. I use classicthesis. > > The graphs consists of four floats and should be printed on two pages > opposite to each other, so when someone opens the document, one can > see all four graphs at once. > > Until now, I tried with clear page, clear double page ect. to do this. > Unfortunately after 'clear double page', a right (odd) page starts, > which is expected behaviour. I want to change this to left for this > case. > > In the other parts of the document, clear double page should behave normally. > > Does anybody have some suggestions? Maybe clever use of minipage or ERT? > > Thanks, > Corné >
lyx2lyx failure
I am trying to open a lyx file produced by a conversion script and Lyx (1.6.5) fails claiming lyx2lyx could not convert it. The lyx file is in lyx format 2.16 (or so it claims in its header). Launching lyx2lyx from the console gives the following error: Warning: An error ocurred in 225, Traceback (most recent call last): File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 83, in main() File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 77, in main doc.convert() File "/usr/share/lyx/lyx2lyx/LyX.py", line 500, in convert conv(self) File "/usr/share/lyx/lyx2lyx/lyx_1_4.py", line 449, in add_end_layout struct_stack.pop() IndexError: pop from empty list Any insight on what the problem may be? Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Index of descriptions
Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Thanks, Manolo
photographs: what format to use for b/w printing via lyx?
Does anyone have any useful input on what photo format gives the best quality results on b/w printing via lyx? Are there any optimal values, or things to worry about? TIA Richard
Re: Don't understand LaTeX Error
yes, I didn't think about the table of contents, ok. But I would like to understand, what is happening there: I get the LaTeX error only with "\citet{GieslerG1990}" but not with "\cite{GieslerG1990}". Why doesn't Lyx accept this one citation style but the other one is ok? am Montag, 25. Januar 2010 um 16:40 schrieben Sie: > On 01/25/2010 10:37 AM, Matthias Schmidt wrote: >> Hello, >> >> I'm working with Lyx 1.6.5 and JabRef 2.5 >> >> When I want to view the following LaTeX Source as PDF (pdflatex), I >> get at the end of the first LaTeX run 4 LaTeX errors: >> >> > I think the problem is that you have put a footnote inside a > subsubsection heading. This is a bad idea. Are you generating a table of > contents? If so, then the problem is that LaTeX is trying to put the > footnote inside the table of contents. Surely you do not want this. > rh >> LaTeX Source: >> \subsubsection{Die Familien Busch vor der Hardt und >> Flender\label{sub:Die-Familien-Busch}% >> \footnote{Aus \citet{GieslerG1990}. Im Hinblick auf die Tafeln in Kap. 4.2 >> im Band 2 von Matthias Schmidt überarbeitet.% >> }} >> >> 1. Error: >> Undefined control sequence. >> Description: >> }} >> >> 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. >> >> 2. Error: >> Undefined control sequence. >> Description: >> }} >> >> 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. >> >> 3. Error: >> Argument of \...@sect has an extra }. >> Description: >> }} >> >> I've run across a `}' that doesn't seem to match anything. For >> example, `\def\a#1{...}' and `\a}' would produce this error. If you >> simply proceed now, the `\par' that I've just inserted will cause me >> to report a runaway argument that might be the root of the problem. >> But if your `}' was spurious, just type `2' and it will go away. >> >> 4. Error: >> Paragraph ended before \...@sect was complete. >> Desription: >> }} >> >> I suspect you've forgotten a `}', causing me to apply this control >> sequence to too much text. How can we recover? My plan is to forget >> the whole thing and hope for the best. >> >> >> The cause of the problem seems to be the Citation Style: When I change >> it >> from \citet{GieslerG1990} >> to \cite{GieslerG1990} >> the LaTeX errors do not come! I don't understand this. What do I have >> to change, that the first citation style (\citet{GieslerG1990}) will >> be accepted? >> >> -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
RE: photographs: what format to use for b/w printing via lyx?
Hi Richard, What kinds of photos are they? For example, are they screenshots that you've converted to black and white? Or are they text on a white background? Or are they grayscale images or are they true black and white (two-tone images)? Are there any pertinent details that you wish to highlight? What kind of contrast values are you hoping to get? What is the initial resolution? Do you have high-res copies for printing on a press or will you be printing from a desktop computer? The answer to your original question really depends on what you want to do with them. My experience with LyX has been that it does a pretty good job with whatever images you feed to it, but it isn't a photo manipulation program. All of the manipulation should happen to the input images before you compile into a DVI or PDF. After that, you will need to make the changes to the PDF in a program like Inkscape, Acrobat Professional, or Illustrator. In general, however, I would recommend that you use TIFF images for black + white and grayscale (either uncompressed or lossless compression). Greyscale images are much smaller than color images with only a single channel of information. In contrast, color images often have three or four channels of information. Since they contain much less data, using lossy compression (such as JPEG) doesn't result in a much smaller image size. Additionally, JPEG and other compressed image formats will often introduce distortions. While this won't be visible if printing on a desktop printer or viewing on screen, it is a terribly bad idea to use low resolution or compressed images in a file bound for a printing press. For graphs and other data graphics, I would highly recommend creating either an EPS or PDF image. When doing so, make sure that the graphic is a vector based image rather than a rasterized version. This will result in a much crisper looking print reproduction. The process for doing so varies from program to program, however. Best of luck with your project. Cheers, Rob Oakes
Re: Document with PDFs
Is this not the right list for this kind of errors? Should I check bugzilla? Can someone send it to the developer list? My wife told me that today she closed all the footnotes and was able to compile the document. I haven't been able to verify this, but I'll try later tonight. Best regards. - Julio Rojas jcredbe...@gmail.com On Sun, Jan 24, 2010 at 4:10 PM, Julio Rojaswrote: > Dear all, I have a document with some images in PDF format. I have > prepared the images in Inkscape (Windows XP). The document is being > compiled in LyX 1.6.5 (Leopard). When the document is compiled the > following message is presented: > > basic_filebuf::_M_convert_to_external conversion error > > I tried compiling the document in LaTeX directly and it worked > perfectly. I also tried "convert" directly with one of the images, > turning the PDF into a PS, and it also worked perfectly. > > Any idea? Thanks in advance. > - > Julio Rojas > jcredbe...@gmail.com >
Re: Index of descriptions
On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
RE: photographs: what format to use for b/w printing via lyx?
Thanks for that encouraging reply, Rob. Can I ask a quick supplementary? I have colour jpgs, not particularly high res but neither are they poor. And I'm making a pdf for submission to a printer, to be printed in b/w. The jpgs are atthe moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? On Mon, 2010-01-25 at 11:20 -0700, Rob Oakes wrote: > Hi Richard, > > What kinds of photos are they? For example, are they screenshots that > you've converted to black and white? Or are they text on a white > background? Or are they grayscale images or are they true black and white > (two-tone images)? > > Are there any pertinent details that you wish to highlight? What kind of > contrast values are you hoping to get? What is the initial resolution? Do > you have high-res copies for printing on a press or will you be printing > from a desktop computer? > > The answer to your original question really depends on what you want to do > with them. My experience with LyX has been that it does a pretty good job > with whatever images you feed to it, but it isn't a photo manipulation > program. All of the manipulation should happen to the input images before > you compile into a DVI or PDF. After that, you will need to make the > changes to the PDF in a program like Inkscape, Acrobat Professional, or > Illustrator. > > In general, however, I would recommend that you use TIFF images for black + > white and grayscale (either uncompressed or lossless compression). > Greyscale images are much smaller than color images with only a single > channel of information. In contrast, color images often have three or four > channels of information. Since they contain much less data, using lossy > compression (such as JPEG) doesn't result in a much smaller image size. > > Additionally, JPEG and other compressed image formats will often introduce > distortions. While this won't be visible if printing on a desktop printer > or viewing on screen, it is a terribly bad idea to use low resolution or > compressed images in a file bound for a printing press. > > For graphs and other data graphics, I would highly recommend creating either > an EPS or PDF image. When doing so, make sure that the graphic is a vector > based image rather than a rasterized version. This will result in a much > crisper looking print reproduction. The process for doing so varies from > program to program, however. > > Best of luck with your project. > > Cheers, > > Rob Oakes >
Re: Index of descriptions
But that does not save me from going description by description adding the glossary entry manually, does it? Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
Re: Index of descriptions
On 01/25/2010 02:37 PM, Manolo Martínez wrote: But that does not save me from going description by description adding the glossary entry manually, does it? You could redefine the description environment in such a way that it handled this for you, I think. rh Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh
RE: photographs: what format to use for b/w printing via lyx?
Hi Richard, << Can I ask a quick supplementary? >> Of course. << The jpgs are at the moment much bigger than I need: I'll have to scale them to about 40%. Should I process the jpgs into monochrome tiffs? Or would the conversion cost me definition? >> By all means, process the files. If possible, do this yourself or have someone with a good photographic eye do it. This ensures that you get the image that you want. If you don't convert them, then someone (or worse, some machine) at the printers will. This can sometimes result in a final product different than you had envisioned. Black and white is a completely different medium than color and it usually takes a little bit of tweaking to make sure that you get the images to your satisfaction. For example, most black and white photos should have a bit more contrast and a slightly higher adjusted exposure than the equivalent color photograph. This helps to bring out relevant details that might otherwise not be visible. (Keep in mind that I tend to be extremely fussy about images and figures.) The conversion shouldn't really cost you any definition, since you're only converting from color to black and white. Loss of "definition" seems to happen when changing the physical dimensions of the image. The conversion can be done in the photo program of your choice, but using Photoshop or Gimp will give you a tremendous amount of fine control over the image appearance. Re: JPEG to Tiff conversion. If your source images are already JPEG, then you shouldn't you don't really gain anything by saving it to TIFF (though I would anyway). If you save back to JPEG, make sure that the "quality" bar is set to 100%, or it will further compress the image and you will lose additional data. Also, when you "scale the images", make sure that they aren't down sampled (some image editing programs don't distinguish between the pixel dimensions and the physical dimensions). You want the pixel dimensions to remain the same, regardless of the physical dimensions. Most printing presses require images that are at least 300 dpi, though bigger is *always* better. It's a completely different mindset than when creating something for online distribution. Thus, I would avoid Photoshop's "Save for Web and Devices" feature or anything any-way similar. The entire purpose of "Save for Web and Devices" and co. is to down sample, not scale. One final thought: as long as the source images are of sufficient size, I would stick to scaling inside of LyX itself. There is a dialog box that will let you specify the physical dimensions without messing with the source image. Hope this is of some help. If you have any other questions, please don't hesitate to let me know. Cheers, Rob
Instead of "A" "B" .. in Appendix "Appendix A" "Appendix B"
Hi I would like to have, instead of the standard numbering in the Appendix ("A", "B", ...) a numbering like Appendix A: HERE COMES MY TITLE Appendix A: HERE COMES MY SECOND TITLE . . . How can I achieve this? Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Instead of "A" "B" .. in Appendix "Appendix A" "Appendix B"
On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: > Hi > > I would like to have, instead of the standard numbering in the Appendix > ("A", "B", ...) a numbering like > > Appendix A: HERE COMES MY TITLE > Appendix A: HERE COMES MY SECOND TITLE > . > . > . > > How can I achieve this? > > Thanks, > > Rainer Hi Rainer, I'm not exactly sure what you're asking for, but I can tell you how things work in my book "Rapid Learning for the 21st Century", which is based on the Book document class. That book has an Appendix called "Example: SSH". On the Appendix's chapter page, it looks like this: Appendix A Example: SSH In the table of contents, it looks like this: A Example: SSH Is this what you're already getting, what you'd like to get, or neither? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Genealogy symbols
Hello, I need genealogy symbols in a lyx-document. I installed the genealogy package with the MiKTeX package manager, reconfigured lyx, started lyx again - but I don't find the symbols (insert/special character/symbols). Please, how can I use the genealogy symbols in my document? -- Mit freundlichen Grüßen Matthias Schmidt mailto:gm_schm...@yahoo.de Diese Nachricht ist mit Norton Internet Security geprüft
RE: photographs: what format to use for b/w printing via lyx?
Thanks, Rob. That was very clear and helpful! Richard On Mon, 2010-01-25 at 13:12 -0700, Rob Oakes wrote: > Hi Richard, > > << Can I ask a quick supplementary? >> > > Of course. > > << The jpgs are at the moment much bigger than I need: I'll have to scale > them to about 40%. Should I process the jpgs into monochrome tiffs? Or > would the conversion cost me definition? >> > > By all means, process the files. If possible, do this yourself or have > someone with a good photographic eye do it. This ensures that you get the > image that you want. If you don't convert them, then someone (or worse, > some machine) at the printers will. This can sometimes result in a final > product different than you had envisioned. > > Black and white is a completely different medium than color and it usually > takes a little bit of tweaking to make sure that you get the images to your > satisfaction. For example, most black and white photos should have a bit > more contrast and a slightly higher adjusted exposure than the equivalent > color photograph. This helps to bring out relevant details that might > otherwise not be visible. (Keep in mind that I tend to be extremely fussy > about images and figures.) > > The conversion shouldn't really cost you any definition, since you're only > converting from color to black and white. Loss of "definition" seems to > happen when changing the physical dimensions of the image. The conversion > can be done in the photo program of your choice, but using Photoshop or Gimp > will give you a tremendous amount of fine control over the image appearance. > > Re: JPEG to Tiff conversion. If your source images are already JPEG, then > you shouldn't you don't really gain anything by saving it to TIFF (though I > would anyway). If you save back to JPEG, make sure that the "quality" bar > is set to 100%, or it will further compress the image and you will lose > additional data. > > Also, when you "scale the images", make sure that they aren't down sampled > (some image editing programs don't distinguish between the pixel dimensions > and the physical dimensions). You want the pixel dimensions to remain the > same, regardless of the physical dimensions. Most printing presses require > images that are at least 300 dpi, though bigger is *always* better. It's a > completely different mindset than when creating something for online > distribution. > > Thus, I would avoid Photoshop's "Save for Web and Devices" feature or > anything any-way similar. The entire purpose of "Save for Web and Devices" > and co. is to down sample, not scale. > > One final thought: as long as the source images are of sufficient size, I > would stick to scaling inside of LyX itself. There is a dialog box that > will let you specify the physical dimensions without messing with the source > image. > > Hope this is of some help. If you have any other questions, please don't > hesitate to let me know. > > Cheers, > > Rob >
Re: Instead of "A" "B" .. in Appendix "Appendix A" "Appendix B"
On Mon, Jan 25, 2010 at 11:12 PM, Steve Littwrote: > On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: > > Hi > > > > I would like to have, instead of the standard numbering in the Appendix > > ("A", "B", ...) a numbering like > > > > Appendix A: HERE COMES MY TITLE > > Appendix A: HERE COMES MY SECOND TITLE > > . > > . > > . > > > > How can I achieve this? > > > > Thanks, > > > > Rainer > > Hi Rainer, > > I'm not exactly sure what you're asking for, but I can tell you how things > work in my book "Rapid Learning for the 21st Century", which is based on > the > Book document class. That book has an Appendix called "Example: SSH". > > > On the Appendix's chapter page, it looks like this: > > Appendix A > Example: SSH > Yes - in front of the consecutive numbering (A, B, C,... ) for the different sections in the appendix, I want to have the word "Appendix " as you describe it. I am not worried about the Table of Contents, as I don't have one. Rainer > > > In the table of contents, it looks like this: > > A Example: SSH > > Is this what you're already getting, what you'd like to get, or neither? > > Thanks > > SteveT > > Steve Litt > Recession Relief Package > http://www.recession-relief.US > Twitter: http://www.twitter.com/stevelitt > > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Instead of "A" "B" .. in Appendix "Appendix A" "Appendix B"
On Monday 25 January 2010 16:53:30 Rainer M Krug wrote: > On Mon, Jan 25, 2010 at 11:12 PM, Steve Littwrote: > > On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: > > > Hi > > > > > > I would like to have, instead of the standard numbering in the Appendix > > > ("A", "B", ...) a numbering like > > > > > > Appendix A: HERE COMES MY TITLE > > > Appendix A: HERE COMES MY SECOND TITLE > > > . > > > . > > > . > > > > > > How can I achieve this? > > > > > > Thanks, > > > > > > Rainer > > > > Hi Rainer, > > > > I'm not exactly sure what you're asking for, but I can tell you how > > things work in my book "Rapid Learning for the 21st Century", which is > > based on the > > Book document class. That book has an Appendix called "Example: SSH". > > > > > > On the Appendix's chapter page, it looks like this: > > > > Appendix A > > Example: SSH > > Yes - in front of the consecutive numbering (A, B, C,... ) for the > different sections in the appendix, I want to have the word "Appendix " as > you describe it. > > I am not worried about the Table of Contents, as I don't have one. > > Rainer > > > In the table of contents, it looks like this: > > > > A Example: SSH > > > > Is this what you're already getting, what you'd like to get, or neither? > > > > Thanks > > > > SteveT > > > > Steve Litt > > Recession Relief Package > > http://www.recession-relief.US > > Twitter: http://www.twitter.com/stevelitt > Rainer, What document class are you using? Do me a favor. Using the Book document class, make a brand new document with one chapter and one appendix, and see if it comes out the way I described, and let us know what happened. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Instead of "A" "B" .. in Appendix "Appendix A" "Appendix B"
On Tue, Jan 26, 2010 at 12:22 AM, Steve Littwrote: > On Monday 25 January 2010 16:53:30 Rainer M Krug wrote: > > On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt > wrote: > > > On Monday 25 January 2010 15:24:26 Rainer M Krug wrote: > > > > Hi > > > > > > > > I would like to have, instead of the standard numbering in the > Appendix > > > > ("A", "B", ...) a numbering like > > > > > > > > Appendix A: HERE COMES MY TITLE > > > > Appendix A: HERE COMES MY SECOND TITLE > > > > . > > > > . > > > > . > > > > > > > > How can I achieve this? > > > > > > > > Thanks, > > > > > > > > Rainer > > > > > > Hi Rainer, > > > > > > I'm not exactly sure what you're asking for, but I can tell you how > > > things work in my book "Rapid Learning for the 21st Century", which is > > > based on the > > > Book document class. That book has an Appendix called "Example: SSH". > > > > > > > > > On the Appendix's chapter page, it looks like this: > > > > > > Appendix A > > > Example: SSH > > > > Yes - in front of the consecutive numbering (A, B, C,... ) for the > > different sections in the appendix, I want to have the word "Appendix " > as > > you describe it. > > > > I am not worried about the Table of Contents, as I don't have one. > > > > Rainer > > > > > In the table of contents, it looks like this: > > > > > > A Example: SSH > > > > > > Is this what you're already getting, what you'd like to get, or > neither? > > > > > > Thanks > > > > > > SteveT > > > > > > Steve Litt > > > Recession Relief Package > > > http://www.recession-relief.US > > > Twitter: http://www.twitter.com/stevelitt > > > > Hi Steve thanks for your help. It is getting late and I am leaving the manuscript as it is. I will come back to you tomorrow to follow it up. Thanks, Rainer > Rainer, > > What document class are you using? > > Do me a favor. Using the Book document class, make a brand new document > with > one chapter and one appendix, and see if it comes out the way I described, > and > let us know what happened. > > Thanks > > SteveT > > Steve Litt > Recession Relief Package > http://www.recession-relief.US > Twitter: http://www.twitter.com/stevelitt > > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com
Re: Index of descriptions
OK, thanks, I'll try that. M rgheck escribió: On 01/25/2010 02:37 PM, Manolo Martínez wrote: But that does not save me from going description by description adding the glossary entry manually, does it? You could redefine the description environment in such a way that it handled this for you, I think. rh Manolo rgheck escribió: On 01/25/2010 11:56 AM, Manolo Martínez wrote: Dear list, I was wondering if any of you has had to do this before, and has maybe programmed a script or something to automate it: I need to look for all descriptions in a file and insert an index entry with the described item as text. Sounds to me like you want what nomenclature/glossary does. rh