Re: lyx-users Digest, Vol 70, Issue 8

2021-01-28 Thread Jürgen Spitzmüller
Am Donnerstag, dem 28.01.2021 um 22:58 -0500 schrieb Richard Kimberly
Heck:
> Well, it is based upon another class, but it's exam.cls, which we
> don't have a layout for yet. 

Note that there is a user-contributed layout for exam listed on the
wiki:
https://github.com/fuhrmanator/lyx-layouts

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Document tab blank

2021-01-28 Thread Richard Kimberly Heck
On 1/28/21 7:04 PM, Hal Kierstead wrote:
>> On Jan 28, 2021, at 4:06 PM, Rich Shepard  wrote:
>>
>> This is one I've not seen before. I'm using lyx-2.3.6.1.
>>
>> I opened a .lyx document in a new tab and the title does not display in the
>> tab. It's plain white (see attached screenshot.) Closing and reloading lyx
>> makes no difference.
>>
>> Ideas?
>>
>> Rich
>>
>> I have seen it with 2.3.6 on a Mac.

Is there anything different about the filenames? Spaces, eg?

Riki


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


Re: Document tab blank

2021-01-28 Thread Hal Kierstead


> On Jan 28, 2021, at 4:06 PM, Rich Shepard  wrote:
> 
> This is one I've not seen before. I'm using lyx-2.3.6.1.
> 
> I opened a .lyx document in a new tab and the title does not display in the
> tab. It's plain white (see attached screenshot.) Closing and reloading lyx
> makes no difference.
> 
> Ideas?
> 
> Rich
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

I have seen it with 2.3.6 on a Mac.
Hal

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


Re: lyx-users Digest, Vol 70, Issue 8

2021-01-28 Thread Richard Kimberly Heck
On 1/28/21 6:23 PM, Keith Sloan wrote:
> tda.cls attached

Well, it is based upon another class, but it's exam.cls, which we don't
have a layout for yet. But exam.cls is itself based upon the standard
article class, since we find:

\LoadClass{article}

So I think you can get something close to working simply by copying
article.layout (from yoru LyX system directory) to tda.layout (in your
LyX user directory) and then trying again to import the template. Some
of the constructs will not import 'natively' but as ERT, but it should
still be good enough for you to get started.

I'll try to have a look at this tomorrow and see if I can come up with a
better layout file than the quick and dirty one.

Riki



>
>
>> Message: 2
>> Date: Thu, 28 Jan 2021 15:01:45 -0500
>> From: Richard Kimberly Heck 
>> To: parubi...@gmail.com, lyx-users@lists.lyx.org
>> Subject: Re: Importing tex file into Lyx
>> Message-ID: <56e9d0fd-296a-650b-eeeb-fa53fc704...@lyx.org>
>> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>>
>> On 1/28/21 2:48 PM, Paul A. Rubin wrote:
>>> On 1/28/21 10:54 AM, Keith Sloan wrote:
>>>> My Uni has supplied me with a tex template that they want me to use.
>>>> I have tried opening a new Lyx document and then importing the tex
>>>> file but I get an error see attached.
>>>> An error occurred while running:
>>>> $$s/../MacOS/text2lyx -f "casestudy.tex"
>>>> "casestudy.lyx"
>>>>
>>>> I am on Mac Catalina 10.15.7
>>>>
>>>> I note the tex file has near the beginning
>>>>
>>>> %Example of use of Time Domain Astrophysics latex class
>>>> \documentclass{tda}
>>>>
>>>> And they are also supplying a file tda.cls
>>>>
>>>> Not sure where to go to diagnose the problem.
>>>> Hope somebody can help advise
>>>>
>>>> == Art & Ceramics ===
>>>> https://www.instagram.com/ksloan1952/
>>>>
>>> I think you are going to have to do the following:
>>>
>>>   1. Install tda.cls in your LaTeX setup (park it in an appropriate
>>>  location and make sure your LaTeX installation can find it).
>>>   2. Create a LyX layout file for the tda class, and store that in your
>>>  local LyX directory.
>>>   3. Reconfigure LyX so it finds the new layout.
>>>
>>> See chapter 5 of the LyX Customization manual for details.
>>>
>> If you're lucky, the tda template will be based upon some standard LaTeX
>> template (e.g., report or book), and you can get a working layout very
>> simply: Copy report.layout (say) to tda.layout, and put that into your
>> LyX user directory. Look at the tda.cls file (or post it here). You are
>> likely to find some material that shows what it is based upon.
>>
>> Riki
>>
>>
>> -- next part --
>> An HTML attachment was scrubbed...
>> URL:
>> <http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/40bf2ade/attachment-0001.html>
>>
>> --
>>
>> Message: 3
>> Date: Thu, 28 Jan 2021 15:06:31 -0800 (PST)
>> From: Rich Shepard 
>> To: lyx-users@lists.lyx.org
>> Subject: Document tab blank
>> Message-ID: 
>> Content-Type: text/plain; charset="us-ascii"; Format="flowed"
>>
>> This is one I've not seen before. I'm using lyx-2.3.6.1.
>>
>> I opened a .lyx document in a new tab and the title does not display
>> in the
>> tab. It's plain white (see attached screenshot.) Closing and
>> reloading lyx
>> makes no difference.
>>
>> Ideas?
>>
>> Rich
>> -- next part --
>> A non-text attachment was scrubbed...
>> Name: lyx-screenshot.png
>> Type: image/png
>> Size: 21191 bytes
>> Desc:
>> URL:
>> <http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/f0b62265/attachment.png>
>>
>> --
>>
>> Subject: Digest Footer
>>
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
>>
>> --
>>
>> End of lyx-users Digest, Vol 70, Issue 8
>> 
>
>

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


Re: lyx-users Digest, Vol 70, Issue 8

2021-01-28 Thread Keith Sloan

tda.cls attached



Message: 2
Date: Thu, 28 Jan 2021 15:01:45 -0500
From: Richard Kimberly Heck 
To: parubi...@gmail.com, lyx-users@lists.lyx.org
Subject: Re: Importing tex file into Lyx
Message-ID: <56e9d0fd-296a-650b-eeeb-fa53fc704...@lyx.org>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 1/28/21 2:48 PM, Paul A. Rubin wrote:

On 1/28/21 10:54 AM, Keith Sloan wrote:

My Uni has supplied me with a tex template that they want me to use.
I have tried opening a new Lyx document and then importing the tex
file but I get an error see attached.
An error occurred while running:
$$s/../MacOS/text2lyx -f "casestudy.tex"
"casestudy.lyx"

I am on Mac Catalina 10.15.7

I note the tex file has near the beginning

%Example of use of Time Domain Astrophysics latex class
\documentclass{tda}

And they are also supplying a file tda.cls

Not sure where to go to diagnose the problem.
Hope somebody can help advise

== Art & Ceramics ===
https://www.instagram.com/ksloan1952/


I think you are going to have to do the following:

  1. Install tda.cls in your LaTeX setup (park it in an appropriate
 location and make sure your LaTeX installation can find it).
  2. Create a LyX layout file for the tda class, and store that in your
 local LyX directory.
  3. Reconfigure LyX so it finds the new layout.

See chapter 5 of the LyX Customization manual for details.


If you're lucky, the tda template will be based upon some standard LaTeX
template (e.g., report or book), and you can get a working layout very
simply: Copy report.layout (say) to tda.layout, and put that into your
LyX user directory. Look at the tda.cls file (or post it here). You are
likely to find some material that shows what it is based upon.

Riki


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/40bf2ade/attachment-0001.html>

--

Message: 3
Date: Thu, 28 Jan 2021 15:06:31 -0800 (PST)
From: Rich Shepard 
To: lyx-users@lists.lyx.org
Subject: Document tab blank
Message-ID: 
Content-Type: text/plain; charset="us-ascii"; Format="flowed"

This is one I've not seen before. I'm using lyx-2.3.6.1.

I opened a .lyx document in a new tab and the title does not display in the
tab. It's plain white (see attached screenshot.) Closing and reloading lyx
makes no difference.

Ideas?

Rich
-- next part --
A non-text attachment was scrubbed...
Name: lyx-screenshot.png
Type: image/png
Size: 21191 bytes
Desc:
URL: 
<http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/f0b62265/attachment.png>

--

Subject: Digest Footer

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


--

End of lyx-users Digest, Vol 70, Issue 8



--
== Art & Ceramics ===
https://www.instagram.com/ksloan1952/

\ProvidesClass{tda}[Time Domain Astrophysics template]

% load in the main exam class with appropriate options
\LoadClass[11pt,a4paper]{exam} 

%space out the lines by 25% more than the default (basically 1.5 line spacing)
%\linespread{1.25}

%load in some commonly needed packages 
\RequirePackage{ifthen,amsmath,amssymb,amsthm,bm,graphicx,color,natbib}

%increase the printed page area width
\extrawidth{0.75cm}

%increase header space on title page only
\extraheadheight[1.5cm]{0cm}

%setup page headers/footers for first and subsequent pages
\pagestyle{headandfoot}
\lhead{}
\chead[\bfseries \Large \thecourse\\
\thetopic]{}
\lfoot{\footnotesize Astrophysics Research Institute, Liverpool John Moores 
University\\ \thecourse:\ \thetopic}
\cfoot{}
\rfoot{Page \thepage{} of \numpages}
\footrule

% define newcommands for user set page header details
\newcommand*{\course}[1]{\def\thecourse{#1}}
\newcommand*{\topic}[1]{\def\thetopic{#1}}
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Document tab blank

2021-01-28 Thread Rich Shepard

This is one I've not seen before. I'm using lyx-2.3.6.1.

I opened a .lyx document in a new tab and the title does not display in the
tab. It's plain white (see attached screenshot.) Closing and reloading lyx
makes no difference.

Ideas?

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


Re: Importing tex file into Lyx

2021-01-28 Thread Richard Kimberly Heck

On 1/28/21 2:48 PM, Paul A. Rubin wrote:

On 1/28/21 10:54 AM, Keith Sloan wrote:


My Uni has supplied me with a tex template that they want me to use.
I have tried opening a new Lyx document and then importing the tex 
file but I get an error see attached.

An error occurred while running:
$$s/../MacOS/text2lyx -f "casestudy.tex"
"casestudy.lyx"

I am on Mac Catalina 10.15.7

I note the tex file has near the beginning

%Example of use of Time Domain Astrophysics latex class
\documentclass{tda}

And they are also supplying a file tda.cls

Not sure where to go to diagnose the problem.
Hope somebody can help advise

== Art & Ceramics ===
https://www.instagram.com/ksloan1952/


I think you are going to have to do the following:

 1. Install tda.cls in your LaTeX setup (park it in an appropriate
location and make sure your LaTeX installation can find it).
 2. Create a LyX layout file for the tda class, and store that in your
local LyX directory.
 3. Reconfigure LyX so it finds the new layout.

See chapter 5 of the LyX Customization manual for details.

If you're lucky, the tda template will be based upon some standard LaTeX 
template (e.g., report or book), and you can get a working layout very 
simply: Copy report.layout (say) to tda.layout, and put that into your 
LyX user directory. Look at the tda.cls file (or post it here). You are 
likely to find some material that shows what it is based upon.


Riki


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


Re: Importing tex file into Lyx

2021-01-28 Thread Paul A. Rubin

On 1/28/21 10:54 AM, Keith Sloan wrote:


My Uni has supplied me with a tex template that they want me to use.
I have tried opening a new Lyx document and then importing the tex 
file but I get an error see attached.

An error occurred while running:
$$s/../MacOS/text2lyx -f "casestudy.tex"
"casestudy.lyx"

I am on Mac Catalina 10.15.7

I note the tex file has near the beginning

%Example of use of Time Domain Astrophysics latex class
\documentclass{tda}

And they are also supplying a file tda.cls

Not sure where to go to diagnose the problem.
Hope somebody can help advise

== Art & Ceramics ===
https://www.instagram.com/ksloan1952/


I think you are going to have to do the following:

1. Install tda.cls in your LaTeX setup (park it in an appropriate
   location and make sure your LaTeX installation can find it).
2. Create a LyX layout file for the tda class, and store that in your
   local LyX directory.
3. Reconfigure LyX so it finds the new layout.

See chapter 5 of the LyX Customization manual for details.

Paul


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


Importing tex file into Lyx

2021-01-28 Thread Keith Sloan

My Uni has supplied me with a tex template that they want me to use.
I have tried opening a new Lyx document and then importing the tex file 
but I get an error see attached.

An error occurred while running:
$$s/../MacOS/text2lyx -f "casestudy.tex"
"casestudy.lyx"

I am on Mac Catalina 10.15.7

I note the tex file has near the beginning

%Example of use of Time Domain Astrophysics latex class
\documentclass{tda}

And they are also supplying a file tda.cls

Not sure where to go to diagnose the problem.
Hope somebody can help advise

== Art & Ceramics ===
https://www.instagram.com/ksloan1952/

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


Re: Frontispiz with LYX

2021-01-28 Thread Dr Eberhard Lisse
Yes, it is :-)-O

el

On 28/01/2021 13:16, Jürgen Spitzmüller wrote:
> Am Donnerstag, dem 28.01.2021 um 13:11 +0200 schrieb Dr Eberhard Lisse:
>> I like to have as little ERT as possible and so perhaps would try out
>>
>>  \AtBeginDocument{\frontispiece{My Frontispiece}}
>>
>> in the preamble :-)-O
> 
> \AtBeginDocument is not needed here, all title information can be set
> in preamble.
> 
> However, in this case the Local Layout solution is a better bet.
> 
> Jürgen
> 
> 


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



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frontispiz with LYX

2021-01-28 Thread Jürgen Spitzmüller
Am Donnerstag, dem 28.01.2021 um 13:11 +0200 schrieb Dr Eberhard Lisse:
> I like to have as little ERT as possible and so perhaps would try out
> 
>   \AtBeginDocument{\frontispiece{My Frontispiece}}
> 
> in the preamble :-)-O

\AtBeginDocument is not needed here, all title information can be set
in preamble.

However, in this case the Local Layout solution is a better bet.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frontispiz with LYX

2021-01-28 Thread Dr Eberhard Lisse
I like to have as little ERT as possible and so perhaps would try out

\AtBeginDocument{\frontispiece{My Frontispiece}}

in the preamble :-)-O

el


On 27/01/2021 08:19, Jürgen Spitzmüller wrote:
> Am Dienstag, dem 26.01.2021 um 19:15 +0100 schrieb Andreas Plihal:
>> I work with KOMA-Script in LYX. By the time I was creating a book, I
>> already got the front cover. The only thing missing is a
>> frontispiece. How can I do this?
> 
> KOMA's \frontispiece command is not yet natively supported by LyX. Bt
> you can insert it manually by using TeX mode:
> 
> \frontispiece{My Frontispiece}
> 
> Do this in a standard paragraph at the very beginning of your document
> (before the title).
> 
> HTH,
> Jürgen
> 
> 


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



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users