Home

Anonymous Dmitry Shachnev Spamalot

This wiki is obsolete. You can find the actual documentation in the new wiki on GitHub.


Discussion

<< < 1 2 3 4 5 6 > >> (Page 4 of 6)
  • Anonymous - 2014-03-29

    ReText 4.1.2 workes for me now as external toll within JetBrains http://www.jetbrains.com/
    apps (PyCharm) ReText 4.1.1 somehow did hang

    thanks a lot

     
  • GlennSmth

    GlennSmth - 2014-04-03

    Hi, I'm new te ReText. I've looked in the wiki but couldn't find the answer to my question. I want to use spellcheck in french. I added "fr", "fr-fr" and "FR" but always get the error "Dictionary for language 'xx' could not be found". Where is ReText looking for the dictionary? How do I get additional dictionaries? Thx.

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-04-08

      ReText is using Enchant, which supports different backends.

      If you install French dictionary for aspell/myspell/voikko/etc, that should work.

       
      • GlennSmth

        GlennSmth - 2014-04-08

        OK, found how to install the dictionary (it's aspell on my system) - but now I have the badly spelled words underlined correctly, but no action if I right-click. A problem to communicate with aspell ? Is there a logfile somewhere that I can look at ?
        Thanks, in advance.

         
        • Dmitry Shachnev

          Dmitry Shachnev - 2014-04-12

          Does this Python code work for you?

          import enchant
          d = enchant.Dict()
          d.suggest(SOME WORD)
          

          It looks like aspell backend should support suggestions, so I don't know what may be wrong here.

           
  • GlennSmth

    GlennSmth - 2014-04-15

    Hi, yes that works OK. But the suggestions are coded rather strangely, here's an example:

    Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
    [GCC 4.6.3] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import enchant
    >>> d = enchant.Dict("fr")
    >>> d.suggest("pere")
    ['p\xc3\xa8re', 'p\xc3\xa8res', 'perce', 'perc\xc3\xa9',    'perde','perle'\xa9', 'p\xc3\xa9ri', 'p\xc3\xaane']
    

    I have also noticed that I have to re-specify the language each time I start ReText : it doesn't memorize it.

     
    Last edit: Dmitry Shachnev 2014-04-15
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-04-15

      Please try with Python 3, not Python 2. There should be a different result there (at least without \xAB stuff).

      Also, when you run ReText and right-click on the highlighted word, are any errors printed on the console?

       
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-04-16

      I have also noticed that I have to re-specify the language each time I start ReText: it doesn't memorize it.

      Which version of ReText are you using? With 4.1, you should have a "Set as default" checkbox in the dialog.

       
  • GlennSmth

    GlennSmth - 2014-04-15

    OK, you're right (I didn't think about p3 vs p2). The suggestions are in correct UTF8. No, nothing is reported back to the console when I right-click.

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-04-16

      I have installed aspell-fr package, and I do get the suggestions list when I right-click on the wrongly spelled word.

      Can you please open your ReText/editor.py file, find the “for action in actions[::-1]:” line there (line 101 for me), and insert “print(actions)” line before it (without quotes). Then start ReText and tell me if something is printed.

      Also, if you are using version lower then 4.1, please upgrade.

       
  • Anonymous - 2014-04-25

    I always get: Unknown interpreted text role "ref".

    any workaround available.

    ReText 4.1.2
    ubuntu 13:10
    python 3.4

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-04-28

      There is no role ref in pure reStructuredText. It is a Sphinx-specific role as far as I know.

       
  • Anonymous - 2014-05-17

    Thanks for a great program. I've noticed some interesting behavior when printing from within ReText.

    If I have "Use Webkit renderer" checked then I get the following:

    1. Lines at the bottom of the page are often split in two with the top half of the line on one page and the bottom half on the next page.
    2. No page numbers at the bottom right corner of the page,
    3. Images don't print.
    4. But, blockquotes are properly indented.

    If I do not check "Use Webkit renderer" then see the following:

    1. I don't get the split lines
    2. I do get the page numbers
    3. I do get my images.
    4. But, my blockquotes are only slightly indented.

    Is there a way to get the best of both settings -- properly indented blockquotes and lines that don't get split at the end of the page? I know I can export to HTML and then print from my browser, but I'd like to do everything from within ReText itself if possible.

    Also, is there a way to permanently set the page margins when printing from within ReText? Either with or without Webkit checked the margins are too narrow for my taste. I'm currently using ReText 4.1.2 with Ubuntu 12.04.

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-05-19

      Unfortunately I can't do anything about this since printing is totally managed by Qt and ReText has no control over it.

      Images don't print.

      This is strange. Does making paths absolute help?

      But, my blockquotes are only slightly indented.

      Vote for https://bugreports.qt-project.org/browse/QTBUG-30634 :)

      Also, is there a way to permanently set the page margins when printing from within ReText?

      Not permanently, but you can set margins in the printer properties dialog (use the button near the printer selection box).

       
      • Anonymous - 2014-05-20

        Thanks for the help. It's still a great program.

         
  • Anonymous - 2014-05-18

    For whatever reason, my ReText on Ubuntu no longer displays boldface or headings in bold type. Italics appears as italics, but I've lost boldface. Not sure why this has happened.

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-05-19

      I think there was a bug on Ubuntu 12.04, it was fixed in later Ubuntu versions.

      Try setting/changing the default font (using the "Change default font" menu option), the DejaVu Sans is known to work fine, but most other options should also work.

       
      • Anonymous - 2014-05-20

        Thank you. Changing the editorFont setting to "DejaVu Sans" fixed it.

         
  • Anonymous - 2014-06-03
    ==> Downloading https://downloads.sourceforge.net/project/retext/ReText-4.0/ReText-4.0.0.tar.gz
    Already downloaded: /Library/Caches/Homebrew/retext-4.0.0.tar.gz
    ==> python setup.py install --prefix=/usr/local/Cellar/retext/4.0.0
    Warning: Formula#python is deprecated and will go away shortly.
    Error: undefined method `xy' for #<PythonDependency: "python" []>
    Please report this bug:
        https://github.com/Homebrew/homebrew/wiki/troubleshooting
    /usr/local/Library/Taps/samueljohn/homebrew-python/retext.rb:26:in `install'
    /usr/local/Library/Homebrew/build.rb:172:in `install'
    /usr/local/Library/Homebrew/formula.rb:267:in `brew'
    /usr/local/Library/Homebrew/formula.rb:588:in `stage'
    /usr/local/Library/Homebrew/resource.rb:62:in `unpack'
    /usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
    /usr/local/Library/Homebrew/resource.rb:59:in `unpack'
    /usr/local/Library/Homebrew/resource.rb:52:in `stage'
    /usr/local/Library/Homebrew/formula.rb:586:in `stage'
    /usr/local/Library/Homebrew/formula.rb:262:in `brew'
    /usr/local/Library/Homebrew/build.rb:149:in `install'
    /usr/local/Library/Homebrew/build.rb:43:in `main'
    /usr/local/Library/Homebrew/build.rb:10
    

    /usr/local/Library/Taps/samueljohn/homebrew-python/retext.rb:33

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-06-03

      This has nothing to do with ReText. Please report the bug to Homebrew as suggested in this message.

      P.S. 4.0.0 is outdated version of ReText, the latest one is 4.1.2.

       
  • Anonymous - 2014-07-07

    Hello! All that's necessary for a Homebrew install is now:

    brew tap homebrew/python
    brew install retext

    The dependencies are handled automatically.

    Thanks,
    Tim

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-07-12

      Thanks, page updated. It is wiki, so you could just update it yourself.

       
  • Anonymous - 2014-07-29

    http://sourceforge.net/p/retext/wiki/Home/?limit=25&page=3#c99c

    just to let you know: Version 5.0.0 hangs again in PyCharm
    ReText-4.1.3 opens normal

    python 3.4.1

     
    • Dmitry Shachnev

      Dmitry Shachnev - 2014-07-30

      Sorry, I don't use JetBrains. How does it exec ReText? Do you have a commandline?

      Also, maybe you can get a traceback for the point where it hangs?

       
  • Anonymous - 2014-10-23

    I just wanted to report a strange behavior with ReText 5. I was running it on Ubuntu 14.04LTS. I installed it from the ppa (thank you for updtating it). When running version 5, I noticed that some of the ctrl-key functions no longer worked. Specifically, Ctrl-l no longer popped up the live preview pane. Instead, I just got an "l" in my text. The same happened with Ctrl-f. Instead of the find dialog, I got an "f" in my text. I uninstalled it and reverted back to version 4.1.2, which works fine in this regard.

     
<< < 1 2 3 4 5 6 > >> (Page 4 of 6)


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks