lyx-users Digest, Vol 70, Issue 8
Richard Kimberly Heck
rikiheck at lyx.org
Fri Jan 29 03:58:02 UTC 2021
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 <rikiheck at lyx.org>
>> To: parubin73 at gmail.com, lyx-users at lists.lyx.org
>> Subject: Re: Importing tex file into Lyx
>> Message-ID: <56e9d0fd-296a-650b-eeeb-fa53fc70437e at 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 <rshepard at appl-ecosys.com>
>> To: lyx-users at lists.lyx.org
>> Subject: Document tab blank
>> Message-ID: <alpine.LNX.2.20.2101281458560.3106 at salmo.appl-ecosys.com>
>> 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 at lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
>>
>> ------------------------------
>>
>> End of lyx-users Digest, Vol 70, Issue 8
>> ****************************************
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/73e5804f/attachment.html>
More information about the lyx-users
mailing list