Re: New website - back to the old unicorn!

2020-10-27 Thread Leslie Watter
The new website is awesome!
Great Work Timothy!

It also helped me discover some new/old features that org-mode has.

Congratulations and thanks for all all of your work!

Cheers,

LEslie

On Tue, Oct 27, 2020 at 9:17 AM TEC  wrote:

>
> Hi JRSS, great to hear from you!
>
> JRSS  writes:
>
> > I've been using org for two years and the new website made me
> > realize I can maybe help (with the "yes. Do this" link) simply
> > by joining the email list and help with documentation. I'm not a
> > coder (baby steps, here and there) but I've been blogging about
> > org for a while.
>
> That's brilliant! We know that the documentation could do with
> some
> work, so if that something you're willing to help improve that
> would be
> fantastic! IIRC there's been some talk previously about what the
> documentation could benefit most from --- perhaps someone else has
> a
> link. Don't hesitate to reach out if you want any help.
>
> > The website is awesome. Thanks for making it! Also, hello world.
>
> Thanks for the kind words, and for getting in touch. I look
> forward to
> seeing you around the ML :)
>
> Timothy.
>
>

-- 
Leslie H. Watter


Re: The Website Revamp: The final stretch

2020-09-28 Thread Leslie Watter
A vote for A from me.
I prefer light backgrounds when navigating except on image galleries.

Cheers,

Leslie


On Thu, Sep 24, 2020 at 11:07 PM Samuel Wales  wrote:

> i am lost about a and b and 1-2 and so on.
>
> but  i went to a tecosaur site and noticed that the old unicorn
> covering text when you use large fonts or have a low dpi monitor is no
> longer a problem, whihc is good.  i'd suggest high contrast, light on
> dark, preferably with no glaring whites anywhere.
>
> i probably didn't address any of hte questions though.  :)
>
>
> On 9/24/20, Ihor Radchenko  wrote:
> >> You can find the final 3 concepts here: https://0x0.st/ilFH.pdf, once
> >> again I'd like to encourage any feedback, and ranking of the options.
> >
> > I like A and B with slight preference towards B.
> >
> > Also, the website renders strangely in qutebrowser (see the attached
> > screenshot). Firefox renders everything just fine on the same system.
> >
> > Best,
> > Ihor
> >
> >
>
>
> --
> The Kafka Pandemic
>
> Please learn what misopathy is.
>
> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
>
>

-- 
Leslie H. Watter


Re: Need Guidance in developing and generating code using org-mode

2020-02-27 Thread Leslie Watter
Hi Kokou,

See below ;-)

On Thu, Feb 27, 2020 at 3:46 PM KOKOU AFIDEGNON 
wrote:

> Hi,
>
> Here is my sample org entry which i want to build a website for.
>
>
>1. * Home
>2. ** Design
>3. *My Sample design attempt*
>4. The journey has been quite long coupled with heuristic approaches
>5. This is an attempt to generate an html file from my blog written in
>6. org-mode.
>7. * Archives
>8. ** By Categories
>9. ** By Date
>10. ** By Author
>11. * Account
>12.
>13. ** Register
>14. - username
>15. - password
>16. - email
>17. - Gender
>18.
>19. ** Login
>20. - Username
>21. - Password
>22.
>23. ** Activate
>24.
>25. ** Logout
>
>
> I have been able to to export using C-c C-e h o
>
>
>- How do i insert my personal template with custom CSS and JS?
>
>
CSS: you'll need to read:
https://orgmode.org/manual/CSS-support.html#CSS-support

but basically add:

#+HTML_HEAD: 
#+HTML_HEAD_EXTRA: 

Javascript:
https://orgmode.org/manual/JavaScript-support.html#JavaScript-support


>
>- Under Register, and Login heading, How do i generate html forms
>which will post entries to specific destinations? and also generate code
>for capturing the data?
>
> To use forms, you'll probably will use raw HTML:

https://orgmode.org/manual/Quoting-HTML-tags.html#Quoting-HTML-tags


>
>- How do i link Activate and Logout heading to custom urls?
>
>
To change headline links you'll need to read:
https://orgmode.org/org.html#Headlines-in-HTML-export

Headlines are exported to ‘’, ‘’, etc. Each headline gets the ‘id’
attribute from ‘CUSTOM_ID’ property, or a unique generated value, see Internal
Links .

When org-html-self-link-headlines is set to a non-nil value, the text of
the headlines is also wrapped in ‘’ tags. These tags have a ‘href’
attribute making the headlines link to themselves.

You'll have to put an CUSTOM_ID to the *custom url *you'll need




> I m finding hard grasping orgmode i will be grateful if you can help
> elucidate.
>

Hope this helps

Cheers,

LEslie


-- 
Leslie H. Watter


Re: Best way to template a big table

2019-12-12 Thread Leslie Watter
Hi all,

As I've understood you want to setup the structure of the table and have
some prompts to add rows to the table.

Using org-mode I have a capture skeleton here that uses

--- org capture template
#+begin_src elisp
;;
  ("Lu" "Fuel" table-line
 (file+olp "~/org/TODO.org" "Car" "Fuel Control")
 "|%<%Y-%m-%d> | %^{Price} | %^{ototanterior} | %^{ototatual} |  |
%^{liters} |  %^{RSxl} | %^{Average} | %^{GasType}|
")
#+end_src

And at TODO.org I have the following structure

#+begin_example
 * Car
** Fuel Control

|   Date |   Price | otot anterior | otot atual | partial | Liters |
 R$/l |Average | Fuel type  |
|+-+---++--++---+---+---|
(...)

#+end_example

I've just written the structure of the table and every time I have a new
entry I use capture to fill in the table. You'll get a prompt with the name
of the strings asked.

Hope it helps.

Cheers,

LEslie


On Thu, Dec 12, 2019 at 3:33 PM Berry, Charles 
wrote:

>
>
> > On Dec 12, 2019, at 8:03 AM, Lawrence Bottorff 
> wrote:
> >
> > I just figured out that this
> >
> > #+BEGIN_SRC emacs-lisp :results table
> > '((H1 H2 H3) (text11 text12 text13) (text21 text22 text23) (... ... ...)
> (textN1 textN2 textN3))
> > #+END_SRC
> >
> > #+RESULTS:
> > | H1 | H2 | H3 |
> > | text11 | text12 | text13 |
> > | text21 | text22 | text23 |
> > | ...| ...| ...|
> > | textN1 | textN2 | textN3 |
> >
> > is probably a better way all around, i.e., "best practice." If any one
> knows how to get the horizontal lines added in. . . .
>
>
> Add an `hline' in the right place. Like this:
>
> #+BEGIN_SRC emacs-lisp :results table
> '((H1 H2 H3) hline (text11 text12 text13) (text21 text22 text23) (... ...
> ...) (textN1 textN2 textN3))
> #+END_SRC
>
> HTH,
>
> Chuck
>
>

-- 
Leslie H. Watter


Re: [O] How to avoid \title{} and \date{} in latex export

2019-04-10 Thread Leslie Watter
Hi Flavio,

If you export the whole file directly
#+TITLE:
should solve your problem.

But if you export the subsection only, you'll better add the following to
your properties drawer:


---
* My Section
:PROPERTIES:
:EXPORT_FILE_NAME:
my-filename-that-has-a-different-name-than-the-section.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_TITLE:
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:


org will then remove Title, author and date.

Hope that helps.

LEslie



On Wed, Apr 10, 2019 at 1:11 PM Flavio Leonardo Cavalcanti de Moura <
cont...@flaviomoura.mat.br> wrote:

> Hello,
>
> My org file uses a latex class that, after exporting, is in conflict with
> the lines \date{} and \title{} automatically generated by orgmode latex
> export. I already tried the following headings for the org file:
>
> 1.
>  #+TITLE:
> #+DATE:
>
> 2.
> #+TITLE:
> #+option: date:nil
>
> 3.
> #+option: title:nil date:nil
>
> But in all cases the lines
> \title{}
> \date{}
> are in the tex file automatically generated by the export engine. Is there
> a way to prevent the addition of these lines?
>
> Best regards,
> Flávio.
>
>

-- 
Leslie H. Watter


[O] bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

2018-09-21 Thread Leslie Watter
Hello all,

Just a little information:  since Dropbox update their API to 2.0
MobileOrg with this backend stopped to work, so anyone willing to use it
will have
to use either WebDAV, SSH or Local filesystem. AFAIK, there's no active
development of MobileOrg
in terms of having this issue [0] solved.

Updating the software could help more than just forking it and publishing
it with another name.  There's
some options (Orgzly, Syncthing) that can be used but none of them are as
usefull as MobileOrg.

So, if anyone could contact Matthew Jones (https://github.com/matburt) and
offer some help
I think that could be a better approach than just forking it. Unfortunately
I cannot help at this point.

Cheers,

LEslie

[0] - https://github.com/matburt/mobileorg-android/issues/501

On Thu, Sep 20, 2018 at 11:17 PM Richard Stallman  wrote:

> [[[ To any NSA and FBI agents reading my email: please consider]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> I asked
>
>   > > Is the WebDAV server code free software?  Can you talk to such a
>   > > server without any nonfree client software?
>
> Fortunately, Nicolas Goaziou 's information
> shows that using WebDAV is no problem.
>
>   > There are 2 other ways to use Android MobileOrg not included in the
>   > worg page:
>   > 1. SSH
>   > 2. Local filesystem
>
> It sounds like modifying Android MobileOrg so it used only those
> methods plus WebDAV, and not Dropbox, could result in a free program
> that could be in f-droid.  It would be useful for someone to do that
> and publish it under a different name.
>
> Once that gets done, it would be good to make Emacs encourage people to
> use _that version_ of Android MobileOrg.
>
> Until then, Emacs (including Org-mode) should not say or do anything
> that would be likely to lead users to use the existing MobileOrg.
> We should remove that text soon, and put in new text about the new
> version when that new version is available.
>
> --
> Dr Richard Stallman
> President, Free Software Foundation (https://gnu.org, https://fsf.org)
> Internet Hall-of-Famer (https://internethalloffame.org)
>
>
>
>
>
>

-- 
Leslie H. Watter


Re: [O] How to font-lock diffs?

2018-08-23 Thread Leslie Watter
Hi Marcin,

You can configure this behaviour of org-mode (setting the identation of
source blocks to 0) using the following code: (put it in your emacs config
file)

(setq org-edit-src-content-indentation 0)

Hope it helps.

Cheers,

LEslie


On Thu, Aug 23, 2018 at 4:05 PM Marcin Borkowski  wrote:

>
> On 2018-08-22, at 14:52, Nick Dokos  wrote:
>
> > Marcin Borkowski  writes:
> >
> >> Hi all,
> >>
> >> I hoped this:
> >>
> >> #+begin_src diff
> >>   @@ -1,5 +1,5 @@
> >>   -lorem
> >>   +Lorem
> >>ipsum
> >>dolor
> >>sit
> >>   -amet
> >>   +amet.
> >> #+end_src
> >>
> >> would Just Work™, i.e., the diff would be font-locked like in
> >> diff-mode.  Well, it is not.  How do I convince Org-mode to color my
> >> diffs?
> >>
> >
> > By somehow elimintating the indentation perhaps?
>
> Thanks Nick (and John, in previous message).  This works indeed.
>
> However, double C-c ' on the source block reintroduces the
> indentation...
>
> Still, I can live with it as-is.
>
> Best,
>
> --
> Marcin Borkowski
> http://mbork.pl
>
>

-- 
Leslie H. Watter


Re: [O] generate PDF with matching new-lines in quotation C-u C-c C-e

2018-08-01 Thread Leslie Watter
Hallo Van,

On Wed, Aug 1, 2018 at 7:51 AM Van L  wrote:

> Thank you,
>
> > You can force a newline in LaTeX putting '\\' at the end of the line(as
> the last chars on the line).
>
> Yes. The file sample2e.tex demonstrates the use of '\\' in the 'verse'
> environment.
>
> I now have the following wanting to fully justify the lines but it doesn’t.
>

Well, you must choose what do you want. If you let LaTeX fully justify your
text, you don't control line endings, otherwise you can put \\ to say 'Hey
I want a line ending here'.

If you want a shorter quoting you could use a different size to \parbox.

As an example you can use  * \parbox{0.7\linewidth}*
to limit the parbox to 70% of your linewidth.

Cheers,

LEslie


> #+BEGIN_SRC latex :noexport:
>   \parbox{\linewidth}{\small
>   war. The longer a war lasts, the more things tend to depend on
> acci-\\
>   dents. Neither you nor we can see into them: we have to abide their\\
>   outcome in the dark. And when people are entering upon a war they\\
>   do things the wrong way round. Action comes first, and it is only\\
>   when they have already suffered that they begin to think. We, how-\\
>   ever, are still far removed from such a mistaken attitude; so, to
> the\\
>   best of our belief, are you. And so we urge you, now, while we are\\
>   both still free to make sensible decisions, do not break the peace,\\
>   do not go back upon your oaths; instead let us settle our
> differences\\
>   by arbitration, as is laid down in the treaty. If you will not do
> so, we\\
>   shall have as our witnesses the gods who heard our oaths. You will\\
>   have begun the war, and we shall attempt to meet you in any and\\
>   every field of action that you may choose.}
> #+END_SRC



-- 
Leslie H. Watter


Re: [O] generate PDF with matching new-lines in quotation C-u C-c C-e

2018-07-30 Thread Leslie Watter
Hello,

On Mon, Jul 30, 2018 at 11:37 AM Van L  wrote:

> Hello,
>
> Is it possible to produce in PDF the following passage with matching
> new-lines?
>

You can force a newline in LaTeX putting '\\' at the end of the line(as the
last chars on the line).

You can try this:

> #+NAME: page-56-57
> #+BEGIN_SRC latex :export:
>   \begin{quotation}
>   war. The longer a war lasts, the more things tend to depend on
> acci-\\
>   dents. Neither you nor we can see into them: we have to abide their
> \\
>   outcome in the dark. And when people are entering upon a war they\\
>   do things the wrong way round. Action comes first, and it is only\\
>   when they have already suffered that they begin to think. We, how-\\
>   ever, are still far removed from such a mistaken attitude; so, to the
> \\
>   best of our belief, are you. And so we urge you, now, while we are\\
>   both still free to make sensible decisions, do not break the peace,
> \\
>   do not go back upon your oaths; instead let us settle our differences
> \\
>   by arbitration, as is laid down in the treaty. If you will not do
> so, we\\
>   shall have as our witnesses the gods who heard our oaths. You will\\
>   have begun the war, and we shall attempt to meet you in any and\\
>   every field of action that you may choose.\\
>   \end{quotation}
> #+END_SRC
>

Cheers,

LEslie


-- 
Leslie H. Watter


[O] pt_BR translation of org-export-dictionary

2018-07-23 Thread Leslie Watter
Hi Folks,

I've attached a patch that fixes some strings in pt_BR translations and
provide the strings that were missing.

Hope this helps others.

I think this could apply as a tinychange, right?

Cheers,

LEslie
-- 
Leslie H. Watter
From 90483def2bfe69d9471ca5480112fd23230e98e8 Mon Sep 17 00:00:00 2001
From: "Leslie H. Watter" 
Date: Mon, 23 Jul 2018 10:35:01 -0300
Subject: [PATCH] pt_BR added/fixed translations of org-export-dictionary

---
 lisp/ox.el | 17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index ea7d1dc81..e20fb2782 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5707,6 +5707,7 @@ them."
  ("ja" :default "前ページからの続き")
  ("nl" :default "Vervolg van vorige pagina")
  ("pt" :default "Continuação da página anterior")
+ ("pt_BR" :html "Continuao da pgina anterior" :ascii "Continuacao da pagina anterior" :default "Continuação da página anterior")
  ("ru" :html "()"
   :utf-8 "(Продолжение)")
  ("sl" :default "Nadaljevanje s prejšnje strani"))
@@ -5720,11 +5721,13 @@ them."
  ("ja" :default "次ページに続く")
  ("nl" :default "Vervolg op volgende pagina")
  ("pt" :default "Continua na página seguinte")
+ ("pt_BR" :html "Continua na prxima pgina" :ascii "Continua na proxima pagina" :default "Continua na próxima página")
  ("ru" :html "( )"
   :utf-8 "(Продолжение следует)")
  ("sl" :default "Nadaljevanje na naslednji strani"))
 ("Created"
  ("cs" :default "Vytvořeno")
+ ("pt_BR" :default "Criado em")
  ("sl" :default "Ustvarjeno"))
 ("Date"
  ("ar" :default "بتاريخ")
@@ -5844,6 +5847,7 @@ them."
  ("ja" :default "ソースコード目次")
  ("no" :default "Dataprogrammer")
  ("nb" :default "Dataprogrammer")
+ ("pt_BR" :html "ndice de Listagens" :default "Índice de Listagens" :ascii "Indice de Listagens")
  ("ru" :html " "
   :utf-8 "Список распечаток")
  ("sl" :default "Seznam programskih izpisov")
@@ -5861,7 +5865,7 @@ them."
  ("no" :default "Tabeller")
  ("nb" :default "Tabeller")
  ("nn" :default "Tabeller")
- ("pt_BR" :default "Índice de Tabelas" :ascii "Indice de Tabelas")
+ ("pt_BR" :html "ndice de Tabelas" :default "Índice de Tabelas" :ascii "Indice de Tabelas")
  ("ru" :html " "
   :utf-8 "Список таблиц")
  ("sl" :default "Seznam tabel")
@@ -5894,7 +5898,7 @@ them."
  ("ja" :default "ソースコード%d:")
  ("no" :default "Dataprogram %d")
  ("nb" :default "Dataprogram %d")
- ("pt_BR" :default "Listagem %d")
+ ("pt_BR" :default "Listagem %d:")
  ("ru" :html " %d.:"
   :utf-8 "Распечатка %d.:")
  ("sl" :default "Izpis programa %d")
@@ -5905,16 +5909,19 @@ them."
  ("fr" :ascii "References" :default "Références")
  ("de" :default "Quellen")
  ("es" :default "Referencias")
+ ("pt_BR" :html "Referncias" :default "Referências" :ascii "Referencias")
  ("sl" :default "Reference"))
 ("See figure %s"
  ("cs" :default "Viz obrázek %s")
  ("fr" :default "cf. figure %s"
   :html "cf.figure%s" :latex "cf.~figure~%s")
+ ("pt_BR" :default "Veja a figura %s")
  ("sl" :default "Glej sliko %s"))
 ("See listing %s"
  ("cs" :default "Viz program %s")
  ("fr" :default "cf. programme %s"
   :html "cf.programme%s" :latex "cf.~programme~%s")
+ ("pt_BR" :default "Veja a listagem %s")
  ("sl" :default "Glej izpis programa %s"))
 ("See section %s"
  ("ar" :default "انظر قسم %s")
@@ -5935,6 +5942,7 @@ them."
  ("cs" :default "Viz tabulka %s")
  ("fr" :default "cf. tableau %s"
   :html "cf.tableau%s" :latex "cf.~tableau~%s")
+ ("pt_BR" :default "Veja a tabela %s")
  ("sl" :default "Glej tabelo %s"))
 ("Table"
  ("ar" :default "جدول")
@@ -5962,7 +5970,7 @@ them."
  ("no" :default "Tabell %d")
  ("nb" :default "Tabell %d")
  ("nn" :default "Tabell %d")
- ("pt_BR" :default "Tabela %d")
+ ("pt_BR" :default "Tabela %d:")
  ("ru" :html " %d.:"
   :utf-8 "Таблица %d.:")
  ("sl" :default "Tabela %d")
@@ -6004,8 +6012,7 @@ them."
  ("et" :default "Tundmatu viide")
  ("fr" :ascii "Destination inconnue" :default "Référence inconnue")
  ("ja" :default "不明な参照先")
- ("pt_BR" :default "Referência desconhecida"
-  :ascii "Referencia desconhecida")
+ ("pt_BR" :html "Referncia desconhecida" :default "Referência desconhecida" :ascii "Referencia desconhecida")
  ("ru" :html " "
   :utf-8 "Неизвестная ссылка")
  ("sl" :default "Neznana referenca")
-- 
2.17.0



Re: [O] N tasks per week with sexp diary entries

2018-02-15 Thread Leslie Watter
Hi Gour,

What I've done is create a separate header for every time I have an
appointment on such exercise and re-enter the schedule for that week.

You can see an example at https://pastebin.com/gULUBspW.

Hope it helps.

Cheers,

LEslie

On Thu, Feb 15, 2018 at 6:08 PM, Saša Janiška  wrote:

> On Thu, 15 Feb 2018 12:42:12 +
> Eric S Fraga  wrote:
>
> > Not sure if this is possible or not with sexp entries but maybe look
> > at habits which sound like what you want to do?
>
> That is simple - there are guided programs for exercizing which are
> created by having fixed numbers of workouts per week, but not every
> day, and since my daily obligations do differ from week to week, I'd
> like to track those workouts and be sure that I'm on the track with
> predestined number per week.
>
>
> Sincerely,
> Gour
>
> --
> He who is regulated in his habits of eating, sleeping, recreation
> and work can mitigate all material pains by practicing the yoga system.
>



-- 
Leslie H. Watter


Re: [O] org-display-inline-images not displaying images

2017-10-31 Thread Leslie Watter
Thanks Eric,

changing ./images/  to file:./images/

Solved this issue.

Cheers,

LEslie


On Tue, Oct 31, 2017 at 5:49 AM, Eric S Fraga <esfli...@gmail.com> wrote:

> On Monday, 30 Oct 2017 at 21:39, Leslie Watter wrote:
> > Hi folks,
> >
> > Does the org-display-inline-images behavior was changed from 9.0.10 up ?
> >
> > I'm facing some trouble with it -- from 9.0.10 up images are'nt being
> > displayed .
> >
> > Same configuration, the only change was org-version.
> >
> > How I'm calling:
> >
> > --
> >
> > #+CAPTION: Criando novo Projeto Maven
> > #+LABEL:
> >
> > [[./images/git/eclipse/l/novo-projeto-maven.png]]
> > --
>
> Maybe (haven't tested) add the "file:" link type to the file name?
>
> --
> : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f
>



-- 
Leslie H. Watter


[O] org-display-inline-images not displaying images

2017-10-30 Thread Leslie Watter
Hi folks,

Does the org-display-inline-images behavior was changed from 9.0.10 up ?

I'm facing some trouble with it -- from 9.0.10 up images are'nt being
displayed .

Same configuration, the only change was org-version.

How I'm calling:

--
#+CAPTION: Criando novo Projeto Maven
#+LABEL:
[[./images/git/eclipse/l/novo-projeto-maven.png]]
--

One weird thing is that, if I generate the image using a ditaa source code,
this image got displayed correctly, but the others dont. Both are PNG
files.

Does anyone has any hint ?

Thanks in advance,

LEslie


-- 
Leslie H. Watter


Re: [O] *Good* client for Android?

2017-10-13 Thread Leslie Watter
Dropbox has quitted their v1 API access a few days ago (Sept 28th), so
probably your problem with Dropbox will be everyone' s using MobileOrg
(including myself) and Dropbox.

Unfortunatelly I won' t have time to tackle with this until December 15th,
but I'm planning to upgrade MobileOrg's Dropbox API support (and perhaps
add a few new features).

Cheers,

LEslie

On Fri, Oct 13, 2017 at 10:49 AM, Eric S Fraga  wrote:

> On Friday, 13 Oct 2017 at 08:34, John Goerzen wrote:
>
> [...]
>
> > The bitrot is a big concern.  Android moves pretty fast, and something
> > that was last updated in 2013 is likely to not play well with a phone on
> > Oreo (such as mine).  I could be surprised, I suppose.
>
> I agree with the concern but I must admit at being quite impressed how
> robust MobileOrg seems to be with respect to changes in Android
> versions.  I've been using it for quite a few years now and have gone
> through various phones/tablets and multiple versions of Android without
> any issues.
>
> The problem with Dropbox is due to Dropbox and not Android.
>
> --
> : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-98-g0b8316
>



-- 
Leslie H. Watter


Re: [O] org export: how to avoid putting :export: in the exported file?

2017-08-24 Thread Leslie Watter
Hi Rainer,

you could use:

#+OPTIONS: tags:nil

in you file.

You can take a look at http://orgmode.org/manual/Export-settings.html  to
more options if you like.

Cheers,

LEslie

On Thu, Aug 24, 2017 at 9:54 AM, Rainer Thiel  wrote:

> I often export org-files, most of the time to LaTeX/pdf, but the
> behaviour/problem is alike with many export filters.
>
> Let us say I want to export an org-file that runs like this:
>
> > * First Section
> > Some text
> > * Second Section :export:
> > Some more text
> > * Third Section
> > Even more text
>
> When I export this file to an ASCII buffer, the result is:
>
> > 1 Second Section:export:
> > 
> >
> >   Some more text
>
> (note «:export:» in the first line on the right)
>
> Likewise, in the case of a LaTeX export, the tag «export» is put in
> small caps in the exported file, with odt export in small caps and
> square brackets.  Of course, it is easy to remove the tag in the output
> file.  But I often export to pdf via LaTeX and automatically have
> deleted all intermediate files including the LaTeX file.  So it would
> save me time to avoid putting the tag in the file in the first place.
>
> So, how can I avoid getting the «export» tag put in the output file?
>
> Thanks in advance,
>
> Rainer
> --
> Prof. Dr. Rainer Thiel
> Institut für Altertumswissenschaften
> 07737 Jena, Germany (EU)
> r.th...@uni-jena.de
>
>


-- 
Leslie H. Watter


Re: [O] Git repository error

2017-05-27 Thread Leslie Watter
I can reproduce the same behaviour here:

leslie@colossus:~/scm$ git clone git://orgmode.org/w/org-mode.git org-git
Cloning into 'org-git'...
fatal: read error: Conexão fechada pela outra ponta

leslie@colossus:~/scm$ git clone git://orgmode.org/org-mode.git org-git
Cloning into 'org-git'...
fatal: read error: Conexão fechada pela outra ponta

leslie@colossus:~/scm$  git clone git://repo.or.cz/org-mode.git org-git
Cloning into 'org-git'...
remote: Counting objects: 106847, done.
Receiving objects:   5% (6155/106847), 1.57 MiB | 27.00 KiB/s
.



Cheers

Leslie


On Sat, May 27, 2017 at 5:50 PM, John Hendy  wrote:

> On Thu, May 25, 2017 at 6:10 PM, Vicente Vera 
> wrote:
> > Hi. For a while i've been getting this error upon running 'make up0'
> > from my local Org repository:
> >
> > fatal: read error: Connection reset by peer
>
> I pulled just the other day and it worked, but I use http because git
> doesn't work for me behind my corporate firewall.
>
> $ git remote -v
> origin http://orgmode.org/org-mode.git (fetch)
> origin http://orgmode.org/org-mode.git (push)
>
> I just cloned via http successfully, but get the "reset by peer"
> message via git protocol (with or without the /w/ in the URL other's
> have mentioned):
>
> $ git clone git://orgmode.org/w/org-mode.git org-git
> Cloning into 'org-git'...
> fatal: read error: Connection reset by peer
>
> $ git clone git://orgmode.org/org-mode.git org-git
> Cloning into 'org-git'...
> fatal: read error: Connection reset by peer
>
> Something must be up with the main site. The mirror works:
>
> $ git clone git://repo.or.cz/org-mode.git org-git
> Cloning into 'org-git'...
> remote: Counting objects: 106847, done.
> remote: Total 106847 (delta 0), reused 0 (delta 0)
> Receiving objects: 100% (106847/106847), 80.33 MiB | 572.00 KiB/s, done.
> Resolving deltas: 100% (83923/83923), done.
>
>
>
> John
>
>


-- 
Leslie H. Watter


Re: [O] ANN: org-sticky-header

2017-04-18 Thread Leslie Watter
I really liked it. I'm editing a huge document and it helps a lot having
the clue in which header I am!

Thanks

LEslie

On Tue, Apr 18, 2017 at 2:22 PM, Eric S Fraga  wrote:

> On Tuesday, 18 Apr 2017 at 13:55, Carsten Dominik wrote:
> > Hahaha, stupid me, full outline path is already implemented.
>
> It is indeed but it would still be nice to have it in reverse order, as
> you suggested in an earlier post.  My top level headline overwhelms the
> header...
>
> --
> Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
>



-- 
Leslie H. Watter


[O] exclude_tags stoppped working at 9.0.5?

2017-02-17 Thread Leslie Watter
Hi Folks,

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie



-- 
Leslie H. Watter


[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie


-- 
Leslie H. Watter


[O] [SOLVED] Re: exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Leslie Watter
Hi,

On Fri, Feb 17, 2017 at 2:32 PM, Nick Dokos <ndo...@gmail.com> wrote:

> Leslie Watter <les...@watter.net> writes:
>
> > Hi Folks,
> >
> > I've tried org-lint on the files of these pastebin:
> >
> > http://pastebin.com/p7D3Qwd6
> >
> > which are the same files but with tags on headlines, and it returned
> nothing to me, but again, I still
> > have
> > headings with :gabarito: exported to latex.
>
> The org-lint comment was a sideline: as Nicolas said, the problem is
> that empty headlines with tags are ambiguous: the following
>
> ***  :foo:
>
> is interpreted as a headline ":foo:" with no tag, not as an empty
> headline with tag :foo: - the workaround is not to have empty
> headlines:
>
> *** baz  :foo:
>


Thanks ! This works as expected !

Thanks a lot!


Cheers,

LEslie


Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-17 Thread Leslie Watter
Hi Folks,

I've tried org-lint on the files of these pastebin:

http://pastebin.com/p7D3Qwd6

which are the same files but with tags on headlines, and it returned
nothing to me, but again, I still have
headings with :gabarito: exported to latex.

Even using a fresh installation of spacemacs as a test (just to remove any
pre-configuration I had) it acts the same, exporting gabarito sections.

Any hints ?

Cheers,

Leslie

On Fri, Feb 17, 2017 at 10:25 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Nick Dokos <ndo...@gmail.com> writes:
>
> > Nick Dokos <ndo...@gmail.com> writes:
> >
> >> Leslie Watter <les...@watter.org> writes:
> >>
> >>
> >>> ** First Section
> >>>
> >>> At 1st
> >>>
> >>> ***
> :professor:
> >>> This should not appear on t.pdf
> >>> ---
> >>>
> >> You might try running org-lint.
> >
> > Actually, I don't think org-lint detects empty headlines.
>
> Empty headlines are supported but an empty headline with tags is
> ambiguous. Currently Org prefers to see a headline with ":professor:"
> title and no tag.
>
> I added a checker in Org Lint. Thank you.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
>


-- 
Leslie H. Watter


[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie




-- 
Leslie H. Watter


[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie


-- 
Leslie H. Watter

-- 
Leslie H. Watter


Re: [O] pagebreak

2016-07-27 Thread Leslie Watter
Hi Uwe,

On Tue, Jul 26, 2016 at 6:52 PM, Uwe Brauer  wrote:

>
>> Uwe Brauer  writes:
>
>> Can you try the attached styles.xml? I just moved the style to another
>> place and I get the page break (whereas I did not get it with your
>> original styles.xml). But I really don't know the rules: somebody else
>> might be able to offer some enlightenment (assuming that it even
> works).
>
> It works! Great thanks, so it seems important where to put
>
>  style:parent-style-name="Text_20_body">
> 
> 
>
> In the styles.xml file
>

Where in styles.xml did you put the above statement ?

Cheers,

LEslie



>
> Uwe
>
>
>


-- 
Leslie H. Watter


Re: [O] how to speed up an org-mode file?

2016-07-12 Thread Leslie Watter
IMHO if you can split the file in more than one .org file you'll get a
better experience.

I've been working on machines with less than 8Gb of ram in files that are
bigger than yours ( 1.2Mb org with lots of latex, R and other things )
and haven't got a trouble.

One thing that 've noticed is that, if I start the whole text shown,
manipulating the file is much slower than if I got only the section I'll
work on at that time. You'll probably should give it a try, e.g. opening
only the section you'll work on.

Cheers,

Leslie



On Mon, Jul 11, 2016 at 10:32 PM, Grant Rettke 
wrote:

> Try approaching this the same way that you would prepare an ECM:
>
> http://orgmode.org/worg/org-faq.html
>
> Start Emacs with a stable version of Org-Mode, without any additional
> configuration.
>
> Is the performance what you expect?
>
> FWIW: two things that sped up my rather small in comparison Org-Mode files
> were:
> - Switching from linum to nlinum
> - #+STARTUP: showeverything
>
>
> Sincerely,
>
> Grant Rettke
>
> On Sun, Jul 10, 2016 at 9:37 AM, Sharon Kimble  > wrote:
>
>>
>> I'm working on an org-mode file about cancer which is 945.1kb, is
>> converted to a tex file of 1.0mb and a pdf of 2.0mb with 505 pages. The
>> conversion is done through this code snippet '(global-set-key (kbd
>> "s-#") 'org-latex-export-to-latex)'. There is no problem with the
>> conversion to tex or conversion to pdf.
>>
>> However, the org-mode file is increasingly slowing down and becoming
>> difficult to move about within the file, and also enter new information
>> within it.
>>
>> How then can I speed it up within the org file please?
>>
>> Thanks
>> Sharon.
>> --
>> A taste of linux = http://www.sharons.org.uk
>> TGmeds = http://www.tgmeds.org.uk
>> Debian 8.4, fluxbox 1.3.7, emacs 25.0.95
>>
>
>


-- 
Leslie H. Watter


Re: [O] latex newcommand in org

2016-05-20 Thread Leslie Watter
You can use also macros in combination with latex \newcommand:

Following there's a sample with html:

#+MACRO: color @@html:$2@@
# macro sample: {{{color(red, aceitação)}}}


Note: untested with latex newcommand1


Cheers,

LEslie



On Fri, May 20, 2016 at 4:50 PM, Marcin Borkowski  wrote:

>
> On 2016-05-20, at 20:45, Eric S Fraga  wrote:
>
> > On Friday, 20 May 2016 at 18:10, Doyley, Marvin M. wrote:
> >> Hi there,
> >>
> >> In my group, we typically response to reviewers comments (in latex) by
> first defining the  following command in the header
> >>
> >> \newcommand{\response}[1]{\textcolor{red}{#1}}
> >> then marking up the text as follows
> >>
> >> \response{red text}
> >>
> >> I try to do the same in org,  i.e., putting
> >>  #+latex_header:\newcommand{\response}[1]{\textcolor{red}{#1}}
> >> then \response{BLAH BLAH} in the text. The only snag is that on export
> I get \response\{BLAH BLAH\}
> >
> > Easiest solution is @@latex:\response{blah blah}@@ but that will lose
> you
> > all the org formatting.  Longer solution is to use environments, such as
> >
> > #+begin_response
> > blah blah blah
> > #+end_response
> >
> > and define a "response" LaTeX environment, along these lines:
> >
> > #+latex_header:
> \makeatletter\newenvironment{response}{\textcolor{red}}{}\makeatother
> >
> > (untested)
>
> Notice also that commands and environments in LaTeX are not
> interchangeable; there are things only commands can do and things only
> environments can do.  (Well, not really - technically, I guess,
> environments are strictly more powerful than commands, though I'm not
> 100% sure - but some things are quite difficult to do with environments
> and trivial with commands.)
>
> See also
>
> http://tex.stackexchange.com/questions/102141/what-are-the-consideration-when-choosing-either-newcommand-or-newenvironment
>
> Best,
>
> --
> Marcin Borkowski
> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
> Faculty of Mathematics and Computer Science
> Adam Mickiewicz University
>
>


-- 
Leslie H. Watter