Re: Opening LyX-2.0 Files in LyX-1.6.5
Jack Desert wrote: Which warranty ? The free software double-your-money-back if it doesn't solve all your problems and bring world peace warranty. That's the one I was referring to ;) you must have been on some religious site ;) for your world peace, does file-export-lyx 1.6 solve all the troubles? pavel
Re: Opening LyX-2.0 Files in LyX-1.6.5
On 2010-03-24, Jack Desert wrote: ... So I did a little experimentation. I copied the LyX 2.0 lyx/lib/lyx2lyx folder into the LyX 1.6.5 lyx/lib/ directory. Then recompiled LyX 1.6.5. No need to recompile, lyx2lyx is a Python script. Instead, you can simply copy the new lyx2lyx folder to your LYXDIR and you are done. Günter
Re: Layout file not usable
On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # exotic document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Günter
Re: things that I miss in lyx
On 2010-03-23, rgheck wrote: On 03/23/2010 05:22 AM, Guenter Milde wrote: On 2010-03-22, rgheck wrote: As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? Of course transform semantic markup to semantic markup. This implies that the website uses really good markup (text with HTML markup indicating its logical structure), not CSS-styleddiv andspan soups. The difficulty is that HTML is very limited in what it is capable of marking, for the simple reason that there aren't very many tags. This is why our task becomes easy, if we decide to support HTML markup only. Such a HTML importer would stand in the middle between simple text import (no structure/markup preserved) and the annoying fully-formatted pasting of some WPs. The basic structure of the document (lists, sections, emphasized and preformatted text) is preserved in a WYSIWYG way. LyX character styles, for example, would almost uniformly correspond to span, except for the handful of obvious exceptions. That, it seems to me, is why use div and span for everything has become almost the norm. See e.g. elyxer's HTML output. LyX's is more flexible, because it is specifiable in the layout. But the problem remains. Similar to the goal to achieve a loss-less lyx-latex-lyx round-trip, we could (as a further option) extend the HTML importer to provide for the features/constructs of the native HTML export. Günter
Re: things that I miss in lyx
On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the Unicode in bibtex database problem, the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ Günter
Re: Fwd: Re: things that I miss in lyx
On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Litt sl...@troubleshooters.com wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) Günter
Re: LyxBlogger Goes XML-RPC
On 2010-03-24, Jack Desert wrote: Nice. I recommend adding a page/hint on http://wiki.lyx.org. That's a good idea. I put together a wiki page for it at http://wiki.lyx.org/Tools/LyxBlogger. Is a hint something else I should set up there? No, rather an alternative (a paragraph on a related page instead of a full wiki page). You might consider adding inter-wiki links at the appropriate places (sparingly to avoid the impression of spamming). Günter
Interline Space
Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Thank You
Re: things that I miss in lyx
On 03/25/2010 06:14 AM, Guenter Milde wrote: On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the Unicode in bibtex database problem, the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ You can also use biber with biblatex: http://biblatex-biber.sourceforge.net/. rh
Re: Fwd: Re: things that I miss in lyx
On 03/25/2010 06:20 AM, Guenter Milde wrote: On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Littsl...@troubleshooters.com wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) That said, beamer includes a LyX layout, and I would expect that many other classes would be happy to include layouts, too, if someone provided one. Alternatively, or additionally, we could ask the CTAN folks to create a place for LyX layouts, rather than hosting them on our own server. rh
Re: Interline Space
On 03/25/2010 07:28 AM, YURENA MENDOZA wrote: Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Are there strange things about the pages where this happens? LaTeX will sometimes stretch the space between paragraphs, if that is necessary due to page breaking issues. rh
Re: Layout file not usable
On 03/25/2010 05:53 AM, Guenter Milde wrote: On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # exotic document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Exotic is in the eye of the beholder, I'm afraid, and what's standard varies from TeX distribution to TeX distribution. There's really no telling what someone might have installed. The issue here, or so it seems to me, is just a simple confusion about what LyX provides, how it relates to LaTeX, and what LaTeX provides. The fact that the dialog that pops up when you don't have the document class is so confusing doesn't help. But this, I believe, is now resolved in trunk. Richard
Floating and Space between paragraph
Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks
Re: Floating and Space between paragraph
Nothing really. This is LaTeX doing it's job. When there is extra space on a page, LaTeX expands the space between paragraphs to fill it. Maybe having more paragraphs or smaller tables/images also help. - Julio Rojas jcredbe...@gmail.com On Thu, Mar 25, 2010 at 2:11 PM, YURENA MENDOZA yurena.me...@gmail.com wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks
Re: Floating and Space between paragraph
On 25/03/2010 9:11 AM, YURENA MENDOZA wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks You could try to add \raggedbottom to your document preamble and see if you prefer that. -- Julien
Re: Floating and Space between paragraph
YURENA MENDOZA schrieb: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Assure that you _don't_ have set the float placement option here definitively, neither in the document settings and also not in the settings of the table floats. If this is already the case, can you please send a _small_ LyX example file to be able to have a closer look? regards Uwe
Re: Interline Space
YURENA MENDOZA schrieb: Hi, I have a problem with LyX and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? This can occur when you have large floats, images or tables that don't fit on the current page. To avoid that, try to use always figure/table floats and not plain figures/tables. Also assure that the float placement option is _not_ here definitively. If this still doesn't help, insert a page break before the float/image/table, or whatever is too large to fit on the page. If you even then still don't succeed, you can send me a LyX example file. regards Uwe
Re: silly newby graphics question
Richard Brown wrote: This is a sily question, but my only excuse is I'm trying to understand. Thanks for your patience, understanding and answers! Up to now I've been inserting my photographs and other graphics in a float. But what is the float actually for? Can I just insert the graphics files directly via the Insert Graphics command? If I can, what are the advantages and disadvantages of each system, that is with or without a float? You can insert graphics directly without a float. This has one disadvantage, which is the reason why floats were invented: You have probably noticed that text isn't broken into pages in LyX. That happens later, when you print (or make a PDF). The problem is - what happens when there is a rather big image, but it doesn't quite fit? For example, half the page is full of text, but now there is an image that need 2/3 of a page. There isn't room for it, so this page ends and the next page begins with the big image on top. And the problem is that the previous page is now only half full. This wastes paper, and it looks ugly and unprofessional. Of course, you can place the big image carefully to avoid this. (Using a pdf preview, and moving the image around.) Now, consider a book manuscript with 50 such big images. Then you need to add half a page of text in the beginning - everything moves, and just about every image needs to be fixed again. An automatic solution was needed - floats. With the image in a float, this happens during page layout: * If the floating image fits, it goes right there. * If it doesn't fit, it still moves to the next page. But the current page does *not* end. It is filled up with whatever text that comes after the big image. So, no half-full pages any more. * The price for this is that the floats not necessarily appear exactly where you want them to be. (When they won't fit.) As others have pointed out, floats also offers some niceties like cross referencing and list of floats. But the automatic and nice-looking page breaking in the precence of (big) images is the main thing. Helge Hafting
Re: inserting black and white graphics (musical notation) from TIFF
Richard Brown wrote: I have some TIFF files exported from Sibelius, the music scoring program. They are just high-quality images of black and white music scores. I tried converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the results were awful- or at least, they were awful in lyx. When I open the converted jpg files in other software they are really clear and good, but in Lyx onscreen they are very poor and in the dvi files even worse. Many of the fine lines that indicate musical notes are patchy, and a lot have disappeared. Has anyone got any good ideas as to how to process this? First, don't convert to jpg. You can insert tiff files directly in LyX. While jpg is useful for photos, it is totally useless for anything with a low number of colors and sharp contrasts. (Screen dumps, line art, and of course black white music.) As others have pointed out, using a vector graphic format like PDF (or postcript) is even better. The reason: a bitmap image (tiff,png,jpg) has limited resolution. Therefore, it cannot look good on a device with higher resolution. Most bitmap images are made to look good on screen, a quality image looks good even on a really big screen. But that isn't enough for printing. Even a low-end printer has *much* higher resolution than the best screens, so bitmap images never gets really good in print. (Or in dvi, which really is a print preview.) Vector graphics is completely different. Such files are independent of resolution. So they work perfectly on any printing device. There is one exception, and that is when one converts a bitmap into a pdf. The bitmap doesn't become vector graphics that way. The only way is to use Sibelius, and get vector graphics from there. Perhaps it has options like export or save as, where you can specify a format like pdf or postscript (ps) or encapsulated postscript? I haven't tried Sibelius, so I don't know. I have test-printed some music using lilypond though, and have gotten nice results that way. Helge Hafting
Re: things that I miss in lyx
Jose Quesada wrote: Hi all, In no special order, things that I miss in lyx... 1. incremental search That'd be nice, sure. 2. sentence autocapitalization Can you specify a way to do this *correctly*, without having the computer make lots of mistakes? Word has botched this completely - and it degrades the correspondence I get. (I know how to turn such things off, most people doesn't even know that it can be turned off.) I get letters where the word I is capitalized, which is wrong when the language isn't english, for example. 3. grammar check (not crucial) Doable - do you know an open-source grammar checker we could use? LyX already use external programs for spellchecking. . . 4. search highlight occurences For the incremental search, I guess? 6. edit history (go back to last edits). We seem to have only one step back? Not sure what you mean here. You can undo much more than one step. All the way back to the state when the file was loaded into LyX, I believe. 7. the rest of the world operates on rich text/html. LyX doesn't (clipboard integration is poor, copy-pasting from/to web loses formatting) LyX does not use rich text internally. It uses a very different format. I don't think a perfect converter can be made. Still, it might be possible to make a decent converter for common cases. If someone is interested in doing it, that is. 8. 'pasted from' and url for every paste from the web (onenote uses this and it's damn inspired) Might be useful. Can this information be fetched from the clipboard? Or how would LyX get this data? Inserting a note or comment with the URL wouldn't be hard to code, but how to get it in the first place? Helge Hafting
Re: Fwd: Re: things that I miss in lyx
Steve Litt wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. It's hard Julio. It's hard enough that I couldn't even *specify* a layout editor, though I tried. If I'd been able to specify one, I'd have either pestered the LyX crew to write it, or written it myself in Perl/Tk (I'm not much of a Qt type of guy). The customization manual already tells how to write a layout file. One can specify a GUI for doing the same, removing much of the tediousness and many possibilities for error. (For example, such a GUI would always remember to put End somewhere after Style stylename. This would give us an easy way of making layout files. The problem is, to do anything interesting with it, one would still need to know latex. Instead of writing a .layout from scratch, you could fill out a form like this (the layoutmodule code from logical markup): = Type: charstyle (alt. paragraph style, document class) Name of your character style: Code Font in LyX: Family: typewriter Size: unchanged weight: unchanged ... Latex implementation: command (alt. environment) Latex command: code Latex preamble: \newcommand{\code}[1]{\texttt{#1}} = Of course, many of the fields would be comboboxes, making it impossible to enter a wrong value. The tricky parts would be the latex command or the preamble. Still, it might be useful for those who understands some latex. Making a layout editor for people who don't understand latex is much harder. And to some extent pointless. If the layout editor understand more latex than lyx does, then perhaps the effort could be better spent on improving lyx instead. And if it understands less, then it doesn't implement all that LyX can do. Still, one could perhaps have something like math macros, but for text. Let the user create a style by doing ordinary edits on a demo word. This way, a user could create a style for, say, big green boxed marginal notes by inserting a marginal note around the demo text, then a box, and then use the text style dialog to make the text big and green as well. I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. A person could start with something close to what he wants and tweak it til it's right. Such a collection could come with a supporting document that organizes various environments and character styles in a hierarchy so that what you need is easily findable. Yes, this can make LyX more and more useful. There will still be people complaining that I can't make my own style in an easy way though. :-/ Helge Hafting
Re: Floating and Space between paragraph
YURENA MENDOZA wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Consider allowing the floats onto page of floats only. That way, there will be no pages with mixed text and floats. And so the page breaking algorithm woon't need to compensate for objects of unusual size. Helge Hafting
Invitation to connect on LinkedIn
LinkedIn Andréas LYBERIS requested to add you as a connection on LinkedIn: -- John, I'd like to add you to my professional network on LinkedIn. - Andréas Accept invitation from Andréas LYBERIS http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1917730241_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnP4Qcz0PdPsNej59bRhjhn0QbiRzbPoQdjAQdjoTcj4LrCBxbOYWrSlI/EML_comm_afe/ View invitation from Andréas LYBERIS http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1917730241_2/39vcjgOc3cTdP4VckALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity URL and then promote this address on your business cards, email signatures, website, etc http://www.linkedin.com/e/ewp/inv-21/ -- (c) 2010, LinkedIn Corporation
stop
stop
Re: Dimension too large
Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? regards Uwe
Re: Dimension too large
On 03/25/2010 10:54 PM, Uwe Stöhr wrote: Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? A5 is a small page. I'd suspect a float too large to fit. rh
Mac OSX Lyx: No XDVI?
Hi everyone After years of using Linux, I was persuaded by my daughter to try her hand-down Mac. I installed all my usual goodies - C development system and, of course, LyX. The LyX works fine, after I had got used to the Mac idiom of separate windows for LyX and each opened document. But .. When I click on the View DVI button, LyX behaves as though I had hit the View PDF document. Is this expected behaviour? Or do I have to find and install the OSX version of Xdvi? John O'Gorman
Re: Opening LyX-2.0 Files in LyX-1.6.5
Jack Desert wrote: Which warranty ? The free software double-your-money-back if it doesn't solve all your problems and bring world peace warranty. That's the one I was referring to ;) you must have been on some religious site ;) for your world peace, does file-export-lyx 1.6 solve all the troubles? pavel
Re: Opening LyX-2.0 Files in LyX-1.6.5
On 2010-03-24, Jack Desert wrote: ... So I did a little experimentation. I copied the LyX 2.0 lyx/lib/lyx2lyx folder into the LyX 1.6.5 lyx/lib/ directory. Then recompiled LyX 1.6.5. No need to recompile, lyx2lyx is a Python script. Instead, you can simply copy the new lyx2lyx folder to your LYXDIR and you are done. Günter
Re: Layout file not usable
On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # exotic document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Günter
Re: things that I miss in lyx
On 2010-03-23, rgheck wrote: On 03/23/2010 05:22 AM, Guenter Milde wrote: On 2010-03-22, rgheck wrote: As he said, this is highly non-trivial. And the better the website, the harder it is, since a good website will use semantic markup that is styled by CSS. Then what do you do? Of course transform semantic markup to semantic markup. This implies that the website uses really good markup (text with HTML markup indicating its logical structure), not CSS-styleddiv andspan soups. The difficulty is that HTML is very limited in what it is capable of marking, for the simple reason that there aren't very many tags. This is why our task becomes easy, if we decide to support HTML markup only. Such a HTML importer would stand in the middle between simple text import (no structure/markup preserved) and the annoying fully-formatted pasting of some WPs. The basic structure of the document (lists, sections, emphasized and preformatted text) is preserved in a WYSIWYG way. LyX character styles, for example, would almost uniformly correspond to span, except for the handful of obvious exceptions. That, it seems to me, is why use div and span for everything has become almost the norm. See e.g. elyxer's HTML output. LyX's is more flexible, because it is specifiable in the layout. But the problem remains. Similar to the goal to achieve a loss-less lyx-latex-lyx round-trip, we could (as a further option) extend the HTML importer to provide for the features/constructs of the native HTML export. Günter
Re: things that I miss in lyx
On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the Unicode in bibtex database problem, the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ Günter
Re: Fwd: Re: things that I miss in lyx
On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Litt sl...@troubleshooters.com wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) Günter
Re: LyxBlogger Goes XML-RPC
On 2010-03-24, Jack Desert wrote: Nice. I recommend adding a page/hint on http://wiki.lyx.org. That's a good idea. I put together a wiki page for it at http://wiki.lyx.org/Tools/LyxBlogger. Is a hint something else I should set up there? No, rather an alternative (a paragraph on a related page instead of a full wiki page). You might consider adding inter-wiki links at the appropriate places (sparingly to avoid the impression of spamming). Günter
Interline Space
Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Thank You
Re: things that I miss in lyx
On 03/25/2010 06:14 AM, Guenter Milde wrote: On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the Unicode in bibtex database problem, the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ You can also use biber with biblatex: http://biblatex-biber.sourceforge.net/. rh
Re: Fwd: Re: things that I miss in lyx
On 03/25/2010 06:20 AM, Guenter Milde wrote: On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Littsl...@troubleshooters.com wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) That said, beamer includes a LyX layout, and I would expect that many other classes would be happy to include layouts, too, if someone provided one. Alternatively, or additionally, we could ask the CTAN folks to create a place for LyX layouts, rather than hosting them on our own server. rh
Re: Interline Space
On 03/25/2010 07:28 AM, YURENA MENDOZA wrote: Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Are there strange things about the pages where this happens? LaTeX will sometimes stretch the space between paragraphs, if that is necessary due to page breaking issues. rh
Re: Layout file not usable
On 03/25/2010 05:53 AM, Guenter Milde wrote: On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under DocumentSettings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # exotic document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Exotic is in the eye of the beholder, I'm afraid, and what's standard varies from TeX distribution to TeX distribution. There's really no telling what someone might have installed. The issue here, or so it seems to me, is just a simple confusion about what LyX provides, how it relates to LaTeX, and what LaTeX provides. The fact that the dialog that pops up when you don't have the document class is so confusing doesn't help. But this, I believe, is now resolved in trunk. Richard
Floating and Space between paragraph
Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks
Re: Floating and Space between paragraph
Nothing really. This is LaTeX doing it's job. When there is extra space on a page, LaTeX expands the space between paragraphs to fill it. Maybe having more paragraphs or smaller tables/images also help. - Julio Rojas jcredbe...@gmail.com On Thu, Mar 25, 2010 at 2:11 PM, YURENA MENDOZA yurena.me...@gmail.com wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks
Re: Floating and Space between paragraph
On 25/03/2010 9:11 AM, YURENA MENDOZA wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks You could try to add \raggedbottom to your document preamble and see if you prefer that. -- Julien
Re: Floating and Space between paragraph
YURENA MENDOZA schrieb: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Assure that you _don't_ have set the float placement option here definitively, neither in the document settings and also not in the settings of the table floats. If this is already the case, can you please send a _small_ LyX example file to be able to have a closer look? regards Uwe
Re: Interline Space
YURENA MENDOZA schrieb: Hi, I have a problem with LyX and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of default in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? This can occur when you have large floats, images or tables that don't fit on the current page. To avoid that, try to use always figure/table floats and not plain figures/tables. Also assure that the float placement option is _not_ here definitively. If this still doesn't help, insert a page break before the float/image/table, or whatever is too large to fit on the page. If you even then still don't succeed, you can send me a LyX example file. regards Uwe
Re: silly newby graphics question
Richard Brown wrote: This is a sily question, but my only excuse is I'm trying to understand. Thanks for your patience, understanding and answers! Up to now I've been inserting my photographs and other graphics in a float. But what is the float actually for? Can I just insert the graphics files directly via the Insert Graphics command? If I can, what are the advantages and disadvantages of each system, that is with or without a float? You can insert graphics directly without a float. This has one disadvantage, which is the reason why floats were invented: You have probably noticed that text isn't broken into pages in LyX. That happens later, when you print (or make a PDF). The problem is - what happens when there is a rather big image, but it doesn't quite fit? For example, half the page is full of text, but now there is an image that need 2/3 of a page. There isn't room for it, so this page ends and the next page begins with the big image on top. And the problem is that the previous page is now only half full. This wastes paper, and it looks ugly and unprofessional. Of course, you can place the big image carefully to avoid this. (Using a pdf preview, and moving the image around.) Now, consider a book manuscript with 50 such big images. Then you need to add half a page of text in the beginning - everything moves, and just about every image needs to be fixed again. An automatic solution was needed - floats. With the image in a float, this happens during page layout: * If the floating image fits, it goes right there. * If it doesn't fit, it still moves to the next page. But the current page does *not* end. It is filled up with whatever text that comes after the big image. So, no half-full pages any more. * The price for this is that the floats not necessarily appear exactly where you want them to be. (When they won't fit.) As others have pointed out, floats also offers some niceties like cross referencing and list of floats. But the automatic and nice-looking page breaking in the precence of (big) images is the main thing. Helge Hafting
Re: inserting black and white graphics (musical notation) from TIFF
Richard Brown wrote: I have some TIFF files exported from Sibelius, the music scoring program. They are just high-quality images of black and white music scores. I tried converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the results were awful- or at least, they were awful in lyx. When I open the converted jpg files in other software they are really clear and good, but in Lyx onscreen they are very poor and in the dvi files even worse. Many of the fine lines that indicate musical notes are patchy, and a lot have disappeared. Has anyone got any good ideas as to how to process this? First, don't convert to jpg. You can insert tiff files directly in LyX. While jpg is useful for photos, it is totally useless for anything with a low number of colors and sharp contrasts. (Screen dumps, line art, and of course black white music.) As others have pointed out, using a vector graphic format like PDF (or postcript) is even better. The reason: a bitmap image (tiff,png,jpg) has limited resolution. Therefore, it cannot look good on a device with higher resolution. Most bitmap images are made to look good on screen, a quality image looks good even on a really big screen. But that isn't enough for printing. Even a low-end printer has *much* higher resolution than the best screens, so bitmap images never gets really good in print. (Or in dvi, which really is a print preview.) Vector graphics is completely different. Such files are independent of resolution. So they work perfectly on any printing device. There is one exception, and that is when one converts a bitmap into a pdf. The bitmap doesn't become vector graphics that way. The only way is to use Sibelius, and get vector graphics from there. Perhaps it has options like export or save as, where you can specify a format like pdf or postscript (ps) or encapsulated postscript? I haven't tried Sibelius, so I don't know. I have test-printed some music using lilypond though, and have gotten nice results that way. Helge Hafting
Re: things that I miss in lyx
Jose Quesada wrote: Hi all, In no special order, things that I miss in lyx... 1. incremental search That'd be nice, sure. 2. sentence autocapitalization Can you specify a way to do this *correctly*, without having the computer make lots of mistakes? Word has botched this completely - and it degrades the correspondence I get. (I know how to turn such things off, most people doesn't even know that it can be turned off.) I get letters where the word I is capitalized, which is wrong when the language isn't english, for example. 3. grammar check (not crucial) Doable - do you know an open-source grammar checker we could use? LyX already use external programs for spellchecking. . . 4. search highlight occurences For the incremental search, I guess? 6. edit history (go back to last edits). We seem to have only one step back? Not sure what you mean here. You can undo much more than one step. All the way back to the state when the file was loaded into LyX, I believe. 7. the rest of the world operates on rich text/html. LyX doesn't (clipboard integration is poor, copy-pasting from/to web loses formatting) LyX does not use rich text internally. It uses a very different format. I don't think a perfect converter can be made. Still, it might be possible to make a decent converter for common cases. If someone is interested in doing it, that is. 8. 'pasted from' and url for every paste from the web (onenote uses this and it's damn inspired) Might be useful. Can this information be fetched from the clipboard? Or how would LyX get this data? Inserting a note or comment with the URL wouldn't be hard to code, but how to get it in the first place? Helge Hafting
Re: Fwd: Re: things that I miss in lyx
Steve Litt wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. It's hard Julio. It's hard enough that I couldn't even *specify* a layout editor, though I tried. If I'd been able to specify one, I'd have either pestered the LyX crew to write it, or written it myself in Perl/Tk (I'm not much of a Qt type of guy). The customization manual already tells how to write a layout file. One can specify a GUI for doing the same, removing much of the tediousness and many possibilities for error. (For example, such a GUI would always remember to put End somewhere after Style stylename. This would give us an easy way of making layout files. The problem is, to do anything interesting with it, one would still need to know latex. Instead of writing a .layout from scratch, you could fill out a form like this (the layoutmodule code from logical markup): = Type: charstyle (alt. paragraph style, document class) Name of your character style: Code Font in LyX: Family: typewriter Size: unchanged weight: unchanged ... Latex implementation: command (alt. environment) Latex command: code Latex preamble: \newcommand{\code}[1]{\texttt{#1}} = Of course, many of the fields would be comboboxes, making it impossible to enter a wrong value. The tricky parts would be the latex command or the preamble. Still, it might be useful for those who understands some latex. Making a layout editor for people who don't understand latex is much harder. And to some extent pointless. If the layout editor understand more latex than lyx does, then perhaps the effort could be better spent on improving lyx instead. And if it understands less, then it doesn't implement all that LyX can do. Still, one could perhaps have something like math macros, but for text. Let the user create a style by doing ordinary edits on a demo word. This way, a user could create a style for, say, big green boxed marginal notes by inserting a marginal note around the demo text, then a box, and then use the text style dialog to make the text big and green as well. I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. A person could start with something close to what he wants and tweak it til it's right. Such a collection could come with a supporting document that organizes various environments and character styles in a hierarchy so that what you need is easily findable. Yes, this can make LyX more and more useful. There will still be people complaining that I can't make my own style in an easy way though. :-/ Helge Hafting
Re: Floating and Space between paragraph
YURENA MENDOZA wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the default option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Consider allowing the floats onto page of floats only. That way, there will be no pages with mixed text and floats. And so the page breaking algorithm woon't need to compensate for objects of unusual size. Helge Hafting
Invitation to connect on LinkedIn
LinkedIn Andréas LYBERIS requested to add you as a connection on LinkedIn: -- John, I'd like to add you to my professional network on LinkedIn. - Andréas Accept invitation from Andréas LYBERIS http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1917730241_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnP4Qcz0PdPsNej59bRhjhn0QbiRzbPoQdjAQdjoTcj4LrCBxbOYWrSlI/EML_comm_afe/ View invitation from Andréas LYBERIS http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1917730241_2/39vcjgOc3cTdP4VckALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity URL and then promote this address on your business cards, email signatures, website, etc http://www.linkedin.com/e/ewp/inv-21/ -- (c) 2010, LinkedIn Corporation
stop
stop
Re: Dimension too large
Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? regards Uwe
Re: Dimension too large
On 03/25/2010 10:54 PM, Uwe Stöhr wrote: Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? A5 is a small page. I'd suspect a float too large to fit. rh
Mac OSX Lyx: No XDVI?
Hi everyone After years of using Linux, I was persuaded by my daughter to try her hand-down Mac. I installed all my usual goodies - C development system and, of course, LyX. The LyX works fine, after I had got used to the Mac idiom of separate windows for LyX and each opened document. But .. When I click on the View DVI button, LyX behaves as though I had hit the View PDF document. Is this expected behaviour? Or do I have to find and install the OSX version of Xdvi? John O'Gorman
Re: Opening LyX-2.0 Files in LyX-1.6.5
Jack Desert wrote: > > Which warranty ? > > The "free software double-your-money-back if it doesn't solve all your > problems and bring world peace" warranty. That's the one I was > referring to ;) you must have been on some religious site ;) for your world peace, does file->export->lyx 1.6 solve all the troubles? pavel
Re: Opening LyX-2.0 Files in LyX-1.6.5
On 2010-03-24, Jack Desert wrote: ... > So I did a little experimentation. I copied the LyX 2.0 lyx/lib/lyx2lyx > folder into the LyX 1.6.5 lyx/lib/ directory. Then recompiled LyX 1.6.5. No need to recompile, lyx2lyx is a Python script. Instead, you can simply copy the "new" lyx2lyx folder to your LYXDIR and you are done. Günter
Re: Layout file not usable
On 2010-03-24, rgheck wrote: > On 03/24/2010 12:17 PM, Tim Wescott wrote: >> Guenter Milde wrote: >>> You might file an enhancement/bug report to ask for disabling >>> not-supported templates (or a warning) similar to what is done if you >>> select a non-supported document class under Document>Settings. > I don't think this is very easy to do. Templates are just files, and > what shows them is just a file browser. We can't ask the file browser > not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # "exotic" document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Günter
Re: things that I miss in lyx
On 2010-03-23, rgheck wrote: > On 03/23/2010 05:22 AM, Guenter Milde wrote: >> On 2010-03-22, rgheck wrote: >>> As he said, this is highly non-trivial. And the better the website, the >>> harder it is, since a good website will use semantic markup that is >>> styled by CSS. Then what do you do? >> Of course transform semantic markup to semantic markup. This implies >> that the website uses "really good" markup (text with HTML markup >> indicating its logical structure), not CSS-styled and soups. > The difficulty is that HTML is very limited in what it is capable of > marking, for the simple reason that there aren't very many tags. This is why our task becomes easy, if we decide to support HTML markup only. Such a HTML importer would stand in the middle between simple text import (no structure/markup preserved) and the "annoying" fully-formatted pasting of some WPs. The basic structure of the document (lists, sections, emphasized and preformatted text) is preserved in a WYSIWYG way. > LyX character styles, for example, would almost uniformly correspond to > "span", except for the handful of obvious exceptions. That, it seems to > me, is why "use div and span for everything" has become almost the > norm. See e.g. elyxer's HTML output. LyX's is more flexible, because > it is specifiable in the layout. But the problem remains. Similar to the goal to achieve a loss-less lyx->latex->lyx round-trip, we could (as a further option) extend the HTML importer to provide for the features/constructs of the native HTML export. Günter
Re: things that I miss in lyx
On 2010-03-23, Wolfgang Engelmann wrote: > Considering the amount of time I had to spend in documents which did not run > through LyX smoothly it had to do with references containing some characters > which bothered the program. I realize that this is not Lyx's fault, but it > would be nice to have a feature (or an external prg) checking for those > characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the "Unicode in bibtex database problem", the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles & (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ Günter
Re: Fwd: Re: things that I miss in lyx
On 2010-03-23, Trevor Jenkins wrote: > On Tue, Mar 23, 2010 at 5:08 AM, Steve Littwrote: >> On Monday 22 March 2010 17:43:10 Julio Rojas wrote: >> I'm thinking the best way to address the difficulty of new environments and >> character styles might be to start a public collection of them. ... > Don't we already have that with the CTAN archive? Why create a > separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) Günter
Re: LyxBlogger Goes XML-RPC
On 2010-03-24, Jack Desert wrote: >> Nice. I recommend adding a page/hint on http://wiki.lyx.org. > That's a good idea. I put together a wiki page for it at > http://wiki.lyx.org/Tools/LyxBlogger. Is a "hint" something else I > should set up there? No, rather an alternative (a paragraph on a related page instead of a full wiki page). You might consider adding inter-wiki links at the appropriate places (sparingly to avoid the impression of spamming). Günter
Interline Space
Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of "default" in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Thank You
Re: things that I miss in lyx
On 03/25/2010 06:14 AM, Guenter Milde wrote: On 2010-03-23, Wolfgang Engelmann wrote: Considering the amount of time I had to spend in documents which did not run through LyX smoothly it had to do with references containing some characters which bothered the program. I realize that this is not Lyx's fault, but it would be nice to have a feature (or an external prg) checking for those characters. A generic error reporting for all programs called by LyX would be a great help indeed. For the "Unicode in bibtex database problem", the solution might be to use a unicode aware processor, e.g. * CrossTeX_, a backwards-compatible, improved bibtex re-implementation in Python (including HTML export). (development stalled since 2 years) * Pybtex_,a drop-in replacement for BibTeX written in Python. * BibTeX styles& (experimental) pythonic style API. * Database in BibTeX, BibTeXML and YAML formats. * full Unicode support. * Write to TeX, HTML and plain text. .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/ .. _Pybtex: http://pybtex.sourceforge.net/ You can also use biber with biblatex: http://biblatex-biber.sourceforge.net/. rh
Re: Fwd: Re: things that I miss in lyx
On 03/25/2010 06:20 AM, Guenter Milde wrote: On 2010-03-23, Trevor Jenkins wrote: On Tue, Mar 23, 2010 at 5:08 AM, Steve Littwrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. ... Don't we already have that with the CTAN archive? Why create a separate LyX one when the LaTeX part of CTAN already exists? Because CTAN contains the *LaTeX* packages/classes while for using them in LyX, we need *in addition to them* also LyX modules/layouts. This need for definitions on both, LyX and LaTeX levels is a main reason why creating/editing LyX layouts is such a complex task. (And also the base for much frustation for people with either a just a LyX layout or just a LaTeX class or package.) That said, beamer includes a LyX layout, and I would expect that many other classes would be happy to include layouts, too, if someone provided one. Alternatively, or additionally, we could ask the CTAN folks to create a place for LyX layouts, rather than hosting them on our own server. rh
Re: Interline Space
On 03/25/2010 07:28 AM, YURENA MENDOZA wrote: Hi, I have a problem with Lyx and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of "default" in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? Are there strange things about the pages where this happens? LaTeX will sometimes stretch the space between paragraphs, if that is necessary due to page breaking issues. rh
Re: Layout file not usable
On 03/25/2010 05:53 AM, Guenter Milde wrote: On 2010-03-24, rgheck wrote: On 03/24/2010 12:17 PM, Tim Wescott wrote: Guenter Milde wrote: You might file an enhancement/bug report to ask for disabling not-supported templates (or a warning) similar to what is done if you select a non-supported document class under Document>Settings. I don't think this is very easy to do. Templates are just files, and what shows them is just a file browser. We can't ask the file browser not to show files that don't have associated LaTeX classes. Then, we could consider grouping templates in sub-directories like e.g. templates/ # standard document classes templates/letter.lyx templates/slides.lyx ... templates/texlive # document classes in texlive templates/texlive/dinbrief.lyx ... templates/other/ # "exotic" document classes or in every template clearly state in a LyX-Note the required LaTeX documentclass (and its home URL). Exotic is in the eye of the beholder, I'm afraid, and what's standard varies from TeX distribution to TeX distribution. There's really no telling what someone might have installed. The issue here, or so it seems to me, is just a simple confusion about what LyX provides, how it relates to LaTeX, and what LaTeX provides. The fact that the dialog that pops up when you don't have the document class is so confusing doesn't help. But this, I believe, is now resolved in trunk. Richard
Floating and Space between paragraph
Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the "default" option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks
Re: Floating and Space between paragraph
Nothing really. This is LaTeX doing it's job. When there is extra space on a page, LaTeX expands the space between paragraphs to fill it. Maybe having more paragraphs or smaller tables/images also help. - Julio Rojas jcredbe...@gmail.com On Thu, Mar 25, 2010 at 2:11 PM, YURENA MENDOZAwrote: > Hello,I have several tables floating in my document and they will be the > reason why along my document there are greater spaces between several > paragraphs despite I select the "default" option space between paragraphs. > What can I do in order to retain all paragraphs with the same length between > them? > > Thanks >
Re: Floating and Space between paragraph
On 25/03/2010 9:11 AM, YURENA MENDOZA wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the "default" option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Thanks You could try to add \raggedbottom to your document preamble and see if you prefer that. -- Julien
Re: Floating and Space between paragraph
YURENA MENDOZA schrieb: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the "default" option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Assure that you _don't_ have set the float placement option "here definitively", neither in the document settings and also not in the settings of the table floats. If this is already the case, can you please send a _small_ LyX example file to be able to have a closer look? regards Uwe
Re: Interline Space
YURENA MENDOZA schrieb: Hi, I have a problem with LyX and the spaces between paragraphs. For some reason despite the fact that I have selected the optional of "default" in space between paragraphs there are paragraphs that appear with a greater space between them. What could be due to? This can occur when you have large floats, images or tables that don't fit on the current page. To avoid that, try to use always figure/table floats and not plain figures/tables. Also assure that the float placement option is _not_ "here definitively". If this still doesn't help, insert a page break before the float/image/table, or whatever is too large to fit on the page. If you even then still don't succeed, you can send me a LyX example file. regards Uwe
Re: silly newby graphics question
Richard Brown wrote: This is a sily question, but my only excuse is I'm trying to understand. Thanks for your patience, understanding and answers! Up to now I've been inserting my photographs and other graphics in a float. But what is the float actually for? Can I just insert the graphics files directly via the Insert > Graphics command? If I can, what are the advantages and disadvantages of each system, that is with or without a float? You can insert graphics directly without a float. This has one disadvantage, which is the reason why floats were invented: You have probably noticed that text isn't broken into pages in LyX. That happens later, when you print (or make a PDF). The problem is - what happens when there is a rather big image, but it doesn't quite fit? For example, half the page is full of text, but now there is an image that need 2/3 of a page. There isn't room for it, so this page ends and the next page begins with the big image on top. And the problem is that the previous page is now only half full. This wastes paper, and it looks ugly and unprofessional. Of course, you can place the big image carefully to avoid this. (Using a pdf preview, and moving the image around.) Now, consider a book manuscript with 50 such big images. Then you need to add half a page of text in the beginning - everything moves, and just about every image needs to be fixed again. An automatic solution was needed - floats. With the image in a float, this happens during page layout: * If the floating image fits, it goes right there. * If it doesn't fit, it still moves to the next page. But the current page does *not* end. It is filled up with whatever text that comes after the big image. So, no half-full pages any more. * The price for this is that the floats not necessarily appear exactly where you want them to be. (When they won't fit.) As others have pointed out, floats also offers some niceties like cross referencing and "list of floats". But the automatic and nice-looking page breaking in the precence of (big) images is the main thing. Helge Hafting
Re: inserting black and white graphics (musical notation) from TIFF
Richard Brown wrote: I have some TIFF files exported from Sibelius, the music scoring program. They are just high-quality images of black and white music scores. I tried converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the results were awful- or at least, they were awful in lyx. When I open the converted jpg files in other software they are really clear and good, but in Lyx onscreen they are very poor and in the dvi files even worse. Many of the fine lines that indicate musical notes are patchy, and a lot have disappeared. Has anyone got any good ideas as to how to process this? First, don't convert to jpg. You can insert tiff files directly in LyX. While jpg is useful for photos, it is totally useless for anything with a low number of colors and sharp contrasts. (Screen dumps, line art, and of course black & white music.) As others have pointed out, using a vector graphic format like PDF (or postcript) is even better. The reason: a bitmap image (tiff,png,jpg) has limited resolution. Therefore, it cannot look good on a device with higher resolution. Most bitmap images are made to look good on screen, a quality image looks good even on a really big screen. But that isn't enough for printing. Even a low-end printer has *much* higher resolution than the best screens, so bitmap images never gets really good in print. (Or in dvi, which really is a print preview.) Vector graphics is completely different. Such files are independent of resolution. So they work perfectly on any printing device. There is one exception, and that is when one converts a bitmap into a pdf. The bitmap doesn't become vector graphics that way. The only way is to use Sibelius, and get vector graphics from there. Perhaps it has options like "export" or "save as", where you can specify a format like pdf or postscript (ps) or encapsulated postscript? I haven't tried Sibelius, so I don't know. I have test-printed some music using lilypond though, and have gotten nice results that way. Helge Hafting
Re: things that I miss in lyx
Jose Quesada wrote: Hi all, In no special order, things that I miss in lyx... 1. incremental search That'd be nice, sure. 2. sentence autocapitalization Can you specify a way to do this *correctly*, without having the computer make lots of mistakes? Word has botched this completely - and it degrades the correspondence I get. (I know how to turn such things off, most people doesn't even know that it can be turned off.) I get letters where the word "I" is capitalized, which is wrong when the language isn't english, for example. 3. grammar check (not crucial) Doable - do you know an open-source grammar checker we could use? LyX already use external programs for spellchecking. . . 4. search highlight occurences For the incremental search, I guess? 6. edit history (go back to last edits). We seem to have only one step back? Not sure what you mean here. You can "undo" much more than one step. All the way back to the state when the file was loaded into LyX, I believe. 7. the rest of the world operates on rich text/html. LyX doesn't (clipboard integration is poor, copy-pasting from/to web loses formatting) LyX does not use "rich text" internally. It uses a very different format. I don't think a perfect converter can be made. Still, it might be possible to make a decent converter for common cases. If someone is interested in doing it, that is. 8. 'pasted from' and url for every paste from the web (onenote uses this and it's damn inspired) Might be useful. Can this information be fetched from the clipboard? Or how would LyX get this data? Inserting a note or comment with the URL wouldn't be hard to code, but how to get it in the first place? Helge Hafting
Re: Fwd: Re: things that I miss in lyx
Steve Litt wrote: On Monday 22 March 2010 17:43:10 Julio Rojas wrote: The only feature I miss is a layout editor. I don't know how easy would it be to program one, but that would be one good addition. It's hard Julio. It's hard enough that I couldn't even *specify* a layout editor, though I tried. If I'd been able to specify one, I'd have either pestered the LyX crew to write it, or written it myself in Perl/Tk (I'm not much of a Qt type of guy). The customization manual already tells how to write a layout file. One can specify a GUI for doing the same, removing much of the tediousness and many possibilities for error. (For example, such a GUI would always remember to put "End" somewhere after "Style stylename". This would give us an "easy" way of making layout files. The problem is, to do anything interesting with it, one would still need to know latex. Instead of writing a .layout from scratch, you could fill out a form like this (the layoutmodule "code" from logical markup): = Type: charstyle (alt. paragraph style, document class) Name of your character style: Code Font in LyX: Family: typewriter Size: unchanged weight: unchanged ... Latex implementation: command (alt. environment) Latex command: code Latex preamble: \newcommand{\code}[1]{\texttt{#1}} = Of course, many of the fields would be comboboxes, making it impossible to enter a wrong value. The tricky parts would be the latex command or the preamble. Still, it might be useful for those who understands some latex. Making a layout editor for people who don't understand latex is much harder. And to some extent pointless. If the layout editor understand more latex than lyx does, then perhaps the effort could be better spent on improving lyx instead. And if it understands less, then it doesn't implement all that LyX can do. Still, one could perhaps have something like "math macros", but for text. Let the user create a style by doing ordinary edits on a demo word. This way, a user could create a style for, say, "big green boxed marginal notes" by inserting a marginal note around the demo text, then a box, and then use the text style dialog to make the text big and green as well. I'm thinking the best way to address the difficulty of new environments and character styles might be to start a public collection of them. A person could start with something close to what he wants and tweak it til it's right. Such a collection could come with a supporting document that organizes various environments and character styles in a hierarchy so that what you need is easily findable. Yes, this can make LyX more and more useful. There will still be people complaining that "I can't make my own style in an easy way" though. :-/ Helge Hafting
Re: Floating and Space between paragraph
YURENA MENDOZA wrote: Hello,I have several tables floating in my document and they will be the reason why along my document there are greater spaces between several paragraphs despite I select the "default" option space between paragraphs. What can I do in order to retain all paragraphs with the same length between them? Consider allowing the floats onto "page of floats" only. That way, there will be no pages with mixed text and floats. And so the page breaking algorithm woon't need to compensate for objects of unusual size. Helge Hafting
Invitation to connect on LinkedIn
LinkedIn Andréas LYBERIS requested to add you as a connection on LinkedIn: -- John, I'd like to add you to my professional network on LinkedIn. - Andréas Accept invitation from Andréas LYBERIS http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1917730241_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnP4Qcz0PdPsNej59bRhjhn0QbiRzbPoQdjAQdjoTcj4LrCBxbOYWrSlI/EML_comm_afe/ View invitation from Andréas LYBERIS http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1917730241_2/39vcjgOc3cTdP4VckALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity URL and then promote this address on your business cards, email signatures, website, etc http://www.linkedin.com/e/ewp/inv-21/ -- (c) 2010, LinkedIn Corporation
stop
stop
Re: Dimension too large
Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? regards Uwe
Re: Dimension too large
On 03/25/2010 10:54 PM, Uwe Stöhr wrote: Am 25.03.2010 23:49, schrieb Marcelo Acuña: I have a koma-script book in US letter page. When I try to go to A5 size I get this error when run latex: Dimension too large. Very strange. Do you have a _small_ LyX example file? A5 is a small page. I'd suspect a float too large to fit. rh
Mac OSX Lyx: No XDVI?
Hi everyone After years of using Linux, I was persuaded by my daughter to try her hand-down Mac. I installed all my usual goodies - C development system and, of course, LyX. The LyX works fine, after I had got used to the Mac idiom of separate windows for LyX and each opened document. But .. When I click on the View DVI button, LyX behaves as though I had hit the View PDF document. Is this expected behaviour? Or do I have to find and install the OSX version of Xdvi? John O'Gorman