several minor set-up questions

PatrickT
2012-02-16
2012-10-17
  • PatrickT
    PatrickT
    2012-02-16

    I've been using TexStudio for a couple of months now and am very happy. I've
    just had to have a new install, where I'm trying to set my system up as
    quickly as possible. I have a few minor remarks and questions of low priority:

    1. to remove the toolbar in the internal pdf viewer, you have to go to Menu: Windows --> Show instead of the more intuitive Menu: View. Wasted a whole minute on this.

    Generally speaking, an easier access to all the toolbar options in the main
    menu, probably under View, would be useful.

    1. in texstudio main window, I can remove the shortcuts of the central vertical separator in one right-click of the mouse, but for the left-hand side shortcuts, on the left of "structure" I have to right-click them off one by one, takes at least one minute. Besides, it does not appear possible to obtain the same result from the menu without a mouse (or at least, not easily), it would be nice to have a simple "show/hide vertical shortcut toolbar" in Menu: View

    2. is it possible to either resize or remove the line numbers on the left-hand side of the main editor? I use a 20pt font, very large, and that also increases the size of the numbers indicating the line numbers, but while I'd like the main font to be large I don't need the line number font to be large.

    3. I accidentally edited a shortcut from F10 (or something) to simply F, while intending it to remove it altogether. It was a strange experience when I tried to type an f. A warning might be usefully added along the lines of "you are attempting to assign a letter of the alphabet to a shortcut, are you sure you want to do that?". The existing warnings about attempting to use an existing shortcut combination are very useful.

    4. I think I have in the past managed to remove the bottom "status" toolbar, but maybe not, anyhow now I'd like to but can't find the way. If there's a way, it would be useful to find it listed with the other toolbars, in the main Menu under View.

    5. This is probably a matter of personal preference, but I'm used to using "CTRL+TAB" to shift between opened documents. It's a little trick to select that as a shortcut, you need to type it explicitly, just typing the two keys won't work. Once set up, it works great. I also assign a simple shortcut to viewing "structure" and the "messages/log file." It's very nice that it's listed under View. I don't know if there's a case for assigning shortcuts by default...

    I really like the flexibility offered by all the Texstudio options. Great
    work!

     
  • PatrickT
    PatrickT
    2012-02-16

    forgot to add: disabling tool tips and auto-completion of parentheses should
    be easier to do, in my opinion.

     
    1. to remove the toolbar in the internal pdf viewer, you have to go to Menu:
      Windows --> Show instead of the more intuitive Menu: View. Wasted a whole
      minute
      on this.
      The idea is that window contains all items affecting the window itself
      and view
      only the items affecting the pdf text. (so "full screen" and "presentation"
      should actually be moved from view to window)
    2. in texstudio main window, I can remove the shortcuts of the central
      vertical
      separator in one right-click of the mouse, but for the left-hand side
      shortcuts,
      on the left of "structure" I have to right-click them off one by one, takes
      at least one minute. Besides, it does not appear possible to obtain the same
      result from the menu without a mouse (or at least, not easily), it would be
      nice to have a simple "show/hide vertical shortcut toolbar" in Menu: View
      So, you don't use the symbol tables? We didn't consider that case
    3. is it possible to either resize or remove the line numbers on the left-
      hand
      side of the main editor?
      I don't think it is possible to change that with the current options.
      Althought it would be easy, to modify it in the source.
    4. I think I have in the past managed to remove the bottom "status" toolbar,
      but maybe not, anyhow now I'd like to but can't find the way. If there's a
      way,
      it would be useful to find it listed with the other toolbars, in the main
      Menu
      under View.
      That shouldn't be possible
    5. This is probably a matter of personal preference, but I'm used to using
      "CTRL+TAB"
      to shift between opened documents. It's a little trick to select that as a
      shortcut,
      you need to type it explicitly, just typing the two keys won't work. Once
      set
      up, it works great.
      That seems to be a qt restriction that it doesn't send a key press event
      on tabs.
      But now ctrl+tab it is at least listed in the drop down list.
      forgot to add: disabling tool tips and auto-completion of parentheses should
      be easier to do, in my opinion.
      Perhaps, but somewhere we have to draw the line between commonly
      changed options and seldom disabled options.

    For small, controversial changes you can always start a vote in the
    ideatorrent, so that we learn the most commonly favored option about it
    (e.g.
    ctrl+tab as default or not).

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-02-17

    3: Linen numbers: Resizing is not possible, but you can disable them: Options
    -> Advanced Editor -> Appearance -> Line Numbers

    4: Warning for single-key shortcuts: I'll put that on my list.

    7: Where do you think these options should be in the config dialog?

     
  • PatrickT
    PatrickT
    2012-02-23

    benibela, t_hoffmann, thanks a lot for your feedback.

    I mostly managed to set things up the way I like. My purpose was merely to
    provide you with some feedback.

    I guess the way I use texstudio is a bit peculiar: I selected texstudio
    because I want to have the same setup under both windows and linux and across
    several computers and partitions. The features I use are: the multiple-color
    highlighting of tex code and expressions, the search, find, and replace
    features, the spellchecker (sometimes) the keyboard shortcuts to build and
    view the document, the ability to jump to the correct line number when there
    are errors in compiling, the ability to toggle the errors on and off, and
    that's about it. I type the code myself, I don't use pull-down menus to search
    for integrals I just type \int, so I don't use shortcuts and things. My main
    concern is basically to have the text occupy most of the screen space, so I
    remove all toolbars and things.

    I could use simple text editors and set them up to run a tex system, but
    that's a hassle, and not easy to find a text editor that would have that
    capability and be available on both windows and linux (maybe medit, but anyhow
    setting it up would be more work than I would like to have to do).

    I use large fonts because as I spend a lot of time in front of the screen, I
    want to preserve my eyes. I do use line numbers, so the ideal setup would be
    to have the line numbers visible but in a smaller font than that which I use
    for the text. Currently the line numbers are large so it's a little inelegant,
    if they could be made smaller it would be ideal, but it's not a problem at
    all.

    Where should the autocompletion and tooltips options be located? Well I don't
    have texstudio set up right now to check, because I'm on my linux partition
    and I've had a problem in the setup (more on that below), but what I meant was
    that it should not, in my opinion, be an "advanced" option for which you need
    to answer the quizz! Anywhere easy to find would be good. As far as I'm aware
    most software that have tooltips allow you to disable them rather easily.

    So as I just mentioned, I'm on a clean install (after my super new SSDs died
    out of the blue), and I therefore upgraded to the latest version of texstudio.
    No problem on windows. But on linux, I'm having this:

    Selecting previously deselected package texstudio.
    (Reading database ... 230516 files and directories currently installed.)
    Unpacking texstudio (from texstudio_2.3-1_amd64.deb) ...
    dpkg: dependency problems prevent configuration of texstudio:
    texstudio depends on libstdc++6 (>= 4.6.2); however:
    Version of libstdc++6 on system is 4.6.1-9ubuntu3.
    dpkg: error processing texstudio (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    texstudio

    I'm on Kubuntu 11.10 with the latest upgrades, which is currently 4.6.1-9

    I hope I understand the instructions. I went to http://packages.debian.org/si
    d/libstdc++6
    and downloaded
    gcc-4.6_4.6.2.orig.tar.gz and am going to go ahead and install. I hope I
    understood the error message correctly. If that doesn't work and I get stuck,
    I'll report back.

    with thanks,

    Patrick.

     
  • PatrickT
    PatrickT
    2012-02-23

    okay, this gcc thing is a nightmare, I have no idea how to make it work. I
    couldn't find any instructions on the debian sourceforge page.

    I did try to do:
    $ sudo dpkg -i --ignore-depends=texstudio_2.3-1_amd64.deb

    here's the effect:

    dpkg: error: --install needs at least one package archive file argument

    Not sure what to do next...

    Any suggestions? Thanks!

    For the time being, I'm going to use texstudio 2.3 under windows or with my
    other laptop, which is running version 2.2 on ubuntu 11.10.

    Patrick.

    P.S.

    To install gcc-4.6-4.6.2, I followed instructions on some blog which suggests
    :

    gcc-4.6-4.6.2.orig/configure \
    --disable-checking \
    --enable-languages=c,c++ \
    --enable-multiarch \
    --enable-shared \
    --enable-threads=posix \
    --program-suffix=-4.6 \
    --with-gmp=/usr/local/lib \
    --with-mpc=/usr/lib \
    --with-mpfr=/usr/lib \
    --without-included-gettext \

    but I couldn't get it to work.

     
  • PatrickT
    PatrickT
    2012-02-23

    jsundermeyer,

    thanks for your timely reply!

    this sounds scary, do you mean the wrong texstudio package or the wrong gcc
    package?

    Here is where I got the texstudio package:
    https://sourceforge.net/projects/texstudio/
    https://sourceforge.net/projects/texstudio/files/latest/download
    and the name is texstudio_2.3-1_amd64.deb

    Is that wrong? It's the default package there.

    At the link you provided, I got this package: texstudio_2.3.orig.tar.gz. I
    will give it a try and report back.

    Or do you mean the wrong gcc package? I got the one on the debian gcc page,
    also top of the page, the full name of the file is:
    gcc-4.6_4.6.2.orig.tar.gz

    Thanks!

     
  • PatrickT
    PatrickT
    2012-02-23

    ERROR! The markdown supplied could not be parsed correctly. Did you forget to surround a code snippet with "~~~~"?

    So I'm with texstudio_2.3.orig.tar.gz  
      
    I can't find instructions.  
      
    In my limited experience, you need to $ tar xvzf (or whatever it is) followed
    by ./configure, but this doesn't work here. Another thing I read about is to
    do $ make, but that does'n work either, so it's probably not that simple.  
      
    [https://sourceforge.net/apps/mediawiki/texstudio/index.php?title=CompileTXS](
    https://sourceforge.net/apps/mediawiki/texstudio/index.php?title=CompileTXS)  
    suggests to use $ debuild, so this is what it does:  
      
    $ debuild  
    This package has a Debian revision number but there does not seem to be  
    an appropriate original tar file or .orig directory in the parent directory;  
    (expected one of texstudio_2.2.orig.tar.gz, texstudio_2.2.orig.tar.bz2,  
    texstudio_2.2.orig.tar.lzma, texstudio_2.2.orig.tar.xz or texstudio-2.3.orig)  
    continue anyway? (y/n) y  
    dpkg-buildpackage -rfakeroot -D -us -uc  
    dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2  
    dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):  
    dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g
    -O2  
    dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2  
    dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl
    ,-Bsymbolic-functions  
    dpkg-buildpackage: source package texstudio  
    dpkg-buildpackage: source version 2.2-2  
    dpkg-buildpackage: source changed by J. Sundermeyer
    <jsundermeyer@users.sourceforge.net>  
    dpkg-source --before-build texstudio-2.3  
    dpkg-buildpackage: host architecture amd64  
    dpkg-checkbuilddeps: Unmet build dependencies: qt4-qmake libpoppler-qt4-dev  
    dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
    aborting.  
    dpkg-buildpackage: warning: (Use -d flag to override.)  
    debuild: fatal error at line 1348:  
    dpkg-buildpackage -rfakeroot -D -us -uc failed  
      
    I had no problem whatsoever installing version 2.2 from a .deb file. Ah the
    good old days...
    
    
     
  • PatrickT
    PatrickT
    2012-02-23

    yes, that did it, thanks a lot jsundermayer, I've bookmarked the link above,
    thanks!

    Patrick.

     
  • Christoph
    Christoph
    2012-03-02

    @ 3 - benibela:

    Dear benibela,

    you answered the question

    1. I think I have in the past managed to remove the bottom "status"
      toolbar,
      but maybe not, anyhow now I'd like to but can't find the way. If there's a
      way,
      it would be useful to find it listed with the other toolbars, in the main
      Menu
      under View.

    with a simple

    That shouldn't be possible

    Why? The reason for me to change from Texmaker to Texstudio (formerly known as
    TexmakerX ;-) ) was the possibility to change the layout after my needs. And,
    in fact, I don't need this toolbar in the feet of the window. Maybe, in the
    future, you implement this feature. Thanks a lot.

    Christoph

     
  • with a simple>That shouldn't be possible< Why?
    I meant that it is currently impossible to remove the status bar (as far
    as i know).
    Not that it will never be possible.

    On 03/02/12 11:03, SourceForge.net wrote: