This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
geda:faq-gschem [2014/04/18 08:17] vzh Add links to translations |
geda:faq-gschem [2014/04/25 12:53] vzh Remove unnecessary spaces |
||
---|---|---|---|
Line 225: | Line 225: | ||
===== How do I configure my local gafrc to find my local symbol directory? ===== | ===== How do I configure my local gafrc to find my local symbol directory? ===== | ||
- | - Create a project directory, for example ${HOME}/myproj. | + | - Create a project directory, for example ${HOME}/myproj. |
- | - Place the symbols you want to use into ${HOME}/myproj/symbols. | + | - Place the symbols you want to use into ${HOME}/myproj/symbols. |
- | - Create a gafrc file in ${HOME}/myproj. | + | - Create a gafrc file in ${HOME}/myproj. |
- | - In gafrc, put this line: <code> (component-library "./symbols") </code> | + | - In gafrc, put this line: <code> (component-library "./symbols") </code> |
- | - Run gschem from your project directory ${HOME}/myproj. That is, do this to run gschem:<code>cd ${HOME}/myproj | + | - Run gschem from your project directory ${HOME}/myproj. That is, do this to run gschem:<code>cd ${HOME}/myproj |
gschem myschematic.sch</code> | gschem myschematic.sch</code> | ||
Line 257: | Line 257: | ||
<code>(component-library "${HOME}/geda/symbols/analog")</code> | <code>(component-library "${HOME}/geda/symbols/analog")</code> | ||
- | ===== Is there a way to give a library a name that differs from its directory? ===== | + | ===== Is there a way to give a library a name that differs from its directory? ===== |
Add a third argument to the component-library stanza in gafrc, e.g.: | Add a third argument to the component-library stanza in gafrc, e.g.: | ||
<code> | <code> |