On Dec 18, 2013, at 8:36 AM, John Kane <jrkrid...@yahoo.ca> wrote:

> I kinda see the problem but it looks to me like IEEEtran-Conference.lyx is 
> simply a customized layout for the IEEtrans class so essentially this means 
> that you can create a conference layout from that document class. It is 
> pretty basic with nothing more than one entry in the LaTeX preamble about 
> subfigure layouts.

I don't fully understand this so I can't comment usefully--the extent of my 
knowledge right now is that "class" is  LaTeX thing and "layout" is LyX thing 
that defines how LyX draws the document on-screen.

The IEEE apparently has slightly different requirements for journals 
(frequently called transactions) and conferences. I've looked into 
IEEEtrans.cls a bit and it seems that there is a "conference" option or mode, 
possibly related to the term \ifCLASSOPTIONconference\. I don't know whether 
this requires a separate layout for LyX or whether it requires a separate menu 
item in the Document Class pop-up. (However, there are Document Class separate 
Document Class menu items for the other IEEE variants, Computer Society and 
Magnetics, and these too appear as options within the IEEEtrans.cls.) I suspect 
that a person with a little more LaTeX skills could figure this out pretty 
quickly from the following links.

* For Transactions and Journals
http://www.ieee.org/publications_standards/publications/authors/author_templates.html

* For Conferences
http://www.ieee.org/conferences_events/conferences/publishing/templates.html

* Quick details on IEEEtran (linked from the above)
http://www.ieee.org/documents/LaTeX_letter5March2007.pdf

* More details linked from the above PDF:
http://www.michaelshell.org/tex/ieeetran/

* CTAN link (current version is 1.8)
http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/

* And (finally), the official How-To manual at CTAN
http://mirrors.rit.edu/CTAN/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf
Search this PDF for "Conference Mode Details:"

> 
> I'm using Ubuntu and don't know anything about the modern Macs so I don't 
> understand the problem with locating the templates.  I just went to File  > 
> Open from templates > and found the appropriate template.

On OS X, the equivalent is apparently File -> New from Template... . When this 
is done, one is taken by file browser to /Users/someuser/Library/Application 
Support/LyX-2.1/templates/ where the only file is defaults.lyx.

On OS X, an application package (aka bundle) is a special directory with a 
specified structure of subdirectories. See
https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
For example, from the directory's root, the executable is always in the same 
(relative) location. To the user, the special directory looks like an 
application (icon) and when s/he double clicks on it, instead of opening the 
folder to reveal its contents, the OS instead launches the application inside 
it. This approach allows for easy distribution of most software; LyX is 
installed by dragging a single icon from the distribution image anywhere onto a 
disk.

Any other code or resources may be stored in this directory structure, and LyX 
stores examples and templates in this structure. So doing File -> New From 
Template ... should open the file browser to the appropriate directory in this 
application package, not to the Application Support folder for LyX.

> 
> Is it possible that you misread the notice and it meant that there was now a 
> Template for IEEEtran-Conference and not that there was a new document class? 
>  

Yes it is possible that I misread--that's what I do. 8^) Here is the whole 
quote from the LyX wiki:
"LyX supports now not only papers for IEEE journals but also contributions to 
IEEE conferences, IEEE Computer Science publications and the journal IEEE 
Transactions on Magnetics. See the corresponding LyX template files for a brief 
description. Contributed by Uwe Stöhr." So yes, it does say, see the template 
file. But instead I looked at the Document Class popup and saw three other IEEE 
entires (two new relative to 2.0.6) but no IEEE conference item.

> 
> 
> 
> On Wednesday, December 18, 2013 5:41:37 AM, Jerry <lancebo...@qwest.net> 
> wrote:
> 
> On Dec 17, 2013, at 8:24 AM, John Kane <jrkrid...@yahoo.ca> wrote:
> 
> > I see something called IEETran-Conference.lyx in the templates folder with 
> > LyX2.1 beta under Ubuntu 13.10. 
> 
> OK, here's what I'm seeing. When I look in the Documents -> Settings -> 
> Document Class I expected to see something like IEEE Conferences. What I did 
> see was IEEE Transactions, IEEE Transactions Computer Society, and IEEE 
> Transactions on Magnetics, but nothing like IEEE Conferences. 
> 
> However, when I look where the templates are stored, I see four IEEE .lyx 
> files: IEEEtran-CompSoc.lyx, IEEEtran-Conference.lyx, IEEEtran-Journal.lyx, 
> IEEEtran-TransMag.lyx, and indeed the IEEEtran-Conference.lyx opens and 
> displays what I suppose is expected.
> 
> So the _template_ is present but the _document_class_ item in the Document 
> Class pop-up is missing.
> 
> Finally, in Preferences -> Paths, the "Document templates:" path is
> "/Users/me/Library/Application Support/LyX-2.1/templates" 
> but the templates are stored in the LyX.app _packge_,
> /path/to/LyX/LyX.app/Contents/Resources/templates/
> and so one must (1) discover the discrepancy, and (2) navigate to the proper 
> directory.
> 
> I'll add that the path to the examples does lead to inside the application 
> package, where they are stored. However, I don't see any way to access the 
> examples from the LyX program, so I'm not sure how the user would access them 
> because the Mac user is not expected to dive into the application package 
> directly--if something in the app package is accessible by menu, such as is 
> the templates (File -> New From Template), then that seems OK. (Many of not 
> most Mac users don't even know that they can look inside the app package.) 
> One possible menu choice would be under Help, even if all it did was to open 
> a file browser in the proper place.
> 
> I believe that I've seen this subject (where to store stuff like templates 
> and examples) discussed on either this list or the dev list. I think either 
> is OK but the path needs to be made consistent with the actual location, and 
> the stuff made accessible by menu.
> 
> Jerry
> 
> 
> > 
> > 
> > 
> > On Tuesday, December 17, 2013 4:51:07 AM, Jerry <lancebo...@qwest.net> 
> > wrote:
> > 
> > On Dec 12, 2013, at 4:59 AM, Vincent van Ravesteijn <v...@lyx.org> wrote:
> > 
> >> 
> >> 
> >> On Sun, Dec 8, 2013 at 1:58 AM, Jerry <lancebo...@qwest.net> wrote:
> >> At the "What's new in LyX 2.1" at http://wiki.lyx.org/LyX/NewInLyX21 says 
> >> that "LyX supports now not only papers for IEEE journals but also 
> >> contributions to IEEE conferences...." I'm using LyX 2.1.0 beta 2 and I 
> >> don't see the IEEE conferences class listed.
> >> 
> >> Jerry
> >>  
> >> On which platform are you ?
> >>  
> >> Vincent
> >>  
> >> 
> > Sorry for the slow reply.
> > 
> > I'm on OS X 10.8.5, Mountain Lion. Sorry, I should have mentioned that but 
> > this problem didn't seem OS-specific.
> > 
> > Jerry
> > 
> > 
> 
> 

Reply via email to