Re: [O] Copying/pasting org html export into IBM Community Wiki
John Hendy jw.hendy at gmail.com writes: Greetings, My company uses a few different social media platforms, including IBM Communities, Wiki Enterprise, and Sharepoint. IBM Communities are what I'm using to manage a project, and would like to use the Wiki feature to keep a dashboard on tasks and a timeline. John, I don't know if there is a generic exporter in Org 8.0. In versions prior to Org 8.0, there was a generic exporter which could be tailored for your flavor of wiki output. Will the wiki export format work for you? The down side is the styles will be inherited from IBM Communities and not your own style. - Srinivas
Re: [O] Org HTML-PDF publishing
There is a free license for non-commerical use: From princexml.com: We offer a free license for non-commercial use of Prince. This license adds a small logo to the first page of generated PDF files. Will this work for you?
Re: [O] Org HTML-PDF publishing
You might want to take a look at http://www.princexml.com/ It allows you to specify css and then print to PDF using a command line tool.
[O] article-class.org (org-article) - bugs/discrepancies
Tom, The org-article class is very helpful. Thank you. I have 2 issues with the class. Issue #1 I tried to generate the org-article.cls from the article-class.org at https://github.com/tsdye/org-article/blob/master/article-class.org. The following line in the article-class.org needs to be modified: from: #+begin_src emacs-lisp :var table=gantttest to: #+begin_src emacs-lisp :var table=gantttesttable Issue #2: I was trying to pass some options to hyperref so that the PDF file metadata gets populated with orgmode macros but unable to do so effectively. I tried the following: #+LaTeX_CLASS_OPTIONS: [koma,letterpaper,captions=tableheading,charter,10pt,listings- sv,microtype,paralist,bookmarksopen=true,colorlinks=true,linkcolor=blue, urlcolor=blue,bookmarksnumbered=true,pdftitle= {{{title}}},pdfauthor={{{author}}},pdfkeywords={{{keywords}}},pdfsubject= {{{description}}},pdfproducer=orgmode,secnums,oneside] This produces a PDF but whitespace in AUTHOR, KEYWORDS, TITLE and DESCRIPTION are not preserved. If I try to do something like pdfauthor=author, then PDF is not generated correctly (a PDF file is produced but output is garbled). The extra set of braces is not handled. Do you have any suggestions on how to pass parameters to hyperref using the macro features of orgmode? - Srinivas
[Orgmode] Re: Table cells containing more than one line
orgmode tables do not allow row or column span. table.el allows you to do that but I haven't been able to get it to work in org files. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [babel] ob-web
I don't know if anyone in this community has heard of REBOL (http:// www.rebol.com). REBOL seems ideally suited for such scripting tasks. For example, the page (http://www.rebol.com/oneliners.html) lists a number of one liners that show the potential. Here is a oneliner (#6 from the oneliners.html) to Save web page text to a file: remove-each tag page: load/markup http://www.rebol.com [tag? tag] write %page.txt page REBOL is cross platform and is under 1MB. Having support for REBOL in Babel may be useful. Disclaimer: I have no connection to REBOL's development. I have used it as a portable solution for producing HTML documentation from plain text (Makedoc - http://www.rebol.net/docs/makedoc/fastmd.html). - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Babel amp;amp; sh amp;amp; Windows
Thanks Michael, the extra echo statement did the trick. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Babel sh Windows
Hi I am trying to learn how to use Babel on a Windows system and need some help. I would like to produce the directory tree for a given directory (/bin in this example). I tried the following: #+srcname: directory-tree #+BEGIN_SRC sh :dir /bin :results output org replace :exports results tree #+END_SRC The output is as given below: #+results: directory-tree c:\binMore? My org-babel-sh-command setting is: (setq org-babel-sh-command cmd /k) What do I need to do see some output in the #+results section? Thanks in advance for you help. - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-article #+INCLUDE LaTex support
Tom, I have been trying to use the org-article LaTEX setup to get consistent look and feel across my documents. I found out that if you insert the following lines directly in a file (test.org), the desired output is produced. However if you insert the lines in an #+INCLUDE file, then the outcome is different. The settings of org-article are ignored. Test case 1: File: test.org #+OPTIONS: H:3 #+LaTeX_CLASS: org-article #+LaTeX_CLASS_OPTIONS: [koma,letterpaper,captions=tableheading,utopia,11pt,listings- sv,microtype,paralist,colorlinks=true,urlcolor=blue,secnums] #+LATEX_HEADER: \usepackage[AUTO]{inputenc} * Sample Heading1 ** Sample Heading2 *** Sample Heading3 Content goes here Test case 2: File: test.org #+include: boiler.org #+OPTIONS: H:3 * Sample Heading1 ** Sample Heading2 *** Sample Heading3 Content goes here File: boiler.org #+OPTIONS: H:2 #+LaTeX_CLASS: org-article #+LaTeX_CLASS_OPTIONS: [koma,letterpaper,captions=tableheading,utopia,11pt,listings- sv,microtype,paralist,colorlinks=true,urlcolor=blue,secnums] #+LATEX_HEADER: \usepackage[AUTO]{inputenc} It seems that when files are included, the contents of the included file are not evaluated consistently. This seems like it is more of an issue with org- mode and interpreting include file contents. - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: A LaTeX class for Org-mode export
Tom, Thanks for your quick reply. Looks like something went wrong so I reinstalled MikTex 2.8 and tried again. I started off with simple PDFs and slowly built up. I am finally able to get a pdf version that is close to yours. - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: A LaTeX class for Org-mode export
Thomas S. Dye tsd at tsdye.com writes: Tom, I tried to run and produce PDF using Miktex 2.8 on Windows (Emacs 23.1). I get an error: (C:\bin\miktex-2.8\tex\latex\inconsolata\inconsolata.sty)) ! LaTeX Error: File `nil.sty' not found. and the PDF is not produced. I am a newbie at trying LaTeX so don't know quite where to begin solving the problem. Any help is much appreciated. Any tips to solve this problem? - Srinivas PS. Attached is the log: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) entering extended mode (c:/Documents and Settings/srinivas/my documents/org-files/src/article- class.te x LaTeX2e 2009/09/24 Babel v3.8l and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded. (c:\Documents and Settings\srinivas\my documents\org-files\src\org- article.cls Document Class: org-article 2010/09/19 0.2 (TSD) (C:\bin\miktex-2.8\tex\latex\base\ifthen.sty) (C:\bin\miktex-2.8\tex\latex\tools\calc.sty) (C:\bin\miktex-2.8\tex\generic\oberdiek\ifpdf.sty) (C:\bin\miktex-2.8\tex\latex\koma-script\scrartcl.cls Document Class: scrartcl 2010/06/17 v3.06 KOMA-Script document class (article) (C:\bin\miktex-2.8\tex\latex\koma-script\scrkbase.sty (C:\bin\miktex-2.8\tex\latex\koma-script\scrbase.sty (C:\bin\miktex-2.8\tex\latex\graphics\keyval.sty) (C:\bin\miktex-2.8\tex\latex\koma-script\scrlfile.sty Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files) Copyright (C) Markus Kohm ))) (C:\bin\miktex-2.8\tex\latex\koma-script\tocbasic.sty) (C:\bin\miktex-2.8\tex\latex\koma-script\scrsize11pt.clo) (C:\bin\miktex-2.8\tex\latex\koma-script\typearea.sty Package typearea, 2010/06/17 v3.06 KOMA-Script package (type area) Copyright (C) Frank Neukam, 1992-1994 Copyright (C) Markus Kohm, 1994- Package typearea Warning: Maybe no optimal type area settings! (typearea)The maximum limit of line width is about 17% (typearea)larger than the heuristically detected line width. (typearea)You may e.g. increase DIV, decrease fontsize (typearea)or change the papersize. )) (C:\bin\miktex-2.8\tex\latex\base\fixltx2e.sty) (C:\bin\miktex-2.8\tex\latex\graphics\graphicx.sty (C:\bin\miktex-2.8\tex\latex\graphics\graphics.sty (C:\bin\miktex-2.8\tex\latex\graphics\trig.sty) (C:\bin\miktex-2.8\tex\latex\00miktex\graphics.cfg) (C:\bin\miktex-2.8\tex\latex\pdftex-def\pdftex.def))) (C:\bin\miktex-2.8\tex\latex\tools\longtable.sty) (C:\bin\miktex-2.8\tex\latex\float\float.sty) (C:\bin\miktex-2.8\tex\latex\wrapfig\wrapfig.sty) (C:\bin\miktex-2.8\tex\latex\soul\soul.sty) (C:\bin\miktex-2.8\tex\latex\base\fontenc.sty (C:\bin\miktex-2.8\tex\latex\base\t1enc.def)) (C:\bin\miktex-2.8\tex\latex\base\textcomp.sty (C:\bin\miktex-2.8\tex\latex\base\ts1enc.def)) (C:\bin\miktex-2.8\tex\latex\marvosym\marvosym.sty) (C:\bin\miktex-2.8\tex\latex\wasysym\wasysym.sty) (C:\bin\miktex-2.8\tex\latex\base\latexsym.sty) (C:\bin\miktex-2.8\tex\latex\hyperref\hyperref.sty (C:\bin\miktex-2.8\tex\generic\oberdiek\ltxcmds.sty) (C:\bin\miktex-2.8\tex\generic\oberdiek\kvsetkeys.sty (C:\bin\miktex-2.8\tex\generic\oberdiek\infwarerr.sty) (C:\bin\miktex-2.8\tex\generic\oberdiek\etexcmds.sty)) (C:\bin\miktex-2.8\tex\generic\oberdiek\pdfescape.sty (C:\bin\miktex-2.8\tex\generic\oberdiek\pdftexcmds.sty (C:\bin\miktex-2.8\tex\generic\oberdiek\ifluatex.sty))) (C:\bin\miktex-2.8\tex\generic\oberdiek\ifvtex.sty) (C:\bin\miktex-2.8\tex\latex\ifxetex\ifxetex.sty) (C:\bin\miktex-2.8\tex\latex\oberdiek\hycolor.sty (C:\bin\miktex-2.8\tex\latex\oberdiek\xcolor-patch.sty)) (C:\bin\miktex-2.8\tex\latex\oberdiek\letltxmacro.sty) (C:\bin\miktex-2.8\tex\latex\hyperref\pd1enc.def) (C:\bin\miktex-2.8\tex\generic\oberdiek\intcalc.sty) (C:\bin\miktex-2.8\tex\latex\00miktex\hyperref.cfg) (C:\bin\miktex-2.8\tex\latex\oberdiek\kvoptions.sty) Implicit mode ON; LaTeX internals redefined (C:\bin\miktex-2.8\tex\latex\ltxmisc\url.sty) (C:\bin\miktex-2.8\tex\generic\oberdiek\bitset.sty (C:\bin\miktex-2.8\tex\generic\oberdiek\bigintcalc.sty)) (C:\bin\miktex-2.8\tex\generic\oberdiek\atbegshi.sty)) * hyperref using default driver hpdftex * (C:\bin\miktex-2.8\tex\latex\hyperref\hpdftex.def (C:\bin\miktex-2.8\tex\latex\oberdiek\atveryend.sty) (C:\bin\miktex-2.8\tex\latex\oberdiek\rerunfilecheck.sty (C:\bin\miktex-2.8\tex\generic\oberdiek\uniquecounter.sty))) (C:\bin\miktex-2.8\tex\latex\paralist\paralist.sty) (C:\bin\miktex-2.8\tex\latex\microtype\microtype.sty (C:\bin\miktex-2.8\tex\latex\microtype\microtype.cfg)) (C:\bin\miktex-2.8\tex\latex\listings\listings.sty (C:\bin\miktex-2.8\tex\latex\listings\lstmisc.sty) (C:\bin\miktex-2.8\tex\latex\listings\listings.cfg)) (C:\bin\miktex-2.8\tex\latex\graphics\color.sty (C:\bin\miktex-2.8\tex\latex\00miktex\color.cfg)) (C:\bin\miktex-2.8\tex\latex\base\fontenc.sty (C:\bin\miktex-2.8\tex\latex\base\t1enc.def)) (C:\bin\miktex-2.8\tex\latex
[Orgmode] Re: row and col spaning in table?
Carsten, As a follow up to Tak's response, this points to a potential bug in org-mode when converting tables from org-mode table to table.el table: * Org Mode Table | Header 1 | Header 2 | | R1 C1-2 | | R2 C1| R2-3 C2 | | R3 C1| | * Org Mode Table converted to table.el table using C-c ~ +--+--+ | Header 1 | Header 2 | +--+--+ | R1 C1-2 | +-+ | R2 C1| R2-3 C2 | +--+--+ | R3 C1| | +--+--+ The second table is a result of hitting C-c ~ on the first table. Notice there is no '+' at the intersection at R1 C1-2, R2 C1 and R2-3 C2 It should be: +--+--+ | R1 C1-2 | +--+--+ | R2 C1| R2-3 C2 | +--+--+ | R3 C1| | +--+--+ Even after fixing the '+', the output is not the same as the one produced by table.el. Since I don't know quite how to debug in Emacs, I can only go by the produced output. Table.el produces the following for the corrected table: Input: +--+--+ | Header 1 | Header 2 | +--+--+ | R1 C1-2 | +--+--+ | R2 C1| R2-3 C2 | +--+ | | R3 C1| | +--+--+ Table.el - table-generate-source (html) output: table border=1 captionTable/caption tr td align=center valign=top Header 1 /td td align=center valign=top Header 2 /td /tr tr td colspan=2 align=left valign=top R1 C1-2 /td /tr tr td align=left valign=top R2 C1 /td td rowspan=2 align=center valign=top R2-3 C2 br / br / /td /tr tr td align=left valign=top R3 C1 /td /tr /table Orgmode output: table border=2 cellspacing=0 cellpadding=6 rules=groups frame=hsides trth scope=colHeader 1/th th scope=colHeader 2/th/tr trtdR1 C1-2/td/tr trtdR2 C1br/R3 C1/td tdR2-3 C2br//td/tr /table I know this is probably not a high priority issue/bug but I am posting the information here for completeness. Thanks again for you all your feedback. - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: row and col spaning in table?
Giovanni Ridolfi giovanni.ridolfi at yahoo.it writes: David Hajage dhajage at gmail.com writes: and I was wondering if row and col spaning was possible? Currently not. But, if this is your case, you should use the table.el package. For some reason, I haven't been able to get table.el to work properly during the org-mode publish operation. Carsten had mentioned that this functionality had been fixed in the 6.36x builds but I still haven't been able to get it to work. I would like to see a work example, if you have one. Here is my sample file: begin snip * sample table + --++ +---++ | | file | +---++ + --++ | | file | + --+| | test | test | + --++ * Org mode table | Header 1 | Header 2 | |--+--| | R1 C1| R1 C2| | R2 C1| R2 C2| | R3 C1| R3 C2| * table.el table Following table has 1 multi column cell and 1 multi row cell. +--+--+ | Header 1 | Header 2 | +--+--+ | R1 C1-2 | +-+ | R2 C1| R2-3 C2 | +--+--+ | R3 C1| | +--+--+ --- end snip ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Composing letters using org-mode and scrlttr2
If there is some general interest, I could work on making a formal patch available. Jambunathan, I would be interested in such capabilities. I would like to see a sample PDF output so that I can see the desired output. Also, I think it will be useful to see what documents (PDF versions) others have produced using org-mode and HTML or LATeX. Perhaps this can go on the Worg site. - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Writing the words in different color
This works for HTML output. The style information can be externalized to css style files by assigning class identifiers to various text elements. The relevant sections in the manual are: 12.5.2 Quoting HTML tags and 12.5.7 CSS support * Some Heading - @p style=color:blue;Point 1 in blue@/p - Some text in @span style=color:red;red@/span - Bolded text in @b style=color:green; text-decoration:underline;green@/b * Another Point #+HTML: div style=color:red; border:1px solid black; padding: 3px; background: lightyellow; Now a whole paragraph can be another color. #+HTML: /div - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Russell Adams RLAdams at AdamsInfoServ.Com writes: I routinely have to do this. My steps are: - Export org to html - Switch to the html export buffer (filename.html) - Delete the xml lines at the top until the first line is the html tag - Save the html - Open the html in Word I follow a similar process but remove all styling as well so that Word applies native styles (which could come from a Word template). This allows the look and feel of the Word document to have its own styling independent of html/css styles. I have customized org-export-html-xml-declaration as follows so that I get an xml declaration only for .xhtml or .php: '(org-export-html-xml-declaration (quote ((xhtml . ?xml version=\1.0\ encoding=\%s\?) (php . ?php echo \?xml version=\\\1.0\\\ encoding=\\\%s\\\ ?\; ? - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Additional Export options
Hi, I am checking in to see if anyone has any suggestions on achieving the above results. Thanks in advance. Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Additional Export options
I have a few questions (or possible requests) regarding the export/publish capability. 1) Is there a way to get the buffer name or file name to be output as a keyword? I would like to know the source file used to publish the content. This would result in the filename being part of the post-amble along with author nfo and creation date. For example: #+OPTION: filename:t 2) Is there a way to set a pattern for export file name? For example, if my org file is called project-notes.org, when publishing notes on a given date, I would like to have the flexiblity to name the output file using a pattern such as filename--MM-DD-author-NTS.ext, where -MM-DD is the export date. This could be specified in an option. For example: #+EXPORT_OPTION: output: filename-export-date-author-NTS.ext PS. I have seen a thread where this was briefly discussed using options as drawer properties - :EXPORT_DATE:. In this scenario the export date was hard coded. I want to have the flexibility to use the actual publish instead of hard coding it. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] orgtbl and table.el
For the table.el table, I mean to include the following. The export of such a table is garbled. Is this the desired result? * sample table + --++ | | file | + --++ | | file | + --+| | test | test | + --++ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Tables - Multiple Row and Column span
Hi, I realize that orgmode tables do not allow multiple row and column spanning in HTML (export). I also read that orgmode allows one to use table.el for specifying tables and table.el allows multiple row and column span. I haven't figured out how to combine orgmode content with table.el for tables. Is it possible to do the following? * Org mode table | Header 1 | Header 2 | |--+--| | R1 C1| R1 C2| | R2 C1| R2 C2| | R3 C1| R3 C2| * table.el table Following table has 1 multi column cell and 1 multi row cell. | Header 1 | Header 2 | |--+--| | R1 C1-2 | | R2 C1| R2-3 C2 | | R3 C1| | Can anyone please post a working example? Thanks. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-export-generic gives an error
Nathan, Nick Dokos suggested the following fix to .emacs: (if ( emacs-major-version 23) (defun characterp (obj) (and (char-or-string-p obj) (not (stringp obj) Inserting this check makes org-export-generic work for me. My Emacs version on Windows is 22.3.1. I don't know what could be the cause of error on your machine. - srinivas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode