Radiobuttons in Form-Umgebung von hyperref

Fragen und Probleme, die nicht den obigen Kategorien zugeordnet werden können


Hagbard Celine
Forum-Century
Forum-Century
Beiträge: 152
Registriert: Mi 23. Feb 2011, 22:13
Wohnort: Halle (Saale)

Radiobuttons in Form-Umgebung von hyperref

Beitrag von Hagbard Celine »

Hallo zusammen,
ich versuche gerade, mir die Erstellung von pdf-Formularen mit LaTeX (Form-Umgebung in hyperref) anzueignen.
Allerdings habe ich Probleme damit, radiobuttons ordentlich hinzukriegen. Egal, wie lang meine Werteliste ist, ich bekomme lediglich einen Button für alle Einträge (nicht jeweils einen).
Leider konnte ich bisher nirgendwo eine Lösung für das Problem finden. Auch alle Beispiele, die ich diesbezüglich finden konnte, lieferten mir stets das gleiche Ergebnis: Zwar werden alle Einträge der Werteliste korrekt aufgelistet, aber sie haben zusammen nur einen Radiobutton.
Ich hoffe, dass mir jemand helfen kann.
Hier mein Minimalbeispiel (ein Beispiel aus einem Tutorial, bei Google gefunden):
\documentclass[12pt]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{hyperref}
\pagestyle{empty}

\begin{document}
\begin{Form}

\ChoiceMenu[radio,name=Gesch]{Geschlecht:}%
{männlich=m,weiblich=w}

\end{Form}
\end{document}
Ich hoffe, dass ihr mir helfen könnt.

Benutzeravatar
iTob
Forum-Meister
Forum-Meister
Beiträge: 1221
Registriert: Mo 19. Apr 2010, 22:19
Kontaktdaten:

Beitrag von iTob »

Nabend,

also bei mir gehts, auch wenn die Buttons eher seltsam aussehen, aber ich habe zwei.

Mit was kompilierst du denn? Ist dein Paket aktuell? Hier meine Pakete (mit \listfiles vor \documentclass …)
*File List*
scrartcl.cls 2011/01/25 v3.08 KOMA-Script document class (article)
scrkbase.sty 2011/01/25 v3.08 KOMA-Script package (KOMA-Script-dependent bas
ics and keyval usage)
scrbase.sty 2011/01/25 v3.08 KOMA-Script package (KOMA-Script-independent b
asics and keyval usage)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2010/11/05 v3.08 KOMA-Script package (loading files)
tocbasic.sty 2010/10/01 v3.07a KOMA-Script package (handling toc-files)
scrsize12pt.clo 2011/01/25 v3.08 KOMA-Script font size class option (12pt)
typearea.sty 2011/01/25 v3.08 KOMA-Script package (type area)
inputenc.sty 2008/03/30 v1.1d Input encoding file
utf8x.def 2004/10/17 UCS: Input encoding UTF-8
ucs.sty 2004/10/17 UCS: Unicode input support
uni-global.def 2004/10/17 UCS: Unicode global data
babel.sty 2008/07/06 v3.8l The Babel package
ngermanb.ldf 2008/07/06 v2.6n new German support from the babel system
hyperref.sty 2011/02/05 v6.82a Hypertext links for LaTeX
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
kvsetkeys.sty 2010/03/01 v1.9 Key value parser (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pdfescape.sty 2010/03/01 v1.9 Provides hex, PDF name and string conversions
(HO)
ifvtex.sty 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
hycolor.sty 2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
xcolor-patch.sty 2009/12/12 xcolor patch
letltxmacro.sty 2008/06/24 v1.3 Let assignment for LaTeX macros (HO)
kvoptions.sty 2010/02/22 v3.7 Keyval support for LaTeX options (HO)
pd1enc.def 2011/02/05 v6.82a Hyperref: PDFDocEncoding definition (HO)
intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
bitset.sty 2007/09/28 v1.0 Data type bit set (HO)
bigintcalc.sty 2007/11/11 v1.1 Expandable big integer calculations (HO)
atbegshi.sty 2010/03/25 v1.12 At begin shipout hook (HO)
hpdftex.def 2011/02/05 v6.82a Hyperref driver for pdfTeX
atveryend.sty 2010/03/24 v1.5 Hooks at very end of document (HO)
rerunfilecheck.sty 2010/03/16 v1.6 Rerun checks for auxiliary files (HO)
uniquecounter.sty 2009/12/18 v1.1 Provides unlimited unique counter (HO)
ucsencs.def 2003/11/29 Fixes to fontencodings LGR, T3
nameref.sty 2010/04/30 v2.40 Cross-referencing by name of section
refcount.sty 2008/08/11 v3.1 Data extraction from references (HO)
gettitlestring.sty 2009/12/18 v1.3 Cleanup title references (HO)
href.out
href.out
upzd.fd 2001/06/04 font definitions for U/pzd.
uni-0.def 2004/10/17 UCS: Unicode data U+0000..U+00FF
***********
Grüße
Tobi
Dateianhänge
radio.jpg
radio.jpg (8.8 KiB) 2017 mal betrachtet

Hagbard Celine
Forum-Century
Forum-Century
Beiträge: 152
Registriert: Mi 23. Feb 2011, 22:13
Wohnort: Halle (Saale)

Beitrag von Hagbard Celine »

Ich habe wohl etwas ältere Versionen von hyperref und KOMA-Script.
Ich habe aber keine Ahnung, ob das was damit zu tun hat.
*File List*
scrartcl.cls    2009/07/24 v3.04a KOMA-Script document class (article)
scrkbase.sty    2009/07/24 v3.04a KOMA-Script package (KOMA-Script-dependent ba
sics and keyval usage)
 scrbase.sty    2009/07/24 v3.04a KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty    2009/03/25 v3.03 KOMA-Script package (loading files)
tocbasic.sty    2009/06/08 v3.03b KOMA-Script package (handling toc-files)
scrsize12pt.clo    2009/07/24 v3.04a KOMA-Script font size class option (12pt)
typearea.sty    2009/07/24 v3.04a KOMA-Script package (type area)
inputenc.sty    2008/03/30 v1.1d Input encoding file
   utf8x.def    2004/10/17 UCS: Input encoding UTF-8
     ucs.sty    2004/10/17 UCS: Unicode input support
uni-global.def    2004/10/17 UCS: Unicode global data
   babel.sty    2008/07/06 v3.8l The Babel package
ngermanb.ldf    2008/07/06 v2.6n new German support from the babel system
hyperref.sty    2009/10/09 v6.79a Hypertext links for LaTeX
   ifpdf.sty    2009/04/10 v2.0 Provides the ifpdf switch (HO)
  ifvtex.sty    2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
 ifxetex.sty    2009/01/23 v0.5 Provides ifxetex conditional
 hycolor.sty    2009/10/02 v1.5 Code for color options of hyperref/bookmark (HO
)
xcolor-patch.sty    2009/10/02 xcolor patch
  pd1enc.def    2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO)
etexcmds.sty    2007/12/12 v1.2 Prefix for e-TeX command names (HO)
infwarerr.sty    2007/09/09 v1.2 Providing info/warning/message (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty    2009/08/13 v3.4 Keyval support for LaTeX options (HO)
kvsetkeys.sty    2009/07/30 v1.5 Key value parser with default handler support 
(HO)
     url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.
  bitset.sty    2007/09/28 v1.0 Data type bit set (HO)
 intcalc.sty    2007/09/27 v1.1 Expandable integer calculations (HO)
bigintcalc.sty    2007/11/11 v1.1 Expandable big integer calculations (HO)
pdftexcmds.sty    2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions (
HO)
ifluatex.sty    2009/04/17 v1.2 Provides the ifluatex switch (HO)
 ltxcmds.sty    2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO)

atbegshi.sty    2008/07/31 v1.9 At begin shipout hook (HO)
 hpdftex.def    2009/10/09 v6.79a Hyperref driver for pdfTeX
 ucsencs.def    2003/11/29 Fixes to fontencodings LGR, T3
 nameref.sty    2007/05/29 v2.31 Cross-referencing by name of section
refcount.sty    2008/08/11 v3.1 Data extraction from references (HO)
   test2.out
   test2.out
    upzd.fd    2001/06/04 font definitions for U/pzd.
   uni-0.def    2004/10/17 UCS: Unicode data U+0000..U+00FF
 ***********

Benutzeravatar
iTob
Forum-Meister
Forum-Meister
Beiträge: 1221
Registriert: Mo 19. Apr 2010, 22:19
Kontaktdaten:

Beitrag von iTob »

Na vermutlich wird sich bei hyperref inzwischen was geändert haben und du liest eine aktuelle Doku zu einem alten Paket. Du könntest ja mal ein Update machen ;)

Antworten