Re: gEDA-user: OT: Latex
On Fri, Feb 12, 2010 at 09:09:52PM +0100, Stefan Salewski wrote: > On Mon, 2010-02-08 at 11:12 +0100, Gabriel Paubert wrote: > > > > The main use of this macro is to be able to control the pagestyle of a > > figure > > which occupies a whole page. By placing: > > > > \floatcontrol{\thispagestyle{empty}} > > > > between the \begin{figure} and \end{figure}, header/footer/page number is > > eliminated from the page on which the figure (schematics in this case) > > appears. > > I think > > /thispagestyle{empty} > > should do the same. No, \thispagestyle{empty} does not work as expected inside floats. I had to encapsulate it in a token list associated with the (full page) figure to issue the commands for the page on which the figure would be placed. Try it if you don't believe me. But a look at the definition of \thispagestyle shows that it uses \global and \gdef, which means that it will be associated with the next page to be produced by the output routine, while whole page floats, or page containing only floats will always come after. Gabriel ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Thu, 11 Feb 2010 20:42:50 -0500, gene glick wrote: > What worked out nice was placing a table in the header and placing > things exactly where I want them. A more flexible solution is \put inside a picture environment. Other objects can be placed feely too. Excerpt of my letter head: /--- \setlength{\unitlength}{1mm} \begin{picture}(0,0) \put(0,-32) \includegraphics[width=49\unitlength]{foobar.eps} \put(100, -37) { \begin{minipage}[t]{120mm} foobar \end{minipage} } \end{picture} \--- ---<(kaimartin)>--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Mon, 2010-02-08 at 11:12 +0100, Gabriel Paubert wrote: > > The main use of this macro is to be able to control the pagestyle of a figure > which occupies a whole page. By placing: > > \floatcontrol{\thispagestyle{empty}} > > between the \begin{figure} and \end{figure}, header/footer/page number is > eliminated from the page on which the figure (schematics in this case) > appears. I think /thispagestyle{empty} should do the same. For watermarks: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=watermark ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
we're getting a bit more OT, but... yep :) \chead{\includegraphics{foo.eps}} I had tried that already but it wasn't quite what I was looking for. What worked out nice was placing a table in the header and placing things exactly where I want them. gene ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Seems most people use LaTex in one way or another. I discovered asciidoc a while ago and found that it creates nice documentation, too. It is kind of a markup language on top of docbook-xml, and creates nice pdf through dblatex, or online documentation in xhtml. If a customer would ask for a Word document, I could theoretically use the roundtrip docbook templates and feed him one just out of the existing asciidoc markup. With the filter function in asciidoc I can have inline data processed by an external program to create a graphic to be placed instead of the inline data. I am just at the beginning of exploring this tool and its possibilities, but it has been around for a while and is used and developed actively. This tool can also generate .man files as a little hint to geda documenters :-) It is just an apt-get install asciidoc away. -- Svenn ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
For multi author work I recommend setting up a source control repository. This is a simple example of one under git. http://gitorious.org/latex-for-beginners This is a more complicated example where the guy is keeping the preambles in their own repository, as a sub module in a master repository http://markelikalderon.com/2008/07/31/keeping-your-latex-preamble-in-a-git-submodule/ I'm suggesting git here as you don't need a master server to send changes amongst your co-workers, you can just send emails with managed patch sets. Steve On Feb 10, 2010, at 3:17 AM, gene glick wrote: I switched to LaTeX 15 years ago and have never looked back. mmm LaTeX. > it just wasn't working well for a bunch of reasons (bugs, poor scaling to large documents, poor multi-author support, poor interaction with cvs or other source control system, sounds like you live in my cube (anti-productivity pod, for the dilbert fans) For all those same reasons, I've just switched. So far so good. It'll be interesting to see if I can convince my co-workers to try it out. One thing that I don't like though, is image support. Unless I am missing something, images are not actually part of the source doc, but are sucked in and then processed onto the output. Distributing the pdf, for example, doesn't matter since the pictures are included. But for multi-authors, any images have to be included with the article source files. The LyX route is working for now - but am already finding reasons to add LaTeX commands into the source file. Headers with images are a drag - still fighting that one. Time to get a good book :D gene ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Hi, > that I don't like though, is image support. Unless I am missing something, > images are not actually part of the source doc, but are sucked in and then > processed onto the output. Distributing the pdf, for example, doesn't > matter since the pictures are included. But for multi-authors, any images > have to be included with the article source files. > Actually it is like always once disadvantage is considered as the advantage for someone else. In my opinion it make no sense to embedded binary blobs (images) in the source code. Furthermore, if you just have to change the figure, all you have to do is to replace the original figure by a new one (with the same name) and recompile the LaTeX file. You even don't need to open the editor or the source file. This is a real advantage !!! BTW: If you are interested to create figures in the LaTeX way (e.g. schematics representation, block diagrams, etc.) Please try PGF / Tikz. It is a LaTeX package which allows you to "program" pictures in the same way like you "program" your text layout. The code is embedded in the LaTeX file and it shares e.g. the text properties with the LaTeX document. This gives a very uniform and nice look. The manual of PGF is the best I read so fare about a scripting language and real fun. In addition it explains why and how most of the publications just do it plain wrong when it comes to figures. Greetings Totti ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Peter Clifton wrote: On Wed, 2010-02-10 at 06:17 -0500, gene glick wrote: The LyX route is working for now - but am already finding reasons to add LaTeX commands into the source file. Headers with images are a drag - still fighting that one. Time to get a good book :D If you mean something like a watermark on each page, give me a shot off-list, and I'll see if I can find something. There are ways and means - I've used various postscript tricks to append a "commercial in confidence" mark on reports, and have recently seen some other techniques (Thanks Chitlesh) which use it for page decoration. we're getting a bit more OT, but... I've used one of the dvips hooks to get a postscript watermark in there. That's there in the latex-mk sources (the postscript file you need plus the magic words). Headers with images, not so bad. here are left, center, right headers and footers. One has an image. \lhead{left top} \chead{\includegraphics{foo.eps}} \rhead{right top} \lfoot{left bot} \cfoot{CONFIDENTIAL} \rfoot{right bot} as far as image files not being embedded, you are correct. For me this has actually been a useful feature since it has been easier (for me at least) to automate some things. -Dan ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Wed, 2010-02-10 at 06:17 -0500, gene glick wrote: > The LyX route is working for now - but am already finding reasons to add > LaTeX commands into the source file. Headers with images are a drag - > still fighting that one. Time to get a good book :D If you mean something like a watermark on each page, give me a shot off-list, and I'll see if I can find something. There are ways and means - I've used various postscript tricks to append a "commercial in confidence" mark on reports, and have recently seen some other techniques (Thanks Chitlesh) which use it for page decoration. Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Wed, 10 Feb 2010 06:17:13 -0500, gene glick wrote: > The LyX route is working for now - but am already finding reasons to add > LaTeX commands into the source file. Headers with images are a drag - > still fighting that one. Time to get a good book :D If you go into the document properties, there's a section to edit the "document preamble" where you can add LaTeX code to be included at the start of the generated .tex file. Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
I switched to LaTeX 15 years ago and have never looked back. mmm LaTeX. > it just wasn't working well for a bunch of reasons (bugs, poor scaling to large documents, poor multi-author support, poor interaction with cvs or other source control system, sounds like you live in my cube (anti-productivity pod, for the dilbert fans) For all those same reasons, I've just switched. So far so good. It'll be interesting to see if I can convince my co-workers to try it out. One thing that I don't like though, is image support. Unless I am missing something, images are not actually part of the source doc, but are sucked in and then processed onto the output. Distributing the pdf, for example, doesn't matter since the pictures are included. But for multi-authors, any images have to be included with the article source files. The LyX route is working for now - but am already finding reasons to add LaTeX commands into the source file. Headers with images are a drag - still fighting that one. Time to get a good book :D gene ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Dan McMahill writes: > Before switching I was a die hard word user. Word? Wordstar! My first thesis war written with wordstar, on CP/M2.2. Then I switched to LaTeX. And how proud I was, when EMTeX run faster on my new 486DX33 notebook, than the TeX on the VAX at the institute (at night!), until they got those alpha machines. Almost as proud as I was when I wrote my first thesis on that selfmade Z80 computer, with Wordstar. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
gene glick wrote: Do you all use Latex for editing docs, or maybe open office or other? I'm getting fed up with the open office bugs and starting to think that Latex is a better alternative. Busy compiling Lyx as we speak. Just curious if it works out well- I switched to LaTeX 15 years ago and have never looked back. mmm LaTeX. \begin{shamelessplug} You may also want latex-mk available at http://latex-mk.sf.net \end{shamelessplug} I have never bothered with Lyx. Since switching to LaTeX I have used it for class handouts, a thesis, a book, a couple of journal papers, many letters, memos, technical documents, and more. The ability to collect data and get it formatted in a programming fashion and the ability control it all via a makefile has been a huge benefit to me. Before switching I was a die hard word user. I'd actually taken the time to read the entire manual and felt like I qualified as an expert user of it. But I finally hit a point where it just wasn't working well for a bunch of reasons (bugs, poor scaling to large documents, poor multi-author support, poor interaction with cvs or other source control system, poor/no interaction with other scripting, and more). I'm sure some of those things are different now, but you couldn't pay me to switch back. -Dan ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, Feb 06, 2010 at 02:15:48PM -0500, Dave McGuire wrote: > On Feb 6, 2010, at 2:10 PM, gene glick wrote: >>> I use OpenOffice for quick & dirty stuff, but LaTeX (with PDF >>> output) for anything that has to look good. Lyx is pretty nice but >>> those types of front-ends usually just get in the way. >> >> First off, thanks for the input from all. >> >> So you write in a text editor, add in your own codes? OK. > > I typically use emacs, yes. Admittedly I don't write very long > documents...anything I write that's more than 20-30 pages is usually > postprocessed with a C compiler, not TeX. ;) Ditto. > >> This is new to me since I've used MS Word for ever, and Open Office >> to a lesser extent in the past 2 years. I dread using Open Office for >> reports :( It's a huge struggle every time to get stuff to look nice. >> All the rhetoric about TeX sounds good. So now I will see. Lyx seems >> ok to me so far. The option to edit directly is always there - I >> think. >> >> Anyway, time to fire up the Chevelle SS396, pop the clutch, burn some >> rubber, and haul butt up the learning curve :) > > There you go. :) TeX is extremely powerful, but there's a big > learning curve involved. It sacrifices time and ease of use for > absolute control and unbelievably beautiful typesetter-quality output. > And stability over releases. I have documents that I wrote in TeX 25 years ago and the layout does not change (well Latex has evolved a bit from \documentstyle to \documentclass and so on), but on average the backwards compatibility is outstanding. There is one thing for which I don't use Latex, these are tables, for some reason I always found using TeX's raw mechanism (\halign) much more straightforward. By the way, for my needs of including schematics in a report, I wrote a macro something like 20 years ago that provides one feature I sorely needed. I called it floatcontrol.sty and have attached it. The main use of this macro is to be able to control the pagestyle of a figure which occupies a whole page. By placing: \floatcontrol{\thispagestyle{empty}} between the \begin{figure} and \end{figure}, header/footer/page number is eliminated from the page on which the figure (schematics in this case) appears. I've not tested if with recent Latex, but it works perfectly with Latex 2.09. The original part of this macro is that it uses TeX's token list registers, which I have not seen used very often, if ever. Gabriel % Hacking to modify the external pagestyle inside figure or table environment % Note that the definitions of the \newtoks...@x, must be at least as large % as the list of potential float boxes \...@x, as there is a one to one % relationship. (\...@a is associated to \...@a, and so on) % This list MUST correspond to the list of the latex float boxes, % This set of macro assumes that the name of the boxes is of the form % \bx@'c' where c is one character of category 11. These macro also fail % if escapechar is not `\, but it is very likely to be true of LaTeX, too. \newtoks...@void \...@void={} \newtoks...@a \newtoks...@b \newtoks...@c \newtoks...@d \newtoks...@e \newtoks...@f \newtoks...@g \newtoks...@h \newtoks...@i \newtoks...@j \newtoks...@k \newtoks...@l \newtoks...@m \newtoks...@n \newtoks...@o \newtoks...@p \newtoks...@q \newtoks...@r \def\...@tcontrol#1{\global\@currtoks{#1}} \let\floatcontr...@gobble \d...@xfloat#1[#2]{\ifhmode \...@bsphack\@floatpenalty -...@mii\else \...@floatpenalty-\@miii\fi\d...@captype{#1}\ifinner \...@parmoderr\@floatpenalty\z@ \el...@next\@currb...@freelist{\@tempcnta\csname ft...@#1\endcsname \multip...@tempcnta\@xxxii\advan...@tempcnta\sixt@@n \...@tfor \...@tempa :=#2\do {\...@tempa h\advan...@tempcnta \...@ne\fi \...@tempa t\advan...@tempcnta \...@\fi \...@tempa b\advan...@tempcnta 4\relax\fi \...@tempa p\advan...@tempcnta 8\relax\fi }\global\cou...@currbox\@tempcnta \expandafte...@metoks\@currbox \glob...@currtoks\tk@void\let\floatcontrol\...@tcontrol }...@fltovf\fi \global\setb...@currbox\vbox\bgroup %\boxmaxdepth\z@ % commented out 15 Dec 87 \hsize\columnwidth \...@parboxrestore} \de...@metoks#1{\expandafter\@n...@metoks\string#1} \expandafter\def\expandaft...@n@metoks\string...@#1{ \ed...@currtoks{\csname t...@#1\endcsname}} \d...@comflelt#1{\setbox\@tempboxa \vbox{\unvb...@tempboxa\box #1\vskip\floatsep} \...@metoks#1\the\@currtoks} \d...@comdblflelt#1{\setbox\@tempboxa \vbox{\unvb...@tempboxa\box #1\vskip\dblfloatsep} \...@metoks#1\the\@currtoks} \d...@wtryfc #1{\global\setb...@outputbox\vbox{\unvbox\@outputbox \vsk...@fpsep\box #1...@metoks#1\the\@currtoks} ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listi
Re: gEDA-user: OT: Latex
On Sunday 07 February 2010, Kai-Martin Knaak wrote: > Is this intentional, > or just due to a lack of developer cycles? We are waiting for you to do it. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 7, 2010, at 9:35 PM, John Doty wrote: Now why was the Export function easy to find in the main documentation, while this needed more digging? Well, it is in the man page, which is where I tend to look for information on command line usage: Unfortunately, on MacOSX, no man page is installed, and the relevant binaries are buried in the .app package. I guess you're only supposed to point and click on a Mac... Fortunately, one isn't *required* to use that .app madness under OS X; only if you want something to be startable by double-clicking or dragging-and-dropping. -Dave -- Dave McGuire Port Charlotte, FL ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 7, 2010, at 6:44 PM, Kai-Martin Knaak wrote: On Sun, 07 Feb 2010 17:33:34 -0700, John Doty wrote: Now why was the Export function easy to find in the main documentation, while this needed more digging? Well, it is in the man page, which is where I tend to look for information on command line usage: Unfortunately, on MacOSX, no man page is installed, and the relevant binaries are buried in the .app package. I guess you're only supposed to point and click on a Mac... John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sun, 07 Feb 2010 17:33:34 -0700, John Doty wrote: > Now why was the Export function easy to find in the main documentation, > while this needed more digging? Well, it is in the man page, which is where I tend to look for information on command line usage: /- $man lyx (..) OPTIONS (..) -e [--export] fmt where fmt is the export format of choice. Look on Tools->Preferences->File formats->Format to get an idea which parameters should be passed. \ By the way, some of the geda tools lack a man page. Is this intentional, or just due to a lack of developer cycles? tools with a man page: gschem, gerbv, gnucap, gnetlist grenum gsymcheck tools withouta man page: gattrib, gsch2pcb, xgsch2pcb gschlas (*) gschemdoc gschupdate (*) gsymupdate (*) gxyrs (*) mk_verilog_syms (*) olib (*) pads_backannotate (*) refdes_renum sarlacc_schem (*) sarlacc_sym (*) sch2eaglepos.sh (*) smash_megafile (*) sw2asc (*) tragesym (What do the tools marked with (*) actually do?) The man page of pcb is hardly useful. It mainly points to pcb.pdf on the local hard disk. The copyright notice suggests the pdf was compiled in 2002. Unfortunately, this means, the table of command line options is mostly wrong. Is the appendix on the pcb file format still correct? ---<(kaimartin)>--- -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 7, 2010, at 5:24 PM, Kai-Martin Knaak wrote: What if the hand is 10,000 km from the mouse? What if the "user" is a script? see the FAQ: /--- How do I convert LyX files to LaTeX from the command line? Simply say lyx --export latex .lyx \ Cool. Thanks. Now why was the Export function easy to find in the main documentation, while this needed more digging? Now, it looks like LyX is what I'm looking for. Thanks again. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sun, 07 Feb 2010 16:39:36 -0700, John Doty wrote: > What if the hand is 10,000 km from the mouse? What if the "user" is a > script? see the FAQ: /--- How do I convert LyX files to LaTeX from the command line? Simply say lyx --export latex .lyx \ > This is why I'm so skeptical of "integrated" GUI environments: > they get in the way of automated flow. your attitude is not skeptical but plain hostile. > LaTeX works so well in an automated flow with things like gEDA: why > don't the LyX developers get this? they do. > It *should* be so easy. it is. > But this is completely normal: developers of specialized GUI tools > *almost always* lose sight of the bigger picture. you bark to the wrong tree. > I plead that this not happen to gEDA. I plead to deal with GUI/backend issues like they do in lyx. ---<(kaimartin)>--- -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sun, 2010-02-07 at 16:39 -0700, John Doty wrote: > On Feb 7, 2010, at 3:38 PM, Peter Clifton wrote: > > > Lyx has its own file format, but it can export to various flavours of > > LaTeX (IE.. code for plain latex, pdflatex). > > > > Similarly, "File->Export->PDF (pdflatex)" is all you need to produce a > > document - not sure if it can be driven via the command line or not. > > What if the hand is 10,000 km from the mouse? What if the "user" is a > script? This is why I'm so skeptical of "integrated" GUI > environments: they get in the way of automated flow. I'm previewing typeset work - I'm working in a GUI environment, so yes.. the mouse is next to my hand. If you're happy checking your output on a xterm, please go right ahead and use emacs + LaTeX. > LaTeX works so well in an automated flow with things like gEDA: why > don't the LyX developers get this? It *should* be so easy. It is in Lyx.. as far as I can tell. If you wanted to do your "TeX" bit from within Lyx, using Lyx as an editor exporting LaTeX code, then you can still happily integrate "make" based work-flows with it. - merge output from gEDA etc.. A cursory look at "lyx --help" also suggests that it can execute "lyx commands", import / export from the command line... sounds like it can be used in an automated work-flow to me. You can completely customise the file-translators Lyx uses to import and convert graphics - all based in calling external programs. Lyx really is a well engineered piece of software. (Also, Lyx's file-format is ASCII based). > But this is completely normal: developers of specialized GUI tools *almost > always* lose sight of the bigger picture. I plead that this not > happen to gEDA. Developers of specialised GUI tools cater for users who wish to work from within such a tool. Just because you don't necessarily want to do that, doesn't make the idea invalid. It is nice that in this case, the GUI tool can cater for automated work-flows. Regards, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 7, 2010, at 3:38 PM, Peter Clifton wrote: Lyx has its own file format, but it can export to various flavours of LaTeX (IE.. code for plain latex, pdflatex). Similarly, "File->Export->PDF (pdflatex)" is all you need to produce a document - not sure if it can be driven via the command line or not. What if the hand is 10,000 km from the mouse? What if the "user" is a script? This is why I'm so skeptical of "integrated" GUI environments: they get in the way of automated flow. LaTeX works so well in an automated flow with things like gEDA: why don't the LyX developers get this? It *should* be so easy. But this is completely normal: developers of specialized GUI tools *almost always* lose sight of the bigger picture. I plead that this not happen to gEDA. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sun, 2010-02-07 at 14:08 -0700, John Doty wrote: > What I don't see in the LyX docs is any *automated* way to get from > a .lyx document to printed output. The way I use TeX with gEDA, "cvs > update;make docs" builds all of the documents from the > various .tex, .sch, etc. I have been using TeXShop as a TeX editor: > as it keeps documents in TeX source form, there is no issue here. > > Can LyX do this? Lyx has its own file format, but it can export to various flavours of LaTeX (IE.. code for plain latex, pdflatex). Similarly, "File->Export->PDF (pdflatex)" is all you need to produce a document - not sure if it can be driven via the command line or not. Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 7, 2010, at 10:47 AM, Peter TB Brett wrote: Kai-Martin Knaak wrote: On Sat, 06 Feb 2010 13:51:31 -0500, Dave McGuire wrote: Lyx is pretty nice but those types of front-ends usually just get in the way. You can do whatever latex wizardry you like and even plain tex in lyx. These portions just won't be interpreted on the fly and render verbatim on the screen. In addition, most latex commands are known to lyx. So you can type "\mu" and get a nice character µ on the screen. This is one of the rare cases where you can get both: A visual intuitive GUI plus the full power of machine code. This is not just blue sky talk, but from experience. I learned latex the hard way -- vi on a unix server to typeset the hand written notes of a mathematics professor. Yet, for my thesis I switched to lyx. The online graphical representation simply avoids a host of common errors. It makes navigation in the document so much simpler. I'm going to add my voice to the love for LyX. It's absolutely brilliant, and I used it very happily all the way through my MEng for typesetting my reports. The BibTeX integration in particular is a joy to use! What I don't see in the LyX docs is any *automated* way to get from a .lyx document to printed output. The way I use TeX with gEDA, "cvs update;make docs" builds all of the documents from the various .tex, .sch, etc. I have been using TeXShop as a TeX editor: as it keeps documents in TeX source form, there is no issue here. Can LyX do this? John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sun, 2010-02-07 at 17:47 +, Peter TB Brett wrote: > The BibTeX integration in particular is a joy to use! Something I'm fighting this very minute ;) (Producing a custom BibTeX style to suit the conference I'm submitting to). ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Kai-Martin Knaak wrote: On Sat, 06 Feb 2010 13:51:31 -0500, Dave McGuire wrote: Lyx is pretty nice but those types of front-ends usually just get in the way. You can do whatever latex wizardry you like and even plain tex in lyx. These portions just won't be interpreted on the fly and render verbatim on the screen. In addition, most latex commands are known to lyx. So you can type "\mu" and get a nice character µ on the screen. This is one of the rare cases where you can get both: A visual intuitive GUI plus the full power of machine code. This is not just blue sky talk, but from experience. I learned latex the hard way -- vi on a unix server to typeset the hand written notes of a mathematics professor. Yet, for my thesis I switched to lyx. The online graphical representation simply avoids a host of common errors. It makes navigation in the document so much simpler. I'm going to add my voice to the love for LyX. It's absolutely brilliant, and I used it very happily all the way through my MEng for typesetting my reports. The BibTeX integration in particular is a joy to use! Peter ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, 06 Feb 2010 13:51:31 -0500, Dave McGuire wrote: > Lyx is pretty nice but those > types of front-ends usually just get in the way. You can do whatever latex wizardry you like and even plain tex in lyx. These portions just won't be interpreted on the fly and render verbatim on the screen. In addition, most latex commands are known to lyx. So you can type "\mu" and get a nice character µ on the screen. This is one of the rare cases where you can get both: A visual intuitive GUI plus the full power of machine code. This is not just blue sky talk, but from experience. I learned latex the hard way -- vi on a unix server to typeset the hand written notes of a mathematics professor. Yet, for my thesis I switched to lyx. The online graphical representation simply avoids a host of common errors. It makes navigation in the document so much simpler. Note, that lyx presents the document not quite like a word processor. It may look the same, but there are crucial differences. It treats the text more like a web browser. Line breaks are at the end of the window rather than where they would appear in print. Headlines look like headlines, but are not in the same font. For non lyx editing of latex documents, I'd recommend kile. This is an editor with sophisticated syntax features aimed in particular toward latex. ---<(kimartin)>--- -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, 2010-02-06 at 20:54 +0100, Krzysztof Kościuszkiewicz wrote: > On Sat, Feb 06, 2010 at 06:16:02PM +0100, Stefan Salewski wrote: > > > I would prefer PS-Tricks instead of old METAPOST. > > Unfortunately PS-Tricks is postscript only. For both PS and PDF I would > recommend using TikZ. Beamer (written by the same author) uses low > level routines from TikZ to produce its pretty slides. > > Best regards, Oh! I have to admit that I never used PSTricks for serious work, but I was impressed by the results (and examples of Herbert Voss, who wrote a book about PSTricks, maybe in german language only.) I know that early versions of PSTricks did not work with PDF, but it was my impression that now PDF works fine. I know that package Beamer supports supports similar functions... Thanks for this remark. Stefan Salewski ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, Feb 06, 2010 at 06:16:02PM +0100, Stefan Salewski wrote: > I would prefer PS-Tricks instead of old METAPOST. Unfortunately PS-Tricks is postscript only. For both PS and PDF I would recommend using TikZ. Beamer (written by the same author) uses low level routines from TikZ to produce its pretty slides. Best regards, -- Krzysztof Kościuszkiewicz "Simplicity is the ultimate sophistication" -- Leonardo da Vinci ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, Feb 6, 2010 at 2:10 PM, gene glick <[1]carzr...@optonline.net> wrote: Dave McGuire wrote: First off, thanks for the input from all. So you write in a text editor, add in your own codes? I write a lot of macros. If you decide to use EMACS I would highly recommend AucTeX. The various AucTeX commands prompt for arguments and insert the appropriate La/TeX code. It is very easy to insert lists, tables, figures, sections, etc. Prompting for options like captions and labels (for hyperlinks) should be quite nice when you are starting out. Also take a look at CTAN. There are a **lot** of packages and examples. (* jcl *) -- You can't create open hardware with closed EDA tools. twitter: [2]http://twitter.com/jluciani blog:[3]http://www.luciani.org References 1. mailto:carzr...@optonline.net 2. http://twitter.com/jluciani 3. http://www.luciani.org/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, Feb 6, 2010 at 11:10 AM, gene glick wrote: > Anyway, time to fire up the Chevelle SS396, pop the clutch, burn some > rubber, and haul butt up the learning curve :) > There are numerous guides and references around the internet as I'm sure you'll find, but http://en.wikibooks.org/wiki/LaTeX is one of the best references IMHO. I've been using latex for years now and still find new tricks in there on occasion. Not sure how it is as a beginners guide though, as it wasn't around when I was starting. Jared ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 6, 2010, at 2:10 PM, gene glick wrote: I use OpenOffice for quick & dirty stuff, but LaTeX (with PDF output) for anything that has to look good. Lyx is pretty nice but those types of front-ends usually just get in the way. First off, thanks for the input from all. So you write in a text editor, add in your own codes? OK. I typically use emacs, yes. Admittedly I don't write very long documents...anything I write that's more than 20-30 pages is usually postprocessed with a C compiler, not TeX. ;) This is new to me since I've used MS Word for ever, and Open Office to a lesser extent in the past 2 years. I dread using Open Office for reports :( It's a huge struggle every time to get stuff to look nice. All the rhetoric about TeX sounds good. So now I will see. Lyx seems ok to me so far. The option to edit directly is always there - I think. Anyway, time to fire up the Chevelle SS396, pop the clutch, burn some rubber, and haul butt up the learning curve :) There you go. :) TeX is extremely powerful, but there's a big learning curve involved. It sacrifices time and ease of use for absolute control and unbelievably beautiful typesetter-quality output. -Dave -- Dave McGuire Port Charlotte, FL ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Dave McGuire wrote: I use OpenOffice for quick & dirty stuff, but LaTeX (with PDF output) for anything that has to look good. Lyx is pretty nice but those types of front-ends usually just get in the way. -Dave First off, thanks for the input from all. So you write in a text editor, add in your own codes? OK. This is new to me since I've used MS Word for ever, and Open Office to a lesser extent in the past 2 years. I dread using Open Office for reports :( It's a huge struggle every time to get stuff to look nice. All the rhetoric about TeX sounds good. So now I will see. Lyx seems ok to me so far. The option to edit directly is always there - I think. Anyway, time to fire up the Chevelle SS396, pop the clutch, burn some rubber, and haul butt up the learning curve :) gene ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Feb 6, 2010, at 6:26 AM, gene glick wrote: Do you all use Latex for editing docs, or maybe open office or other? I'm getting fed up with the open office bugs and starting to think that Latex is a better alternative. Busy compiling Lyx as we speak. Just curious if it works out well- I use OpenOffice for quick & dirty stuff, but LaTeX (with PDF output) for anything that has to look good. Lyx is pretty nice but those types of front-ends usually just get in the way. -Dave -- Dave McGuire Port Charlotte, FL ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, 2010-02-06 at 12:10 +, Peter Clifton wrote: > > You can print gEDA schematics straight to pdf (I'm using my experimental Or with kprinter or cups-pdf for KDE or Gnome. On Sat, 2010-02-06 at 09:10 -0500, John Luciani wrote: > METAPOST and gnuplot for graphics. beamer for slides. > I would prefer PS-Tricks instead of old METAPOST. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
Like others in this group, I'm a TeX partisan, and yes that includes pdftex most of the time. I converted to TeX from VAX runoff in 1987. On Sat, Feb 06, 2010 at 12:10:04PM +, Peter Clifton wrote: > pdflatex also supports .png and .jpg files natively - which is > (probably) better than .eps for some applications. I guess you haven't discovered jpeg2ps. "jpeg2ps V1.9: convert JPEG files to PostScript Level 2 or 3. (C) Thomas Merz 1994-2002" ... without uncompressing the image. It makes use of PostScript's DCTDecode filter. - Larry ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, Feb 6, 2010 at 6:26 AM, gene glick <[1]carzr...@optonline.net> wrote: Do you all use Latex for editing docs, or maybe open office or other? I'm getting fed up with the open office bugs and starting to think that Latex is a better alternative. Busy compiling Lyx as we speak. I use pdfLaTeX (and occasionally pdfTeX) for **all** documents. I really like ConTeXt but I have too much work in LaTeX to switch at this point. I make everything a pdf file. I use the pdfpages package to include document pages. For figures I use the \includegraphics command which will include, scale and rotate a pdf file. I use Makefiles and scripts to automate the process. Emacs + AucTeX for editing. METAPOST and gnuplot for graphics. beamer for slides. The only hassle I have had is floating figures and figures in multicolumn mode. I think I have these nailed down. (* jcl *) P.S. Finding a bug in the TeX or METAFONT programs is now worth 0x$80.00 at the Bank of San Serriffe ;) -- You can't create open hardware with closed EDA tools. twitter: [2]http://twitter.com/jluciani blog:[3]http://www.luciani.org References 1. mailto:carzr...@optonline.net 2. http://twitter.com/jluciani 3. http://www.luciani.org/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
On Sat, 2010-02-06 at 06:26 -0500, gene glick wrote: > Do you all use Latex for editing docs, or maybe open office or other? > I'm getting fed up with the open office bugs and starting to think that > Latex is a better alternative. Busy compiling Lyx as we speak. > > Just curious if it works out well- Lyx for the win.. I use it for reports and academic papers etc. It really takes the hassle out of image conversion for LaTeX. I've given up with the plain latex + dvips workflow, and am going straight to using pdflatex. I only ever need pdf files, and it allows you to use the rather-nice "microtype" package for better typographic rendering than normal LaTeX - things such as expanding certain glyphs (e.g. punctuation) into the margin to give a more optically straight edge to your text. pdflatex also supports .png and .jpg files natively - which is (probably) better than .eps for some applications. You can print gEDA schematics straight to pdf (I'm using my experimental cairo printing code.. but you can convert from .ps), and include those directly when using pdflatex (although Lyx can't preview .pdf graphics). My "cairo_experiment" (or was it "local_customisation"?) branch of gEDA can also copy+paste SVG data of a schematic into Inkscape - allowing you to tweak the graphics - should you desire, and save as a .pdf. This said, I still use OpenOffice Writer quite a bit - for short letters, abstracts (when I don't have the time to play with all the Latex stuff). Best regards, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Latex
gene glick writes: > Do you all use Latex for editing docs, or maybe open office or other? > I'm getting fed up with the open office bugs and starting to think > that Latex is a better alternative. Busy compiling Lyx as we speak. My openoffice use is strictly read-only. For text there is LaTeX, spreadsheets with gnumeric, figures in qcad/inkscape/gerbv/(previously xfig). Presentations with LaTeX beamer. I have no experiance with LaTeX front-ends, like Lyx. Emacs/auctex ist all I use. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: OT: Latex
Do you all use Latex for editing docs, or maybe open office or other? I'm getting fed up with the open office bugs and starting to think that Latex is a better alternative. Busy compiling Lyx as we speak. Just curious if it works out well- thanks gene ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user