Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Jürgen Spitzmüller
Am Montag, dem 06.11.2023 um 13:48 +0100 schrieb Jürgen Spitzmüller:
> Also, please file a bug report. I think we should handle this case
> ans mask spaces when refstyle is used.

No longer needed. I went ahead and fixed it.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Jürgen Spitzmüller
Am Montag, dem 06.11.2023 um 13:41 +0100 schrieb Jürgen Spitzmüller:
> Spaces in labels work AFAICS. Special characters are automatically
> replaced by LyX.

On a closer look, it seems that refstyle doesn't work with spaces in
label IDs. Other mechanisms do work.

So either omit spaces or use prettyref instead of refstyle (Document >
Settings > Document Class.

Also, please file a bug report. I think we should handle this case ans
mask spaces when refstyle is used.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Jürgen Spitzmüller
Am Montag, dem 06.11.2023 um 13:10 +0100 schrieb Ricardo Berlasso:
> El lun, 6 nov 2023 a las 12:23, Trevor Jenkins
> () escribió:
> > I need to create labels/references to multiple tables in my LyX
> > document. There is nothing in the various Table menu items for
> > this. The Insert > Label and Insert > Cross-Reference… menu items
> > do not appear to function in that for example if I set the name of
> > the label to tab:Electoral Roll Extract and then pick that name of
> > the list when inserting the cross reference neither appears in the
> > final document. The label does not appear with the table and the
> > reference does not appear at the point of reference either.
> 
> Try renaming the label to tab:Electoral-Roll-Extract,i.e. replace the
> spaces with dashes. Does it work that way? I think that labels do not
> accept spaces or special characters. If this is the case, you have
> found a problem as the dialog should warn that the label is invalid.

Spaces in labels work AFAICS. Special characters are automatically
replaced by LyX.

I think a minimal example file showing the problem would help us
helping.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up labels for and references to tables in LyX

2023-11-06 Thread Ricardo Berlasso
El lun, 6 nov 2023 a las 12:23, Trevor Jenkins ()
escribió:

> I need to create labels/references to multiple tables in my LyX document.
> There is nothing in the various Table menu items for this. The Insert >
> Label and Insert > Cross-Reference… menu items do not appear to function in
> that for example if I set the name of the label to tab:Electoral Roll
> Extract and then pick that name of the list when inserting the cross
> reference neither appears in the final document. The label does not appear
> with the table and the reference does not appear at the point of reference
> either.
>

Try renaming the label to tab:Electoral-Roll-Extract,i.e. replace the
spaces with dashes. Does it work that way? I think that labels do not
accept spaces or special characters. If this is the case, you have found a
problem as the dialog should warn that the label is invalid.

Regards,
Ricardo




>
> How do I setup labels for each of my tables and then reference them in the
> text of my document?
>
>
> Version information etc.
>
> LyX 2.3.7
> macOS Sonoma 14.1 on a Mac mini M1
> TeXlive 2023
> Python 3.11.5
>
> Document class Tufte Handout
> Local layout “Include ../citeengines/basic.citeengine”(because I am using
> bibtex)
> Also using pdflscape (updated from TeXlive an hour ago) as the tables are
> very wide
>
> Regards, Trevor.
>
> <>< Re: deemed!
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-27 Thread Paul Rubin




On 10/26/23 13:13, Rich Shepard wrote:



Speaking of which, if you go to ~/.lyx/templates, you should see a file
named defaults.lyx. That's your default starting document. All else
failing, try creating an empty doc with the Report class, saving it to
/tmp with the name defaults.lyx, and then moving it over to the 
templates

directory.


Okay. I didn't look in templates, but there the textclass is set to
scrreport so I cannot explain why a new doc comes up as scrbook.

Oh, well. I'll cope with it. :-)

Many thanks,

Rich
You might try "grep template_path ~/.lyx/preferences" and make sure that 
your template directory is correctly set (~/.lyx/templates). If LyX is 
looking for templates in the wrong place, that might explain why it's 
defaulting to the wrong class.


You sure know how to have fun!

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-26 Thread Rich Shepard

On Thu, 26 Oct 2023, Paul Rubin wrote:

Are you saying that the doc class within a document kept changing back to 
Book on its own, or that the default class kept changing back to Book?


Paul,

Yes, the doc class changed back to Book a couple of times, but that's the
only time I've seen this happen. I can't explain it either.


Speaking of which, if you go to ~/.lyx/templates, you should see a file
named defaults.lyx. That's your default starting document. All else
failing, try creating an empty doc with the Report class, saving it to
/tmp with the name defaults.lyx, and then moving it over to the templates
directory.


Okay. I didn't look in templates, but there the textclass is set to
scrreport so I cannot explain why a new doc comes up as scrbook.

Oh, well. I'll cope with it. :-)

Many thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-26 Thread Paul Rubin




On 10/26/23 11:54, Rich Shepard wrote:

On Thu, 26 Oct 2023, Paul Rubin wrote:

Create a new document, select the document class you want as default, 
and

make any other customizations that you want applied to new documents
(fonts, paper size, whatever). Then go to Document > Settings... >
Document Class and click "Save as Document Defaults".


Paul,

Sigh. Yes, I did that yesterday with a new document. The default when the
new doc opened was KOMA-Script Book. I changed it to KOMA-Script 
Report and
clicked the link, "Save as Document Class." (Aside, it kept shifting 
back to

Book and I kept changing that to Report.)

Now, starting a new doc the default class is "KOMA-Script Book" which 
is why
I thought there might be another place that actually set the default 
class I

want.

Thanks,

Rich


Rich,

Are you saying that the doc class within a document kept changing back 
to Book on its own, or that the default class kept changing back to 
Book? I would have no explanation for the former. The latter might 
indicate a permissions problem with the directory where the default is 
saved.


Speaking of which, if you go to ~/.lyx/templates, you should see a file 
named defaults.lyx. That's your default starting document. All else 
failing, try creating an empty doc with the Report class, saving it to 
/tmp with the name defaults.lyx, and then moving it over to the 
templates directory.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-26 Thread Rich Shepard

On Thu, 26 Oct 2023, Paul Rubin wrote:


Create a new document, select the document class you want as default, and
make any other customizations that you want applied to new documents
(fonts, paper size, whatever). Then go to Document > Settings... >
Document Class and click "Save as Document Defaults".


Paul,

Sigh. Yes, I did that yesterday with a new document. The default when the
new doc opened was KOMA-Script Book. I changed it to KOMA-Script Report and
clicked the link, "Save as Document Class." (Aside, it kept shifting back to
Book and I kept changing that to Report.)

Now, starting a new doc the default class is "KOMA-Script Book" which is why
I thought there might be another place that actually set the default class I
want.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-26 Thread Paul Rubin



On 10/26/23 11:00, Rich Shepard wrote:

Looking in ~/.lyx/lyxrc and ../preferences I do not see where I can set a
default document class when I create a new doc. Have I missed seeing 
where I

can do this?

TIA,

Rich
Create a new document, select the document class you want as default, 
and make any other customizations that you want applied to new documents 
(fonts, paper size, whatever). Then go to Document > Settings... > 
Document Class and click "Save as Document Defaults".


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default language to British English

2023-01-31 Thread Paul Stansell
>
> I realise that I can fix it on the TeX side by adding the following line
> to the TeX file I'm importing:
>
> \usepackage[british]{babel}
>
> but I'd like to fix it on the LyX side if possible.
>

Actually, that doesn't work either.  The import seems to set the languages
as I want them, but when I try to process the file LyX gives an error
because the TeX file it creates contains the following:

  \documentclass[10pt,english]{article}
  \usepackage[british, english]{babel}


That is, if LyX imports a TeX file containing

  \documentclass[10pt,a4paper]{article}
  \usepackage[british, english]{babel}

it exports it with

  \documentclass[10pt,english]{article}
  \usepackage[british, english]{babel}

which causes this LaTeX error:

  LaTeX Error: Option clash for package babel.

The exported TeX file is also missing the a4paper option.

Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default language to British English

2023-01-31 Thread Paul Stansell
Hello again,

Richaro's suggestion hasn't completely fixed my problem after all.  If I
import a TeX file that has no language specified, the document language set
in the LyX file is set to "English".  Is there a way I can have
the document language automatically set to "English (UK)"?

I realise that I can fix it on the TeX side by adding the following line to
the TeX file I'm importing:

\usepackage[british]{babel}

but I'd like to fix it on the LyX side if possible.

Thanks,

Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default language to British English

2023-01-31 Thread Paul Stansell
Hello Ricardo,

In the lower part of the document settings window there is a "Save as
> default" button. Any change you made to the Document → Settings will be set
> as default for any new document.
>

That fixed the problem.  I can see that clicking on that  "Save Document as
Default" button writes a file to ~/.lyx/templates/defaults.lyx and that
file includes the line "\language british".

Thanks,

Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default language to British English

2023-01-31 Thread Ricardo Berlasso
El mar, 31 ene 2023 a las 14:22, Paul Stansell ()
escribió:

> Hello,
>
> I'm struggling to have LyX start with the default language set to British
> English.
>
> I can set the language of an already-open document to British English by
> setting the following:
>
>Document > Settings > Language > Language: English (UK)
>

In the lower part of the document settings window there is a "Save as
default" button. Any change you made to the Document → Settings will be set
as default for any new document.

Regards,
Ricardo



>
>
> but I can't work out how to make British English be the default for a new
> document.
>
> I tried following the suggestions at https://wiki.lyx.org/Tips/SettingLANG,
> but none worked for me.
>
> For example, if I have
>
>Tools > Preferences > Language Settings > User interface language:
> Default
>
> and I try to specify the language explicitly and start LyX with
>
> LANG=en_GB.UTF-8 lyx
>
> the default language is set to US English instead of British English.
>
> I also tried putting the following in my ~/.lyx/preferences file
>
> \default_language en_GB.UTF-8
>
> but that didn't work either.
>
>
> I'm not sure if this is relevant, but I noticed that I can choose "English
> (UK)" once I open a document here
>
>Document > Settings > Language > Language: English (UK)
>
> but not before I open a new document here
>
>Tools > Preferences > Language Settings > User interface language:
> English
>
> as the only relevant choice I have is "English"
>
> Thanks,
>
> Paul
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-06 Thread Daniel

On 2023-01-06 13:47, Jean-Marc Lasgouttes wrote:

Le 06/01/2023 à 12:37, Daniel a écrit :
We would need two different settings then: one to tell what the LaTeX 
layout does, and one to change it.


Probably I misunderstand, but that seems to be no particular issue. 
Isn't it the same with, e.g., font-sizes of headings? If I see it 
correctly, the current way to take care of that is to provide the 
LaTeX layout already in the work area, e.g. setting the headings to 
the appropriate font-size. No extra setting needed. Just the layout 
has to provide the right WYSIWYM style in order to work correctly. Or 
why would colors be different?


Indeed, this is not special to colors and this is what we have already.


Great. That is what I thought, too.

Daniel



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-06 Thread Jean-Marc Lasgouttes

Le 06/01/2023 à 12:37, Daniel a écrit :
We would need two different settings then: one to tell what the LaTeX 
layout does, and one to change it.


Probably I misunderstand, but that seems to be no particular issue. 
Isn't it the same with, e.g., font-sizes of headings? If I see it 
correctly, the current way to take care of that is to provide the LaTeX 
layout already in the work area, e.g. setting the headings to the 
appropriate font-size. No extra setting needed. Just the layout has to 
provide the right WYSIWYM style in order to work correctly. Or why would 
colors be different?


Indeed, this is not special to colors and this is what we have already.

JMarc


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-06 Thread Daniel

On 2023-01-06 10:55, Jean-Marc Lasgouttes wrote:

Le 06/01/2023 à 08:15, Daniel a écrit :

On 2023-01-04 23:50, Richard Kimberly Heck wrote:
That's a missing feature then. We do handle some font features, but 
not all of them. (We would only do this for LyXHTML. The font color 
in LyX itself is not meant to be reflected in LaTeX, unless you 
specify that separately, as above.)


(I guess you didn't mean rule out that at some point in the future, it 
will be possible to set colors for all section headings without 
manually tampering with either local layout or the preamble but that 
behind the scenes both would be changed.)



We would need two different settings then: one to tell what the LaTeX 
layout does, and one to change it.


Probably I misunderstand, but that seems to be no particular issue. 
Isn't it the same with, e.g., font-sizes of headings? If I see it 
correctly, the current way to take care of that is to provide the LaTeX 
layout already in the work area, e.g. setting the headings to the 
appropriate font-size. No extra setting needed. Just the layout has to 
provide the right WYSIWYM style in order to work correctly. Or why would 
colors be different?


However, the way to change it 
(typically for headings) is very often class-dependent (classes have 
their own idea on how customization shall be done).


A possibility would be to have a layout setting for allowing "standard" 
customizations. Those could be either disabled/not enabled in classes 
that are incompatible with the standards or, even better, be overwritten 
by the appropriate custom command.


Daniel


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-06 Thread Jean-Marc Lasgouttes

Le 06/01/2023 à 08:15, Daniel a écrit :

On 2023-01-04 23:50, Richard Kimberly Heck wrote:
That's a missing feature then. We do handle some font features, but 
not all of them. (We would only do this for LyXHTML. The font color in 
LyX itself is not meant to be reflected in LaTeX, unless you specify 
that separately, as above.)


(I guess you didn't mean rule out that at some point in the future, it 
will be possible to set colors for all section headings without manually 
tampering with either local layout or the preamble but that behind the 
scenes both would be changed.)



We would need two different settings then: one to tell what the LaTeX 
layout does, and one to change it. However, the way to change it 
(typically for headings) is very often class-dependent (classes have 
their own idea on how customization shall be done).


JMarc

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-05 Thread Daniel

On 2023-01-04 23:50, Richard Kimberly Heck wrote:
That's a missing feature then. We do handle some font features, but not 
all of them. (We would only do this for LyXHTML. The font color in LyX 
itself is not meant to be reflected in LaTeX, unless you specify that 
separately, as above.)


(I guess you didn't mean rule out that at some point in the future, it 
will be possible to set colors for all section headings without manually 
tampering with either local layout or the preamble but that behind the 
scenes both would be changed.)


Best,
Daniel


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-04 Thread Richard Kimberly Heck

On 1/4/23 16:37, Lorenzo Bertini wrote:

Il 04/01/23 22:06, Ricardo Berlasso ha scritto:


El mié, 4 ene 2023 a las 21:41, Lorenzo Bertini 
(mailto:lorenzobertin...@gmail.com>>) 
escribió:


    Hi,

    setting the following in local layout

 > Style Section
 >       Font
 >               Color           Pink
 >       EndFont
 > End

    makes Lyx's workarea sections pink indeed (it's just a test color, I
    swear it's temporary :)), so Lyx is reading the layout alright. But
    if I
    output the document, both with Latex and LyXHTML, section labels are
    black. Could someone tell me what I'm doing wrong?


In fact, the Font block on the local layout only affect the editing 
area. If you want to change the actual heading formatting you need to 
use the titlesec package. For example, to set the section heading to 
use the sans font defined in the document (\sffamily), in bold and 
with its size set as \Large, assigning to it a custom color (I don't 
like pink), write in the document preamble,


\usepackage{titlesec}
\usepackage{xcolor}
\definecolor{Gren}{rgb}{.3,.7,.3}
\titleformat*{\section}{
   \Large\bfseries\sffamily
   \color{Gren}}

[[   BTW, I talk about those things in chapter 12 here: 
https://frommindtotype.wordpress.com/lyx-book/ 
   ;) ]]


Regards,
Ricardo


Thank you, I was aware of the titlesec package, but using mainly 
LyXHTML I was looking into something less specific to output method. 
In the Font block however, the Size parameter does affect output, at 
least in the LyXHTML case.


Why this inconsistency? Should I ask lyx-devel about possibly 
implementing color from layout (titlesec for Latex and CSS for LyXHTML)?


That's a missing feature then. We do handle some font features, but not 
all of them. (We would only do this for LyXHTML. The font color in LyX 
itself is not meant to be reflected in LaTeX, unless you specify that 
separately, as above.)


The easiest way to solve this for now would be to add some CSS to the 
layout.


Riki


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-04 Thread Lorenzo Bertini

Il 04/01/23 22:06, Ricardo Berlasso ha scritto:


El mié, 4 ene 2023 a las 21:41, Lorenzo Bertini 
(mailto:lorenzobertin...@gmail.com>>) escribió:


Hi,

setting the following in local layout

 > Style Section
 >       Font
 >               Color           Pink
 >       EndFont
 > End

makes Lyx's workarea sections pink indeed (it's just a test color, I
swear it's temporary :)), so Lyx is reading the layout alright. But
if I
output the document, both with Latex and LyXHTML, section labels are
black. Could someone tell me what I'm doing wrong?


In fact, the Font block on the local layout only affect the editing 
area. If you want to change the actual heading formatting you need to 
use the titlesec package. For example, to set the section heading to use 
the sans font defined in the document (\sffamily), in bold and with its 
size set as \Large, assigning to it a custom color (I don't like pink), 
write in the document preamble,


\usepackage{titlesec}
\usepackage{xcolor}
\definecolor{Gren}{rgb}{.3,.7,.3}
\titleformat*{\section}{
   \Large\bfseries\sffamily
   \color{Gren}}

[[   BTW, I talk about those things in chapter 12 here: 
https://frommindtotype.wordpress.com/lyx-book/ 
   ;)    ]]


Regards,
Ricardo


Thank you, I was aware of the titlesec package, but using mainly LyXHTML 
I was looking into something less specific to output method. In the Font 
block however, the Size parameter does affect output, at least in the 
LyXHTML case.


Why this inconsistency? Should I ask lyx-devel about possibly 
implementing color from layout (titlesec for Latex and CSS for LyXHTML)?


--
Lorenzo
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting section color in local layout

2023-01-04 Thread Ricardo Berlasso
El mié, 4 ene 2023 a las 21:41, Lorenzo Bertini ()
escribió:

> Hi,
>
> setting the following in local layout
>
> > Style Section
> >   Font
> >   Color   Pink
> >   EndFont
> > End
>
> makes Lyx's workarea sections pink indeed (it's just a test color, I
> swear it's temporary :)), so Lyx is reading the layout alright. But if I
> output the document, both with Latex and LyXHTML, section labels are
> black. Could someone tell me what I'm doing wrong?
>

In fact, the Font block on the local layout only affect the editing area.
If you want to change the actual heading formatting you need to use the
titlesec package. For example, to set the section heading to use the sans
font defined in the document (\sffamily), in bold and with its size set as
\Large, assigning to it a custom color (I don't like pink), write in the
document preamble,

\usepackage{titlesec}
\usepackage{xcolor}
\definecolor{Gren}{rgb}{.3,.7,.3}
\titleformat*{\section}{
  \Large\bfseries\sffamily
  \color{Gren}}

[[   BTW, I talk about those things in chapter 12 here:
https://frommindtotype.wordpress.com/lyx-book/   ;)]]

Regards,
Ricardo



>
> --
> Lorenzo
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up LyX on a new computer

2022-03-17 Thread Dr Eberhard Lisse via lyx-users

After installation (I do that from from Homebrew) I would do

ln -fs $HOME/Library/Application Support/LyX-2.3/preferences \
 $HOME/lyxrc

and run unison with a force from the old to the new, but installing
unison is currently not advisable for casual users as the stable mac
version suffers from a SSH issue introduced by Monterey and the
developers are working on a rewrite anyway.

rsync is too complicated so I would probably just do something like this
on the old box

tar cvfz ~/Downloads/lyxdir.tgz ~/Library/Application\ Support/LyX-2.3
scp ~/Downloads/lyxdir.tgz newbook.local:~/Downloads/

and on the new one

cd
tar xvfz ~/Downloads/lyxdir.tgz

I run unison regularly on all my systems in a star formation
synchronizing with each other, which I offer as the answer to below
question.

As it is scriptable it was a nice exercise to script it so that it knows
where it runs and what to to exactly, but that's another story :-)-O.



el

On 16/03/2022 22:27, Hal Kierstead via lyx-users wrote:

All -

I have many preference settings that I would like to transfer to a new
MacBook Pro.  What is the approved way to do this?  Can I just copy
the preference file and bind file in Application Support/LyX-2.3 from
one computer to the other or what?  Maybe I could copy the whole
LyX-2.3 folder?  Along the same lines, what is the best way to keep my
LyX setup consistent across several computers.  I use dropbox to sync
files.

Thanks,

Hal


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up LyX on a new computer

2022-03-16 Thread Hal Kierstead via lyx-users


> On Mar 16, 2022, at 2:31 PM, Stephan Witt  wrote:
> 
> Am 16.03.2022 um 21:27 schrieb Hal Kierstead via lyx-users 
> :
>> 
>> All -
>> 
>> I have many preference settings that I would like to transfer to a new 
>> MacBook Pro. What is the approved way to do this?
> 
> The way to go is to restore your complete user from a time machine backup, 
> IMO. In the past I restored the whole system from TM backup and did a system 
> update afterwards.
> 
> I have much more settings (e.g. the private key rings etc.) to copy. LyX is 
> the smallest problem.
> 
> In case you want a fresh OS start you have to be more careful. I’m not sure 
> anymore how I did it once - but it’s really not an easy task. Google is your 
> friend. Another option is to use the Apple support you have for the initial 
> time period of your new device.
> 
>> Can I just copy the preference file and bind file in Application 
>> Support/LyX-2.3 from one computer to the other or what? Maybe I could copy 
>> the whole LyX-2.3 folder? Along the same lines, what is the best way to keep 
>> my LyX setup consistent across several computers. I use dropbox to sync 
>> files.
> 
> I don’t know. I never did that.
> 
> BR,
> Stephan 
Looking on Google, it seems that I should just copy the User Folder. I think on 
Mac this means the whole LyX-2.3 folder; this is what the "about file" says the 
UserDir is. I will try it tomorrow.

I still have the question about possibly syncing new short cuts or other 
changes.

Hal


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up LyX on a new computer

2022-03-16 Thread Paul A. Rubin via lyx-users

On 3/16/22 16:27, Hal Kierstead via lyx-users wrote:

All -

I have many preference settings that I would like to transfer to a new MacBook 
Pro. What is the approved way to do this? Can I just copy the preference file 
and bind file in Application Support/LyX-2.3 from one computer to the other or 
what? Maybe I could copy the whole LyX-2.3 folder? Along the same lines, what 
is the best way to keep my LyX setup consistent across several computers. I use 
dropbox to sync files.

Thanks,

Hal
I would not copy the entire folder. After you have installed LyX on the 
new machine and verified it is running, you can copy the preferences 
file and the user.bind file in the bind subfolder. Also, you should 
check the templates and layouts subfolders under Application 
Support/LyX-2.3 and copy any custom templates, layouts and/or modules 
you might have. As always, if something with the same name already 
exists on the new machine it would safest to change the name of the file 
on the new machine before copying over the files from the old machine, 
just in case you need to undo things.


I think putting the user directory on Dropbox and syncing to all 
machines should be fine, so long as all machines will be running the 
same LyX version ... but I've never tried it myself.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting up LyX on a new computer

2022-03-16 Thread Stephan Witt via lyx-users
Am 16.03.2022 um 21:27 schrieb Hal Kierstead via lyx-users 
:
> 
> All -
> 
> I have many preference settings that I would like to transfer to a new 
> MacBook Pro. What is the approved way to do this?

The way to go is to restore your complete user from a time machine backup, IMO. 
In the past I restored the whole system from TM backup and did a system update 
afterwards.

I have much more settings (e.g. the private key rings etc.) to copy. LyX is the 
smallest problem.

In case you want a fresh OS start you have to be more careful. I’m not sure 
anymore how I did it once - but it’s really not an easy task. Google is your 
friend. Another option is to use the Apple support you have for the initial 
time period of your new device.

> Can I just copy the preference file and bind file in Application 
> Support/LyX-2.3 from one computer to the other or what? Maybe I could copy 
> the whole LyX-2.3 folder? Along the same lines, what is the best way to keep 
> my LyX setup consistent across several computers. I use dropbox to sync files.

I don’t know. I never did that.

BR,
Stephan 
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting a permanent default class that is not "Article (Standard Class)

2021-09-20 Thread Dr Eberhard Lisse

Try it out :-)-O

Can't damage anything :-)-O

el


On 18/09/2021 18:23, Trevor Jenkins wrote:

Thanks.

Is that what that wording means‽


[...]


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting a permanent default class that is not "Article (Standard Class)

2021-09-18 Thread Ricardo Berlasso
El sáb, 18 sept 2021 a las 18:24, Trevor Jenkins ()
escribió:

> Thanks.
>
> Is that what that wording means‽
>

Yes, the "Save as document default" button does exactly that: everything
you choose in the menu becomes the default for new documents.

Regards,
Ricardo



>
> On 18 Sep 2021, at 16:29, Ricardo Berlasso  wrote:
>
>
> El sáb, 18 sept 2021 a las 17:24, Trevor Jenkins ()
> escribió:
>
>> I create most (all) of my documents in LyX using the "Tufte Handout"
>> class with custom options however new documents start off with the "Article
>> (Standard Class)” class with no custom options.Scouring the menus and
>> documentation I see no way to set my preferred class with its options as
>> the default in LyX. There might be an occasion when I do not want Tufte
>> Handout but that has proven rare over the years and in anywise would not be
>> Article (Standard Class) more likely one of Memoir or Tufte Book.
>>
>> Have I missed something or is LyX fundamentally lacking in this respect?
>>
>
> In the same Document → Settings menu, you have a "Save as document
> default" button: once you selected all your default options, click that
> button before closing the menu.
>
> Regards,
> Ricardo
>
>
>
>>
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting a permanent default class that is not "Article (Standard Class)

2021-09-18 Thread Trevor Jenkins
Thanks. 

Is that what that wording means‽

> On 18 Sep 2021, at 16:29, Ricardo Berlasso  wrote:
> 
> 
> El sáb, 18 sept 2021 a las 17:24, Trevor Jenkins ( >) escribió:
> I create most (all) of my documents in LyX using the "Tufte Handout" class 
> with custom options however new documents start off with the "Article 
> (Standard Class)” class with no custom options.Scouring the menus and 
> documentation I see no way to set my preferred class with its options as the 
> default in LyX. There might be an occasion when I do not want Tufte Handout 
> but that has proven rare over the years and in anywise would not be Article 
> (Standard Class) more likely one of Memoir or Tufte Book.
> 
> Have I missed something or is LyX fundamentally lacking in this respect?
> 
> In the same Document → Settings menu, you have a "Save as document default" 
> button: once you selected all your default options, click that button before 
> closing the menu.
> 
> Regards,
> Ricardo
> 
>  
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users 
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting a permanent default class that is not "Article (Standard Class)

2021-09-18 Thread Ricardo Berlasso
El sáb, 18 sept 2021 a las 17:24, Trevor Jenkins ()
escribió:

> I create most (all) of my documents in LyX using the "Tufte Handout" class
> with custom options however new documents start off with the "Article
> (Standard Class)” class with no custom options.Scouring the menus and
> documentation I see no way to set my preferred class with its options as
> the default in LyX. There might be an occasion when I do not want Tufte
> Handout but that has proven rare over the years and in anywise would not be
> Article (Standard Class) more likely one of Memoir or Tufte Book.
>
> Have I missed something or is LyX fundamentally lacking in this respect?
>

In the same Document → Settings menu, you have a "Save as document default"
button: once you selected all your default options, click that button
before closing the menu.

Regards,
Ricardo



>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting LyX window font size [RESOLVED]

2021-01-27 Thread Rich Shepard

On Wed, 27 Jan 2021, Paul A. Rubin wrote:

I'm not sure about Slackware, but on Mint (and Ubuntu) there is a utility 
named qt5ct (Qt5 Configuration Tool). On Mint (and presumably Ubuntu) it's 
available from the system menu by searching "qt5". If you install it and run 
it, you should get a simple GUI interface that lets you set all sorts of 
things. In the Fonts tab, click the ellipsis next to "General", leave the 
font selection alone but switch the font style to "Regular", pick a larger 
font size, click OK and then (back in the main window) Apply. You should see 
the font in the LyX menus change immediately (no restart required). There's a 
caveat: this will apply to all Qt5 apps (including the configuration tool), 
not just LyX.


Thanks, Paul! I had not installed that package from SBo; it's building now.

I kept looking in /etc/, ~/.config, and other places but found nothing
relevant.


If you want larger toolbar icons in LyX, that's handled from within LyX.
Right click in any empty space on any toolbar and, at the bottom of the
context menu, pick your preferred icon size.


The pictures I can easily see and recognize; it's the words that need
enlarging to accomodate the many miles logged by my eyeballs.

Stay well,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting LyX window font size

2021-01-27 Thread Paul A. Rubin

On 1/27/21 2:14 PM, Rich Shepard wrote:
Running lyx-2.3.6.1 on Slackware-14.2/x86_64 with Xfce4-4.12.1. This 
upgrade

changed the font size on the window's menu, outline panel, and other
non-text-body elements. They're now too small for me to comfortably read.
See attached screenshot.

Using Preferences -> Display I can set the document typeface, stroke, and
size. But I cannot find where to change the window decorations. And using
the Xfce4 Settings -> Display I can change the font size of other
applications (e.g., GnuCash) but not the LyX window.

I'm assuming that LyX uses Qt5 as the application framework in C++ and 
I'm

having difficulties finding how I can change the Qt5 font size in this
application.

All ideas on how to increase the font size on the frame surrounding the
writing area are solicited.

TIA,

Rich

I'm not sure about Slackware, but on Mint (and Ubuntu) there is a 
utility named qt5ct (Qt5 Configuration Tool). On Mint (and presumably 
Ubuntu) it's available from the system menu by searching "qt5". If you 
install it and run it, you should get a simple GUI interface that lets 
you set all sorts of things. In the Fonts tab, click the ellipsis next 
to "General", leave the font selection alone but switch the font style 
to "Regular", pick a larger font size, click OK and then (back in the 
main window) Apply. You should see the font in the LyX menus change 
immediately (no restart required). There's a caveat: this will apply to 
all Qt5 apps (including the configuration tool), not just LyX.


If you want larger toolbar icons in LyX, that's handled from within LyX. 
Right click in any empty space on any toolbar and, at the bottom of the 
context menu, pick your preferred icon size.


Paul



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting

2019-08-05 Thread Patrick Dupre
Thank,

 

Now, it works like you said. But before (i.e. I close and restart the editor), it wasnot working that

way. It was just impossible to edit the preamble without doing Edit!

 

Bizarre.
 

===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===

 
 

Sent: Monday, August 05, 2019 at 4:57 PM
From: "Paul A. Rubin" 
To: lyx-users@lists.lyx.org
Subject: Re: Setting



On 8/5/19 10:26 AM, Patrick Dupre wrote:


Hello,

Since Today, when I when to edit the latex preamble, I have to use
the "edit" option, which calls emacs.
I do not want that.
How can I go back to the "old" fashion, ie. editing directly the
Latex Preamble ?
Is it because I installed a new package?

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===



If you do not click the edit button (or do and then click end-edit), you can still use the "old" method (insert cursor in preamble and type/delete/copy/paste/...).

I'm not sure what the Edit button is for, but I suspect it's to do things like search-and-replace that the LyX interface does not directly support.

Paul






Re: Setting

2019-08-05 Thread Paul A. Rubin

On 8/5/19 10:26 AM, Patrick Dupre wrote:

Hello,

Since Today, when I when to edit the latex preamble, I have to use
the "edit" option, which calls emacs.
I do not want that.
How can I go back to the "old" fashion, ie. editing directly the
Latex Preamble ?
Is it because I installed a new package?

Thank.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===

If you do /not/ click the edit button (or do and then click end-edit), 
you can still use the "old" method (insert cursor in preamble and 
type/delete/copy/paste/...).


I'm not sure what the Edit button is for, but I suspect it's to do 
things like search-and-replace that the LyX interface does not directly 
support.


Paul


Re: Setting default class preamble

2017-12-24 Thread Rich Shepard

On Sun, 24 Dec 2017, Kornel Benko wrote:


You have once set the document defaults to KOMA-Script letter2.

To change this default behaviour:
Open a new document.
Set all what you want to have if you open a new document later.
Save as document defaults.
(Document->Settings->Document Class: There is a Button "Save as 
Document Defaults")


Kornel,

  Thanks very much. I'll create basic templates for each class I use and
modify them as I learn what should be in the preamble. Then I'll save them
as the class defaults.

Best regards,

Rich


Re: Setting default class preamble

2017-12-24 Thread Rich Shepard

On Sun, 24 Dec 2017, Paul A. Rubin wrote:

Check ~/.lyx/templates/defaults.lyx. That's the document class (and settings) 
that LyX clones whenever you start a new document (File > New).


Paul,

  OK. That explains it. There's only 1 premable in defaults.lyx and it's for
the letter class.

This part I cannot explain. Did you save the document after clearing the 
preamble and before inserting the text?


  Yes, I saved it.


If you have specific preambles you would like by default for certain
document classes (and not the same preamble for all classes), you can do
the following. For each document class, start a new document and rejigger
the preamble to your liking. Also make any changes to class options, page
size, margins, fonts etc. that tickle your fancy. You can also include
boilerplate in the document body. Click File > Save As... and then click
the Templates button in the file dialog to get to your templates
directory. Save it with an evocative name (e.g., Bitching Letter to
Editor.lyx).


  I don't know what I want in each class preamble, but I'll create
bare-bones preambles, then modify as I learn and re-save as the class
defaults.


When you want to create a new document of that class, rather than File >
New, use File > New from Template... to get your personalized version of
the class. You can also include boilerplate in the document body.


  This is part of my issue: I could not find a template I wanted to use in
~/.lyx/templates/ so I created a new doc and, of course, it used the default
template it found.

Thanks very much for the solution,

Rich



Re: Setting default class preamble

2017-12-24 Thread Kornel Benko
Am Sonntag, 24. Dezember 2017 um 09:30:34, schrieb Rich Shepard 

>I've dug a hole and need to learn how to climb out.
> 
>For a reason I cannot find the preamble for every document class reverts
> to that for a KOMA-Script letter2 document. Looking in ~/.lyx I don't see
> why this happens.

You have once set the document defaults to KOMA-Script letter2.

To change this default behaviour:
Open a new document.
Set all what you want to have if you open a new document later.
Save as document defaults.
(Document->Settings->Document Class: There is a Button "Save as 
Document Defaults")

>I exported the book I'm writing as a .txt file; it has no preamble
> information, only the body text. Then I created a new document and the
> default class is the letter. Changing the class to Book (standard) or
> KOMA-Script book did not change the preamble.
> 
>While the empty document displayed I deleted everything in the preamble
> after \date{}. When I inserted the text file and looked at the settings, the
> class is still Book (Standard with extra fonts), but now the preamble has
> all the letter directives.
> 
>My web searches do not find the answer; references to the lyx wiki that
> I've seen do not tell me how to reset the preamble when the document class
> is changed. I need a clue on where this is controlled so I can fix the
> current situation and avoid it in the future. And, as an aside, with all
> these attempts the Check TeX remains visible in the Tools menu.
> 
> Rich

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Setting default class preamble

2017-12-24 Thread Paul A. Rubin

On 12/24/2017 12:30 PM, Rich Shepard wrote:

I've dug a hole and need to learn how to climb out.

  For a reason I cannot find the preamble for every document class 
reverts

to that for a KOMA-Script letter2 document. Looking in ~/.lyx I don't see
why this happens.
Check ~/.lyx/templates/defaults.lyx. That's the document class (and 
settings) that LyX clones whenever you start a new document (File > New).


  I exported the book I'm writing as a .txt file; it has no preamble
information, only the body text. Then I created a new document and the
default class is the letter. Changing the class to Book (standard) or
KOMA-Script book did not change the preamble.
No shock so far. When you created the new document, it inherited your 
default preamble. Changing the class does not change the preamble.


  While the empty document displayed I deleted everything in the preamble
after \date{}. When I inserted the text file and looked at the 
settings, the

class is still Book (Standard with extra fonts), but now the preamble has
all the letter directives.
This part I cannot explain. Did you save the document after clearing the 
preamble and before inserting the text?


  My web searches do not find the answer; references to the lyx wiki that
I've seen do not tell me how to reset the preamble when the document 
class

is changed. I need a clue on where this is controlled so I can fix the
current situation and avoid it in the future. And, as an aside, with all
these attempts the Check TeX remains visible in the Tools menu.
One option is to start a new document (whatever class you want as 
default), clear the preamble and then click Document > Settings... > 
Save as Document Defaults. Thereafter all new documents should be born 
with an empty preamble.


If you have specific preambles you would like by default for certain 
document classes (and not the same preamble for all classes), you can do 
the following. For each document class, start a new document and 
rejigger the preamble to your liking. Also make any changes to class 
options, page size, margins, fonts etc. that tickle your fancy. You can 
also include boilerplate in the document body. Click File > Save As... 
and then click the Templates button in the file dialog to get to your 
templates directory. Save it with an evocative name (e.g., Bitching 
Letter to Editor.lyx). When you want to create a new document of that 
class, rather than File > New, use File > New from Template... to get 
your personalized version of the class. You can also include boilerplate 
in the document body.


The last time I had to write letters of recommendation for a student, I 
did this, and it paid dividends. The bugger must have applied to every 
D-I and D-II school in the country. ;-)


Paul



Re: Setting LyX font size [FIXED]

2017-09-27 Thread Rich Shepard

On Mon, 25 Sep 2017, Rich Shepard wrote:


Now, the LyX frame and menu font size has shrunk. The document display
font remains the same, it's the application frame and menus that have
changed.

 Is there a place where I can change this?


  Found the solution in the wiki: qtconfig is the tool to use.

  The LyX menu font size had shrunk to ~6pt. I reset it to 9pt and it's once
again readable.

Rich


Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-11-03 Thread Jerry

On Nov 2, 2015, at 5:43 PM, Jerry  wrote:

> 
> On Oct 27, 2015, at 5:58 PM, Scott Kostyshak  wrote:
> 
>> On Tue, Oct 27, 2015 at 05:24:41PM -0700, Jerry wrote:
>>> 
>>> I hope the devs see this post wrt providing different on-screen versus 
>>> rendered appearance regarding line spacing. Maybe I'll file a feature 
>>> request.
>> 
>> Hi Jerry,
>> 
>> I think it would be a good feature request. Also note that 2.2 beta has
>> not been released yet (alpha will be released soon). But perhaps you
>> just meant 2.2dev.
>> 
>> Scott
> 
> I'll file a feature request soon. Yes, I meant 2.2dev. Not sure the hash but 
> I don't think it matters for this.
> 
> Jerry

Done. Feature request ticket is http://www.lyx.org/trac/ticket/9838
Jerry

Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-11-02 Thread Jerry

On Oct 27, 2015, at 5:58 PM, Scott Kostyshak  wrote:

> On Tue, Oct 27, 2015 at 05:24:41PM -0700, Jerry wrote:
>> 
>> I hope the devs see this post wrt providing different on-screen versus 
>> rendered appearance regarding line spacing. Maybe I'll file a feature 
>> request.
> 
> Hi Jerry,
> 
> I think it would be a good feature request. Also note that 2.2 beta has
> not been released yet (alpha will be released soon). But perhaps you
> just meant 2.2dev.
> 
> Scott

I'll file a feature request soon. Yes, I meant 2.2dev. Not sure the hash but I 
don't think it matters for this.

Jerry

Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-28 Thread Guenter Milde
On 2015-10-28, Scott Kostyshak wrote:
> On Tue, Oct 27, 2015 at 05:24:41PM -0700, Jerry wrote:

>> I hope the devs see this post wrt providing different on-screen versus
>> rendered appearance regarding line spacing. Maybe I'll file a feature
>> request.

> I think it would be a good feature request. Also note that 2.2 beta has
> not been released yet (alpha will be released soon). But perhaps you
> just meant 2.2dev.

This would be similar to the "justified" vs. "right aligned" setting,
where finally there is a "Use justification in LyX work area" tick-box now
under Documents>Settings>Text Layout.

(BTW: Documents>Settings vs. Tools>Preferences is not so much about output
vs. GUI but in the first space "document specific" vs. "LyX defaults".

Fortunately, you can configure defaults for "document specific" settings
in the templates. These will then be used for all new documents.)

Günter



Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-27 Thread John Kane
 I don't know if you have missed anything or not but one way to do this
seems to be to use the setspace package and a bit of ERT. A quick test
seems to indicate that \usepackage{setspace} in the preamble and a
|\begin{doublespacing} and \ end{doublespacing} before and after any text
in the article turns out a doublespaced PDF.

See
http://tex.stackexchange.com/questions/122487/linespacing-latex-for-just-a-few-lines


On 27 October 2015 at 01:58, Jerry  wrote:

> The journal to which I plan to submit a manuscript requires double
> spacing. So I went to Document -> Settings... -> Text Layout -> Line
> Spacing and selected Double. (I'm using Article (Standard Class).)
>
> This made the rendered PDF double spaced but much to my surprise, the LyX
> display also became double spaced! This is BAD. This is a lot WYSIWYG, not
> WYSISYM. Now I can see only half as much stuff in LyX and I have to scroll
> a lot etc.
>
> How can I make the LyX display maintain a nice compact appearance while
> still having a PDF that is double-spaced?
>
> More to the point of LyX design: Things under Document -> Settings seem to
> relate to how the _document_ looks, and things under LyX -> Preferences ->
> Look and Feel (on OS X) affect how LyX looks. So there should be a setting
> in Look and Feel for on-screen line spacing, separate from how the rendered
> output will look.
>
> Please tell me that I've missed something.
>
> I'm using a 2.2 beta.
>
> Jerry




-- 
John Kane
Kingston ON Canada


Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-27 Thread Jerry

On Oct 27, 2015, at 1:15 PM, John Kane  wrote:

> I don't know if you have missed anything or not but one way to do this seems 
> to be to use the setspace package and a bit of ERT. A quick test seems to 
> indicate that \usepackage{setspace} in the preamble and a 
> |\begin{doublespacing} and \ end{doublespacing} before and after any text in 
> the article turns out a doublespaced PDF.
> 
> See 
> http://tex.stackexchange.com/questions/122487/linespacing-latex-for-just-a-few-lines
>  
> 
> On 27 October 2015 at 01:58, Jerry  wrote:
> The journal to which I plan to submit a manuscript requires double spacing. 
> So I went to Document -> Settings... -> Text Layout -> Line Spacing and 
> selected Double. (I'm using Article (Standard Class).)
> 
> This made the rendered PDF double spaced but much to my surprise, the LyX 
> display also became double spaced! This is BAD. This is a lot WYSIWYG, not 
> WYSISYM. Now I can see only half as much stuff in LyX and I have to scroll a 
> lot etc.
> 
> How can I make the LyX display maintain a nice compact appearance while still 
> having a PDF that is double-spaced?
> 
> More to the point of LyX design: Things under Document -> Settings seem to 
> relate to how the _document_ looks, and things under LyX -> Preferences -> 
> Look and Feel (on OS X) affect how LyX looks. So there should be a setting in 
> Look and Feel for on-screen line spacing, separate from how the rendered 
> output will look.
> 
> Please tell me that I've missed something.
> 
> I'm using a 2.2 beta.
> 
> Jerry
> -- 
> John Kane
> Kingston ON Canada

Thanks, John. Good tip. I should have found it myself but I was a little cranky 
with LyX. It seems that when you select double spacing in Settings in LyX, it 
incorporates the setspace package but then applies double spacing for the 
entire document with \doublespacing. Your way lets me keep the title and author 
lines single spaced.

I hope the devs see this post wrt providing different on-screen versus rendered 
appearance regarding line spacing. Maybe I'll file a feature request.

Jerry

Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-27 Thread Scott Kostyshak
On Tue, Oct 27, 2015 at 05:24:41PM -0700, Jerry wrote:
> 
> I hope the devs see this post wrt providing different on-screen versus 
> rendered appearance regarding line spacing. Maybe I'll file a feature request.

Hi Jerry,

I think it would be a good feature request. Also note that 2.2 beta has
not been released yet (alpha will be released soon). But perhaps you
just meant 2.2dev.

Scott


Re: setting up a beamer article with LyX

2015-02-21 Thread Jürgen Spitzmüller
Michael Berger wrote:
 both files should by now have identical settings.
 I enclose screenshot of the error message hoping you might find an 
 indication of something that is the cause.

Not without the files itself.

Jürgen


Re: setting up a beamer article with LyX

2015-02-21 Thread Michael Berger

On 02/21/2015 09:20 AM, Jürgen Spitzmüller wrote:

Michael Berger wrote:

both files should by now have identical settings.
I enclose screenshot of the error message hoping you might find an
indication of something that is the cause.

Not without the files itself.

Jürgen

Jürgen,
I am very sorry for not being exhaustive enough in the first place and 
thus causing unnecessary efforts on you. :-(


I went through the Document Settings again of both, the Beamer 
Presentation and the Beamer Handout (Beamer Article KOMA-Script).


But this time I even copied details that I thought were of absolutely no 
relevance e.g. Language: English vs. Language: English (USA).
And after making both documents' settings *absolutely* *identical* even 
in the minutest detail the compilation worked without any Latex complaint.


I also found that the export works regardless how the 'mode' (article, 
presentation, beamer etc.) is set in the LyX beamer presentation.


I want to ask you: in the presentations title page I'd placed a small 
logo (.jpeg) which was not transferred to the handout. Is that standard?


I promise more (German) thoroughness next time!

Thanks and regards,

Michael


Re: setting up a beamer article with LyX

2015-02-21 Thread Jürgen Spitzmüller
Michael Berger wrote:
 I went through the Document Settings again of both, the Beamer
 Presentation and the Beamer Handout (Beamer Article KOMA-Script).
 
 But this time I even copied details that I thought were of absolutely no
 relevance e.g. Language: English vs. Language: English (USA).

As the document language? This can be the cause, indeed. The main document 
languages need to be identical.

 And after making both documents' settings *absolutely* *identical* even
 in the minutest detail the compilation worked without any Latex complaint.

Glad it works. Of course it would have been interesting to identify the 
problem.

 I want to ask you: in the presentations title page I'd placed a small
 logo (.jpeg) which was not transferred to the handout. Is that standard?

Yes. The \logo command deliberately outputs nothing in article mode.

Jürgen




Re: setting up a beamer article with LyX

2015-02-21 Thread Jürgen Spitzmüller
Michael Berger wrote:
 both files should by now have identical settings.
 I enclose screenshot of the error message hoping you might find an 
 indication of something that is the cause.

Not without the files itself.

Jürgen


Re: setting up a beamer article with LyX

2015-02-21 Thread Michael Berger

On 02/21/2015 09:20 AM, Jürgen Spitzmüller wrote:

Michael Berger wrote:

both files should by now have identical settings.
I enclose screenshot of the error message hoping you might find an
indication of something that is the cause.

Not without the files itself.

Jürgen

Jürgen,
I am very sorry for not being exhaustive enough in the first place and 
thus causing unnecessary efforts on you. :-(


I went through the Document Settings again of both, the Beamer 
Presentation and the Beamer Handout (Beamer Article KOMA-Script).


But this time I even copied details that I thought were of absolutely no 
relevance e.g. Language: English vs. Language: English (USA).
And after making both documents' settings *absolutely* *identical* even 
in the minutest detail the compilation worked without any Latex complaint.


I also found that the export works regardless how the 'mode' (article, 
presentation, beamer etc.) is set in the LyX beamer presentation.


I want to ask you: in the presentations title page I'd placed a small 
logo (.jpeg) which was not transferred to the handout. Is that standard?


I promise more (German) thoroughness next time!

Thanks and regards,

Michael


Re: setting up a beamer article with LyX

2015-02-21 Thread Jürgen Spitzmüller
Michael Berger wrote:
 I went through the Document Settings again of both, the Beamer
 Presentation and the Beamer Handout (Beamer Article KOMA-Script).
 
 But this time I even copied details that I thought were of absolutely no
 relevance e.g. Language: English vs. Language: English (USA).

As the document language? This can be the cause, indeed. The main document 
languages need to be identical.

 And after making both documents' settings *absolutely* *identical* even
 in the minutest detail the compilation worked without any Latex complaint.

Glad it works. Of course it would have been interesting to identify the 
problem.

 I want to ask you: in the presentations title page I'd placed a small
 logo (.jpeg) which was not transferred to the handout. Is that standard?

Yes. The \logo command deliberately outputs nothing in article mode.

Jürgen




Re: setting up a beamer article with LyX

2015-02-21 Thread Jürgen Spitzmüller
Michael Berger wrote:
> both files should by now have identical settings.
> I enclose screenshot of the error message hoping you might find an 
> indication of something that is the cause.

Not without the files itself.

Jürgen


Re: setting up a beamer article with LyX

2015-02-21 Thread Michael Berger

On 02/21/2015 09:20 AM, Jürgen Spitzmüller wrote:

Michael Berger wrote:

both files should by now have identical settings.
I enclose screenshot of the error message hoping you might find an
indication of something that is the cause.

Not without the files itself.

Jürgen

Jürgen,
I am very sorry for not being exhaustive enough in the first place and 
thus causing unnecessary efforts on you. :-(


I went through the Document Settings again of both, the Beamer 
Presentation and the Beamer Handout (Beamer Article KOMA-Script).


But this time I even copied details that I thought were of absolutely no 
relevance e.g. Language: "English" vs. Language: "English (USA)".
And after making both documents' settings *absolutely* *identical* even 
in the minutest detail the compilation worked without any Latex complaint.


I also found that the export works regardless how the 'mode' (article, 
presentation, beamer etc.) is set in the LyX beamer presentation.


I want to ask you: in the presentations title page I'd placed a small 
logo (.jpeg) which was not transferred to the handout. Is that standard?


I promise more (German) thoroughness next time!

Thanks and regards,

Michael


Re: setting up a beamer article with LyX

2015-02-21 Thread Jürgen Spitzmüller
Michael Berger wrote:
> I went through the Document Settings again of both, the Beamer
> Presentation and the Beamer Handout (Beamer Article KOMA-Script).
> 
> But this time I even copied details that I thought were of absolutely no
> relevance e.g. Language: "English" vs. Language: "English (USA)".

As the document language? This can be the cause, indeed. The main document 
languages need to be identical.

> And after making both documents' settings *absolutely* *identical* even
> in the minutest detail the compilation worked without any Latex complaint.

Glad it works. Of course it would have been interesting to identify the 
problem.

> I want to ask you: in the presentations title page I'd placed a small
> logo (.jpeg) which was not transferred to the handout. Is that standard?

Yes. The \logo command deliberately outputs nothing in article mode.

Jürgen




Re: setting up a beamer article with LyX

2015-02-20 Thread Jürgen Spitzmüller
Michael Berger wrote:
 I followed the procedure described in LyX's Help  Specific Manuals 
 Beamer which says to set up an article first and than produce the handout.
 So, I created a new document with Beamer Article (Standard Class) /
 (KOMA-Script) and then added my Presentation via Insert  File  Child
 Document.
 But when trying an export to PDF I was rewarded with tons of Latex
 Errors (too many to be listed here).
 
 Needless to mention that my beamer Presentation compiles perfectly well!
 
 I also tried the different output modes presentation and article -
 both failed equally.
 
 My beamer Presentation is packed with linguistic specialties like
 glosses, trees, covington style etc.
 Can somebody come up with a piece of good advice?

Take care that the preamble of the beamer article document includes all needed 
things (basically, you can probably just copy over the preamble of the 
presentation).

Also, all modules that are loaded in the presentation need to be loaded by the 
article as well.

If you have local layout settings, this needs to be known to the article as 
well.

HTH
Jürgen

 Thanks and regards,




Re: setting up a beamer article with LyX

2015-02-20 Thread Michael Berger

On 02/20/2015 12:08 PM, Jürgen Spitzmüller wrote:

Michael Berger wrote:

I followed the procedure described in LyX's Help  Specific Manuals 
Beamer which says to set up an article first and than produce the handout.
So, I created a new document with Beamer Article (Standard Class) /
(KOMA-Script) and then added my Presentation via Insert  File  Child
Document.
But when trying an export to PDF I was rewarded with tons of Latex
Errors (too many to be listed here).

Needless to mention that my beamer Presentation compiles perfectly well!

I also tried the different output modes presentation and article -
both failed equally.

My beamer Presentation is packed with linguistic specialties like
glosses, trees, covington style etc.
Can somebody come up with a piece of good advice?

Take care that the preamble of the beamer article document includes all needed
things (basically, you can probably just copy over the preamble of the
presentation).

Also, all modules that are loaded in the presentation need to be loaded by the
article as well.

If you have local layout settings, this needs to be known to the article as
well.

HTH
Jürgen


Thanks and regards,

Thanks Jürgen,
both files should by now have identical settings.
I enclose screenshot of the error message hoping you might find an 
indication of something that is the cause.


Michael


Re: setting up a beamer article with LyX

2015-02-20 Thread Paul A . Rubin
Michael Berger idest at online.de writes:

  I followed the procedure described in LyX's Help  Specific Manuals 
  Beamer which says to set up an article first and than produce the handout.

If your intent is to produce a set of slide images in a PDF document, you do
not need the article. You can just add the word handout (without the
quotes) to Document  Settings  Document Class  Class options  Custom: in
the presentation file, and then export to PDF.

Paul




Re: setting up a beamer article with LyX

2015-02-20 Thread Jürgen Spitzmüller
Michael Berger wrote:
 I followed the procedure described in LyX's Help  Specific Manuals 
 Beamer which says to set up an article first and than produce the handout.
 So, I created a new document with Beamer Article (Standard Class) /
 (KOMA-Script) and then added my Presentation via Insert  File  Child
 Document.
 But when trying an export to PDF I was rewarded with tons of Latex
 Errors (too many to be listed here).
 
 Needless to mention that my beamer Presentation compiles perfectly well!
 
 I also tried the different output modes presentation and article -
 both failed equally.
 
 My beamer Presentation is packed with linguistic specialties like
 glosses, trees, covington style etc.
 Can somebody come up with a piece of good advice?

Take care that the preamble of the beamer article document includes all needed 
things (basically, you can probably just copy over the preamble of the 
presentation).

Also, all modules that are loaded in the presentation need to be loaded by the 
article as well.

If you have local layout settings, this needs to be known to the article as 
well.

HTH
Jürgen

 Thanks and regards,




Re: setting up a beamer article with LyX

2015-02-20 Thread Michael Berger

On 02/20/2015 12:08 PM, Jürgen Spitzmüller wrote:

Michael Berger wrote:

I followed the procedure described in LyX's Help  Specific Manuals 
Beamer which says to set up an article first and than produce the handout.
So, I created a new document with Beamer Article (Standard Class) /
(KOMA-Script) and then added my Presentation via Insert  File  Child
Document.
But when trying an export to PDF I was rewarded with tons of Latex
Errors (too many to be listed here).

Needless to mention that my beamer Presentation compiles perfectly well!

I also tried the different output modes presentation and article -
both failed equally.

My beamer Presentation is packed with linguistic specialties like
glosses, trees, covington style etc.
Can somebody come up with a piece of good advice?

Take care that the preamble of the beamer article document includes all needed
things (basically, you can probably just copy over the preamble of the
presentation).

Also, all modules that are loaded in the presentation need to be loaded by the
article as well.

If you have local layout settings, this needs to be known to the article as
well.

HTH
Jürgen


Thanks and regards,

Thanks Jürgen,
both files should by now have identical settings.
I enclose screenshot of the error message hoping you might find an 
indication of something that is the cause.


Michael


Re: setting up a beamer article with LyX

2015-02-20 Thread Paul A . Rubin
Michael Berger idest at online.de writes:

  I followed the procedure described in LyX's Help  Specific Manuals 
  Beamer which says to set up an article first and than produce the handout.

If your intent is to produce a set of slide images in a PDF document, you do
not need the article. You can just add the word handout (without the
quotes) to Document  Settings  Document Class  Class options  Custom: in
the presentation file, and then export to PDF.

Paul




Re: setting up a beamer article with LyX

2015-02-20 Thread Jürgen Spitzmüller
Michael Berger wrote:
> I followed the procedure described in LyX's Help > Specific Manuals >
> Beamer which says to set up an article first and than produce the handout.
> So, I created a new document with Beamer Article (Standard Class) /
> (KOMA-Script) and then added my Presentation via Insert > File > Child
> Document.
> But when trying an export to PDF I was rewarded with tons of Latex
> Errors (too many to be listed here).
> 
> Needless to mention that my beamer Presentation compiles perfectly well!
> 
> I also tried the different output modes "presentation" and "article" -
> both failed equally.
> 
> My beamer Presentation is packed with linguistic specialties like
> glosses, trees, covington style etc.
> Can somebody come up with a piece of good advice?

Take care that the preamble of the beamer article document includes all needed 
things (basically, you can probably just copy over the preamble of the 
presentation).

Also, all modules that are loaded in the presentation need to be loaded by the 
article as well.

If you have local layout settings, this needs to be known to the article as 
well.

HTH
Jürgen

> Thanks and regards,




Re: setting up a beamer article with LyX

2015-02-20 Thread Michael Berger

On 02/20/2015 12:08 PM, Jürgen Spitzmüller wrote:

Michael Berger wrote:

I followed the procedure described in LyX's Help > Specific Manuals >
Beamer which says to set up an article first and than produce the handout.
So, I created a new document with Beamer Article (Standard Class) /
(KOMA-Script) and then added my Presentation via Insert > File > Child
Document.
But when trying an export to PDF I was rewarded with tons of Latex
Errors (too many to be listed here).

Needless to mention that my beamer Presentation compiles perfectly well!

I also tried the different output modes "presentation" and "article" -
both failed equally.

My beamer Presentation is packed with linguistic specialties like
glosses, trees, covington style etc.
Can somebody come up with a piece of good advice?

Take care that the preamble of the beamer article document includes all needed
things (basically, you can probably just copy over the preamble of the
presentation).

Also, all modules that are loaded in the presentation need to be loaded by the
article as well.

If you have local layout settings, this needs to be known to the article as
well.

HTH
Jürgen


Thanks and regards,

Thanks Jürgen,
both files should by now have identical settings.
I enclose screenshot of the error message hoping you might find an 
indication of something that is the cause.


Michael


Re: setting up a beamer article with LyX

2015-02-20 Thread Paul A . Rubin
Michael Berger  online.de> writes:

> >> I followed the procedure described in LyX's Help > Specific Manuals >
> >> Beamer which says to set up an article first and than produce the handout.

If your intent is to produce a set of slide images in a PDF document, you do
not need the article. You can just add the word "handout" (without the
quotes) to Document > Settings > Document Class > Class options > Custom: in
the presentation file, and then export to PDF.

Paul




Re: setting line space in lyx table

2014-05-14 Thread Csikos Bela
Csikos Bela bcsikos...@freemail.hu írta:
Hello:

How to set or change line spacing in a lyx table? I would like to decrease 
line space
between lines in cell, not the space between columns.

I wanted to say 'not the line space between rows'.



Re: setting line space in lyx table

2014-05-14 Thread Csikos Bela
Csikos Bela bcsikos...@freemail.hu írta:
Hello:

How to set or change line spacing in a lyx table? I would like to decrease 
line space
between lines in cell, not the space between columns.

I wanted to say 'not the line space between rows'.



Re: setting line space in lyx table

2014-05-14 Thread Csikos Bela
Csikos Bela  írta:
>Hello:
>
>How to set or change line spacing in a lyx table? I would like to decrease 
>line space
>between lines in cell, not the space between columns.

I wanted to say 'not the line space between rows'.



Re: Setting table column width causes error

2013-06-06 Thread Uwe Stöhr

Am 06.06.2013 03:17, schrieb Richard Heck:


Can you please file a bug about this on http://www.lyx.org/trac/?


Done: http://www.lyx.org/trac/ticket/8724
(This is a bug in the document class simpleCV.)

Besides this, Ben, you have some preamble code in your document that can cause problems. For example 
LyX takes already care of the graphicx package, so you can remove that line. Are you sure that you 
need the redefinition of section and subsection? if not, better remove this.
You use in your file for Doctor of Philosophy the style SubSection which does no longer exists. 
It is now named Subsection.


regards Uwe


Re: Setting table column width causes error

2013-06-06 Thread Uwe Stöhr

Am 06.06.2013 03:17, schrieb Richard Heck:


Can you please file a bug about this on http://www.lyx.org/trac/?


Done: http://www.lyx.org/trac/ticket/8724
(This is a bug in the document class simpleCV.)

Besides this, Ben, you have some preamble code in your document that can cause problems. For example 
LyX takes already care of the graphicx package, so you can remove that line. Are you sure that you 
need the redefinition of section and subsection? if not, better remove this.
You use in your file for Doctor of Philosophy the style SubSection which does no longer exists. 
It is now named Subsection.


regards Uwe


Re: Setting table column width causes error

2013-06-06 Thread Uwe Stöhr

Am 06.06.2013 03:17, schrieb Richard Heck:


Can you please file a bug about this on http://www.lyx.org/trac/?


Done: http://www.lyx.org/trac/ticket/8724
(This is a bug in the document class simpleCV.)

Besides this, Ben, you have some preamble code in your document that can cause problems. For example 
LyX takes already care of the graphicx package, so you can remove that line. Are you sure that you 
need the redefinition of section and subsection? if not, better remove this.
You use in your file for "Doctor of Philosophy" the style "SubSection" which does no longer exists. 
It is now named "Subsection".


regards Uwe


Re: Setting table column width causes error

2013-06-05 Thread Richard Heck

On 06/05/2013 10:45 AM, ben.stan...@exemail.com.au wrote:

Hi,

I have a small document which produces a latex error when processed. I
have reproduced the error using lyx 1.6.10 and 2.0.2.

The problem seems to be caused by setting a width on a table column.
Removing the width on the second column of the second table fixes the
error.

The error text received is as follows:

! Package array Error:  Illegal pream-token (\cv@lh@lr): `c' used.
! Package array Error:  Illegal pream-token (\cv@rh@lr): `c' used.

Please find the document attached.


Can you please file a bug about this on http://www.lyx.org/trac/?

Richard



Re: Setting table column width causes error

2013-06-05 Thread Richard Heck

On 06/05/2013 10:45 AM, ben.stan...@exemail.com.au wrote:

Hi,

I have a small document which produces a latex error when processed. I
have reproduced the error using lyx 1.6.10 and 2.0.2.

The problem seems to be caused by setting a width on a table column.
Removing the width on the second column of the second table fixes the
error.

The error text received is as follows:

! Package array Error:  Illegal pream-token (\cv@lh@lr): `c' used.
! Package array Error:  Illegal pream-token (\cv@rh@lr): `c' used.

Please find the document attached.


Can you please file a bug about this on http://www.lyx.org/trac/?

Richard



Re: Setting table column width causes error

2013-06-05 Thread Richard Heck

On 06/05/2013 10:45 AM, ben.stan...@exemail.com.au wrote:

Hi,

I have a small document which produces a latex error when processed. I
have reproduced the error using lyx 1.6.10 and 2.0.2.

The problem seems to be caused by setting a width on a table column.
Removing the width on the second column of the second table fixes the
error.

The error text received is as follows:

! Package array Error:  Illegal pream-token (\cv@lh@lr): `c' used.
! Package array Error:  Illegal pream-token (\cv@rh@lr): `c' used.

Please find the document attached.


Can you please file a bug about this on http://www.lyx.org/trac/?

Richard



Re: setting options for bibtex

2013-02-05 Thread Csikos Bela
Coen van Hasselt coenvanhass...@gmail.com írta:

I want to turn off printing of DOIs in my BibTex bibliography in Lyx.
When I try to add the option doi=false under Document settings -
Bibliography - Bibliography generation - Options
the bibliography is not generated anymore (i.e. question mark for
citation and empty bibliography). How can I set this option via Lyx ?

thanks,
coen


Hello:

I guess you cannot do this, that is control bibliography output style, in lyx.
How the bibliography looks is determined by the bibliograpy style file (.bst 
file). When you insert bibliography in lyx, you have to select the bibtex 
database file (.bib) file and the style file (.bst). The bst file controls how 
the citations and the bibliography are formatted. You can choose predefined bst 
files or you can create one according to your liking. Creating a bst file is 
not the easiest at first, it takes some time to learn it. I am aware of two 
tools for creating bst style files:

1. custom-bib package for tex/latex (http://www.ctan.org/pkg/custom-bib)

2. Java based bib-it program has a style file generator module.
http://bib-it.sourceforge.net/features.php

Maybe the second one is easier to use.
One can control which keys in what order should be in a bibliography item (and 
citations as well) and how they are formatted.

Regards,

bcsikos



Re: setting options for bibtex

2013-02-05 Thread Paul A . Rubin
Are you using NatBib? I'm not sure, but I think doi=... is an option for NatBib,
whereas you're trying to insert it as an option for BibTeX. If you're using
NatBib, try adding doi=false to Document  Settings...  Document Class  Class
options  Custom. Options specified here are passed down the line to loaded
packages (which ignore the option if it's not one they know).

Paul



Re: setting options for bibtex

2013-02-05 Thread Csikos Bela
Coen van Hasselt coenvanhass...@gmail.com írta:

I want to turn off printing of DOIs in my BibTex bibliography in Lyx.
When I try to add the option doi=false under Document settings -
Bibliography - Bibliography generation - Options
the bibliography is not generated anymore (i.e. question mark for
citation and empty bibliography). How can I set this option via Lyx ?

thanks,
coen


Hello:

I guess you cannot do this, that is control bibliography output style, in lyx.
How the bibliography looks is determined by the bibliograpy style file (.bst 
file). When you insert bibliography in lyx, you have to select the bibtex 
database file (.bib) file and the style file (.bst). The bst file controls how 
the citations and the bibliography are formatted. You can choose predefined bst 
files or you can create one according to your liking. Creating a bst file is 
not the easiest at first, it takes some time to learn it. I am aware of two 
tools for creating bst style files:

1. custom-bib package for tex/latex (http://www.ctan.org/pkg/custom-bib)

2. Java based bib-it program has a style file generator module.
http://bib-it.sourceforge.net/features.php

Maybe the second one is easier to use.
One can control which keys in what order should be in a bibliography item (and 
citations as well) and how they are formatted.

Regards,

bcsikos



Re: setting options for bibtex

2013-02-05 Thread Paul A . Rubin
Are you using NatBib? I'm not sure, but I think doi=... is an option for NatBib,
whereas you're trying to insert it as an option for BibTeX. If you're using
NatBib, try adding doi=false to Document  Settings...  Document Class  Class
options  Custom. Options specified here are passed down the line to loaded
packages (which ignore the option if it's not one they know).

Paul



Re: setting options for bibtex

2013-02-05 Thread Csikos Bela
Coen van Hasselt  írta:

>I want to turn off printing of DOIs in my BibTex bibliography in Lyx.
>When I try to add the option doi=false under Document settings ->
>Bibliography -> Bibliography generation -> Options
>the bibliography is not generated anymore (i.e. question mark for
>citation and empty bibliography). How can I set this option via Lyx ?
>
>thanks,
>coen
>

Hello:

I guess you cannot do this, that is control bibliography output style, in lyx.
How the bibliography looks is determined by the bibliograpy style file (.bst 
file). When you insert bibliography in lyx, you have to select the bibtex 
database file (.bib) file and the style file (.bst). The bst file controls how 
the citations and the bibliography are formatted. You can choose predefined bst 
files or you can create one according to your liking. Creating a bst file is 
not the easiest at first, it takes some time to learn it. I am aware of two 
tools for creating bst style files:

1. custom-bib package for tex/latex (http://www.ctan.org/pkg/custom-bib)

2. Java based bib-it program has a style file generator module.
http://bib-it.sourceforge.net/features.php

Maybe the second one is easier to use.
One can control which keys in what order should be in a bibliography item (and 
citations as well) and how they are formatted.

Regards,

bcsikos



Re: setting options for bibtex

2013-02-05 Thread Paul A . Rubin
Are you using NatBib? I'm not sure, but I think doi=... is an option for NatBib,
whereas you're trying to insert it as an option for BibTeX. If you're using
NatBib, try adding doi=false to Document > Settings... > Document Class > Class
options > Custom. Options specified here are passed down the line to loaded
packages (which ignore the option if it's not one they know).

Paul



Re: Setting staff size for lilypond-book in Lyx

2013-01-03 Thread Joshua Stutter
Perfect, thank you!

Kind regards, 

Joshua

On Thu, 03 Jan 2013 07:09:00 -0500
Julien Rioux jri...@lyx.org wrote:

 On 30/12/2012 4:47 PM, Joshua Stutter wrote:
  Dear all,
 
  My Lilypond snippet is too big. Setting #(set-global-staff-size 10) in the
  Lilypond source does nothing to the output, and #(layout-set-staff-size 10)
  causes an unnamed error during compilation. How do I change the staff size 
  for
  different Lilypond snippets?
 
  Thanks in advance.
 
 
 
 Insert the following as the very first thing inside the lilypond inset:
 
 [staffsize=10]
 
 You can add other options by separating them by a comma, for example:
 
 [staffsize=10,verbatim]
 
 A list of options is available in the LilyPond documentation at 
 http://www.lilypond.org/doc/v2.16/Documentation/usage-big-page#music-fragment-options
 
 If you need this for every single lilypond inset, and you have so many 
 of them that adding the above to each of them would be untrackable, you 
 could make your own customized version of the lilypond.module file. See 
 Help  Customization, especially read about LatexParam under Section 
 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
 to your user directory (usually under ~/.lyx/layouts/) and in the 
 relevant place adding the line:
 
 LatexParam staffsize=10
 
 Hope this helps,
 Cheers,
 Julien


Re: Setting staff size for lilypond-book in Lyx

2013-01-03 Thread Joshua Stutter
Perfect, thank you!

Kind regards, 

Joshua

On Thu, 03 Jan 2013 07:09:00 -0500
Julien Rioux jri...@lyx.org wrote:

 On 30/12/2012 4:47 PM, Joshua Stutter wrote:
  Dear all,
 
  My Lilypond snippet is too big. Setting #(set-global-staff-size 10) in the
  Lilypond source does nothing to the output, and #(layout-set-staff-size 10)
  causes an unnamed error during compilation. How do I change the staff size 
  for
  different Lilypond snippets?
 
  Thanks in advance.
 
 
 
 Insert the following as the very first thing inside the lilypond inset:
 
 [staffsize=10]
 
 You can add other options by separating them by a comma, for example:
 
 [staffsize=10,verbatim]
 
 A list of options is available in the LilyPond documentation at 
 http://www.lilypond.org/doc/v2.16/Documentation/usage-big-page#music-fragment-options
 
 If you need this for every single lilypond inset, and you have so many 
 of them that adding the above to each of them would be untrackable, you 
 could make your own customized version of the lilypond.module file. See 
 Help  Customization, especially read about LatexParam under Section 
 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
 to your user directory (usually under ~/.lyx/layouts/) and in the 
 relevant place adding the line:
 
 LatexParam staffsize=10
 
 Hope this helps,
 Cheers,
 Julien


Re: Setting staff size for lilypond-book in Lyx

2013-01-03 Thread Joshua Stutter
Perfect, thank you!

Kind regards, 

Joshua

On Thu, 03 Jan 2013 07:09:00 -0500
Julien Rioux  wrote:

> On 30/12/2012 4:47 PM, Joshua Stutter wrote:
> > Dear all,
> >
> > My Lilypond snippet is too big. Setting #(set-global-staff-size 10) in the
> > Lilypond source does nothing to the output, and #(layout-set-staff-size 10)
> > causes an unnamed error during compilation. How do I change the staff size 
> > for
> > different Lilypond snippets?
> >
> > Thanks in advance.
> >
> >
> 
> Insert the following as the very first thing inside the lilypond inset:
> 
> [staffsize=10]
> 
> You can add other options by separating them by a comma, for example:
> 
> [staffsize=10,verbatim]
> 
> A list of options is available in the LilyPond documentation at 
> http://www.lilypond.org/doc/v2.16/Documentation/usage-big-page#music-fragment-options
> 
> If you need this for every single lilypond inset, and you have so many 
> of them that adding the above to each of them would be untrackable, you 
> could make your own customized version of the lilypond.module file. See 
> Help > Customization, especially read about LatexParam under Section 
> 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
> to your user directory (usually under ~/.lyx/layouts/) and in the 
> relevant place adding the line:
> 
> LatexParam "staffsize=10"
> 
> Hope this helps,
> Cheers,
> Julien


Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Sat, 11 Aug 2012, Ray Rashif wrote:


Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).



[1] www.almack.ch/upload/Doc/LyX/en/EmbeddedObjects.pdf


  I'm still not doing this correctly. When I try to add a new row above the
top row (column headers), it's inserted below that row. Cutting and pasting
the column headers to the new second row does not work smoothly. Then I read
the EmbeddedObjects.pdf.

  According to the above-referenced document, I put the cursor in the
left-most column of the column headers row, apply Insert - Caption, and
follow that with ERT of \\%. When I do this, the left-most column becaomes
as wide as the caption and the rest of the columns are pushed off the
visible screen to the right. This happens both when the ERT is within the
caption block and immediately to its right.

  It must be something simple that I'm not seeing and doing. Further
clarification will help.

Thanks,

Rich




Re: Setting Up Longtable

2012-08-13 Thread Ray Rashif
On 14 August 2012 00:35, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Mon, 13 Aug 2012, Rich Shepard wrote:

  I'm still not doing this correctly. When I try to add a new row above the
 top row (column headers), it's inserted below that row. Cutting and
 pasting the column headers to the new second row does not work smoothly.
 Then I read the EmbeddedObjects.pdf.


   Well! After all my attempts to get a caption on the longtable I've FUBAR'd
 it. It will no longer compile ... missing an /end{longtable} and does not
 like where I manually entered it in the .lyx file.

   The table itself has been extracted to another file which I've attached to
 this message. I would greatly appreciate learning how to make it compile and
 how to put a caption on it.

 Rich

Rich, could you try to view the attached file?


-- 
GPG/PGP ID: C0711BF1


longtabletest.lyx
Description: Binary data


Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Tue, 14 Aug 2012, Ray Rashif wrote:


Rich, could you try to view the attached file?


Ray,

  Displays just fine. I'll look at the code and see what's different from my
document.

Thanks,

Rich



Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Tue, 14 Aug 2012, Ray Rashif wrote:


Here is your file fixed. There was a rogue Description layout where the
table resides. It should be Standard under normal circumstances.


Ray,

  Thank you for finding the discrepancy.


Added a caption and made the header repeat. You make the caption by
creating a new row below the first row, copy-pasting the contents of the
first into this new one, and right-clicking on the now-empty first row
(and first column) and then Caption: On from the table settings.


  Got it. The header was repeating by itself, but the caption kept eluding
me.


Keep in mind there is no ERT involved here (there might have been a need
for it on much older LyX versions). Also, there is no need for the
longtable package to be explicitly included in the preamble.


  The ERT came from the EmbeddedObjects.pdf and the preamble came from the
LaTeX table book.

Regards,

Rich



Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Sat, 11 Aug 2012, Ray Rashif wrote:


Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).



[1] www.almack.ch/upload/Doc/LyX/en/EmbeddedObjects.pdf


  I'm still not doing this correctly. When I try to add a new row above the
top row (column headers), it's inserted below that row. Cutting and pasting
the column headers to the new second row does not work smoothly. Then I read
the EmbeddedObjects.pdf.

  According to the above-referenced document, I put the cursor in the
left-most column of the column headers row, apply Insert - Caption, and
follow that with ERT of \\%. When I do this, the left-most column becaomes
as wide as the caption and the rest of the columns are pushed off the
visible screen to the right. This happens both when the ERT is within the
caption block and immediately to its right.

  It must be something simple that I'm not seeing and doing. Further
clarification will help.

Thanks,

Rich




Re: Setting Up Longtable

2012-08-13 Thread Ray Rashif
On 14 August 2012 00:35, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Mon, 13 Aug 2012, Rich Shepard wrote:

  I'm still not doing this correctly. When I try to add a new row above the
 top row (column headers), it's inserted below that row. Cutting and
 pasting the column headers to the new second row does not work smoothly.
 Then I read the EmbeddedObjects.pdf.


   Well! After all my attempts to get a caption on the longtable I've FUBAR'd
 it. It will no longer compile ... missing an /end{longtable} and does not
 like where I manually entered it in the .lyx file.

   The table itself has been extracted to another file which I've attached to
 this message. I would greatly appreciate learning how to make it compile and
 how to put a caption on it.

 Rich

Rich, could you try to view the attached file?


-- 
GPG/PGP ID: C0711BF1


longtabletest.lyx
Description: Binary data


Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Tue, 14 Aug 2012, Ray Rashif wrote:


Rich, could you try to view the attached file?


Ray,

  Displays just fine. I'll look at the code and see what's different from my
document.

Thanks,

Rich



Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Tue, 14 Aug 2012, Ray Rashif wrote:


Here is your file fixed. There was a rogue Description layout where the
table resides. It should be Standard under normal circumstances.


Ray,

  Thank you for finding the discrepancy.


Added a caption and made the header repeat. You make the caption by
creating a new row below the first row, copy-pasting the contents of the
first into this new one, and right-clicking on the now-empty first row
(and first column) and then Caption: On from the table settings.


  Got it. The header was repeating by itself, but the caption kept eluding
me.


Keep in mind there is no ERT involved here (there might have been a need
for it on much older LyX versions). Also, there is no need for the
longtable package to be explicitly included in the preamble.


  The ERT came from the EmbeddedObjects.pdf and the preamble came from the
LaTeX table book.

Regards,

Rich



Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Sat, 11 Aug 2012, Ray Rashif wrote:


Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).



[1] www.almack.ch/upload/Doc/LyX/en/EmbeddedObjects.pdf


  I'm still not doing this correctly. When I try to add a new row above the
top row (column headers), it's inserted below that row. Cutting and pasting
the column headers to the new second row does not work smoothly. Then I read
the EmbeddedObjects.pdf.

  According to the above-referenced document, I put the cursor in the
left-most column of the column headers row, apply Insert -> Caption, and
follow that with ERT of \\%. When I do this, the left-most column becaomes
as wide as the caption and the rest of the columns are pushed off the
visible screen to the right. This happens both when the ERT is within the
caption block and immediately to its right.

  It must be something simple that I'm not seeing and doing. Further
clarification will help.

Thanks,

Rich




Re: Setting Up Longtable

2012-08-13 Thread Ray Rashif
On 14 August 2012 00:35, Rich Shepard  wrote:
> On Mon, 13 Aug 2012, Rich Shepard wrote:
>
>>  I'm still not doing this correctly. When I try to add a new row above the
>> top row (column headers), it's inserted below that row. Cutting and
>> pasting the column headers to the new second row does not work smoothly.
>> Then I read the EmbeddedObjects.pdf.
>
>
>   Well! After all my attempts to get a caption on the longtable I've FUBAR'd
> it. It will no longer compile ... missing an /end{longtable} and does not
> like where I manually entered it in the .lyx file.
>
>   The table itself has been extracted to another file which I've attached to
> this message. I would greatly appreciate learning how to make it compile and
> how to put a caption on it.
>
> Rich

Rich, could you try to view the attached file?


-- 
GPG/PGP ID: C0711BF1


longtabletest.lyx
Description: Binary data


Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Tue, 14 Aug 2012, Ray Rashif wrote:


Rich, could you try to view the attached file?


Ray,

  Displays just fine. I'll look at the code and see what's different from my
document.

Thanks,

Rich



Re: Setting Up Longtable

2012-08-13 Thread Rich Shepard

On Tue, 14 Aug 2012, Ray Rashif wrote:


Here is your file fixed. There was a rogue Description layout where the
table resides. It should be Standard under normal circumstances.


Ray,

  Thank you for finding the discrepancy.


Added a caption and made the header repeat. You make the caption by
creating a new row below the first row, copy-pasting the contents of the
first into this new one, and right-clicking on the now-empty first row
(and first column) and then Caption: On from the table settings.


  Got it. The header was repeating by itself, but the caption kept eluding
me.


Keep in mind there is no ERT involved here (there might have been a need
for it on much older LyX versions). Also, there is no need for the
longtable package to be explicitly included in the preamble.


  The ERT came from the EmbeddedObjects.pdf and the preamble came from the
LaTeX table book.

Regards,

Rich



Re: Setting Up Longtable

2012-08-11 Thread Ray Rashif
On 11 August 2012 07:42, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Fri, 10 Aug 2012, curtis osterhoudt wrote:

 Ah. A slightly easier way of getting there is to place the mouse cursor
 within the table, and then go to the Edit menu at the top of the LyX
 window, choose Table Settings, and then the dialog which appears
 includes the Longtable tab.


 Curtis,

   I need to play with this (or your previous suggestion). When I follow the
 above, and check the box for 'caption' it makes the column header row a
 caption. Since all tables I've used in the past were in floats I need to
 learn how to work with a table outside a float.

   Looks like I need to play until I can get the caption correct, then figure
 out by trial-and-error where to break the page.

 Thanks for the pointers,

 Rich


Rich, long tables are documented thoroughly. Please have a read of the
internal documentation (embeddedObjects in particular) [1], else
search Google. However, you can skip the LyX wiki page on long tables
as it is outdated.

Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).


[1] www.almack.ch/upload/Doc/LyX/en/EmbeddedObjects.pdf

--
GPG/PGP ID: C0711BF1


Re: Setting Up Longtable

2012-08-11 Thread Rich Shepard

On Sat, 11 Aug 2012, Ray Rashif wrote:


Rich, long tables are documented thoroughly. Please have a read of the
internal documentation (embeddedObjects in particular) [1], else search
Google. However, you can skip the LyX wiki page on long tables as it is
outdated.


Ray,

  I read the description of the longtable package in Herbert Voss's book and
looked at the users guide section, too. Will read te embedded objects
section.


Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).


  OK. I suspected this to be the case as the column headers became the
caption when I invoked that option.

  As I've not before needed this package I appreciate all the provided
guidance.

Thanks,

Rich



Re: Setting Up Longtable

2012-08-11 Thread Ray Rashif
On 11 August 2012 07:42, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Fri, 10 Aug 2012, curtis osterhoudt wrote:

 Ah. A slightly easier way of getting there is to place the mouse cursor
 within the table, and then go to the Edit menu at the top of the LyX
 window, choose Table Settings, and then the dialog which appears
 includes the Longtable tab.


 Curtis,

   I need to play with this (or your previous suggestion). When I follow the
 above, and check the box for 'caption' it makes the column header row a
 caption. Since all tables I've used in the past were in floats I need to
 learn how to work with a table outside a float.

   Looks like I need to play until I can get the caption correct, then figure
 out by trial-and-error where to break the page.

 Thanks for the pointers,

 Rich


Rich, long tables are documented thoroughly. Please have a read of the
internal documentation (embeddedObjects in particular) [1], else
search Google. However, you can skip the LyX wiki page on long tables
as it is outdated.

Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).


[1] www.almack.ch/upload/Doc/LyX/en/EmbeddedObjects.pdf

--
GPG/PGP ID: C0711BF1


Re: Setting Up Longtable

2012-08-11 Thread Rich Shepard

On Sat, 11 Aug 2012, Ray Rashif wrote:


Rich, long tables are documented thoroughly. Please have a read of the
internal documentation (embeddedObjects in particular) [1], else search
Google. However, you can skip the LyX wiki page on long tables as it is
outdated.


Ray,

  I read the description of the longtable package in Herbert Voss's book and
looked at the users guide section, too. Will read te embedded objects
section.


Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).


  OK. I suspected this to be the case as the column headers became the
caption when I invoked that option.

  As I've not before needed this package I appreciate all the provided
guidance.

Thanks,

Rich



Re: Setting Up Longtable

2012-08-11 Thread Ray Rashif
On 11 August 2012 07:42, Rich Shepard  wrote:
> On Fri, 10 Aug 2012, curtis osterhoudt wrote:
>
>> Ah. A slightly easier way of getting there is to place the mouse cursor
>> within the table, and then go to the "Edit" menu at the top of the LyX
>> window, choose "Table Settings", and then the dialog which appears
>> includes the "Longtable" tab.
>
>
> Curtis,
>
>   I need to play with this (or your previous suggestion). When I follow the
> above, and check the box for 'caption' it makes the column header row a
> caption. Since all tables I've used in the past were in floats I need to
> learn how to work with a table outside a float.
>
>   Looks like I need to play until I can get the caption correct, then figure
> out by trial-and-error where to break the page.
>
> Thanks for the pointers,
>
> Rich
>

Rich, long tables are documented thoroughly. Please have a read of the
internal documentation (embeddedObjects in particular) [1], else
search Google. However, you can skip the LyX wiki page on long tables
as it is outdated.

Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).


[1] www.almack.ch/upload/Doc/LyX/en/EmbeddedObjects.pdf

--
GPG/PGP ID: C0711BF1


Re: Setting Up Longtable

2012-08-11 Thread Rich Shepard

On Sat, 11 Aug 2012, Ray Rashif wrote:


Rich, long tables are documented thoroughly. Please have a read of the
internal documentation (embeddedObjects in particular) [1], else search
Google. However, you can skip the LyX wiki page on long tables as it is
outdated.


Ray,

  I read the description of the longtable package in Herbert Voss's book and
looked at the users guide section, too. Will read te embedded objects
section.


Long tables are just static tables with manually-added float features,
such as a caption. You create your table, and then when you're done,
create a new row on the top or bottom and then make that row a caption
(Caption: On; right-click in any column).


  OK. I suspected this to be the case as the column headers became the
caption when I invoked that option.

  As I've not before needed this package I appreciate all the provided
guidance.

Thanks,

Rich



Re: Setting Up Longtable

2012-08-10 Thread curtis osterhoudt
Hi, Rich, 

   I recently had to do this (in the 2.1.0 development version of LyX).

   I inserted a table, and got the caption typed in. Then, near that caption 
box (and within the demarcations marking the table), I can right-click. At the 
bottom of the pop-up menu is a More... option, which brings up yet another 
pop-up menu, with Settings Choosing that finally has the Longtable tab.

   Hope that helps!

               Curtis
 
/**
As a species, we are forever sticking our fingers into the electric socket of 
the Universe to see what'll happen next. It's a trait that'll either save us or 
kill us, but by god it's what makes us human beings. I'd rather be in the 
company of people who look at Mars than people who contemplate humanity's navel 
-- other worlds are better than fluff. ~~Terry Pratchett
***/



 From: Rich Shepard rshep...@appl-ecosys.com
To: lyx-users@lists.lyx.org 
Sent: Friday, August 10, 2012 12:49 PM
Subject: Setting Up Longtable
 
  I have a table with 65 rows and want to define it as a long table. The
Users Guide tells me, If the table is too long to fit on one page, you can
use the option Use long table in the tab Longtable of the table dialog to
split the table automatically over more pages. Doing this enables some check
boxes and you can now define.

  But, I cannot find the 'tab Longtable of the table dialog.' It does not
appear to be on the table tool bar and clicking in the table does not bring
up a table dialog. I'm not seeing how to access do the job.

Rich







Re: Setting Up Longtable

2012-08-10 Thread curtis osterhoudt
Ah. A slightly easier way of getting there is to place the mouse cursor within 
the table, and then go to the Edit menu at the top of the LyX window, choose 
Table Settings, and then the dialog which appears includes the Longtable 
tab.
 
/**
As a species, we are forever sticking our fingers into the electric socket of 
the Universe to see what'll happen next. It's a trait that'll either save us or 
kill us, but by god it's what makes us human beings. I'd rather be in the 
company of people who look at Mars than people who contemplate humanity's navel 
-- other worlds are better than fluff. ~~Terry Pratchett
***/



 From: Rich Shepard rshep...@appl-ecosys.com
To: lyx-users@lists.lyx.org 
Sent: Friday, August 10, 2012 12:49 PM
Subject: Setting Up Longtable
 
  I have a table with 65 rows and want to define it as a long table. The
Users Guide tells me, If the table is too long to fit on one page, you can
use the option Use long table in the tab Longtable of the table dialog to
split the table automatically over more pages. Doing this enables some check
boxes and you can now define.

  But, I cannot find the 'tab Longtable of the table dialog.' It does not
appear to be on the table tool bar and clicking in the table does not bring
up a table dialog. I'm not seeing how to access do the job.

Rich







  1   2   3   4   5   >