Re: Copying a table column crashes LyX
Trevor Jenkins skrev 21.6.2011 03:42: On Tue, Jun 21, 2011 at 12:17 AM, Richard Heck mailto:rgh...@comcast.net>> wrote: On 06/20/2011 06:58 PM, Andrew Parsloe wrote: > > On 20/06/2011 8:18 p.m., Tommaso Cucinotta wrote: >> Il 20/06/2011 01:28, Andrew Parsloe ha scritto: >>> I created a table and made some settings then, in the right-click menu >>> chose More... > Copy Column and Lyx crashed with the message >>> >>> LyX has caught an exception ... >>> Exception: iconv problem in iconv_codecvt_facet initialization >>> >>> To reproduce, just create a table and try to copy a column using the >>> context menu (or Alt-M C C). >>> >>> LyX 2.0 Windows Vista I can reproduce this with LyX 2.0 and Windows 7. Niklas >> >> I cannot reproduce this problem on Linux (2.0.0 and trunk versions). >> Can you detail please what was the size of the table you were playing >> with, what special settings did you apply, and whether you were copying >> the first, middle or last column ? >> >> Thanks, >> >> T. >> > > I get the crash for any table. For instance I've opened a new article > class document, gone to the insert table button and inserted an empty > 2 by 2 table, made no further settings, placed the cursor in the top > left cell and clicked on Copy Column. I get the Exception message. > Actually a bit more experimenting shows that if the cursor is in the > *last* column of a table, Lyx crashes directly without the Exception > message. > No problem here, either, I'm afraid. This being on Fedora 14 with Qt 4.7.2. The iconv bit is strange What's the document language? Richard No problem for me either running LyX v2.0.0 on Mac OS X. I created a new article class document, added that 2x2 table and then copied the first column (more than once) without any problems. (Well the only problem was GMail not getting the Reply-To: right on my earlier attempt to reply here.) Regards, Trevor. <>< Re: deemed!
Re: Can't convert
I'm not aware of any installation of python. I have an LyX16 folder with a Python subfolder and an LyX 20 folder also with a python subfolder. The former contains python26.dll and python.exe. The latter contains python 27.dll, python.exe, and pythonw.exe. The original error message, which referred to "python -tt" occurred while I was running LyX 1.6.7. When I switched to LyX 2.0.0 none of the error messages referred to python, but I still couldn't convert. Details in the string of messages between me and Richard Heck. Bill On Mon, Jun 20, 2011 at 8:31 PM, Julien Rioux wrote: > On 20/06/2011 12:10 PM, William Hanson wrote: > >> To all, >> >> I've been using LyX for a couple of years, but I'm far from expert. >> Suddenly I'm unable to update or view the DVI versions of my files. >> Clicking the dvi or PS icons brings an error message: "Cannot convert file >> An error occurred whilst running phython -tt" What should I do? >> >> Bill Hanson >> >> > Just one possible explanation of the failure: > > The python scripts shipped with LyX are not tested with all possible python > version, but they should work with the python installation shipped with LyX. > LyX installs its own python in a subfolder of Program Files/LyX. If you have > installed python separately, or another program has installed python, this > might conflict with LyX. > > -- > Julien > >
Re: Can't convert
On 20/06/2011 12:10 PM, William Hanson wrote: To all, I've been using LyX for a couple of years, but I'm far from expert. Suddenly I'm unable to update or view the DVI versions of my files. Clicking the dvi or PS icons brings an error message: "Cannot convert file An error occurred whilst running phython -tt" What should I do? Bill Hanson Just one possible explanation of the failure: The python scripts shipped with LyX are not tested with all possible python version, but they should work with the python installation shipped with LyX. LyX installs its own python in a subfolder of Program Files/LyX. If you have installed python separately, or another program has installed python, this might conflict with LyX. -- Julien
Fwd: Can't convert
Can anyone who uses LyX with Windows help? Richard Heck's suggestion to reconfigure didn't help with either 1.6.7 or 2.0.0. Bill Hanson -- Forwarded message -- From: Richard Heck Date: Mon, Jun 20, 2011 at 7:46 PM Subject: Re: Can't convert To: William Hanson On 06/20/2011 07:36 PM, William Hanson wrote: > I've downloaded LyX 2.0.0, and I can open my documents using it. But, > when I do, I get a message saying that I need the document class > "article", and I'm directed to 3.1.2.2 of the User Guide. > Unfortunately I don't understand the information given there on how to > install the appropriate package files. > There's something wrong with your LaTeX installation it would seem. You can try Tools>Reconfigure. It may help. > After I get into one of my documents and I click View (which I assume > is asking for the compiled version that the dvi button yielded in LyX > 1.6.7) I get a file name error message: The directory path to the > document cannot contain spaces. > I'm not sure about this one. Windows doesn't like spaces in path names, despite the fact that it uses them. > So I'm no farther along in being able to convert files than I was this > morning when I was still working in version 1.6.7. > Post all this back to the user list. Uwe or one of the other Windows people will help you. As I'm not on Windows, I can't. Richard
Re: Copying a table column crashes LyX
On Tue, Jun 21, 2011 at 12:17 AM, Richard Heck wrote: > On 06/20/2011 06:58 PM, Andrew Parsloe wrote: > > > > On 20/06/2011 8:18 p.m., Tommaso Cucinotta wrote: > >> Il 20/06/2011 01:28, Andrew Parsloe ha scritto: > >>> I created a table and made some settings then, in the right-click menu > >>> chose More... > Copy Column and Lyx crashed with the message > >>> > >>> LyX has caught an exception ... > >>> Exception: iconv problem in iconv_codecvt_facet initialization > >>> > >>> To reproduce, just create a table and try to copy a column using the > >>> context menu (or Alt-M C C). > >>> > >>> LyX 2.0 Windows Vista > >> > >> I cannot reproduce this problem on Linux (2.0.0 and trunk versions). > >> Can you detail please what was the size of the table you were playing > >> with, what special settings did you apply, and whether you were copying > >> the first, middle or last column ? > >> > >> Thanks, > >> > >> T. > >> > > > > I get the crash for any table. For instance I've opened a new article > > class document, gone to the insert table button and inserted an empty > > 2 by 2 table, made no further settings, placed the cursor in the top > > left cell and clicked on Copy Column. I get the Exception message. > > Actually a bit more experimenting shows that if the cursor is in the > > *last* column of a table, Lyx crashes directly without the Exception > > message. > > > No problem here, either, I'm afraid. This being on Fedora 14 with Qt 4.7.2. > > The iconv bit is strange What's the document language? > > Richard > No problem for me either running LyX v2.0.0 on Mac OS X. I created a new article class document, added that 2x2 table and then copied the first column (more than once) without any problems. (Well the only problem was GMail not getting the Reply-To: right on my earlier attempt to reply here.) Regards, Trevor. <>< Re: deemed!
Re: Copying a table column crashes LyX
On 21/06/2011 11:17 a.m., Richard Heck wrote: On 06/20/2011 06:58 PM, Andrew Parsloe wrote: On 20/06/2011 8:18 p.m., Tommaso Cucinotta wrote: Il 20/06/2011 01:28, Andrew Parsloe ha scritto: I created a table and made some settings then, in the right-click menu chose More...> Copy Column and Lyx crashed with the message LyX has caught an exception ... Exception: iconv problem in iconv_codecvt_facet initialization To reproduce, just create a table and try to copy a column using the context menu (or Alt-M C C). LyX 2.0 Windows Vista I cannot reproduce this problem on Linux (2.0.0 and trunk versions). Can you detail please what was the size of the table you were playing with, what special settings did you apply, and whether you were copying the first, middle or last column ? Thanks, T. I get the crash for any table. For instance I've opened a new article class document, gone to the insert table button and inserted an empty 2 by 2 table, made no further settings, placed the cursor in the top left cell and clicked on Copy Column. I get the Exception message. Actually a bit more experimenting shows that if the cursor is in the *last* column of a table, Lyx crashes directly without the Exception message. No problem here, either, I'm afraid. This being on Fedora 14 with Qt 4.7.2. The iconv bit is strange What's the document language? Richard English. As a matter of interest I changed the language (to English (UK), English (USA) & finally Albanian). Doing so & clicking Apply gave initially a cursor in the shape of a capital L followed by a full stop, but when I clicked in the document, the cursor reverted to a single vertical line. In all cases the Copy Column still gave the Exception message with the new language setting. Andrew
Re: Copying a table column crashes LyX
On 06/20/2011 06:58 PM, Andrew Parsloe wrote: > > On 20/06/2011 8:18 p.m., Tommaso Cucinotta wrote: >> Il 20/06/2011 01:28, Andrew Parsloe ha scritto: >>> I created a table and made some settings then, in the right-click menu >>> chose More... > Copy Column and Lyx crashed with the message >>> >>> LyX has caught an exception ... >>> Exception: iconv problem in iconv_codecvt_facet initialization >>> >>> To reproduce, just create a table and try to copy a column using the >>> context menu (or Alt-M C C). >>> >>> LyX 2.0 Windows Vista >> >> I cannot reproduce this problem on Linux (2.0.0 and trunk versions). >> Can you detail please what was the size of the table you were playing >> with, what special settings did you apply, and whether you were copying >> the first, middle or last column ? >> >> Thanks, >> >> T. >> > > I get the crash for any table. For instance I've opened a new article > class document, gone to the insert table button and inserted an empty > 2 by 2 table, made no further settings, placed the cursor in the top > left cell and clicked on Copy Column. I get the Exception message. > Actually a bit more experimenting shows that if the cursor is in the > *last* column of a table, Lyx crashes directly without the Exception > message. > No problem here, either, I'm afraid. This being on Fedora 14 with Qt 4.7.2. The iconv bit is strange What's the document language? Richard
Re: Copying a table column crashes LyX
On 20/06/2011 8:18 p.m., Tommaso Cucinotta wrote: Il 20/06/2011 01:28, Andrew Parsloe ha scritto: I created a table and made some settings then, in the right-click menu chose More... > Copy Column and Lyx crashed with the message LyX has caught an exception ... Exception: iconv problem in iconv_codecvt_facet initialization To reproduce, just create a table and try to copy a column using the context menu (or Alt-M C C). LyX 2.0 Windows Vista I cannot reproduce this problem on Linux (2.0.0 and trunk versions). Can you detail please what was the size of the table you were playing with, what special settings did you apply, and whether you were copying the first, middle or last column ? Thanks, T. I get the crash for any table. For instance I've opened a new article class document, gone to the insert table button and inserted an empty 2 by 2 table, made no further settings, placed the cursor in the top left cell and clicked on Copy Column. I get the Exception message. Actually a bit more experimenting shows that if the cursor is in the *last* column of a table, Lyx crashes directly without the Exception message. I can copy a column without problems by selecting it and Ctrl-C. Andrew
Re: Signal SIGSEGV is caught
On 06/20/2011 06:00 PM, Harold Mouras wrote: > Dear List, > I get a problem with the attached file telling me the Signal SIGSEGV > is caught then blocking lyw and made it unusable. > I use Lyx 2 on mac OS X. > Is there something you have to do to get this signal? (LyX will be very unstable afterwards!) I am able to open it fine, but without the graphics can't do anything else with it. Richard
reinstall LyX 2.0.0 on OS X, templates, examples, layout, key-bind missing
Hello All, OS X 10.5.8, Fresh MacTex 2010 I've attempted to install 2.0 over 1.6 and now have only empty folders in the Library/Application Support/Lyx-2.0 for templates, examples, layout, bind. I deleted older LyX libraries prior to the reinstall, hoping for a fresh start. I've done something wrong. I've googled, peered into the mail archive, and read a couple mac wiki. Any suggestions or pointing towards relevant information would be much appreciated. Thanks, Zan
Re: Preventing newline after a LatexType = Command line
Le 20/06/11 18:53, Richard Heck a écrit : On 06/20/2011 12:40 PM, Jean-Marc Lasgouttes wrote: Le 20/06/2011 18:03, Richard Heck a écrit : On 06/20/2011 11:02 AM, Sue Ann Koay wrote: I tried that already, but it doesn't seem to work in Lyx v2.0.0. OK. I will try to have a look as, it really should work, I think. (I.e., it's a bug.) It has not been implemented like that, and I do not know how difficult it would be actually. Was there a reason that ParBreakIsNewline effectively presupposed PassThru? I.e., if I did try to change this behavior, is there something I'm likely to break? Just that the code is too complicated for my taste. Several code paths for different things, and I wanted to stay close to what was used for ERT. JMarc
Fwd: Bibliography without bibtex file
Thank you, Julien, that's exactly what I was looking for, being able to insert references at random points in the text. Bibentry works well, except that I had to add \nobibliography* as tex code before inserting the bibentry reference. There's an example here: http://stefaanlippens.net/bibentry Cheers, Varun -- Forwarded message -- From: Julien Rioux Date: 2011/6/20 Subject: Re: Bibliography without bibtex file To: lyx-users@lists.lyx.org On 20/06/2011 4:31 PM, Varun deCastro-Arrazola wrote: > > Actually, I do use a bibtex file in order to insert references. > However, I'd like to be able to insert single bibliographic references > anywhere in the text, and not just at the end under a section title > (References). Is this possible? > > 2011/6/16 Julien Rioux: >> >> On 16/06/2011 7:28 AM, Trevor Jenkins wrote: >>> >>> I don't have answer but a related question. >>> >>> Occasionally I want to include a citation in a document that doesn't >>> warrant >>> being added to my set of LaTeX .bib files. I can't figure out how I might >>> to >>> that in LyX (other than hard coding the TeX stuff by hand). >>> >> >> As Richard said you would need ERT or at the very least preamble code. LaTeX >> provides a filecontents environment to produce external files. You could use >> that. See e.g. >> >> http://tex.stackexchange.com/questions/20317/internal-bibliography-with-biblatex/20318#20318 >> >> (the question is about biblatex, but it doesn't matter) >> >> So you would put >> >> \begin{filecontents*}{extra_citation_not_worth_a_bib_file.bib} >> >> \end{filecontents*} >> >> in the preamble and add extra_citation_not_worth_a_bib_file to the bibTeX >> inset in your LyX document. >> >> Although if a citation is worth adding to a document in my opinion it is >> worth adding to a bib file. >> >>> As to your specific question I agree with Manolo Martinez the overhead of >>> including more than an *ad hoc* citation will result in your LyX file(s) >>> becoming bloated. You will probably save effort by using a dedicated >>> bilbiography management tool such as BibDesk or Jabref. Not least saving >>> time and face by only having the need to update a single copy of your >>> entrie >>> rather than all of them in all LyX files. >>> >>> On Thu, Jun 16, 2011 at 11:23 AM, Torquil Macdonald Sørensen< >>> torq...@gmail.com> wrote: >>> Hi! What is the simplest way of working with a LyX document involving citations, without using a bibtex file for each LyX file? I want to be able to use the LyX frontend to select citations from a list. Can this be done in a way that does not involve a separate bibtex file? Will LyX have a "self-contained" bibliography system sometime? I.e. one where you both insert and retrieve citations within LyX, and it is all stored in the *.lyx file. Best regards Torquil Sørensen >>> >>> >>> >> >> >> -- >> Julien >> >> > You could use the bibentry package. Be warned, I think it requires that you use natbib and a natbib-compatible bibtex style file (.bst)---it doesn't play well with all .bst files. In the preamble: \usepackage{bibentry} and in the text, in TeX code: \bibentry{the_bibtex_key_you_would_like_to_cite} and you still need a "BibTeX Generated Bibliography" inset somewhere in your document. Another solution is biblatex, which I have never used. Cheers, Julien
Re: Bibliography without bibtex file
On 06/20/2011 04:31 PM, Varun deCastro-Arrazola wrote: > 2011/6/16 Julien Rioux : >> On 16/06/2011 7:28 AM, Trevor Jenkins wrote: >>> I don't have answer but a related question. >>> >>> Occasionally I want to include a citation in a document that doesn't >>> warrant >>> being added to my set of LaTeX .bib files. I can't figure out how I might >>> to >>> that in LyX (other than hard coding the TeX stuff by hand). >>> >> As Richard said you would need ERT or at the very least preamble code. LaTeX >> provides a filecontents environment to produce external files. You could use >> that. See e.g. >> >> http://tex.stackexchange.com/questions/20317/internal-bibliography-with-biblatex/20318#20318 >> >> (the question is about biblatex, but it doesn't matter) >> >> So you would put >> >> \begin{filecontents*}{extra_citation_not_worth_a_bib_file.bib} >> >> \end{filecontents*} >> >> in the preamble and add extra_citation_not_worth_a_bib_file to the bibTeX >> inset in your LyX document. >> >> Although if a citation is worth adding to a document in my opinion it is >> worth adding to a bib file. >> >> > Actually, I do use a bibtex file in order to insert references. > However, I'd like to be able to insert single bibliographic references > anywhere in the text, and not just at the end under a section title > (References). Is this possible? > I'm not sure I really understand what you want to do. Is it that you want the references to appear at random points in the text? Or you just want to be able to put them there when editing? Richard
Re: Bibliography without bibtex file
On 20/06/2011 4:31 PM, Varun deCastro-Arrazola wrote: Actually, I do use a bibtex file in order to insert references. However, I'd like to be able to insert single bibliographic references anywhere in the text, and not just at the end under a section title (References). Is this possible? 2011/6/16 Julien Rioux: On 16/06/2011 7:28 AM, Trevor Jenkins wrote: I don't have answer but a related question. Occasionally I want to include a citation in a document that doesn't warrant being added to my set of LaTeX .bib files. I can't figure out how I might to that in LyX (other than hard coding the TeX stuff by hand). As Richard said you would need ERT or at the very least preamble code. LaTeX provides a filecontents environment to produce external files. You could use that. See e.g. http://tex.stackexchange.com/questions/20317/internal-bibliography-with-biblatex/20318#20318 (the question is about biblatex, but it doesn't matter) So you would put \begin{filecontents*}{extra_citation_not_worth_a_bib_file.bib} \end{filecontents*} in the preamble and add extra_citation_not_worth_a_bib_file to the bibTeX inset in your LyX document. Although if a citation is worth adding to a document in my opinion it is worth adding to a bib file. As to your specific question I agree with Manolo Martinez the overhead of including more than an *ad hoc* citation will result in your LyX file(s) becoming bloated. You will probably save effort by using a dedicated bilbiography management tool such as BibDesk or Jabref. Not least saving time and face by only having the need to update a single copy of your entrie rather than all of them in all LyX files. On Thu, Jun 16, 2011 at 11:23 AM, Torquil Macdonald Sørensen< torq...@gmail.com>wrote: Hi! What is the simplest way of working with a LyX document involving citations, without using a bibtex file for each LyX file? I want to be able to use the LyX frontend to select citations from a list. Can this be done in a way that does not involve a separate bibtex file? Will LyX have a "self-contained" bibliography system sometime? I.e. one where you both insert and retrieve citations within LyX, and it is all stored in the *.lyx file. Best regards Torquil Sørensen -- Julien You could use the bibentry package. Be warned, I think it requires that you use natbib and a natbib-compatible bibtex style file (.bst)---it doesn't play well with all .bst files. In the preamble: \usepackage{bibentry} and in the text, in TeX code: \bibentry{the_bibtex_key_you_would_like_to_cite} and you still need a "BibTeX Generated Bibliography" inset somewhere in your document. Another solution is biblatex, which I have never used. Cheers, Julien
Re: Bibliography without bibtex file
Actually, I do use a bibtex file in order to insert references. However, I'd like to be able to insert single bibliographic references anywhere in the text, and not just at the end under a section title (References). Is this possible? 2011/6/16 Julien Rioux : > On 16/06/2011 7:28 AM, Trevor Jenkins wrote: >> >> I don't have answer but a related question. >> >> Occasionally I want to include a citation in a document that doesn't >> warrant >> being added to my set of LaTeX .bib files. I can't figure out how I might >> to >> that in LyX (other than hard coding the TeX stuff by hand). >> > > As Richard said you would need ERT or at the very least preamble code. LaTeX > provides a filecontents environment to produce external files. You could use > that. See e.g. > > http://tex.stackexchange.com/questions/20317/internal-bibliography-with-biblatex/20318#20318 > > (the question is about biblatex, but it doesn't matter) > > So you would put > > \begin{filecontents*}{extra_citation_not_worth_a_bib_file.bib} > > \end{filecontents*} > > in the preamble and add extra_citation_not_worth_a_bib_file to the bibTeX > inset in your LyX document. > > Although if a citation is worth adding to a document in my opinion it is > worth adding to a bib file. > >> As to your specific question I agree with Manolo Martinez the overhead of >> including more than an *ad hoc* citation will result in your LyX file(s) >> becoming bloated. You will probably save effort by using a dedicated >> bilbiography management tool such as BibDesk or Jabref. Not least saving >> time and face by only having the need to update a single copy of your >> entrie >> rather than all of them in all LyX files. >> >> On Thu, Jun 16, 2011 at 11:23 AM, Torquil Macdonald Sørensen< >> torq...@gmail.com> wrote: >> >>> Hi! >>> >>> What is the simplest way of working with a LyX document involving >>> citations, without using a bibtex file for each LyX file? I want to be >>> able >>> to use the LyX frontend to select citations from a list. Can this be done >>> in >>> a way that does not involve a separate bibtex file? >>> >>> Will LyX have a "self-contained" bibliography system sometime? I.e. one >>> where you both insert and retrieve citations within LyX, and it is all >>> stored in the *.lyx file. >>> >>> Best regards >>> Torquil Sørensen >>> >> >> >> > > > -- > Julien > >
Re: Preventing newline after a LatexType = Command line
On 06/20/2011 12:40 PM, Jean-Marc Lasgouttes wrote: > Le 20/06/2011 18:03, Richard Heck a écrit : >> On 06/20/2011 11:02 AM, Sue Ann Koay wrote: >>> I tried that already, but it doesn't seem to work in Lyx v2.0.0. >>> >> OK. I will try to have a look as, it really should work, I think. (I.e., >> it's a bug.) > > It has not been implemented like that, and I do not know how difficult > it would be actually. > Was there a reason that ParBreakIsNewline effectively presupposed PassThru? I.e., if I did try to change this behavior, is there something I'm likely to break? Richard
Re: Can't convert
On 06/20/2011 12:10 PM, William Hanson wrote: > To all, > > I've been using LyX for a couple of years, but I'm far from expert. > Suddenly I'm unable to update or view the DVI versions of my files. > Clicking the dvi or PS icons brings an error message: "Cannot convert > file An error occurred whilst running phython -tt" What should I do? > Does this happen for any file? What version of LyX are you using and on what OS? Has anything else in your system changed? Richard
Re: Preventing newline after a LatexType = Command line
Le 20/06/2011 18:03, Richard Heck a écrit : On 06/20/2011 11:02 AM, Sue Ann Koay wrote: I tried that already, but it doesn't seem to work in Lyx v2.0.0. OK. I will try to have a look as, it really should work, I think. (I.e., it's a bug.) It has not been implemented like that, and I do not know how difficult it would be actually. JMarc
Can't convert
To all, I've been using LyX for a couple of years, but I'm far from expert. Suddenly I'm unable to update or view the DVI versions of my files. Clicking the dvi or PS icons brings an error message: "Cannot convert file An error occurred whilst running phython -tt" What should I do? Bill Hanson
Re: Preventing newline after a LatexType = Command line
On 06/20/2011 11:02 AM, Sue Ann Koay wrote: > I tried that already, but it doesn't seem to work in Lyx v2.0.0. > OK. I will try to have a look as, it really should work, I think. (I.e., it's a bug.) Richard > Sue Ann Koay > sueannk...@gmail.com > > > > On Mon, Jun 20, 2011 at 4:25 PM, Richard Heck wrote: >> On 06/19/2011 09:26 AM, Sue Ann Koay wrote: >>> Hello, >>> >>> I'm trying to create a layout file with a paragraph style that outputs >>> something like: >>> >>>\mycommand{arg1}{arg2} >>>\mycommand{arg3}{arg4} >>> >>> Something like the following almost works: >>> >>> Style MyCommand >>> LatexType Command >>> LatexName mycommand >>> LabelString "Test:" >>> RequiredArgs2 >>> End >>> >>> However it likes to separate the MyCommand lines by newlines in the >>> latex output, e.g.: >>> >>>\mycommand{arg1}{arg2} >>> >>> >>>\mycommand{arg3}{arg4} >>> >>> I'd like to be able to prevent the extra newlines in between the >>> output, because this causes undesirable separation between lines in >>> the final display. Might someone know how this can be achieved? The >>> only thing I've been able to do is to turn on the ParbreakIsNewline >>> and PassThru options, but this is a rather annoying hack because it >>> also turns off the ability to use any of the LyX formatting commands >>> when inside this style. :-( >>> >> Is it possible to use just ParBreakIsNewline, without PassThru? If not, >> then that is a bug, I think. >> >> Richard >> >>
Re: Unwanted indent in Bibliography
On 06/20/2011 11:30 AM, Donato Capitella wrote: > When I apply the following: > > \def\ biblabel#1{\hspace{-\labelsep}} > > I solve the indentation issue but I have no numbers any longer!!! How > can I get the numbers back? > This has been resolved for 2.0.1 now. To fix the problem in your document, go to the first of your bibliography items and hit Edit>Paragraph Settings. Under "Label Width" you will likely see "References" Change this to "99" or, if you have fewer than 10, to "9". Richard
Re: Unwanted indent in Bibliography
When I apply the following: \def\ biblabel#1{\hspace{-\labelsep}} I solve the indentation issue but I have no numbers any longer!!! How can I get the numbers back? Thank you. -- It is not in the stars to hold our destiny, but in ourselves.
Re: Preventing newline after a LatexType = Command line
I tried that already, but it doesn't seem to work in Lyx v2.0.0. Sue Ann Koay sueannk...@gmail.com On Mon, Jun 20, 2011 at 4:25 PM, Richard Heck wrote: > On 06/19/2011 09:26 AM, Sue Ann Koay wrote: >> Hello, >> >> I'm trying to create a layout file with a paragraph style that outputs >> something like: >> >> \mycommand{arg1}{arg2} >> \mycommand{arg3}{arg4} >> >> Something like the following almost works: >> >> Style MyCommand >> LatexType Command >> LatexName mycommand >> LabelString "Test:" >> RequiredArgs 2 >> End >> >> However it likes to separate the MyCommand lines by newlines in the >> latex output, e.g.: >> >> \mycommand{arg1}{arg2} >> >> >> \mycommand{arg3}{arg4} >> >> I'd like to be able to prevent the extra newlines in between the >> output, because this causes undesirable separation between lines in >> the final display. Might someone know how this can be achieved? The >> only thing I've been able to do is to turn on the ParbreakIsNewline >> and PassThru options, but this is a rather annoying hack because it >> also turns off the ability to use any of the LyX formatting commands >> when inside this style. :-( >> > Is it possible to use just ParBreakIsNewline, without PassThru? If not, > then that is a bug, I think. > > Richard > >
Re: Preventing newline after a LatexType = Command line
On 06/19/2011 09:26 AM, Sue Ann Koay wrote: > Hello, > > I'm trying to create a layout file with a paragraph style that outputs > something like: > >\mycommand{arg1}{arg2} >\mycommand{arg3}{arg4} > > Something like the following almost works: > > Style MyCommand > LatexType Command > LatexName mycommand > LabelString "Test:" > RequiredArgs2 > End > > However it likes to separate the MyCommand lines by newlines in the > latex output, e.g.: > >\mycommand{arg1}{arg2} > > >\mycommand{arg3}{arg4} > > I'd like to be able to prevent the extra newlines in between the > output, because this causes undesirable separation between lines in > the final display. Might someone know how this can be achieved? The > only thing I've been able to do is to turn on the ParbreakIsNewline > and PassThru options, but this is a rather annoying hack because it > also turns off the ability to use any of the LyX formatting commands > when inside this style. :-( > Is it possible to use just ParBreakIsNewline, without PassThru? If not, then that is a bug, I think. Richard
Re: Copying a table column crashes LyX
Il 20/06/2011 01:28, Andrew Parsloe ha scritto: I created a table and made some settings then, in the right-click menu chose More... > Copy Column and Lyx crashed with the message LyX has caught an exception ... Exception: iconv problem in iconv_codecvt_facet initialization To reproduce, just create a table and try to copy a column using the context menu (or Alt-M C C). LyX 2.0 Windows Vista I cannot reproduce this problem on Linux (2.0.0 and trunk versions). Can you detail please what was the size of the table you were playing with, what special settings did you apply, and whether you were copying the first, middle or last column ? Thanks, T.