From owner-freebsd-questions@freebsd.org Sat Mar 11 01:42:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6697AD0718A for ; Sat, 11 Mar 2017 01:42:14 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from know-smtprelay-omc-6.server.virginmedia.net (know-smtprelay-omc-6.server.virginmedia.net [80.0.253.70]) by mx1.freebsd.org (Postfix) with ESMTP id D7EB8967 for ; Sat, 11 Mar 2017 01:42:13 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from localhost.localdomain ([81.97.232.230]) by know-smtprelay-6-imp with bizsmtp id uRh11u0064yv82R01Rh1oM; Sat, 11 Mar 2017 01:41:01 +0000 X-Originating-IP: [81.97.232.230] X-Spam: 0 X-Authority: v=2.1 cv=H94muLsi c=1 sm=1 tr=0 a=obylDaYnIsVqxbenyIBF4Q==:117 a=obylDaYnIsVqxbenyIBF4Q==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=Eq9Hzjjlrt8A:10 a=6Iz7jQTuP9IA:10 a=-Z53KwaH7bQ1aHMzd98A:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 7B01748466; Sat, 11 Mar 2017 01:41:01 +0000 (GMT) Date: Sat, 11 Mar 2017 01:41:01 +0000 From: Ken Moffat To: freebsd-questions@freebsd.org Subject: Re: Noob question Message-ID: <20170311014101.GA18045@milliways.localdomain> References: <83FA4D74-AB47-45D8-A5D6-EB8892A47E4D@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: <83FA4D74-AB47-45D8-A5D6-EB8892A47E4D@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2017 01:42:14 -0000 On Fri, Mar 10, 2017 at 07:51:35PM -0500, Brad Salai wrote: > I've just finished a clean install of FreeBSD 11 on an HP desktop that I got for free (I know that's not relevant but I'm telling everyone.) > I got Gnome running and installed Libre Office without issues. Then I tried TeXlive as a package and Arduino as a port. Both completed successfully, but neither showed up in Gnome and I can't figure out the path to add to start them manually. Can anyone help? > Brad > No idea about arduino, but texlive - at least in a full install - contains a lot of different things. At a minimum, you probably want to run one of the engines, e.g. using pdflatex on a .tex file to create a text PDF. For more complex PDFs (adding things for images, or using other programs for indexing or bibliographies) you will probably want to create a Makefile. For a basic PDF that, you open your term of choice (gnome-terminal, I suppose), run 'which' to see if pdflatex (or one of the other engines, e.g. lualatex, xelatex, or even context) is on your PATH. If it isn't, you use find or locate to see where it is, and then add that directory to your PATH. But I guess that installing the package will have fixed that up. Finally, you create your tex file in your preferred editor, and then from your term you invoke the engine on the tex file, fix any errors and repeat until you get a PDF, open that in your viewer (evince, for gnome) and review, then fix any spelling or formatting errors and repeat. So, providing it is all on your PATH, you just go in and do it. If you want a gui front-end, perhaps get TeXworks which appears to be a package. In windows versions of texlive, TeXworks is included - but not in 'nix versions : it has additional dependencies such as Qt. Happy TeXing. ĸen -- `I shall take my mountains', said Lu-Tze. `The climate will be good for them.' -- Small Gods