Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-08 Thread Eduardo Mercovich
he other thing is in the end I have to convert from the .tex 
file to a .docx file using pandoc


Org exports to odt via ox-odt.  You can presumably export 
directly to docx using org-odt-convert-processes.


And you can specify another existent odt document to use as a 
template. :)


Hope it helps. 


Best...

--
e



Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-06 Thread Rasmus
Paul Harper harper.pau...@gmail.com writes:

 he other thing is in the end I have to convert from the .tex file to a
 .docx file using pandoc

Org exports to odt via ox-odt.  You can presumably export directly to docx
using org-odt-convert-processes.

—Rasmus

-- 
Together we will make the possible totay impossible!




Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-06 Thread Ken Mankoff

On 2015-05-06 at 06:28, Rasmus ras...@gmx.us wrote:
 Paul Harper harper.pau...@gmail.com writes:

 he other thing is in the end I have to convert from the .tex file to a
 .docx file using pandoc

 Org exports to odt via ox-odt.  You can presumably export directly to docx
 using org-odt-convert-processes.

Although I recommend exporting to TeX and then using Pandoc to generate the 
DOCX file. It seems (to me) to work better and have better support for 
bibliography:

pandoc -f latex -t docx -o foo.docx --bibliography foo.bib foo.tex

  -k.
  




Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-05 Thread Paul Harper
Thanks for those replies. I basically followed Ken's suggestion. I started
with the Kings College London dissertation template and used writer2latex
to create a .tex file. Then I gradually built the the Org-File.

 I have ended up with something I can use to write using org-mode with a
nice Solarized-Dark theme instead of frying my eyeballs in LibreOffice. The
key things are the Table of Contents are in the correct place and I have
bibtex working the way I want.

The other thing is in the end I have to convert from the .tex file to a
.docx file using pandoc. So I'll have to do some minor edits in LibreOffice
anyway because it is not saving certain formating features like double
spacing. But that will be a two minute final editing job.

So now I just have to write 500 words a day for the next 30 days and I'll
have a first draft! ;)

Regards,

Paul

On 4 May 2015 at 23:20, Ken Mankoff mank...@gmail.com wrote:

 Hi Paul,

 For this type of one-off project (a thesis), I'd suggest you a) remove all
 Org-generated LaTeX header, b) create your own LaTeX preamble that you
 \include{preamble} in your Org file, and then all of your questions become
 LaTeX questions, not Org questions.

 Those LaTeX questions are likely easily googlable (or bingable) and found
 on TeX.SE. At the top of your Org document you can embed all the LaTeX code
 you want to generate the custom title and signature pages required by your
 institution.

 Just my 2c.

 On 2015-05-04 at 11:58, Paul Harper harper.pau...@gmail.com wrote:
  I need some items to appear on a page of their own. (ie. Ethical
 Approval,
  Abstract, Declaration, Table of Contents.) How do I do that?

 \clearpage command in LaTeX.

   -k.




-- 
Regards,


Paul

about.me/pauljamesharper

GnuPG ID:0x058884CC

Women and cats will do as they please, and men and dogs should relax and
get used to the idea.

Robert Heinlein


Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-04 Thread Rasmus
Hi Paul,

Paul Harper harper.pau...@gmail.com writes:

 How do I get the preamble above the title?

 How do I make the fonts smaller in the title?

 I need some items to appear on a page of their own. (ie. Ethical Approval,
 Abstract, Declaration, Table of Contents.) How do I do that?

Do you know KOMA-Scrip?  It has good support for title pages.  Check
section 3.7 in the KOMA-Script manual.  If it has everything you need just
that.

If your university provides a latex template, and one department there
certainty will, why not use that?  Just port the university's class or
recommend preamble to Org via org-latex-classes,
org-latex-title-command, #+LATEX_HEADER or similar.

Alternatively, it's not hard roll you own title-page.tex.  An example is
below.

You may also find interest in Eric's experience on writing a thesis in
Org:

http://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00113.html

Example of a titlepage:

\begin{fullsizetitle}
\vspace{2cm}
\begin{center}
\begin{minipage}[t][0.89\textheight]{.80\linewidth}
  \sffamily
  \raggedleft
  \itshape
  \mbox{{\Large
  \PaperType\xspace  $\circ$ \University\xspace  $\circ$
  \Date}}
  \vspace{1.5cm}

  \noindent
  {\fontsize{20mm}{20mm}\selectfont
\noindent\rule{.9\textwidth}{2pt}\\[.25ex]
\noindent\Title

\noindent\rule{.9\textwidth}{2pt}\vspace*{1ex}}


{\fontsize{15mm}{15mm}\selectfont
  \vspace{3cm}
  {\Huge supervised by:\\[-1ex]
  \Supervisor}

  \vfill
  \makebox[\textwidth][r]{\parbox[b]{2cm}{\huge written\\[-1ex]by} \Author}
{\huge \SubAuthor}}
\end{minipage}
  \end{center}
\end{fullsizetitle}
\clearpage
% backside of titlepage
\thispagestyle{empty}
\mbox{}{\itshape\sffamily\noindent\vfill

\noindent
{\larger[2]{\rule{\textwidth}{.8pt}\vspace*{2ex}%
I would like to thank \Supervisor 
for\cdots\\[1ex]\rule{\textwidth}{.8pt}}}

  \vfill\vfill\noindent%
  I would also like to acknowledge financial support from
  \begin{itemize*}
  \item f1
  \item f2
  \end{itemize*}}
\clearpage

-- 
Send from my Emacs




Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-04 Thread Ken Mankoff
Hi Paul,

For this type of one-off project (a thesis), I'd suggest you a) remove all 
Org-generated LaTeX header, b) create your own LaTeX preamble that you 
\include{preamble} in your Org file, and then all of your questions become 
LaTeX questions, not Org questions.

Those LaTeX questions are likely easily googlable (or bingable) and found on 
TeX.SE. At the top of your Org document you can embed all the LaTeX code you 
want to generate the custom title and signature pages required by your 
institution.

Just my 2c.

On 2015-05-04 at 11:58, Paul Harper harper.pau...@gmail.com wrote:
 I need some items to appear on a page of their own. (ie. Ethical Approval,
 Abstract, Declaration, Table of Contents.) How do I do that?

\clearpage command in LaTeX.

  -k.