Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to use the ACM SIG Proceedings document class for a LyX document. Basically following these instructions: Using custom LaTeX document classes in LyX

Step by step, here is what I do:

  1. put acm_proc_article-sp.cls in /usr/local/texlive/2012/texmf/tex/latex
  2. run sudo texhash
  3. (cat /usr/local/texlive/2012/texmf/ls-R | grep acm_proc shows acm_proc_article-sp.cls)
  4. create acmsig.layout (contents below) and put it in ~/.lyx/layouts
  5. reconfigure LyX
  6. restart LyX
  7. try to select article (ACM SIG Proceedings) from the list of available document classes - it does not show up

What am I doing wrong?

The contents of acmsig.layout:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[acm_proc_article-sp]{article (ACM SIG Proceedings)}

# Input general definitions
Input stdclass.inc

MaxCounter      Counter_Section

Style Section
    Align Center
    Font
        Shape SmallCaps
    EndFont
End
share|improve this question
add comment

1 Answer

This layout already exists in LyX 2.1 (currently in beta) and there is also a template (go to New > New from Template > ACM-SIGS). They were added in this commit.

Do you happen to use Ubuntu? If so, it's very easy to use the latest stable version (and/or development version) without having to give up your current version. They can all be installed concurrently with no risk. To do this, see the instructions here:

If you have any suggestions for the template or layout, please send a patch to lyx-devel@lists.lyx.org

I'm not sure what went wrong with your manually adding a template. Your steps looked right to me from a quick look. Note that the webpage you referenced is from 2006. Help > Customization is a better (but more complicated) reference.

EDIT: One final bit of (unsolicited) advice. You're using TeX Live 2012, which is no longer being updated. If you happen to be using Ubuntu, you might be interested in using this script to install TeX Live 2013.

share|improve this answer
    
I am on Mac OS X - not sure how to get LyX 2.1. –  clstaudt Oct 5 '13 at 12:36
1  
@clstaudt both lyx.org or googling "LyX 2.1 beta" and clicking on the first link gives you what you need to know. Here is a direct link for Mac: ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1/… –  scottkosty Oct 5 '13 at 18:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.