Re: LyX layouts for IEEE Open Journals
> On Dec 22, 2020, at 2:58 AM, list_em...@icloud.com wrote: > > The Institute of Electrical and Electronics Engineers (IEEE) has a series of > new ‘open” journals which use a different Tex format than other IEEE journals. > > A superficial inspection shows that the main difference is that the abstract > and index terms span the entire width of the page whereas the traditional > format confines those elements to a column width in the two-column format. > > Does anyone know of a LyX layout or template for IEEE open journals? > > The IEEE LaTex templates are a few clicks away from this text, "IEEE article > templates,” on this page: > https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ > > Jerry I am attaching herewith a candidate LyX template for the IEEE Open Journals. The IEEE LaTeX template, open.tex, is derived from the IEEE Transactions on Magnetics template, but with differences. I was able to make this new template by making a mash-up of the LyX templates IEEEtran-Journal.lyx and IEEEtran-TransMag.lyx, and with a minor and normally unnecessary addition to the LaTeX preamble section of the new template. I did not find it necessary to make a new layout file but this might be desirable for a minor feature mentioned below. The template passes the follow test: 1. Open a copy of the template. 2. Import open.tex, the IEEE LaTeX template, into a new LyX document. 3. Perform the following five copy-pastes from open.tex as opened in LyX into the new template: * Title * Authors * Abstract * Index terms * The entire remainder of open.tex 4. Just for this test, because of the annoying note after the index terms which would never appear in an actual paper, convert the style of that note to “Standard in Title.” Also, just for this test, change the position of Figure 1 from “Default” to “Top." 5. Render to PDF. 6. Send the new PDF and the IEEE’s open.pdf to https://www.diffchecker.com/pdf-diff/. 7. Observe that the very few differences are completely trivial and not a fault of the template. I have these notes: * The IEEE’s open.tex has the title of the first section in all caps. In the template this is only an initial cap. Surely this is an error in the IEEE file. * The IEEE’s open.tex lacks an author photo feature. Examination of papers in one IEEE open journal shows author photos, thus the template contains this feature. * open.tex contains no BibTeX bibliography, only in-file references. The IEEE requires references to be in-file for the final version but some authors will prefer to work with BibTeX up to the final version, bringing references in from the .aux file, so this feature was brought over from IEEEtrans-Journal.lyx. (Does LyX offer an automatic way to import references from .aux? How about a new feature?) * There are three main kinds of differences between a bare_jrnl.tex and bare_jrnl_transmag.tex, reflected in six non-trivial differences when diff-ing the tex files. The first is the formatting of authors, affiliations, and thanks. The second is the placement of \maketitle. (This second difference interacted with the annoying note to cause a problem noted earlier in this thread regarding non-title layouts.) These differences were reconciled in the mash-up so that the appearance agrees with the new open format. * The third difference is that open.tex does not contain the optional “Special Paper Notice” whereby “Invited Paper” appears in italics; this is present in normal Transactions papers (but only those that were invited) including the corresponding LyX template. I suppose that there might be the need for this feature in some IEEE Open Journal papers but I was not able to fix it. I tried commenting out the line "NoStyle Special_Paper_Notice” in IEEEtran-TransMag.layout but to no affect. Fixing this minor issue will require a bit more investigation and possibly making a separate layout file for the new template. For reference for anyone looking into this, IEEEtran.layout, which IEEEtran-TransMag.layout imports, contains this passage: Style Special_Paper_Notice CopyStyle Title LatexName IEEEspecialpapernotice InTitle 1 Font Shape Italic SizeLarge EndFont End * The IEEE’s open.tex uses Computer Modern for math symbols but published papers use Times. I adhered to the style of open.tex, preferring to let the IEEE deal with this particular bit of shabbiness. Maybe they won’t mind if authors make the switch on their own. * I don’t know why, in the test sequence above, I had to change the float placement of Fig. 1 from Default to Top, in order to get a match with the IEEE’s open.pdf. Default places it at the bottom of a column but Top places it under the table in the next column, near the top. * While the template results in a successful test as described above, there might be some ‘hidden” differences in the generated .te
Re: LyX layouts for IEEE Open Journals
> On Dec 22, 2020, at 2:58 AM, list_em...@icloud.com wrote: > > The Institute of Electrical and Electronics Engineers (IEEE) has a series of > new ‘open” journals which use a different Tex format than other IEEE journals. > > A superficial inspection shows that the main difference is that the abstract > and index terms span the entire width of the page whereas the traditional > format confines those elements to a column width in the two-column format. > > Does anyone know of a LyX layout or template for IEEE open journals? > > The IEEE LaTex templates are a few clicks away from this text, "IEEE article > templates,” on this page: > https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ > > Jerry OK, I think I’ve cracked this. Not too hard, actually. I will upload a candidate LyX template for IEEE Open Access journals in a few days while I tend to other things in the meantime. Post here if anyone needs it sooner. Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX layouts for IEEE Open Journals
On 12/26/20 11:12 PM, list_em...@icloud.com wrote: > [[ For some reason my posts are not showing up in my mail reader so I’m > replying to Riki’s post. They are in the archive, however. Sorry. ]] > > I believe the IEEE Open Journal template, called open.tex when downloaded by > the IEEE, is using or leveraging off of the IEEE Transactions on Magnetics > which has page-wide abstract and index terms sections. Thus the line > \documentclass[transmag]{IEEEtran}. > > However, when I import open.tex into LyX and tell it that it is a IEEE > Transactions on Magnetics paper, I get this warning: > > "You are using at least one layout (Abstract) intended for the title, after > using non-title layouts. This could lead to missing or incorrect output.” > > The PDF is then rendered without abstract or index terms, as I reported > earlier. > > The IEEEtran-TransMag.layout file seems to import the IEEEtran.layout file > since it contains the line > > Input IEEEtran.layout > > but I can’t seem to figure out the source of the warning, which makes certain > sense to me but I know little of this business. The warning is telling you the exact problem: For whatever reason, the Abstract is appearing in the LyX file after something that isn't part of the title. (In LaTeX terms, that means that it appears after \maketitle or the equivalent has been output.) If you move it ahead of such things, then the abstract should appear. I'm not sure about index terms. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX layouts for IEEE Open Journals
[[ For some reason my posts are not showing up in my mail reader so I’m replying to Riki’s post. They are in the archive, however. Sorry. ]] I believe the IEEE Open Journal template, called open.tex when downloaded by the IEEE, is using or leveraging off of the IEEE Transactions on Magnetics which has page-wide abstract and index terms sections. Thus the line \documentclass[transmag]{IEEEtran}. However, when I import open.tex into LyX and tell it that it is a IEEE Transactions on Magnetics paper, I get this warning: "You are using at least one layout (Abstract) intended for the title, after using non-title layouts. This could lead to missing or incorrect output.” The PDF is then rendered without abstract or index terms, as I reported earlier. The IEEEtran-TransMag.layout file seems to import the IEEEtran.layout file since it contains the line Input IEEEtran.layout but I can’t seem to figure out the source of the warning, which makes certain sense to me but I know little of this business. As was suggested, I think we have a minor change to get this to work with the IEEE open journal but I’m afraid my time has about run out. Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX layouts for IEEE Open Journals
> On Dec 22, 2020, at 9:34 AM, Richard Kimberly Heck wrote: > > On 12/22/20 4:58 AM, list_em...@icloud.com wrote: >> The Institute of Electrical and Electronics Engineers (IEEE) has a series of >> new ‘open” journals which use a different Tex format than other IEEE >> journals. >> >> A superficial inspection shows that the main difference is that the abstract >> and index terms span the entire width of the page whereas the traditional >> format confines those elements to a column width in the two-column format. >> >> Does anyone know of a LyX layout or template for IEEE open journals? >> >> The IEEE LaTex templates are a few clicks away from this text, "IEEE article >> templates,” on this page: >> https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ > > I do not know, but here's an easy experiment: Copy the IEEEtran.layout > file into your local LyX layout directory (e.g., $HOME/.lyx/layouts/, > for me). Now rename it to whatever the name of the new class file is and > try importing one of their new LaTeX templates. If the changes are as > minor as you suggest, that should just work. Possibly a few small tweaks > will be needed, but someone who actually uses this layout will be best > placed to do that. > > Riki > Relating to my second post in this thread which has not yet shown up in my reader, I might have mentioned that the first line of open.tex is this: \documentclass[transmag]{IEEEtran} Possibly useful. Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX layouts for IEEE Open Journals
> On Dec 22, 2020, at 9:34 AM, Richard Kimberly Heck wrote: > > On 12/22/20 4:58 AM, list_em...@icloud.com wrote: >> The Institute of Electrical and Electronics Engineers (IEEE) has a series of >> new ‘open” journals which use a different Tex format than other IEEE >> journals. >> >> A superficial inspection shows that the main difference is that the abstract >> and index terms span the entire width of the page whereas the traditional >> format confines those elements to a column width in the two-column format. >> >> Does anyone know of a LyX layout or template for IEEE open journals? >> >> The IEEE LaTex templates are a few clicks away from this text, "IEEE article >> templates,” on this page: >> https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ > > I do not know, but here's an easy experiment: Copy the IEEEtran.layout > file into your local LyX layout directory (e.g., $HOME/.lyx/layouts/, > for me). Now rename it to whatever the name of the new class file is and > try importing one of their new LaTeX templates. If the changes are as > minor as you suggest, that should just work. Possibly a few small tweaks > will be needed, but someone who actually uses this layout will be best > placed to do that. > > Riki > Thanks, Riki. I’m about 79% clueless here so I probably did not do what you suggest. First of all, the template folder that IEEE downloads to my computer for the open journal papers is far less populated than the IEEEtran download. In fact, it looks a little deficient to my uninformed eyes. Here is the directory structure as downloaded: IEEE-open-journal-template: fig1.eps fig1.pdf open.aux open.log open.out open.pdf open.tex No .bib files, no .bst, no .cls. Just a .tex and the PDF is already rendered. You might recall that the IEEEtran download is more extensive. Here is its file structure: IEEETransactions_LaTeX 2: IEEEtran: bare_adv.tex bare_conf_compsoc.tex bare_conf.tex bare_jrnl_compsoc.tex bare_jrnl_comsoc.tex bare_jrnl_transmag.tex bare_jrnl.tex changelog.txt IEEEtran_HOWTO.pdf IEEEtran.cls README Transactions-Bibliography: IEEEabrv.bib IEEEexample.bib IEEEfull.bib IEEEtran_bst_HOWTO.pdf IEEEtran.bst IEEEtranN.bst IEEEtranS.bst IEEEtranSA.bst IEEEtranSN.bst README Transactions-instructions-only.pdf The IEEEtran.cls handles many contingencies and is over 6000 lines. Without doing anything else, when I simply import the open.tex into LyX, the document appears as a IEEE Transactions in Document -> Settings -> Document Class. Also, the abstract and index terms parts appear _in_LyX_ as expected in an IEEEtran setting, that is, they are visible and in bold font and properly labeled as such, i.e., the IEEE’s traditional Abstract——- and Index terms—— (that’s supposed to be three dashes but my e-mail program keeps combining them into em dashes.) This all seems extremely promising. However, when the PDF is rendered, the Abstract and Index terms are missing, but the rest of the paper looks OK as compared to the pre-rendered one that the IEEE includes with the download. Now, when I try to do as you suggest, I get a little fuzzy. Here’s what I did. LyX on macOS stores the IEEEtran.layout file in the LyX application bundle which is here: /Applications/LyX.app/Contents/Resources/layouts/IEEEtran.layout Next I copied the IEEEtran.layout file to the directory of the IEEE “open” download because that is what opens in a file dialog when I click on “Local Layout…” in Document Settings. I renamed it open.layout and tried again to import the open.tex file. Same results all around. Maybe I didn’t copy the IEEEtran.layout to the right place—I was a little unclear what you meant by "your local LyX layout directory." I can spend a little more time on this but I’m pretty much fumbling around but am willing to fumble a bit more. I do have a deadline to get a paper submitted so I will likely just use the IEEEtran template of LyX. Surely I’m not the only one submitting using the old format. I do sort of know how to temporarily set the columns to “one” and so I might fake it and submit a PDF that way in order to get the abstract and index terms to appear across the whole page. If the paper is accepted then I would hope that the problem would fall on someone else to fix the format. Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX layouts for IEEE Open Journals
Please report your results, I will probably need this soon as well. On Tue, Dec 22, 2020, 11:34 AM Richard Kimberly Heck wrote: > On 12/22/20 4:58 AM, list_em...@icloud.com wrote: > > The Institute of Electrical and Electronics Engineers (IEEE) has a > series of new ‘open” journals which use a different Tex format than other > IEEE journals. > > > > A superficial inspection shows that the main difference is that the > abstract and index terms span the entire width of the page whereas the > traditional format confines those elements to a column width in the > two-column format. > > > > Does anyone know of a LyX layout or template for IEEE open journals? > > > > The IEEE LaTex templates are a few clicks away from this text, "IEEE > article templates,” on this page: > https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ > > I do not know, but here's an easy experiment: Copy the IEEEtran.layout > file into your local LyX layout directory (e.g., $HOME/.lyx/layouts/, > for me). Now rename it to whatever the name of the new class file is and > try importing one of their new LaTeX templates. If the changes are as > minor as you suggest, that should just work. Possibly a few small tweaks > will be needed, but someone who actually uses this layout will be best > placed to do that. > > Riki > > > -- > 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: LyX layouts for IEEE Open Journals
On 12/22/20 4:58 AM, list_em...@icloud.com wrote: > The Institute of Electrical and Electronics Engineers (IEEE) has a series of > new ‘open” journals which use a different Tex format than other IEEE journals. > > A superficial inspection shows that the main difference is that the abstract > and index terms span the entire width of the page whereas the traditional > format confines those elements to a column width in the two-column format. > > Does anyone know of a LyX layout or template for IEEE open journals? > > The IEEE LaTex templates are a few clicks away from this text, "IEEE article > templates,” on this page: > https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ I do not know, but here's an easy experiment: Copy the IEEEtran.layout file into your local LyX layout directory (e.g., $HOME/.lyx/layouts/, for me). Now rename it to whatever the name of the new class file is and try importing one of their new LaTeX templates. If the changes are as minor as you suggest, that should just work. Possibly a few small tweaks will be needed, but someone who actually uses this layout will be best placed to do that. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
LyX layouts for IEEE Open Journals
The Institute of Electrical and Electronics Engineers (IEEE) has a series of new ‘open” journals which use a different Tex format than other IEEE journals. A superficial inspection shows that the main difference is that the abstract and index terms span the entire width of the page whereas the traditional format confines those elements to a column width in the two-column format. Does anyone know of a LyX layout or template for IEEE open journals? The IEEE LaTex templates are a few clicks away from this text, "IEEE article templates,” on this page: https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ Jerry -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users