emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* newbie which LaTeX for PDF publish
@ 2018-09-01 10:12 adam
  2018-09-01 12:34 ` Robert Klein
  2018-09-02 10:04 ` Eric S Fraga
  0 siblings, 2 replies; 9+ messages in thread
From: adam @ 2018-09-01 10:12 UTC (permalink / raw)
  To: emacs-orgmode

Am on Ubuntu 16.04, org-version is 8.2.10 

Export to PDF C-c C-e l o  is working. 
However I wish finer grain LaTeX control. 


For Export to PDF to work, I needed  pdftex  

So I followed one suggestion and installed    
sudo apt-get install texlive-latex-extra 

However Tex's tlmgr reports errors and doesn't work. Tex users suggest 
a version incompatibility between that tlmgr and this Tex package. 

Any suggestions are welcome. 

Perhaps I should un-install texlive-latex-extra  and install a more fully blown LaTex
package. In which case, which one?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-01 10:12 newbie which LaTeX for PDF publish adam
@ 2018-09-01 12:34 ` Robert Klein
  2018-09-02  7:58   ` adam
  2018-09-02 10:04 ` Eric S Fraga
  1 sibling, 1 reply; 9+ messages in thread
From: Robert Klein @ 2018-09-01 12:34 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

On Sat, 01 Sep 2018 22:12:39 +1200
adam <ahcnz@orcon.net.nz> wrote:

> Am on Ubuntu 16.04, org-version is 8.2.10 
> 
> Export to PDF C-c C-e l o  is working. 
> However I wish finer grain LaTeX control. 
> 
> 
> For Export to PDF to work, I needed  pdftex  
> 
> So I followed one suggestion and installed    
> sudo apt-get install texlive-latex-extra 
> 
> However Tex's tlmgr reports errors and doesn't work. Tex users
> suggest a version incompatibility between that tlmgr and this Tex
> package. 
> 
> Any suggestions are welcome. 
> 
> Perhaps I should un-install texlive-latex-extra  and install a more
> fully blown LaTex package. In which case, which one?

I typically install texlive-full (Debian 9), but don't use tlmgr on it.

If you want newer packages best download and install it from
texlive.net to a separate location (e.g. /opt/texlive/$YEAR).

Are you sure you don't have pdftex installed already?

Is your Ubuntu an “update” installation that may have gone wrong?  Or
does Ubuntu offer several tex/latex distributions?  I think most people
nowadays use the texlive distribution.

Best regards
Robert

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-01 12:34 ` Robert Klein
@ 2018-09-02  7:58   ` adam
  2018-09-26  2:05     ` Adrian Bradd
  0 siblings, 1 reply; 9+ messages in thread
From: adam @ 2018-09-02  7:58 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, 2018-09-01 at 14:34 +0200, Robert Klein wrote:
> Hi,
> 
> On Sat, 01 Sep 2018 22:12:39 +1200
> adam <ahcnz@orcon.net.nz> wrote:
> 
> > 
> > Am on Ubuntu 16.04, org-version is 8.2.10 
> > 
> > Export to PDF C-c C-e l o  is working. 
> > However I wish finer grain LaTeX control. 
> > 
> > 
> > For Export to PDF to work, I needed  pdftex  
> > 
> > So I followed one suggestion and installed    
> > sudo apt-get install texlive-latex-extra 
> > 
> > However Tex's tlmgr reports errors and doesn't work. Tex users
> > suggest a version incompatibility between that tlmgr and this Tex
> > package. 
> > 
> > Any suggestions are welcome. 
> > 
> > Perhaps I should un-install texlive-latex-extra  and install a more
> > fully blown LaTex package. In which case, which one?
> I typically install texlive-full (Debian 9), but don't use tlmgr on it.
> 
> If you want newer packages best download and install it from
> texlive.net to a separate location (e.g. /opt/texlive/$YEAR).
> 
> Are you sure you don't have pdftex installed already?
> 
> Is your Ubuntu an “update” installation that may have gone wrong?  Or
> does Ubuntu offer several tex/latex distributions?  I think most people
> nowadays use the texlive distribution.
> 
> Best regards
> Robert


Thanks Robert. 

No, I didn't have a pdftex beforehand, so I needed that from any Tex/LaTeX/TexLive
system. 

It was perhaps my mistake to install  texlive-extra  because tlmgr doesn't work properly,
tlmgrgui seems unavailable, thus I can't list my currently available fonts or load new
packages. 

With some hesitation or regret, I feel must install a full-blown TeX Live system, simply
for some help or control with the Tex of the org-mode LaTeX PDF export.    


I found this link below, which suggests using the TeX Live Installer

https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-u
buntu?noredirect=1&lq=1 


Thank you. 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-01 10:12 newbie which LaTeX for PDF publish adam
  2018-09-01 12:34 ` Robert Klein
@ 2018-09-02 10:04 ` Eric S Fraga
  2018-09-02 21:32   ` adam
  1 sibling, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2018-09-02 10:04 UTC (permalink / raw)
  To: adam; +Cc: emacs-orgmode

On Saturday,  1 Sep 2018 at 22:12, adam wrote:
> Am on Ubuntu 16.04, org-version is 8.2.10 
>
> Export to PDF C-c C-e l o  is working. 
> However I wish finer grain LaTeX control. 
>
>
> For Export to PDF to work, I needed  pdftex  

But org exports to LaTeX, not TeX.  I.e. it exports to TeX with the
assumption that the LaTeX macros are all available.

Am I missing something?

What finer grain control would you like that you cannot achieve using
org directions such as #+latex: and #+begin_export latex?

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-02 10:04 ` Eric S Fraga
@ 2018-09-02 21:32   ` adam
  2018-09-03  5:28     ` Eric S Fraga
  2018-09-03  5:48     ` Robert Klein
  0 siblings, 2 replies; 9+ messages in thread
From: adam @ 2018-09-02 21:32 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

On Sun, 2018-09-02 at 11:04 +0100, Eric S Fraga wrote:
> On Saturday,  1 Sep 2018 at 22:12, adam wrote:
> > 
> > Am on Ubuntu 16.04, org-version is 8.2.10 
> > 
> > Export to PDF C-c C-e l o  is working. 
> > However I wish finer grain LaTeX control. 
> > 
> > 
> > For Export to PDF to work, I needed  pdftex  
> But org exports to LaTeX, not TeX.  I.e. it exports to TeX with the
> assumption that the LaTeX macros are all available.
> 
> Am I missing something?
> 
> What finer grain control would you like that you cannot achieve using
> org directions such as #+latex: and #+begin_export latex?
> 

I require management of TeX (TeX Live) for export to PDF (LaTeX). 

The Tex Live manager (tlmgr) displays available fonts, loads and removes fonts and other
packages. 
https://www.tug.org/texlive/doc/tlmgr.html 


Sure, pdftex (from texlive-latex-extra) enables org-mode export to PDF, however the 
fonts available are opaque within the TexLive environment without tlmgr. 
Navigation of TexLive customizations, set with install-tl are opaque without tlmgr.  


packages for Ubuntu 16.04 LTS can be seen here, 
https://packages.ubuntu.com/search?keywords=texlive 

using the TexLive installer  install-tl  can be seen here, 
https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-u
buntu 


In other words, org-mode export to PDF assumes a pdftex, and the tex/texlive/LaTex
environment is up to the user to simply provide a pdftex. 


 


   

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-02 21:32   ` adam
@ 2018-09-03  5:28     ` Eric S Fraga
  2018-09-03  5:48     ` Robert Klein
  1 sibling, 0 replies; 9+ messages in thread
From: Eric S Fraga @ 2018-09-03  5:28 UTC (permalink / raw)
  To: adam; +Cc: emacs-orgmode

On Monday,  3 Sep 2018 at 09:32, adam wrote:
> On Sun, 2018-09-02 at 11:04 +0100, Eric S Fraga wrote:
>> On Saturday,  1 Sep 2018 at 22:12, adam wrote:
>> > 
>
>> > Am on Ubuntu 16.04, org-version is 8.2.10 
>> > 
>> > Export to PDF C-c C-e l o  is working. 
>> > However I wish finer grain LaTeX control. 
>> > 
>> > 
>> > For Export to PDF to work, I needed  pdftex  
>> But org exports to LaTeX, not TeX.  I.e. it exports to TeX with the
>> assumption that the LaTeX macros are all available.
>> 
>> Am I missing something?
>> 
>> What finer grain control would you like that you cannot achieve using
>> org directions such as #+latex: and #+begin_export latex?
>> 
>
> I require management of TeX (TeX Live) for export to PDF (LaTeX). 
>
> The Tex Live manager (tlmgr) displays available fonts, loads and
> removes fonts and other packages.

So this has nothing to do with org then?

I've never used tlmgr so cannot help.  Sorry.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-02 21:32   ` adam
  2018-09-03  5:28     ` Eric S Fraga
@ 2018-09-03  5:48     ` Robert Klein
  2018-09-03 12:28       ` Joseph Vidal-Rosset
  1 sibling, 1 reply; 9+ messages in thread
From: Robert Klein @ 2018-09-03  5:48 UTC (permalink / raw)
  To: adam; +Cc: Eric S Fraga, emacs-orgmode

Hi Adam,

On Mon, 03 Sep 2018 09:32:14 +1200
adam <ahcnz@orcon.net.nz> wrote:

> On Sun, 2018-09-02 at 11:04 +0100, Eric S Fraga wrote:
> > On Saturday,  1 Sep 2018 at 22:12, adam wrote:  
> > > 
> > > Am on Ubuntu 16.04, org-version is 8.2.10 
> > > 
> > > Export to PDF C-c C-e l o  is working. 
> > > However I wish finer grain LaTeX control. 
> > > 
> > > 
> > > For Export to PDF to work, I needed  pdftex    
> > But org exports to LaTeX, not TeX.  I.e. it exports to TeX with the
> > assumption that the LaTeX macros are all available.
> > 
> > Am I missing something?
> > 
> > What finer grain control would you like that you cannot achieve
> > using org directions such as #+latex: and #+begin_export latex?
> >   
> 
> I require management of TeX (TeX Live) for export to PDF (LaTeX). 
> 
> The Tex Live manager (tlmgr) displays available fonts, loads and
> removes fonts and other packages. 
> https://www.tug.org/texlive/doc/tlmgr.html 
> 
> 
> Sure, pdftex (from texlive-latex-extra) enables org-mode export to
> PDF, however the fonts available are opaque within the TexLive
> environment without tlmgr. Navigation of TexLive customizations, set
> with install-tl are opaque without tlmgr.  
> 
> 
> packages for Ubuntu 16.04 LTS can be seen here, 
> https://packages.ubuntu.com/search?keywords=texlive 
> 
> using the TexLive installer  install-tl  can be seen here, 
> https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-u
> buntu 
> 
> 
> In other words, org-mode export to PDF assumes a pdftex, and the
> tex/texlive/LaTex environment is up to the user to simply provide a
> pdftex. 
> 

I don't get the “require management” part of this.  Ubuntu has about
100 texlive packages, the texlive distribution offers about 47.  The
SUSE guys went overboard and had (still have?) about 3500 packages ---
a former 2-hour installation with about 3-5 “texlive” packages (fully
automated) took 4.5 plus then...

Why don't you just install Ubuntu's texlive-full and be done with it?

Best regards
Robert

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-03  5:48     ` Robert Klein
@ 2018-09-03 12:28       ` Joseph Vidal-Rosset
  0 siblings, 0 replies; 9+ messages in thread
From: Joseph Vidal-Rosset @ 2018-09-03 12:28 UTC (permalink / raw)
  To: ahcnz; +Cc: Eric S Fraga, Liste-emacs-orgmode@gnu.org, roklein

[-- Attachment #1: Type: text/plain, Size: 2572 bytes --]

Hello Adam,

As Ubuntu and Debian user, I agree with Robert: the install of texlive via
texlive-full is the best solution. Other packages can after be installed in
~/texmf/tex/latex/local/  (idem for ~/texmf/bibtex/ )  and everything
should run smoothly.

Best wishes,

Jo.

Le lun. 3 sept. 2018 à 07:49, Robert Klein <roklein@roklein.de> a écrit :

> Hi Adam,
>
> On Mon, 03 Sep 2018 09:32:14 +1200
> adam <ahcnz@orcon.net.nz> wrote:
>
> > On Sun, 2018-09-02 at 11:04 +0100, Eric S Fraga wrote:
> > > On Saturday,  1 Sep 2018 at 22:12, adam wrote:
> > > >
> > > > Am on Ubuntu 16.04, org-version is 8.2.10
> > > >
> > > > Export to PDF C-c C-e l o  is working.
> > > > However I wish finer grain LaTeX control.
> > > >
> > > >
> > > > For Export to PDF to work, I needed  pdftex
> > > But org exports to LaTeX, not TeX.  I.e. it exports to TeX with the
> > > assumption that the LaTeX macros are all available.
> > >
> > > Am I missing something?
> > >
> > > What finer grain control would you like that you cannot achieve
> > > using org directions such as #+latex: and #+begin_export latex?
> > >
> >
> > I require management of TeX (TeX Live) for export to PDF (LaTeX).
> >
> > The Tex Live manager (tlmgr) displays available fonts, loads and
> > removes fonts and other packages.
> > https://www.tug.org/texlive/doc/tlmgr.html
> >
> >
> > Sure, pdftex (from texlive-latex-extra) enables org-mode export to
> > PDF, however the fonts available are opaque within the TexLive
> > environment without tlmgr. Navigation of TexLive customizations, set
> > with install-tl are opaque without tlmgr.
> >
> >
> > packages for Ubuntu 16.04 LTS can be seen here,
> > https://packages.ubuntu.com/search?keywords=texlive
> >
> > using the TexLive installer  install-tl  can be seen here,
> >
> https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-u
> > buntu
> >
> >
> > In other words, org-mode export to PDF assumes a pdftex, and the
> > tex/texlive/LaTex environment is up to the user to simply provide a
> > pdftex.
> >
>
> I don't get the “require management” part of this.  Ubuntu has about
> 100 texlive packages, the texlive distribution offers about 47.  The
> SUSE guys went overboard and had (still have?) about 3500 packages ---
> a former 2-hour installation with about 3-5 “texlive” packages (fully
> automated) took 4.5 plus then...
>
> Why don't you just install Ubuntu's texlive-full and be done with it?
>
> Best regards
> Robert
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4277 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: newbie which LaTeX for PDF publish
  2018-09-02  7:58   ` adam
@ 2018-09-26  2:05     ` Adrian Bradd
  0 siblings, 0 replies; 9+ messages in thread
From: Adrian Bradd @ 2018-09-26  2:05 UTC (permalink / raw)
  To: adam; +Cc: emacs-orgmode


> I found this link below, which suggests using the TeX Live 
> Installer
>
> https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-u
> buntu?noredirect=1&lq=1

This is my preferred method. You can choose a completely custom 
install or use the pre-defined packages of varying sizes (small, 
medium, full etc.). I usually use the medium or full, but any 
package is just a 'tlmgr install' away (incl. pdftex).

Cheers,

-- 
Adrian Bradd

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-09-26  2:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-01 10:12 newbie which LaTeX for PDF publish adam
2018-09-01 12:34 ` Robert Klein
2018-09-02  7:58   ` adam
2018-09-26  2:05     ` Adrian Bradd
2018-09-02 10:04 ` Eric S Fraga
2018-09-02 21:32   ` adam
2018-09-03  5:28     ` Eric S Fraga
2018-09-03  5:48     ` Robert Klein
2018-09-03 12:28       ` Joseph Vidal-Rosset

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).