From owner-freebsd-ports@FreeBSD.ORG Tue Apr 18 12:27:32 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1EB416A401 for ; Tue, 18 Apr 2006 12:27:32 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF3943D77 for ; Tue, 18 Apr 2006 12:27:13 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k3ICSI3j064630; Tue, 18 Apr 2006 09:28:19 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost [127.0.0.1]) by pi.iib.unsam.edu.ar (8.13.1/8.13.1) with ESMTP id k3ICQWai081045; Tue, 18 Apr 2006 09:26:32 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.13.1/8.13.1/Submit) id k3ICQVxj081044; Tue, 18 Apr 2006 09:26:31 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Tue, 18 Apr 2006 09:26:31 -0300 From: Fernan Aguero To: Dmitriy Shnayder Message-ID: <20060418122631.GA80953@iib.unsam.edu.ar> Mail-Followup-To: Dmitriy Shnayder , ports@FreeBSD.org References: <444464EB.5020702@cs.rit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <444464EB.5020702@cs.rit.edu> User-Agent: Mutt/1.5.9i Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: latexmk-307a X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 12:27:32 -0000 +----[ Dmitriy Shnayder (18.Apr.2006 01:06): | | When I use the algorithms LaTeX package [1] in a LaTeX document and run | latexmk to generate a PDF file, the program works. If I place a list of | algorithms into my document's table of contents, this generates a .loa | file. When I then tell latexmk to clean up files with "latexmk -c" or | "latexmk -C" this file remains. Dmitriy, first of all I would say that this is not a question that is specific to the FreeBSD port but to latexmk in general. So you should try and ask the author of the software or a latexmk specific forum. Nevertheless, let me say that this IMO is the right thing to do. latexmk cannot and should not care about the myriad of latex packages available on CTAN and try to include the files they might generate in its cleanup routines. That's why the author included the ability to configure latexmk using rc files. Read the man page. | I would like you to change latexmk and introduce a simple fix for this | problem. In the cleanup_basic subroutine, add the following line: | | unlink("$root_filename.loa"); This is not necessary, as you can set either [ I have not tested this. Caveat emptor ] $clean_ext = ".loa" or $clean_full_ext = ".loa" in your .latexmkrc file and latexmk will then unlink them as necessary. Again, this is all in the documentation of latexmk. Hope this helps, Fernan | | -- | Dmitriy Shnayder | +----]