Re: TOC in pdf colored red
On Sun, Jan 09, 2022 at 06:20:47AM +0200, Joseph Hesse via lyx-users wrote: > On 1/8/22 11:56, Herbert Voss via lyx-users wrote: > > > > > On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote: > > > > Hi, > > > > I am writing a book in lyx. When I look at the pdf the TOC > > > > appears red. How can I fix this so it is in black and white? I > > > > want to keep my URL links as colored blue. > > > > Go into the preferences menue and insert the following options for > > hyperref > > > > colorlinks, > > citecolor=black, > > filecolor=black, > > linkcolor=black, > > urlcolor=blue, > > linktocpage, > > linktoc=all > > > > > > Herbert > Thank you for your response. This doesn't work for me. I am using Lyx > 2.3.6.1. > > I go to Tools -> Preference -> Colors and do not see anything like options > for hyperref. > > Did I make an error? > > Thank you, > Joe Hi Joe, Try under Document > Settings > PDF Properties. Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TOC in pdf colored red
On 2022-01-09 05:20, Joseph Hesse via lyx-users wrote: On 1/8/22 11:56, Herbert Voss via lyx-users wrote: On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote: Hi, I am writing a book in lyx. When I look at the pdf the TOC appears red. How can I fix this so it is in black and white? I want to keep my URL links as colored blue. Go into the preferences menue and insert the following options for hyperref colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=blue, linktocpage, linktoc=all Herbert Thank you for your response. This doesn't work for me. I am using Lyx 2.3.6.1. I go to Tools -> Preference -> Colors and do not see anything like options for hyperref. Did I make an error? Thank you, Joe Did you see my answer above or miss it? Did it work? Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TOC in pdf colored red
On 1/8/22 11:56, Herbert Voss via lyx-users wrote: On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote: Hi, I am writing a book in lyx. When I look at the pdf the TOC appears red. How can I fix this so it is in black and white? I want to keep my URL links as colored blue. Go into the preferences menue and insert the following options for hyperref colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=blue, linktocpage, linktoc=all Herbert Thank you for your response. This doesn't work for me. I am using Lyx 2.3.6.1. I go to Tools -> Preference -> Colors and do not see anything like options for hyperref. Did I make an error? Thank you, Joe -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: biblatex error. Can't get correct pdf output
Am 08.01.22 um 12:01 schrieb Wolfgang Engelmann via lyx-users: However: A08-TEST.lyx with SP-WITTE-2022.bib does not show the references in the bibliography and the one in the text is bold, not blue These are the errors/warnings: Biber error: BibTeX subsystem: /tmp/biber_tmp_tYGf/d7dc170ec507816e85d64326c042e07e_5570.utf8, line 2837, syntax error: found ",", expected one of: number, name (entry type, key, field, or macro name), end of entry ("}" or ")") or quoted string ({...} or "...") and descripition of error: [6143] Utils.pm:411> ERROR - BibTeX subsystem: /tmp/biber_tmp_tYGf/d7dc170ec507816e85d64326c042e07e_5570.utf8, line 2837, syntax error: found ",", expected one of: number, name (entry type, key, field, or macro name), end of entry ("}" or ")") or quoted string ({...} or "...") Wolfgang, the error message says it all: Line 2837 of the bib file is a problem or at least the line where something is detected as wrong. And in that line biber found a comma but expected a number or name to read ... Line 2837 is: @InBook{, ... There is the key missing, for example @InBook{Ding2019, ... btw: do not attached the biblatex-spbasic, it is already part of TeXLive and MiKTeX. Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TOC in pdf colored red
On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote: Hi, I am writing a book in lyx. When I look at the pdf the TOC appears red. How can I fix this so it is in black and white? I want to keep my URL links as colored blue. Go into the preferences menue and insert the following options for hyperref colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=blue, linktocpage, linktoc=all Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TOC in pdf colored red
On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote: Hi, I am writing a book in lyx. When I look at the pdf the TOC appears red. How can I fix this so it is in black and white? I want to keep my URL links as colored blue. Thank you, Joe Hi, Without an example file it is a bit hard to tell what kind of coloring you refer to. But I am guessing that you have already set the options "No frames around links" and "Color links" (Document > Settings... > PDF Properties). In that case you can add to the "Additional Options" (same place): linkcolor=black. Note that this will only change the color not the functionality. Best, Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: biblatex error. Can't get correct pdf output
On 08.01.22 12:09, Herbert Voss via lyx-users wrote: There is the key missing, for example @InBook{Ding2019, ... btw: do not attached the biblatex-spbasic, it is already part of TeXLive and MiKTeX. Herbert Heureka! How stupid I missed it. Adding the key solved things, and now the pdf of the book to which the bibliography belongs is also outputted. Would be nice to know how one could find out from the log file whats wrong. Thanks a lot, Herbert. Wolfgang -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Unicode character (U+009C)
Am Freitag, dem 07.01.2022 um 20:25 +0100 schrieb Wolfgang Engelmann via lyx-users: > > On 07.01.22 18:33, Tobias Hilbricht via lyx-users wrote: > > > > > > Wolfgang, > > > > attached your formulas in a consistent look with mhchem. I called > > Libertinus fonts the LyX way via Document -> Settings -> Fonts: Use > > non > > TeX Fonts, then choosing Libertinus fonts in the drop down list. > > Libertinus Math is called by \setmathfont{Libertinus Math} in the > > LyX > > preamble. > > The error message is the result of the symbol set in front of the > > line > > > > œ$\mathrm{Ca^{2+}}$ dependent kinase > > > > Have you put this symbol just before the first $ on purpose? If so, > > what is it supposed to be? > > > > Yours > > Tobias > > > > > Thanks for the example file. In my case after ctrl m and inserting > \ce > it does not turn blue, but if I leaf it, I have the blue box in which > I > can insert the chemical formulas - and, of course, Ca^{2+} > Wolfgang Wolfgang, what I referred to is called the "Popup menu", "Blue menu" is misleading, sorry. How to get it: Tools -> Settings -> Edit -> Autocompletion, set "Automatic popup" and Autocompletion in math mode true. When done typing \ce in math mode spit out all commands beginning with \ce, in my configuration \ce, \cent and \centerdot. Yours Tobias -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Nested decription lists
On 1/7/22 9:59 PM, Anthony Macks wrote: On 1/7/22 6:53 PM, Anthony Macks wrote: On Sat, 8 Jan 2022 at 10:25, Paul A. Rubin via lyx-users mailto:lyx-users@lists.lyx.org>> wrote: On 1/7/22 5:09 PM, Anthony Macks via lyx-users wrote: Dear LyX users, I am nesting description lists and want to justify the text within the nested list. I have attached my MWE, output and a copy of what I want the output to look like. I am using the module "Customisable Lists (enumitem)." with the article class. When I right click on the description label, an options box is produced. However, the options to go in the box (I get the options from the enumitem package) are not producing the desired effect. Warm Regards, Anthony The attached solution is horribly hack-ish, but I think does what you want. You need to use the "style=multiline" option and juggle the left margin settings a bit. Also, LaTeX wants to align the indented description term with the start of the definition of an unindented term, so I had to put some custom line spacing in to drag the indented items back to where you want them. There's probably a more elegant solution to be found somewhere. Paul Thanks Paul. Ideally, it would be nice if the labelwidth could be determined based upon the width of the longest label. But my skills are not yet up to that. I have a solution below that is workable. However, I have done a little more exploring with the description options (right-clicking or Alt A 1). Not all of them seem to work as they should. In particular, the options which require a \command don't seem to work. Am I missing something? Anthony Can you post an MWE of a command that you don't think is working as expected? Paul Hi Paul, I have attached an MWE and its output. I think that I do not have a full grasp of the options and their correct use. To use a \command inside description, do I need to use it only in \setlist in my Preamble. Anthony This may have been answered elsewhere in the thread, but just to be safe, I'm attaching a tweaked copy of your MWE that I think does what you want. The key is that the command \normalfont has to be flagged as LaTeX code (aka ERT). Otherwise LyX translates "\" to "\textbackslash". To get the modified version, I just selected the \normalfont command and hit ctrl+L. Paul Description Nesting Options-1.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users