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